Skip to content

Commit 6ec6239

Browse files
committed
Test SU with non-standard virtual dualness
1 parent 2b3a532 commit 6ec6239

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/timeevol/cluster_projectors.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ end
111111
Espace = Vect[FermionParity U1Irrep]((0, 0) => 8, (1, 1 // 2) => 4, (1, -1 // 2) => 4)
112112
trunc_env0 = truncerror(; atol = 1.0e-12) & truncrank(4)
113113
trunc_env = truncerror(; atol = 1.0e-12) & truncrank(16)
114-
peps = InfinitePEPS(rand, Float64, Pspace, Vspace; unitcell = (Nr, Nc))
114+
peps = InfinitePEPS(rand, Float64, Pspace, Vspace, Vspace'; unitcell = (Nr, Nc))
115115
wts = SUWeight(peps)
116116
ham = real(
117117
hubbard_model(
@@ -127,7 +127,7 @@ end
127127
peps, wts, = time_evolve(peps, ham, dt, 10000, alg, wts; tol, check_interval = 1000)
128128
end
129129
normalize!.(peps.A, Inf)
130-
env = CTMRGEnv(wts, peps)
130+
env = CTMRGEnv(wts)
131131
env, = leading_boundary(env, peps; tol = ctmrg_tol, trunc = trunc_env0)
132132
env, = leading_boundary(env, peps; tol = ctmrg_tol, trunc = trunc_env)
133133
e_site = cost_function(peps, env, ham) / (Nr * Nc)

0 commit comments

Comments
 (0)