We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
approximate
1 parent 72820fb commit 6389f6fCopy full SHA for 6389f6f
1 file changed
src/algorithms/approximate/fvomps.jl
@@ -8,7 +8,7 @@ function approximate!(ψ::AbstractFiniteMPS, Oϕ, alg::DMRG2, envs = environment
8
ϵ = 0.0
9
for pos in [1:(length(ψ) - 1); (length(ψ) - 2):-1:1]
10
AC2′ = AC2_projection(pos, ψ, Oϕ, envs)
11
- al, c, ar, = tsvd!(AC2′; trunc = alg.trscheme)
+ al, c, ar, = tsvd!(AC2′; trunc = alg.trscheme, alg = alg.alg_svd)
12
13
AC2 = ψ.AC[pos] * _transpose_tail(ψ.AR[pos + 1])
14
ϵ = max(ϵ, norm(al * c * ar - AC2) / norm(AC2))
0 commit comments