Skip to content

CTMRG with iterative (Lanczos) solver for SVD #98

Closed Answered by pbrehmer
Yue-Zhengyuan asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by pbrehmer
Comment options

You must be logged in to vote
2 replies
@pbrehmer
Comment options

@pbrehmer
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants