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.
Showing with 16 additions and 5 deletions