SunnySuite / Sunny.jl

Spin dynamics and generalization to SU(N) coherent states
Other
79 stars 19 forks source link

LSWT corrections to the classical energy and ordered moment #229

Closed Hao-Phys closed 7 months ago

Hao-Phys commented 7 months ago

We have integrated LSWT corrections into the classical energy and ordered moment for both :SUN and :dipole modes. The numerical integrations are performed using HCubature.jl.

However, we have encountered an issue. When attempting to report the classical energy during correction calculations, the energy_per_site(swt.sys) function yields nonsensical results. This discrepancy is likely attributed to the rotation of all interactions. Shall we explore potential solutions to address this problem?

kbarros commented 7 months ago

Yes, the plan is to undo the rotations in the swt.sys and store them in a new set.interactions field. I can do it today.