-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement] Add quantum number support in TTNO constructor. #116
Conversation
Not sure what these test failures are, they look unrelated to this PR. @b-kloss do you see them locally? @JoeyT1994 have you seen these? |
Working on fixing some test issues in #118. |
#118 fixed tests on Julia 1.10, I merged it into |
I am running the tests right now, will update this when they are done. |
On Julia Version 1.9.3 I get errors from the tebd test: Closest candidates are: Stacktrace: |
Let's still plan to put it in a separate PR, this one has become pretty unwieldy to review as it is. It will be easier for me to see what changes are required for that based on diffs. |
All tests pass on my local build (Linux, Julia 1.9.2) which is pinned to the latest merges you have done on Looks like some strange behaviour coming from Julia 1.7. Maybe recent updates to one of the dependencies aren't compatible with it. |
Thanks for checking @JoeyT1994. So on @b-kloss, it looks like this test is failing: https://github.com/mtfishman/ITensorNetworks.jl/blob/aff21aa79cf649e2b3c104e0cf44cc0ef10856ba/test/test_treetensornetworks/test_solvers/test_dmrg_x.jl#L52-L56 since it is assuming that QN TTNO construction is broken. Could you remove those lines and see if that fixes that test? |
Yeah, that's unrelated. |
Hi, MPS DMRG-X: Error During Test at /home/bkloss/.julia/dev/ITensorNetworks/test/test_treetensornetworks/test_solvers/test_dmrg_x.jl:6 Closest candidates are: Stacktrace: |
Seems like maybe you have an outdated version of NDTensors, that should be fixed in more recent versions. |
The tests on 1.10 are passing, and things also work on my machine locally on 1.9.3 . Should be good to merge. |
This PR generalizes the existing constructor of a
TTN
from anOpSum
andIndsNetwork
(svdTTN
) to physical indices withQN
s (qn_svdTTN
). This implementation closely follows the parallel logic inITensors.svdMPO
andITensors.qn_svdMPO
. Tests of the functionality (at the same level as tests of the existing constructor) have been added.ToDo:
deprecated.jl
file