The front end of the magnon pipeline: how to turn a spin-polarised electronic-structure calculation into the full bilinear spin-interaction tensors that a spin model needs — not just a scalar Heisenberg , but the antisymmetric Dzyaloshinskii–Moriya vector and the symmetric-traceless anisotropic exchange as well, plus the on-site single-ion anisotropy. The downstream consumer is LSWT, which takes exactly these tensors and returns the magnon dispersion; this note is the inverse problem — extracting them from DFT — and the systematics (functional, , SOC, supercell) that decide whether the answer is trustworthy.
Prerequisites
Green’s functions & LKAG (the magnetic force theorem) · Dzyaloshinskii–Moriya (the antisymmetric part and Moriya’s rules) · the magnetic-anisotropy concept (single-ion and anisotropic exchange; plain text — no dedicated note on disk) · spin-polarised / non-collinear SCF
The target: decomposing the exchange tensor
Fix the spin model once. The most general bilinear interaction between two localised moments is
with a real tensor (Cartesian spin indices) and the single-ion anisotropy matrix. Any such tensor splits uniquely into three irreducible pieces, and each piece is a distinct physical interaction:
- Isotropic Heisenberg — the trace: contributing . The only part that survives without spin–orbit coupling.
- Antisymmetric → DMI — the antisymmetric part, dualised to the axial vector exactly as in Dzyaloshinskii–Moriya (same convention used throughout these notes): giving .
- Symmetric traceless → anisotropic / pseudo-dipolar exchange : the two-site anisotropic exchange (the off-diagonal Kitaev-type and pseudo-dipolar terms). It is the part that, together with single-ion , supplies the magnon gap that Mermin–Wagner says a 2D magnet needs.
The hierarchy in SOC (from the DMI mechanism): , , — which is also the order in which they are hard to converge.
Route (a): LKAG / the magnetic force theorem (Green’s functions, TB2J)
The Liechtenstein–Katsnelson–Antropov–Gubanov (LKAG) approach computes the exchange parameters as the energy cost of infinitesimal rotations of already-converged local moments, using the magnetic force theorem: to first order, the energy change under a small perturbation is the change in the sum of one-electron (band) energies at fixed self-consistent potential, so no expensive re-SCF of rotated states is needed. Tilt moment by and moment by ; the second variation of the band energy with respect to the two tilt angles is the exchange coupling. In the multiple-scattering / Green’s-function formulation this becomes a closed expression — an energy integral up to of a trace over intersite Green’s functions and the on-site exchange splitting (the LKAG formula),
with the local exchange-splitting (the on-site spin potential) and the spin-resolved intersite Green’s function — the construction set out in Green’s functions & LKAG. The strengths are exactly what you want for a magnon pipeline:
- it returns all for all neighbour shells from one calculation of the reference (usually ferromagnetic or the DFT ground) state — no need to design a configuration per coupling;
- with SOC retained, the Green’s functions and the on-site vertices become in spin, the trace generalises to the full tensor, and the antisymmetric () and symmetric-anisotropic () parts emerge directly as the corresponding tensor components — there is a closed LKAG-type expression for ;
- it is the engine of TB2J, which post-processes Wannier (or localised-orbital) Hamiltonians from a DFT code and emits a SpinW/UppASD-ready tensor set.
Its main weakness is that it is a perturbative, ground-state estimate (infinitesimal rotations about one reference state), so it inherits any error in that state and in the localised basis used to define the moments — see the caveats below.
Route (b): energy mapping (four-state / broken-symmetry total energies)
The complementary route is non-perturbative: compute total energies of several finite spin configurations and fit them to the spin model. The cleanest version is the four-state (energy-mapping) method (Xiang et al.): to extract one component of between sites and , run four broken-symmetry SCF calculations with the pair set to the four orientation combinations along chosen Cartesian axes (all other moments held in a fixed common reference), and take the combination
which cancels the single-site and reference-dependent contributions and isolates the two-site coupling. Looping the chosen axes over reconstructs the full tensor; the antisymmetric combination then gives and the symmetric-traceless one gives . Single-ion is obtained from a separate set rotating one moment. Compared with the alternative of fitting a basis of collinear/non-collinear configurations to a least-squares model, the four-state combination is local and avoids contamination from distant couplings — at the price of many SCF runs and a supercell large enough that the manipulated pair does not interact with its periodic images.
When to use which. LKAG is fast, gives the whole shell structure at once, and is natural with a Wannier interface (TB2J); energy mapping is non-perturbative, makes no infinitesimal-rotation assumption, and is the natural choice with a localised-orbital total-energy code (e.g. CRYSTAL23) where non-collinear total energies are cheap and clean. The two should agree where both apply, and a disagreement is itself diagnostic (usually of basis/localisation sensitivity or of an unstable reference state).
The role of SOC, and single-ion vs. two-site anisotropy
The decomposition above is degenerate without spin–orbit coupling: with SOC switched off, the spin and lattice frames decouple, the energy depends only on relative spin angles, and the calculation can only ever return the isotropic — and identically, and the single-ion collapses to a constant. Turning on SOC is what makes the energy depend on the orientation of the spins relative to the lattice, and only then do () and , () appear. This is the computational restatement of Moriya’s “DMI is first order in SOC.”
A point that the extraction must keep straight is the single-ion vs. two-site distinction, because the two are physically and methodologically different anisotropies that are easy to conflate:
- Single-ion anisotropy ( and friends) is an on-site term — the energy of one moment as a function of its own direction in the crystal field. It vanishes identically for spin- ions (where is a constant), and it is extracted by rotating a single moment. It dominates the easy-axis physics in many real 2D magnets.
- Two-site anisotropic exchange is a bond term, extracted from the symmetric off-diagonal tensor components of a pair. It is present even for spin-.
Both feed the magnon gap, but they scale differently with and with the number of neighbours, and a fit that lumps them together will mis-extrapolate. Keeping and as separate fit targets (single-moment vs. pair rotations) is the clean way to disentangle them.
Caveats — where the numbers go wrong
The tensors inherit every systematic error of the underlying electronic structure; the extraction method is the easy part. The recurring offenders:
- Functional / +U dependence. The mapping is only as good as the description of moment localisation and hybridisation. The on-site exchange splitting and the intersite Green’s functions both depend strongly on the DFT+U value (or the exact-exchange fraction in a hybrid): too small a over-delocalises the moment and inflates the superexchange , too large a suppresses hybridisation and shrinks it; the antisymmetric and anisotropic are even more sensitive because they ride on the SOC-induced corrections to the same hybridisation. is therefore not a free knob here — it has to be fixed by an independent criterion, not tuned to the magnetism you are trying to predict.
- Projector / basis dependence. Both routes require defining “the moment on site ,” i.e. a projection onto local orbitals (Wannier functions, LCAO basis, PAW/atomic spheres). The extracted depends on that choice — different projectors partition the intersite charge/spin differently — and the dependence is worse for the small anisotropic components. Convergence of the result with respect to the localisation scheme is a real check, not a formality.
- Supercell / image convergence. Energy mapping needs the manipulated moments far enough from their periodic images that the spurious image coupling is below the (small) / being measured; LKAG needs enough -points to converge the energy integral. Under-converged cells fake anisotropy.
- The (meta)stability assumption. Both routes presuppose that the reference magnetic state is a genuine (meta)stable solution of the SCF and that the spin model is an adequate parameterisation. If the assumed ground state is actually unstable, the extracted tensors are meaningless — and the LSWT consumer will flag it downstream as a non-positive-definite grand dynamical matrix (the Colpa stability test in LSWT). The two checks are complementary: get a stable SCF state and a positive-definite magnon Hamiltonian.
As example systems (qualitative use only): the layered chromium magnets CrI and CrSBr are the standard testbeds for the energy-mapping route — both are insulating, have well-localised Cr moments, and are the 2D magnets whose anisotropy-stabilised order (CrSBr) is the very thing the extracted , , are supposed to capture for the Mermin–Wagner gap. I deliberately quote no computed , , or anisotropy numbers here — those are functional- and projector-dependent outputs, exactly the quantities this note argues are not universal.
Builds toward: LSWT
Key references
- A. I. Liechtenstein, M. I. Katsnelson, V. P. Antropov & V. A. Gubanov, “Local spin density functional approach to the theory of exchange interactions in ferromagnetic metals and alloys,” J. Magn. Magn. Mater. 67, 65 (1987) — the LKAG magnetic force theorem.
- X. He, N. Helbig, M. J. Verstraete & E. Bousquet, “TB2J: A python package for computing magnetic interaction parameters,” Comput. Phys. Commun. 264, 107938 (2021) — the LKAG/Green’s-function implementation that emits the full tensor set.
- H. J. Xiang, E. J. Kan, S.-H. Wei, M.-H. Whangbo & X. G. Gong, “Predicting the spin-lattice order of frustrated systems from first principles,” Phys. Rev. B 84, 224429 (2011) — the four-state / energy-mapping method, including DMI extraction.