@@ -433,7 +433,7 @@ Return the pre-lifted matrices `H_X` and `H_Z` of the generalized hypergraph pro
433433"""
434434function generalized_hypergraph_product_matrices (A:: MatElem{T} , b:: T ) where T <: ResElem
435435
436- # @warn "Commutativity of A and b required but not yet enforced."
436+ @warn " Commutativity of A and b required but not yet enforced."
437437 S = base_ring (b)
438438 F = base_ring (S)
439439 # Int(order(F)) == 2 || throw(ArgumentError("The generalized hypergraph product is only defined over GF(2)."))
@@ -544,7 +544,7 @@ Return the pre-lifted matrices `H_X` and `H_Z` for the lifted quasi-cyclic lifte
544544- Use `LiftedProductCode` to return a quantum code over the base ring directly.
545545"""
546546function lifted_product_matrices (A:: MatElem{T} , B:: MatElem{T} ) where T <: ResElem
547- # @warn "Commutativity of A and b required but not yet enforced."
547+ @warn " Commutativity of A and b required but not yet enforced."
548548 S = base_ring (A[1 , 1 ])
549549 F = base_ring (S)
550550 Int (order (F)) == 2 || throw (ArgumentError (" The quasi-cyclic lifted product is only defined over GF(2)." ))
@@ -632,6 +632,8 @@ julia> A = matrix(R, 7, 7,
632632julia> b = R(1 + x + x^6);
633633
634634julia> code = LiftedProductCode(A, b);
635+ ┌ Warning: Commutativity of A and b required but not yet enforced.
636+ └ @ CodingTheory ~/Documents/GitHub/CodingTheory/src/Quantum/product_codes.jl:340
635637
636638julia> length(code), dimension(code)
637639(882, 24)
@@ -657,7 +659,7 @@ Return the pre-lifted stabilizer matrix for bias-tailored lifted product code of
657659- Use `BiasTailoredLiftedProductCode` to return a quantum code over the base ring directly.
658660"""
659661function bias_tailored_lifted_product_matrices (A:: MatElem{T} , B:: MatElem{T} ) where T <: ResElem
660- # @warn "Commutativity of A and b required but not yet enforced."
662+ @warn " Commutativity of A and b required but not yet enforced."
661663 S = base_ring (A[1 , 1 ])
662664 F = base_ring (S)
663665 Int (order (F)) == 2 || throw (ArgumentError (" The quasi-cyclic lifted product is only defined over GF(2)." ))
@@ -723,6 +725,8 @@ julia> A2 = matrix(R, 7, 7,
723725 0 , 0 , 0 , 0 , 1 , x^9 , x^36]);
724726
725727julia> code = BiasTailoredLiftedProductCode(A1, A2);
728+ ┌ Warning: Commutativity of A and b required but not yet enforced.
729+ └ @ CodingTheory ~/Documents/GitHub/CodingTheory/src/Quantum/product_codes.jl:60
726730
727731julia> length(code), dimension(code)
728732(882, 24)
0 commit comments