Skip to content

Commit 7ea3b68

Browse files
committed
Explicitly use positive QR decomposition in CTMRGEnv gauge fixing
1 parent 399a860 commit 7ea3b68

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/algorithms/ctmrg/gaugefix.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ function gauge_fix(envprev::CTMRGEnv{C, T}, envfinal::CTMRGEnv{C, T}) where {C,
4444
ρfinal = transfermatrix_fixedpoint(Tsfinal, M, ρinit)
4545

4646
# Decompose and multiply
47-
Qprev, = left_orth!(ρprev)
48-
Qfinal, = left_orth!(ρfinal)
47+
Qprev, = left_orth!(ρprev; positive = true)
48+
Qfinal, = left_orth!(ρfinal; positive = true)
4949

5050
return Qprev * Qfinal'
5151
end

0 commit comments

Comments
 (0)