Skip to content

Commit

Permalink
suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Fe-r-oz committed Mar 9, 2024
1 parent e39fd21 commit 67a979c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions test/test_ecc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ codes = [
Steane7(),
Shor9(),
Perfect5(),
Cleve8(),
QHamming(3), QHamming(5),
Cleve8(), QHamming(3), QHamming(5),
CSS([0 1 1 0; 1 1 0 0], [1 1 1 1]),
]

##

function test_naive_syndrome(c::AbstractECC, e::Bool)
Expand Down
4 changes: 2 additions & 2 deletions test/test_ecc_decoder_all_setups.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ import PyQDecoders
Steane7(),
Shor9(),
Perfect5(),
Cleve8(),
QHamming(3), QHamming(5),
Cleve8(), QHamming(3), QHamming(5),
]

noise = 0.001
Expand All @@ -40,6 +39,7 @@ import PyQDecoders
end

##

@testset "matching decoder" begin
codes = [
Toric(8,8),
Expand Down
4 changes: 2 additions & 2 deletions test/test_ecc_syndromes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ codes = [
Steane7(),
Shor9(),
Perfect5(),
Cleve8(),
QHamming(3), QHamming(5),
Cleve8(), QHamming(3), QHamming(5),
CSS([0 1 1 0; 1 1 0 0], [1 1 1 1]),
Toric(3,3),
Toric(3,6),
Expand All @@ -19,6 +18,7 @@ codes = [
]

##

function pframe_naive_vs_shor_syndrome(code)
ecirc = naive_encoding_circuit(code)
naive_scirc, naive_ancillaries = naive_syndrome_circuit(code)
Expand Down

0 comments on commit 67a979c

Please sign in to comment.