"Source: Text/Code/QECC.text";
"Line: 507";
"Date: Mon May 29 14:18:58 2023";
"Main: Thu May 25 10:02:38 2023";
// original file: Text/Code/QECC.text, line: 507
// Example: H167E9 ()
print "Example: H167E9";
ei := GetEchoInput();
SetEchoInput(true);
F<w> := GF(4);
C1 := HammingCode(GF(2), 3);
C1;
C2 := Dual(C1);
C2;
C2 subset C1;
assert $1;
Q := CSSCode(C1, C2);
MinimumWeight(Q);
assert $1 eq 3;
Q;
SetEchoInput(ei);
