Download Mathematica notebook · Manual, chapter 12
Start a fresh Mathematica kernel with SNEG installed. Evaluate the cells in order.
Needs["sneg`"]
Spin waves of a finite antiferromagnet
The Heisenberg ring with four spins 1/2 in a staggered field, , expanded with Holstein-Primakoff bosons around the Néel state (sublattice B rotated by about ). The magnon energies are , , in units of , and includes the zero-point energy:
snegspinoperators[{S, 1/2}];
snegbosonoperators[b];
snegrealconstants[hs];
h = Sum[spinspin[S[i], S[Mod[i, 4] + 1]], {i, 4}] - hs Sum[(-1)^(i + 1) S[i, 3], {i, 4}];
h = rotatespin[h, S, If[EvenQ[First[{##}]], RotationMatrix[Pi, {1, 0, 0}], IdentityMatrix[3]] &];
hb = holsteinprimakoff[h, S -> b, 2];
{ϵ, T, Egs} = bogoliubov[hb /. hs -> 1/10, Table[b[i], {i, 4}]];
{ϵ, Egs}

N[Sqrt[(1 + 1/10)^2 - Cos[{0, Pi/2, Pi/2, Pi}]^2]]
