From bccf66829c2b5ef98536066eff74588963655d55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jofre=20Vall=C3=A8s?= Date: Mon, 25 Mar 2024 16:47:01 +0100 Subject: [PATCH] Fix typo --- src/Ansatz/Chain.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Ansatz/Chain.jl b/src/Ansatz/Chain.jl index 6274b33..ec62f94 100644 --- a/src/Ansatz/Chain.jl +++ b/src/Ansatz/Chain.jl @@ -554,7 +554,7 @@ function evolve_2site!(qtn::Chain, gate::Dense; threshold, maxdim, iscanonical = push!(right_inds, select(qtn, :index, siter)) if iscanonical - unpack_2sitewf!(qtn, bond) + unpack_2sitewf!(qtn, bond, left_inds, right_inds, virtualind) else svd!(TensorNetwork(qtn); left_inds, right_inds, virtualind) end @@ -596,7 +596,7 @@ end For a given [`Chain`](@ref) that contains a two-site wave function θ in a bond, it decomposes θ into the canonical form: Γᵢ₋₁ΛᵢΓᵢ, where i is the `bond`. """ -function unpack_2sitewf!(ψ::Chain, bond) +function unpack_2sitewf!(ψ::Chain, bond, left_inds, right_inds, virtualind) # TODO Check if ψ is in canonical form sitel, siter = bond # TODO Check if bond is valid