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