Skip to content

Commit cb1f0c8

Browse files
Allow SU2Irrep symmetry in j1_j2_model (#248)
1 parent 0ff55b6 commit cb1f0c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/operators/models.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ function j1_j2_model(
169169
T::Type{<:Number}, S::Type{<:Sector}, lattice::InfiniteSquare;
170170
J1 = 1.0, J2 = 1.0, spin = 1 // 2, sublattice = true,
171171
)
172-
term_AA = S_xx(T, S; spin) + S_yy(T, S; spin) + S_zz(T, S; spin)
172+
term_AA = S_exchange(T, S; spin)
173173
term_AB = if sublattice
174174
-S_xx(T, S; spin) + S_yy(T, S; spin) - S_zz(T, S; spin) # Apply sublattice rotation
175175
else

0 commit comments

Comments
 (0)