Skip to content

Commit e6e8c6f

Browse files
committed
Argument rearrange DMRGx
1 parent eb3fa77 commit e6e8c6f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_treetensornetworks/test_solvers/test_dmrg_x.jl

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ using Test
2020

2121
ϕ = dmrg_x(H, ψ; nsites=2, dmrg_x_kwargs...)
2222

23-
@test inner(H, ψ', ψ) / inner(ψ, ψ) inner(H, ϕ', ϕ) / inner(ϕ, ϕ) rtol = 1e-1
24-
@test inner(H, ψ, H, ψ) inner(H, ψ', ψ)^2 rtol = 1e-7
25-
@test inner(H, ϕ, H, ϕ) inner(H, ϕ', ϕ)^2 rtol = 1e-7
23+
@test inner', H, ψ) / inner(ψ, ψ) inner(ϕ', H, ϕ) / inner(ϕ, ϕ) rtol = 1e-1
24+
@test inner(H, ψ, H, ψ) inner(ψ', H, ψ)^2 rtol = 1e-7
25+
@test inner(H, ϕ, H, ϕ) inner(ϕ',H, ϕ)^2 rtol = 1e-7
2626

2727
ϕ̃ = dmrg_x(H, ϕ; nsites=1, dmrg_x_kwargs...)
2828

0 commit comments

Comments
 (0)