"Source: Text/Code/QECC.text";
"Line: 211";
"Date: Thu Sep 25 14:47:47 2025";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/Code/QECC.text, line: 211
// Example: H171E1 ()
print "Example: H171E1";
ei := GetEchoInput();
SetEchoInput(true);
F<w> := GF(4);
M := Matrix(F, 2, 6, [1,0,0,1,w,w, 0,1,0,w,w,1]);
C := LinearCode(M);
C;
IsEven(C);
assert $1;
IsSymplecticSelfOrthogonal(C);
assert $1;
Q := QuantumCode(C);
Q;
MinimumWeight(Q);
assert $1 eq 1;
Q;
SetEchoInput(ei);
