Skip to content

Commit

Permalink
Merge branch 'main' into import_from_ITensorMPS
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman authored Apr 15, 2024
2 parents e825129 + 43195ae commit 70e4442
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_tdvp.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ using Test: @test, @testset
## Should lose fidelity:
#@test abs(inner(ψ0,ψ1)) < 0.9
# Average energy should be conserved:
@test real(inner(ψ1', H, ψ1)) inner(ψ0', H, ψ0)
@test real(inner(ψ1', H, ψ1)) inner(ψ0', H, ψ0) rtol = eps(real(elt))
# Time evolve backwards:
ψ2 = tdvp(H, time_step, ψ1; nsweeps=1, cutoff)
@test ITensors.scalartype(ψ2) == complex(elt)
Expand Down

0 comments on commit 70e4442

Please sign in to comment.