Skip to content

Commit

Permalink
Merge branch 'NDTensors_arraytensor_ops' of github.com:ITensor/ITenso…
Browse files Browse the repository at this point in the history
…rs.jl into NDTensors_arraytensor_ops
  • Loading branch information
mtfishman committed Oct 30, 2023
2 parents a07f808 + 2801f7a commit c14150c
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions test/ITensorLegacyMPS/base/test_arraystorage.jl
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,8 @@ using Test
end
H = MPO(heisenberg_opsum(n), s)
ψ = randomMPS(s, j -> isodd(j) ? "" : ""; linkdims=4)
dmrg_kwargs = (;
nsweeps=2,
cutoff=[1e-4, 1e-12],
maxdim=10,
outputlevel=0,
)
dmrg_kwargs = (; nsweeps=2, cutoff=[1e-4, 1e-12], maxdim=10, outputlevel=0)
e1, ψ1 = dmrg(NDTensors.to_arraystorage.((H, ψ))...; dmrg_kwargs...)
e2, ψ2 = dmrg(H, ψ; dmrg_kwargs...)
@test e1 e2
end


0 comments on commit c14150c

Please sign in to comment.