From 4f32dc02440880a9ca0d3caa0075da4c96aa362f Mon Sep 17 00:00:00 2001 From: Yue Zhengyuan Date: Mon, 25 Aug 2025 17:42:38 +0800 Subject: [PATCH] Allow SU2Irrep symmetry in j1_j2_model --- src/operators/models.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/operators/models.jl b/src/operators/models.jl index 2dbcc6bbe..360ad8421 100644 --- a/src/operators/models.jl +++ b/src/operators/models.jl @@ -169,7 +169,7 @@ function j1_j2_model( T::Type{<:Number}, S::Type{<:Sector}, lattice::InfiniteSquare; J1 = 1.0, J2 = 1.0, spin = 1 // 2, sublattice = true, ) - term_AA = S_xx(T, S; spin) + S_yy(T, S; spin) + S_zz(T, S; spin) + term_AA = S_exchange(T, S; spin) term_AB = if sublattice -S_xx(T, S; spin) + S_yy(T, S; spin) - S_zz(T, S; spin) # Apply sublattice rotation else