"Source: Text/Code/QECC.text";
"Line: 251";
"Date: Thu Sep 25 14:47:47 2025";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/Code/QECC.text, line: 251
// Example: H171E2 ()
print "Example: H171E2";
ei := GetEchoInput();
SetEchoInput(true);
F<w> := GF(4);
C := LinearCode<GF(2), 12 |
     [ 1, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1 ],
     [ 0, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0 ],
     [ 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0 ],
     [ 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 1 ] >;
C;
Q := QuantumCode(C : ExtendedFormat := true);
Q;
SetEchoInput(ei);
