Skip to content

Commit a9f487e

Browse files
committed
do not permute A in enlarge_northeast_corner
1 parent a1c4a37 commit a9f487e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/algorithms/contractions/ctmrg_contractions.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ function enlarge_northeast_corner(
9696
E_east::CTMRG_PF_EdgeTensor, A::PFTensor,
9797
)
9898
return @tensor begin
99-
EC[χ_W DN; χ2] := E_north[χ_W DN; χ1] * C_northeast[χ1; χ2]
100-
ECE[χ_W χ_S; DN DE] := EC[χ_W DN; χ2] * E_east[χ2 DE; χ_S]
101-
corner[χ_W D_W; χ_S D_S] := ECE[χ_W χ_S; DN DE] * A[D_W D_S; DN DE]
99+
EC[DN χ_W; χ2] := E_north[χ_W DN; χ1] * C_northeast[χ1; χ2]
100+
ECE[DN DE; χ_S χ_W] := EC[DN χ_W; χ2] * E_east[χ2 DE; χ_S]
101+
corner[χ_W D_W; χ_S D_S] := A[D_W D_S; DN DE] * ECE[DN DE; χ_S χ_W]
102102
end
103103
end
104104

0 commit comments

Comments
 (0)