687687 verbosity = verbosity_conv
688688 @testset " mpo * infinite ≈ infinite" begin
689689 ψ = InfiniteMPS ([ℙ^ 2 , ℙ^ 2 ], [ℙ^ 10 , ℙ^ 10 ])
690+ ψ0 = InfiniteMPS ([ℙ^ 2 , ℙ^ 2 ], [ℙ^ 12 , ℙ^ 12 ])
691+
690692 H = force_planar (repeat (transverse_field_ising (; g= 4 ), 2 ))
691693
692694 dt = 1e-3
@@ -695,12 +697,12 @@ end
695697 W1 = MPSKit. DenseMPO (sW1)
696698 W2 = MPSKit. DenseMPO (sW2)
697699
698- ψ1, _ = approximate (ψ , (sW1, ψ), VOMPS (; verbosity))
699- ψ2, _ = approximate (ψ , (W2, ψ), VOMPS (; verbosity))
700- ψ3, _ = approximate (ψ , (W1, ψ), IDMRG (; verbosity))
701- ψ4, _ = approximate (ψ , (sW2, ψ), IDMRG2 (; trscheme= truncdim (20 ), verbosity))
700+ ψ1, _ = approximate (ψ0 , (sW1, ψ), VOMPS (; verbosity))
701+ ψ2, _ = approximate (ψ0 , (W2, ψ), VOMPS (; verbosity))
702+ ψ3, _ = approximate (ψ0 , (W1, ψ), IDMRG (; verbosity))
703+ ψ4, _ = approximate (ψ0 , (sW2, ψ), IDMRG2 (; trscheme= truncdim (15 ), verbosity))
702704 ψ5, _ = timestep (ψ, H, 0.0 , dt, TDVP ())
703- ψ6 = changebonds (W1 * ψ, SvdCut (; trscheme= truncdim (10 )))
705+ ψ6 = changebonds (W1 * ψ, SvdCut (; trscheme= truncdim (15 )))
704706
705707 @test abs (dot (ψ1, ψ5)) ≈ 1.0 atol = dt
706708 @test abs (dot (ψ3, ψ5)) ≈ 1.0 atol = dt
0 commit comments