Skip to content

Conversation

@JoeyT1994
Copy link
Collaborator

@JoeyT1994 JoeyT1994 commented Apr 25, 2025

This PR improves the BilinearFormNetwork and QuadraticFormNetwork constructors in the case an operator isn't explicitly passed and therefore the "identity" operator is assumed.
The constructor can now handle vertices with multiple (or no) site indices per vertex, whereas previously it could only handle strictly one site index per vertex. Tests are added.

Additionally:

  1. An error in the VidalITensorNetwork constructor is fixed, where the cache was being updated even when update_cache= false is passed.
  2. The EinExprs.jl HyPar tests are disabled due to the fact they no longer work.
  3. The contraction_tree_to_graph.jl code and tests has been removed as it is not being used anywhere in the library and I cannot envision any future use for it right now.

@emstoudenmire @anmello this is the bug we discussed yesterday

@emstoudenmire
Copy link
Contributor

Great to see this – very quick work. Hopefully it will mean that Antonio can try the purification now.

@mtfishman mtfishman merged commit 82f5652 into ITensor:main Apr 28, 2025
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants