-
- Downloads
test conjugation of array-like types
If onsite/hopping value was supplied to the builder as array-like instead of proper array, Hamiltonian could be generated silently without any Hermitian conjugation, if required. To expose this, `test_builder.py::test_hermitian_conjugation` is parametrized with different types of values to ensure that Numpy arrays, tinyarrays, lists and tuples are all conjugated properly. See issue #406.
parent
7f5a7dc0
No related branches found
No related tags found
Loading
Please register or sign in to comment