"Source: Text/Code/QECC.text";
"Line: 725";
"Date: Mon May 29 14:18:58 2023";
"Main: Thu May 25 10:02:38 2023";
// original file: Text/Code/QECC.text, line: 725
// Example: H167E13 ()
print "Example: H167E13";
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);
