Skip to content

Commit

Permalink
Format changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
corbett5 committed Oct 17, 2024
1 parent a332ac9 commit e2979a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/lib/ITensorMPS/src/abstractmps.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,7 @@ function deprecate_make_inds_match!(
inds(ψ[$n]) = $(inds(M2[n]))
Make sure the site indices of your MPO/MPS match. You may need to prime
one of the MPS, such as `dot(ϕ', ψ)`."""
one of the MPS, such as `dot(ϕ', ψ)`.""",
)
end
make_inds_match = false
Expand Down
4 changes: 3 additions & 1 deletion src/lib/ITensorMPS/test/base/test_mpo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,9 @@ end
orthogonalize!(psi, 1; maxdim=link_dim)
orthogonalize!(K, 1; maxdim=link_dim)
orthogonalize!(phi, 1; normalize=true, maxdim=link_dim)
psi_out = contract(deepcopy(K), deepcopy(psi); method, maxdim=10 * link_dim, cutoff=0.0)
psi_out = contract(
deepcopy(K), deepcopy(psi); method, maxdim=10 * link_dim, cutoff=0.0
)
@test inner(phi', psi_out) inner(phi', K, psi)
end
end
Expand Down

0 comments on commit e2979a1

Please sign in to comment.