@@ -48,15 +48,16 @@ Therefore, we shall gradually increase $J_2 / J_1$ from 0.1 to 0.5, each time in
4848on the previously evolved PEPS:
4949"""
5050
51- dt, tol, maxiter = 1.0e-2 , 1.0e-8 , 30000
51+ dt, tol, nstep = 1.0e-2 , 1.0e-8 , 30000
5252check_interval = 4000
5353trunc_peps = truncerror (; atol = 1.0e-10 ) & truncrank (Dbond)
54- alg = SimpleUpdate (dt, tol, maxiter, trunc_peps)
54+ alg = SimpleUpdate (; trunc = trunc_peps)
5555for J2 in 0.1 : 0.1 : 0.5
56- H = real ( # # convert Hamiltonian `LocalOperator` to real floats
56+ # # convert Hamiltonian `LocalOperator` to real floats
57+ H = real (
5758 j1_j2_model (ComplexF64, symm, InfiniteSquare (Nr, Nc); J1, J2, sublattice = false ),
5859 )
59- global peps, wts, = simpleupdate (peps, H, alg, wts; check_interval)
60+ global peps, wts, = time_evolve (peps, H, dt, nstep, alg, wts; tol, check_interval)
6061end
6162
6263md """
@@ -69,8 +70,7 @@ tols = [1.0e-9, 1.0e-9]
6970J2 = 0.5
7071H = real (j1_j2_model (ComplexF64, symm, InfiniteSquare (Nr, Nc); J1, J2, sublattice = false ))
7172for (dt, tol) in zip (dts, tols)
72- alg′ = SimpleUpdate (dt, tol, maxiter, trunc_peps)
73- global peps, wts, = simpleupdate (peps, H, alg′, wts; check_interval)
73+ global peps, wts, = time_evolve (peps, H, dt, nstep, alg, wts; tol)
7474end
7575
7676md """
0 commit comments