"Source: Text/Code/QECC.text";
"Line: 507";
"Date: Thu Sep 25 14:47:47 2025";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/Code/QECC.text, line: 507
// Example: H171E9 ()
print "Example: H171E9";
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);
