Skip to content
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

Add full update algorithm #106

Draft
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

Yue-Zhengyuan
Copy link
Contributor

@Yue-Zhengyuan Yue-Zhengyuan commented Dec 14, 2024

This PR adds the core part of the fast full update (arXiv 1503.05345) algorithm. Compared to simple update, the environment around a bond to be updated is more accurately represented by the CTM tensors, instead of diagonal weight matrices.

Limitations:

  • The implementation assumes square lattice geometry.
  • As in simple update, I made some requirements on whether certain virtual spaces of iPEPS tensors are dual spaces.
  • The current implementation can currently only calculate models with nearest neighbor interaction only. Support for next nearest neighbor terms (see arXiv 1711.07584) will not be implemented in near future.

Things to do before merging:

  • Find a robust criterion to change the evolution time step and determine convergence. Currently, the FU stops when the energy is no longer decreasing. However, I feel that this may prevent the algorithm to evolve out from a local minimum. It may be better if some singular value spectrum can be used to determine convergence (as in CTMRG and simple update).
  • Add support for bipartite iPEPS (currently for 2 x 2 unit cell, the algorithm cannot keep the bipartite structure).
  • Add a non-trivial test or example.
  • Improve docstring.
  • Use Julia's more advanced logging system.

Copy link

codecov bot commented Dec 14, 2024

@Yue-Zhengyuan
Copy link
Contributor Author

Some recent design thoughts inspired by YASTN:

The FU consists of two parts - updating the two tensors connected to a bond, and then updating the surrounding CTM tensors. When updating the two tensors, there can be multiple ways to build the environment around the bond (called the "bond metric" in YASTN). The usual FU use the CTM tensors as the environment, but there is a cheaper method (but still more accurate than SU) called the Neighboring Tensor Update (NTU). There, the bond metric is the exact contraction of a few neighboring tensors, like:

          (-1 +0)══(-1 +1)
             ║        ║
   (+0 -1)═══Q0══   ══Q1═══(+0 +2)
             ║        ║
          (+1 +0)══(+1 +1)

or approximate contraction (using boundary MPS approach) of a relatively larger portion of the network around the bond, like:

    (-2 -2)═(-2 -1)═(-2 +0)══(-2 +1)═(-2 +2)═(-2 +3)
       ║       ║       ║        ║        ║        ║
    (-1 -2)═(-1 -1)═(-1 +0)══(-1 +1)═(-1 +2)═(-1 +3)
       ║       ║       ║        ║        ║        ║
    (+0 -2)═(+0 -1)════Q0══   ══Q1═══(+0 +2)═(+0 +3)
       ║       ║       ║        ║        ║        ║
    (+1 -2)═(+1 -1)═(+1 +0)══(+1 +1)═(+1 +2)═(+1 +3)
       ║       ║       ║        ║        ║        ║
    (+2 -2)═(+2 -1)═(+2 +0)══(+2 +1)═(+2 +2)═(+2 +3)

There is a large family of such of bond metrics in the YASTN documentation. Thus we may need to write the first part of FU in a more general manner that accepts different kinds of bond metrics, in preparation of adding NTU in the future.

@lkdvos
Copy link
Member

lkdvos commented Dec 17, 2024

It might already be possible to achieve something like this by simply restricting the number of iterations in the CTMRG contraction. This is definitely not fully equivalent, so I agree that it would be beneficial to have an abstraction to allow different algorithms there.

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