We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e89a521 commit 5565f28Copy full SHA for 5565f28
1 file changed
src/algorithms/changebonds/svdcut.jl
@@ -106,6 +106,7 @@ function changebonds(ψ, H, alg::SvdCut, envs = environments(ψ, H))
106
return changebonds(ψ, alg), envs
107
end
108
109
+changebonds(mpo::FiniteMPOHamiltonian, alg::SvdCut) = changebonds!(copy(mpo), alg)
110
function changebonds!(H::FiniteMPOHamiltonian, alg::SvdCut)
111
# orthogonality center to the left
112
for i in length(H):-1:2
0 commit comments