"Source: Text/Code/QECC.text";
"Line: 1805";
"Date: Thu Sep 25 14:47:47 2025";
"Main: Fri Sep 26 14:29:19 2025";
// original file: Text/Code/QECC.text, line: 1805
// Example: H171E29 ()
print "Example: H171E29";
ei := GetEchoInput();
SetEchoInput(true);
F<i> := ComplexField(4);
H := HilbertSpace(F, 5);
H;
Dimension(H);
assert $1 eq 32;
IsDenselyRepresented(H);
assert $1;
H1 := HilbertSpace(F, 5 : IsDense := false);
H1;
IsDenselyRepresented(H1);
assert not $1;
H eq H1;
assert not $1;
SetEchoInput(ei);
