"Source: Text/Code/QECC.text";
"Line: 1168";
"Date: Mon May 29 14:18:58 2023";
"Main: Thu May 25 10:02:38 2023";
// original file: Text/Code/QECC.text, line: 1168
// Example: H167E19 ()
print "Example: H167E19";
ei := GetEchoInput();
SetEchoInput(true);
F<w> := GF(4);
Q := QECC(GF(4),6,3);
Q;
WD_S, WD_N, WD := WeightDistribution(Q);
WD_S eq WeightDistribution(StabiliserCode(Q));
assert $1;
WD_N eq WeightDistribution(NormaliserCode(Q));
assert $1;
WD;
SetEchoInput(ei);
