Mode is for storing an eigenvector that has an associated eigenvalue.
HilbertSpace(modes) takes the modes, discards the eigenvalues, and orthonormalises the eigenvectors - useful for then calculating new eigenmodes, such as those of symmetry operators or Wilson loop operators.
I think renaming Mode to Eigenmode and HilbertSpace to Eigenspace will make this intention clearer.
Modeis for storing an eigenvector that has an associated eigenvalue.HilbertSpace(modes)takes the modes, discards the eigenvalues, and orthonormalises the eigenvectors - useful for then calculating new eigenmodes, such as those of symmetry operators or Wilson loop operators.I think renaming
Modeto Eigenmode andHilbertSpaceto Eigenspace will make this intention clearer.