Skip to content

Commit

Permalink
Fix test_tdvp.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
b-kloss committed Jan 21, 2024
1 parent 23cc545 commit 3d5ade8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/test_treetensornetworks/test_solvers/test_tdvp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,6 @@ using Test
H = mpo(os, s)

state = random_mps(s; internal_inds_space=2)
psi2 = deepcopy(state)
trange = 0.0:tau:ttotal
for (step, t) in enumerate(trange)
nsites = (step <= 10 ? 2 : 1)
Expand All @@ -317,9 +316,7 @@ using Test
end

en1 = inner(state', H, state)
en2 = inner(psi2', H, psi2)
@test en1 < -4.25
@test en1 en2
end

@testset "Observers" begin
Expand Down

0 comments on commit 3d5ade8

Please sign in to comment.