From 026e4837196246c47d65703e761014a18245fbd9 Mon Sep 17 00:00:00 2001 From: Fe-r-oz Date: Fri, 27 Sep 2024 09:07:03 +0500 Subject: [PATCH] use stab_to_gf2 since H is Bool and parity_checks return Stabilizer --- test/test_ecc_quantumreedmuller.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_ecc_quantumreedmuller.jl b/test/test_ecc_quantumreedmuller.jl index 0e4dadc61..efb76918f 100644 --- a/test/test_ecc_quantumreedmuller.jl +++ b/test/test_ecc_quantumreedmuller.jl @@ -28,7 +28,7 @@ @test code_n(QuantumReedMuller(m)) == 2^m - 1 @test code_k(QuantumReedMuller(m)) == 1 @test distance(QuantumReedMuller(m)) == 3 - @test H == parity_checks(CSS(parity_checks_x(QuantumReedMuller(m)), parity_checks_z(QuantumReedMuller(m)))) + @test H == stab_to_gf2(parity_checks(CSS(parity_checks_x(QuantumReedMuller(m)), parity_checks_z(QuantumReedMuller(m))))) # [[15,1,3]] qrm code from table 1 of https://arxiv.org/pdf/1705.0010 qrm₁₅₁₃ = S"ZIZIZIZIZIZIZIZ IZZIIZZIIZZIIZZ