Skip to content

Commit

Permalink
optimize contraction order for TRG
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorVanthilt committed Jan 27, 2025
1 parent e33eda2 commit b107cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schemes/trg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function step!(scheme::TRG, trunc::TensorKit.TruncationScheme)
end

# @plansor complains here, not sure why
@tensor scheme.T[-1 -2; -3 -4] := D[-1 1; 4] * B[-2; 2 1] * C[2; 3 -3] * A[4 3; -4]
@tensor scheme.T[-1 -2; -3 -4] := D[-1 1; 4] * B[-2; 3 1] * C[3; 2 -3] * A[4 2; -4]
return scheme
end

Expand Down

0 comments on commit b107cd7

Please sign in to comment.