SunnySuite / Sunny.jl

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

Wavevector q should describe momentum transfer to the sample #270

Closed kbarros closed 1 month ago

kbarros commented 1 month ago

For magnetic moments that are defined as,

$$M(q) \sim \sum_r e^{+ i q r} M(r)$$

the dynamical structure factor,

$$\mathcal{S}(q,\omega) \sim \sum_t e^{- i \omega t} \langle M(-q,0) M(q,t)\rangle,$$

describes transfer of momentum $q$ and energy $\omega$ to the sample. Sunny seems to be calculating this incorrectly?

Update. Here is a retrospective on what the bugs were, and how they were fixed in Sunny 0.6:

Note that the new momentum transfer conventions are illustrated in Example 8 of our documentation. This example considers a solvable model (1D chain with DM and Zeeman coupling) where $\pm q$ are inequivalent. The equivalent SpinW calculation differs from Sunny by an overall sign in $q$. The origin of this sign is likely a different sign convention for the Zeeman coupling (see #190, for the corresponding discussion and fix in Sunny).