Cryptic error message when a 'delta' of incorrect shape is given to 'HoppingKind'
When providing, for example, ((0, 0), a, b)
to HoppingKind
when a
and b
are 1D lattices produces the error code Matrices are not aligned
.
This error code is not specific to the application domain, and should be improved. I would imagine similar things will happen when a
and b
do
not have "compatible" types of tags.
Edited by Joseph Weston