Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jofrevalles committed Nov 27, 2024
1 parent d61adf7 commit d2d08c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MPS.jl
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ function evolve!(ψ::AbstractAnsatz, mpo::AbstractMPO; threshold=nothing, maxdim
end

if form(ψ) isa Canonical
canonize!(ψ; normalize=normalize)
canonize!(ψ; normalize=normalize) # TODO: check how do we lose canonicity if we do not canonize
elseif form(ψ) isa MixedCanonical
mixed_canonize!(ψ, form(ψ).orthog_center)
normalize && normalize!(ψ)
Expand Down

0 comments on commit d2d08c5

Please sign in to comment.