Subspace-Iteration CTMRG - #422
Draft
Yue-Zhengyuan wants to merge 1 commit into
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds one more CTMRG projector algorithm
SubspaceIterationProjector, introduced in https://arxiv.org/abs/2607.15158.The basic idea is that, after constructing the full-infinite environment
M, one use QR/LQ to obtain "rangefinder" tensorsX, Yto project it toY M Xwhich lives in a much smaller "oversampling" space. This space is intentionally chosen to be still larger than the target environment space χ. It then greatly reduces the cost to do SVD, resulting in significant speed up especially on GPU.According to the paper, one can achieve over 100x speedup for D = 6, χ = 144 on GPU. So it appears to be quite a worthwhile addition.
The rangefinders
X,Ymay be reused during CTMRG iterations, thus a caching mechanism has to be introduced.TODO
Since
SubspaceIterationProjectorcontains parameters beyondtrunc, it is a bit difficult to just specify it with a symbol. We need to introduce more API flexibility in defining an CTMRG / projector algorithm.The initial implementation is restricted to fixed-space truncation, trivial symmetry sectors (it is not straightforward to efficiently determine the charges in the oversampling space) and non-differentiated forward CTMRG contractions. Missing features will be gradually added back in follow-up commits.