"Source: Text/Code/QECC.text";
"Line: 725";
"Date: Thu Sep 25 14:47:47 2025";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/Code/QECC.text, line: 725
// Example: H171E13 ()
print "Example: H171E13";
ei := GetEchoInput();
SetEchoInput(true);
F<w> := GF(4);
V7 := VectorSpace(F, 7);
v1 := V7 ! [1,0,0,0,0,0,0];
v2 := V7 ! [w^2,1,w^2,w,0,0,w];
Q := QuantumQuasiCyclicCode([v1, v2] : LinearSpan := true);
MinimumWeight(Q);
assert $1 eq 6;
Q:Minimal;
V6 := VectorSpace(F, 6);
v1 := V6 ! [1,1,0,0,0,0];
v2 := V6 ! [1,0,1,w^2,0,0];
v3 := V6 ! [1,1,w,1,w,0];
Q := QuantumQuasiCyclicCode([v1, v2, v3] : LinearSpan := true);
MinimumWeight(Q);
assert $1 eq 5;
Q:Minimal;
SetEchoInput(ei);
