Hamiltonian construction
All threads resolved!
All threads resolved!
This does several things:
- Switches the Hamiltonian format of
builder_to_tb
to dense because we expect no speedup due to needing full spectrum. - Prohibits Kwant lattices without norbs set (the code used to assume 1 orbital, but this is not what
norbs=None
means). - Avoids oroperations for constructing the Hamiltonian, and therefore likely providing a speedup.
I did not modify the tests, and therefore I don't know whether they are specific enough.
Edited by Anton Akhmerov
Merge request reports
Activity
assigned to @anton-akhmerov
- Resolved by Antonio Manesco
mentioned in commit 7028c68a
Please register or sign in to reply