From f19e52dda9acda7dea3ba5347572241002fe1cc6 Mon Sep 17 00:00:00 2001 From: Karl Pierce Date: Sun, 8 Oct 2023 12:06:35 -0400 Subject: [PATCH] Make a better comment and add back the original line --- src/mps/dmrg.jl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mps/dmrg.jl b/src/mps/dmrg.jl index b149168c0e..57805db2cc 100644 --- a/src/mps/dmrg.jl +++ b/src/mps/dmrg.jl @@ -278,8 +278,10 @@ function dmrg(PH, psi0::MPS, sweeps::Sweeps; kwargs...) end energy = vals[1] - ## Right now this convert problem is prevelent in an eigen solver implemented in KrylovKit + ## Right now there is a conversion problem in CUDA.jl where `UnifiedMemory` Arrays are being converted + ## into `DeviceMemory`. This conversion line is here temporarily to fix that problem when it arises phi::ITensor = itensor(convert(typeof(tensor(phi)), tensor(vecs[1]))) + #phi::ITensor = vecs[1] ortho = ha == 1 ? "left" : "right"