Closed tyleratrigetti closed 2 months ago
I was able to recreate this @tyleratrigetti, thank you for the detail! This problem still exists in the latest version of pyLIQTR. I've added this ticket to the next release.
It has been fixed and is waiting for merge and release.
fixed in release 1.3.0
Trying to initialize a Heisenberg model with
h=(0,0,0)
fails.Minimum code to reproduce:
pyLIQTR
1.1.1python
3.9.10 OS: macOS 14.4.1 Chip: Apple M1 MaxHowever, this works:
I believe this stems from
clam.utilities.get_nonzero_match
returns an empty list forh
, which is then not handled properly downstream when building the cell.Stacktrace: