Skip to content
Snippets Groups Projects
Commit 157fc88f authored by Viacheslav Ostroukh's avatar Viacheslav Ostroukh :bike:
Browse files

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
2 merge requests!394Sync fixes of stable branch with master,!387Transpose array-like in herm_conj
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment