SunnySuite / Sunny.jl

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

Scalar biquadratic support for `:dipole_large_S` #254

Closed kbarros closed 4 months ago

kbarros commented 4 months ago

Support a biquad parameter in set_exchange! to allow scalar biquadratic interactions for the special case of mode :dipole_large_S. The original plan was to avoid this, and instead use DynamicPolynomials to represent arbitrary biquadratic couplings symbolically. It's not clear whether the complexity of a full symbolic treatment justifies the benefit. We should be guiding people towards :dipole mode instead, which performs physically correct renormalizations. Nonetheless, scalar biquadratic interactions in :dipole_large_S can still be important for reproducing SpinW studies.

Resolves https://github.com/SunnySuite/Sunny.jl/issues/251.