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