Closed kbarros closed 4 months ago
About the section on the <MM>
vs <SS>
. They should coincide when g=1, right? (not g = 2)
I think some of the MM and SS labels are misplaced in the equations.
Addressing the remaining comments from above:
dynamical_correlations
). Apart from bugs in the current implementation, this PR should clearly specify the intended Sunny behavior.
Hi Kip, thanks for writing this up! This is well on the way to getting it documented what we really compute 👍
A few comments which I think should be edited in to the document. I've tried to be exhaustive but I may have more comments later. Overall looks really great though!
In the expression $A(r_0,0)B(r_0-r,t)$ inside the definition of $C(r,t)$, the time lag $t$ and position lag $r$ are going in opposite directions! In classical Sunny, we do both temporal and spatial correlations in the same way, so this should be reflected in the definition in the docs. What we actually use currently is $S^{\alpha\beta}\sim\alpha(r_0 + r,t_0 + t)\beta(r_0,t_0)$.(1) changed to reflect thisAlso in that initial definition of $C(r,t)$, the time dynamics are left unspecified. It's only later that we specify either Heisenberg time evolution, or a classical dynamics of some kind. It would be best to explicitly say that it's undetermined at that early stage of the definition ("where the dependence on time $t$ is to be specified later"), or else the reader may be misled that the classical dynamics uses Heisenberg evolution or vice versa, or that there is a single unique choice of time dynamics for this. This point is extra important for the project I'm working on now, where the $C(r,t)$ is distinct from what's written here; so it would be very useful if this was documented as a point of reference for possible modification.Document applies directly only to quantum versionstructure-factor.md
) to talk about the SWT calculation. There is also omitted so far the sum $\sum_{\mu,k}$, which is a subtle SWT thing that is specially adapted to the harmonic oscillator. In particular, there is no $\beta$ anywhere in Sunny (except for c2q factor), and until there is, we shouldn't document that there is! The next section about spin-spin correlation covers the $\omega$ part sufficiently.kf/ki
is on the right; we should probably comment that this is moved to the left hand side in practice, since Sunny doesn't do anything with this (ask xiaojian for more details)A few notes (for the record) about our conventions:
The expression $C(k,t) = \langle \alpha(k,0) \beta^\dagger(k,t)\rangle$ is compatible with the actually-implemented $S^{\alpha\beta}\sim\alpha(r_0 + r,t_0 + t)\beta(r_0,t_0)$, but not with the listed expression for $C(r,t)$ (from point 1 above).Edit: actually, the $t$ is backwards: The expression $C(k,t) = \langle \alpha(k,0) \beta^\dagger(k,t)\rangle$ in the document corresponds to real-space correlations $\sim\alpha(r_0 + r,t_0)\beta(r_0,t_0 + t)$, which doesn't agree with classical Sunny.