diff --git a/test/test_ecc.jl b/test/test_ecc.jl index 93a728e41..9cc05edff 100644 --- a/test/test_ecc.jl +++ b/test/test_ecc.jl @@ -76,4 +76,4 @@ end @test isdegenerate(Steane7()) == false @test isdegenerate(Steane7(), 2) == true @test isdegenerate(Bitflip3()) == true -end \ No newline at end of file +end diff --git a/test/test_ecc_encoding.jl b/test/test_ecc_encoding.jl index bc2a06081..b5500133d 100644 --- a/test/test_ecc_encoding.jl +++ b/test/test_ecc_encoding.jl @@ -3,6 +3,7 @@ using QuantumClifford using QuantumClifford.ECC ## + @testset "encoding circuits - compare to algebraic construction of encoded state" begin # This test verifies that logical measurements on an encoded state match the physical pre-encoded state. # This test skips verifying the permutations of qubits during canonicalization are properly undone, @@ -26,6 +27,7 @@ using QuantumClifford.ECC :(Toric(8,8)), fill(:(random_stabilizer(5,7)), 100)... ] + code = eval(codeexpr) if undoperm==false # Pre-process the tableau to remove permutations and negative phases.