CTMRG with iterative (Lanczos) solver for SVD #98
-
Let
It is stated that the algorithm is already in KrylovKit.jl. Can someone demonstrate how to use such an algorithm with CTMRG? I think it just amounts to setting |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hey Yue, totally missed that question, sorry! I hope you figured this out in the meantime but in case this is still unclear, here is an example: using KrylovKit
using TensorKit
using PEPSKit
Dbond = 2
χenv = 16
svd_alg = SVDAdjoint(; fwd_alg=IterSVD(; alg=GKL(; tol=1e-10)))
ctmrg_alg = SimultaneousCTMRG(; svd_alg)
ψ = InfinitePEPS(2, Dbond)
env = leading_boundary(CTMRGEnv(ψ, ℂ^χenv), ψ, ctmrg_alg); I'll put an example in the docs once we do the documentation overhaul. |
Beta Was this translation helpful? Give feedback.
-
@pbrehmer Thanks! However, with symmetry or for fermions, I suppose it requires us to specify in advance the dimensions of each sector, and it cannot dynamically change them (similar to |
Beta Was this translation helpful? Give feedback.
Hey Yue, totally missed that question, sorry! I hope you figured this out in the meantime but in case this is still unclear, here is an example:
I'll put an example in the docs once we do the documentation overhaul.