arXiv is now an independent nonprofit! Learn more
License: arXiv.org perpetual non-exclusive license
arXiv:2608.23157v1 [cond-mat.mtrl-sci] 24 Aug 2026

First–Principles Spin–Lattice Coupling from Downfolded Electron–Phonon Interaction

Xu He Affiliation: Physique Théorique des Matériaux, Q-Mat, Université de Liège, B-4000 Sart-Tilman, Belgium Email: x.he@uliege.be    Álvaro Adrián Carrasco Álvarez Affiliation: European Theoretical Spectroscopy Facility, Institute of Condensed Matter and Nanosciences, Université catholique de Louvain, Chemin des Étoiles 8, B-1348 Louvain-la-Neuve, Belgium    Gian-Marco Rignanese Affiliation: European Theoretical Spectroscopy Facility, Institute of Condensed Matter and Nanosciences, Université catholique de Louvain, Chemin des Étoiles 8, B-1348 Louvain-la-Neuve, Belgium Affiliation: WEL Research Institute, avenue Pasteur 6, 1300 Wavre, Belgium.    Eric Bousquet Affiliation: Physique Théorique des Matériaux, Q-Mat, Université de Liège, B-4000 Sart-Tilman, Belgium    Samuel Poncé Affiliation: European Theoretical Spectroscopy Facility, Institute of Condensed Matter and Nanosciences, Université catholique de Louvain, Chemin des Étoiles 8, B-1348 Louvain-la-Neuve, Belgium Affiliation: WEL Research Institute, avenue Pasteur 6, 1300 Wavre, Belgium.    Matthieu J. Verstraete Affiliation: Nanomat, Q-Mat, and European Theoretical Spectroscopy Facility, Université de Liège, B-4000 Liège, Belgium Affiliation: ITP, Physics Department, Utrecht University 3508 TA Utrecht, The Netherlands
Abstract

We present a method to calculate spin–phonon coupling parameters from first-principles perturbation theory by downfolding the electron–phonon coupling (EPC). We exploit the localized nature of magnetic moments and atomic displacements by working in the Wannier representation of the electronic Hamiltonian and the EPC matrix. The spin system is mapped to a classical Heisenberg Hamiltonian, whose parameters are obtained by treating local spin rotations as a perturbation within a Green’s-function formalism. The spin and phonon perturbations are connected through the EPC parameters, which enter as lattice-induced perturbations to the tight-binding Hamiltonian. By combining these lattice perturbations with local spin rotations, we obtain real-space derivatives of magnetic exchange parameters without performing displaced magnetic supercell calculations. We illustrate the method on SrMnO3 and show that it can be integrated directly into standard workflows.

I Introduction

The Heisenberg model and its associated spin dynamics have long been fundamental tools for understanding the magnetic properties of materials, enabling researchers to bridge the gap between microscopic electronic interactions and macroscopic magnetic behavior. However, as the field of materials science pushes toward the limits of efficiency and speed, the precise treatment of the coupling between spin and lattice degrees of freedom has become increasingly critical. This spin-phonon coupling is not merely a correction to the magnetic Hamiltonian but is the physical origin of many interesting phenomena, including strong modulation of magnon and phonon lifetimes [1], the emergence of new excitations [2] and magnon-to-phonon [3; 4] conversion, which could have a strong impact on spintronics, ultrafast demagnetization, magnetocalorics, spincaloritronics, and multiferroics [5].

Traditionally, the dynamics of magnetic structures are described using the Heisenberg Hamiltonian, which captures the quadratic interactions between localized spins. While such a model provides a robust framework for simulating magnetic properties via spin dynamics, it typically assumes a rigid lattice where atomic positions remain fixed. In real materials, thermal and quantum fluctuations of the atomic nuclei excite phonons which dynamically modulate the crystal field and intersite electronic hopping. This modulation in turn alters the exchange interactions between the spins, giving rise to an intrinsic coupling between the magnetic and lattice degrees of freedom [6; 7].

Several related terms are used to describe the coupling between spin and lattice degrees of freedom, including spin–lattice coupling (SLC), spin–phonon coupling (SPC), magnon–phonon coupling (MPC), and magnon–lattice coupling (MLC). These terms emphasize different representations: one may start from localized spin rotations or from collective magnon excitations, and similarly from local atomic displacements or collective phonons. The corresponding parameters can often be transformed into one another, sometimes with additional approximations. For example, the magnon spectrum can be obtained from a spin Heisenberg model through spin dynamics or linear spin-wave theory, while the phonon spectrum can be obtained from a lattice model through molecular dynamics or the harmonic approximation. Although these terms are often used interchangeably in the literature, they are not strictly identical. In this work, we use the term SLC because our formulation is based on localized real-space spin and lattice perturbations.

The spin-lattice coupled dynamics has been formulated in several works [8; 9; 10; 11; 12; 13; 14; 15; 16], and its application to specific materials [8; 17; 18] has shown that the quantitative analysis of some phenomena necessitates the inclusion of both spin and lattice degrees of freedom. The total Hamiltonian can be written as the sum of the spin, lattice and coupling terms: H=Hspin+Hlatt+HSLCH=H^{\mathrm{spin}}+H^{\mathrm{latt}}+H^{\mathrm{SLC}}.

Both the lattice and the spin parts of the Hamiltonian can be constructed from the results of first-principles calculations. The spin part can be written in a Heisenberg-like form: Hspin=−∑I​J(JI​Jiso𝐒I⋅𝐒J+𝐒I𝐉¯¯I​Jani𝐒J+𝐃I​J⋅(𝐒I×𝐒J))H^{\mathrm{spin}}=-\sum_{IJ}(J^{\mathrm{iso}}_{IJ}\mathbf{S}_{I}\cdot\mathbf{S}_{J}+\mathbf{S}_{I}\bar{\bar{\mathbf{J}}}^{\mathrm{ani}}_{{IJ}}\mathbf{S}_{J}+\mathbf{D}_{IJ}\cdot(\mathbf{S}_{I}\crossproduct\mathbf{S}_{J})), considering the isotropic exchange interaction, where II and JJ denote the indices of the atoms. With this sign convention, a positive JI​JisoJ_{IJ}^{\mathrm{iso}} favors ferromagnetic alignment and a negative JI​JisoJ_{IJ}^{\mathrm{iso}} favors antiferromagnetic alignment. Other terms such as the Dzyaloshinskii-Moriya interaction 𝐃I​J\mathbf{D}_{IJ} (DMI), the anisotropic exchange 𝐉¯¯ani\bar{\bar{\mathbf{J}}}^{\mathrm{ani}}, the single ion anisotropy, or the magnetic dipole-dipole interaction can also be included, and they would also be coupled with the lattice displacements. In this work, we focus on the coupling between the isotropic exchange interaction and lattice distortions, which to first order is parametrized with:

OI​J​u=−d3​Ed​𝐒I​d​𝐒J​d​τu=d​JI​Jisod​τu,O_{IJu}=-\frac{d^{3}E}{d\mathbf{S}_{I}d\mathbf{S}_{J}d\tau_{u}}=\frac{dJ_{IJ}^{\mathrm{iso}}}{d\tau_{u}}\,, (1)

where τu\tau_{u} is the displacement of an atom along one direction, and uu contains the atom and direction indices. Higher-order polynomial couplings can be generalized but are more complex to compute from first principles.

Many methods can be used to model the lattice vibrations, from those based on the simple harmonic approximation to more sophisticated models which include anharmonic interactions [19; 20], and more recently machine learning interatomic potentials (MLIPs) [21]. The harmonic phonons can be modeled with interatomic force constants, which can be calculated with either density functional perturbation theory (DFPT) [22; 23], or finite differences (FD) [24] from first-principles.

In the case of the spin part of the Hamiltonian, there are several methods for computing the parameters in spin models. One of the most commonly used methods is based on first-principles total-energy calculations and energy mapping [25]. Density Functional Perturbation Theory with respect to external magnetic fields was developed by Savrasov [26]. Alternatively, the Generalized Bloch Theorem (GBT) [27; 28] can be used to calculate the total energy of different spin-spiral states, from which the exchange parameters can be extracted. Finally, the magnetic force theorem (MFT) method makes use of Green’s functions, taking the local spin rotation as a perturbation, as proposed in the Liechtenstein, Katsnelson, Antropov and Gubanov formalism (LKAG) [29]. The MFT method has been widely used thanks to its simplicity (only unperturbed ground state calculations are required as input), efficiency (the Green’s function expressions are direct and closed-form expressions), and accuracy (for many purposes the perturbative approximation is sufficient). This method was extended to deal with correlated materials [30], magneto-crystalline-anisotropy [31; 32], DMI [33; 34; 35; 32] in fully relativistic cases with non-collinear spin ground states [36], and higher-order magnetic interactions [37; 38]

In the literature, several methods for estimating SLC parameters have been developed, including supercell-based finite-difference schemes [39; 10; 25; 40] and response-function approaches such as Berry-curvature calculations [41], two-particle Bethe–Salpeter equation [42], or time-dependent DFPT [43; 44]. While these methods provide comprehensive insights, they typically involve heavy supercell calculations or complex dynamical spectral frameworks.

We propose instead a perturbative downfolding approach that extracts real-space SLC parameters directly from the primitive-cell electron–phonon coupling (EPC). By extending the MFT to include atomic displacements as a simultaneous perturbation, our method computes derivatives of exchange parameters from Wannier-interpolated EPC and avoids the need for displaced magnetic supercells. The method provides an efficient and orbital-resolved framework that is closely related to the work of Mankovsky et al. [16]. This approach bridges the gap between simple force fitting and advanced response theories, offering a practical way to simulate complex spin-lattice dynamics.

We describe the MFT method for the calculation of the spin interaction parameters, and the Wannier representation of the EPC, in Section II.3. In Section III we demonstrate the method with the example of SrMnO3. Then Section IV presents potential applications and extensions, and discusses limitations. An advantage of the present Wannier-based perturbative scheme is that it is built on already established workflows for computing phonons and magnetic exchange parameters, and can therefore be integrated into existing first-principles calculations. A standard ground-state DFT calculation first provides the reference electronic structure. A DFPT phonon calculation then yields the phonon frequencies and the variation of the self-consistent potential ∂VSCF/∂τu\partial V_{\text{SCF}}/\partial\tau_{u}, evaluated in the reference state. Maximally localized Wannier functions are constructed to transform the Kohn–Sham Hamiltonian H⁡(𝐤)H(\mathbf{k}) into its real-space representation H⁡(𝐑)H(\mathbf{R}) [45]. The EPC is then interpolated in the Wannier basis to obtain gi​j,u​(𝐑e,𝐑P)g_{ij,u}(\mathbf{R}_{e},\mathbf{R}_{\mathrm{P}}) [46]. Finally, magnetic post-processing codes [47] use the Wannier Hamiltonian to build the magnetic Green’s functions and evaluate the MFT expressions, so that the four-point vertex can be integrated to obtain the SLCs ∂J/∂τu\partial J/\partial\tau_{u}. The workflow is presented in Fig. 1.

II Formalism

Refer to caption
Figure 1: Schematic workflow of the Wannier-based perturbative method. A standard DFT calculation provides the reference electronic structure, DFPT yields phonons and the variation of the self-consistent potential, Wannier functions and the real-space Hamiltonian can be constructed with Wannier90 [45], EPC in the Wannier basis from the DFPT result can be obtained, for example, with EPW [46; 48], and the magnetic Green’s functions used to evaluate the SLC parameters are built with TB2J [47].

To describe SLC, we first need (i) the electronic Hamiltonian of the reference state and (ii) the coupling between lattice displacements and the electron density. The remaining task is to combine these two ingredients to obtain the SLC parameters. The notation and conventions are summarized in Table 1.

Table 1: Summary of notations used in the paper. Bold symbols are vectors, double bar symbols are matrices.
n,mn,m electron band indices
i,j,k,li,j,k,l electron Wannier orbital indices
I,JI,J atomic site indices (atom II has orbitals {i}\{i\})
𝐤,𝐪S,𝐪P\mathbf{k},\mathbf{q}_{\mathrm{S}},\mathbf{q}_{\mathrm{P}} wave-vectors (electron, magnon, and phonon)
𝐑I\mathbf{R}_{I}, 𝐑J\mathbf{R}_{J} cell vector of II, JJ, 𝐑I​J=𝐑J−𝐑I\mathbf{R}_{IJ}=\mathbf{R}_{J}-\mathbf{R}_{I}
𝐇¯¯I​J\bar{\bar{\mathbf{H}}}_{IJ} tight-binding Hamiltonian (orbitals i∈I,j∈Ji\in I,j\in J)
𝐔¯¯j​n,𝐤\bar{\bar{\mathbf{U}}}_{jn,\mathbf{k}} unitary WF transformation (orbital jj, band nn)
ϵ\epsilon electron energy
𝐆¯¯I​J​(ϵ)\bar{\bar{\mathbf{G}}}_{IJ}(\epsilon) Green’s function (orbitals i∈I,j∈Ji\in I,j\in J).
𝐩¯¯I,𝚫¯¯I\bar{\bar{\mathbf{p}}}_{I},\bar{\bar{\mathbf{\Delta}}}_{I} onsite exchange matrices at site II (orbitals i,i′∈Ii,i^{\prime}\in I)
gi​j,u​(𝐑e,𝐑P)g_{ij,u}(\mathbf{R}_{\mathrm{e}},\mathbf{R}_{\mathrm{P}}) EPC (orbital i,ji,j, displacement uu)
u,vu,v displacement index (atom and Cartesian direction)
α,β\alpha,\beta 0 or directions (α,β∈{0,x,y,z}\alpha,\beta\in\{0,x,y,z\})
σ¯¯α\bar{\bar{\sigma}}^{\alpha} Pauli matrices (σ¯¯0\bar{\bar{\sigma}}^{0} is the 2×22\times 2 identity matrix)

II.1 Green’s function method for computing the Heisenberg parameters

For the purely spin-dependent part of the Hamiltonian, we need to compute the spin–spin interaction parameters. These parameters can be calculated with the MFT [29] from local spin-density approximation (LSDA) [49; 50] within DFT. In the MFT method, the local spin rotation is treated as a perturbation, and the variation of the band energy is calculated through a Green’s function approach. The method was originally used with local-basis methods [29]. In a DFT method with non-local basis set (e.g., plane-waves), this perturbation can be realized by mapping the Kohn-Sham Hamiltonian to a localized WF basis set and rotating the spin of the WFs [51].

The electron Wannier function can be constructed using Bloch wave functions through:

|j​𝐑j⟩=∑n​𝐤e−i𝐤⋅𝐑j𝐔¯¯j​n,𝐤|n​𝐤⟩,\ket{j \vec{R}_j}=\sum_{n\mathbf{k}}e^{-i\mathbf{k}\cdot\mathbf{R}_{j}}\bar{\bar{\mathbf{U}}}_{jn,\mathbf{k}}\ket{n\vec{k}}\,, (2)

where 𝐔¯¯j​n\bar{\bar{\mathbf{U}}}_{jn} is a unitary transformation matrix that mixes the bands and localizes the electron orbitals [52; 45]. This allows us to express the electron Kohn-Sham Hamiltonian in the WF basis as 𝐇¯¯​(𝐑)\bar{\bar{\mathbf{H}}}(\mathbf{R}) (double-underlined symbols are matrices in WF orbital space). Consequently, the electron Green’s function in 𝐤\mathbf{k}-space is 𝐆¯¯​(𝐤,ϵ)=[ϵ​𝐈¯¯−𝐇¯¯​(𝐤)]−1\bar{\bar{\mathbf{G}}}(\mathbf{k},\epsilon)=\left[\epsilon\bar{\bar{\mathbf{I}}}-\bar{\bar{\mathbf{H}}}(\mathbf{k})\right]^{-1}, where ϵ\epsilon is the energy of the electron. In the following, we will drop the ϵ\epsilon dependence for simplicity. The real-space Green’s function is obtained by Fourier transform: 𝐆¯¯(𝐑)=∑𝐤e−i𝐤⋅𝐑𝐆¯¯(𝐤)\bar{\bar{\mathbf{G}}}(\mathbf{R})=\sum_{\mathbf{k}}e^{-i\mathbf{k}\cdot\mathbf{R}}\bar{\bar{\mathbf{G}}}(\mathbf{k}). We can decompose the full Green’s function for each inter-site orbital pair 𝐆¯¯i​j\bar{\bar{\mathbf{G}}}_{ij} as the charge and three spin components,

𝐆¯¯i​j=∑α=0,x,y,zGi​jα​σ¯¯α,\bar{\bar{\mathbf{G}}}_{ij}=\sum_{\alpha=0,x,y,z}G^{\alpha}_{ij}\bar{\bar{\sigma}}^{\alpha}, (3)

where σ¯¯0\bar{\bar{\sigma}}^{0} is the 2×22\times 2 identity matrix, and σ¯¯x,y,z\bar{\bar{\sigma}}^{x,y,z} are Pauli matrices. Additionally, from the onsite block of 𝐇¯¯i​j\bar{\bar{\mathbf{H}}}_{ij} at atom II, we extract the spin-splitting matrix 𝐩¯¯I\bar{\bar{\mathbf{p}}}_{I} from the spin part of the Hamiltonian. This quantity acts as an effective exchange-correlation magnetic field in DFT, and the spin-rotation perturbation is realized by rotating it. Together with the Green’s function, it allows us to compute the generalized exchange 𝐀¯¯I​J\bar{\bar{\mathbf{A}}}_{IJ}, a 4×44\times 4 matrix defined as

AI​Jα​β=−1π∫−∞EFTr⁡(𝐩¯¯I​𝐆¯¯I​Jα​𝐩¯¯J​𝐆¯¯J​Iβ)dϵ,A_{IJ}^{\alpha\beta}=-\frac{1}{\pi}\int_{-\infty}^{E_{F}}\Tr{\mat{p}_I\mat{G}_{IJ}^\alpha\mat{p}_J \mat{G}_{JI}^\beta}\ d\epsilon, (4)

where α,β∈{0,x,y,z}\alpha,\beta\in\{0,x,y,z\}, Tr\Tr is the trace over the orbital space, and 𝐩¯¯I\bar{\bar{\mathbf{p}}}_{I} is the matrix of pi​i′p_{ii^{\prime}}, where i,i′i,i^{\prime} are the orbital indices of atom II, and 𝐆¯¯I​J\bar{\bar{\mathbf{G}}}_{IJ} is the Green’s function matrix between the orbital indices of ii and jj with ii on atom II and jj on atom JJ. In a periodic system, we can choose the I​JIJ pair with II in the cell at the origin, and JJ in the cell translated by a lattice vector 𝐑J\mathbf{R}_{J}.

AI​Jα​β(𝐑J)=−1π∫−∞EFTr⁡(𝐩¯¯I​𝐆¯¯I​Jα​(𝐑J)​𝐩¯¯J​𝐆¯¯J​Iβ​(−𝐑J))dϵ,A_{IJ}^{\alpha\beta}(\mathbf{R}_{J})=-\frac{1}{\pi}\int_{-\infty}^{E_{F}}\Tr{\mat{p}_I\mat{G}_{IJ}^\alpha(\Rj) \mat{p}_J \mat{G}_{JI}^\beta(-\Rj)}\ d\epsilon, (5)

From 𝐀¯¯I​J\bar{\bar{\mathbf{A}}}_{IJ}, we can compute the isotropic exchange JisoJ^{\mathrm{iso}}, the anisotropic exchange 𝐉¯¯ani\bar{\bar{\mathbf{J}}}^{\mathrm{ani}}, and the DMI 𝐃\mathbf{D} using the following relations

JI​Jiso\displaystyle J^{\mathrm{iso}}_{IJ} =Im(AI​J00−AI​Jx​x−AI​Jy​y−AI​Jz​z),\displaystyle=\imaginary(A_{IJ}^{00}-A_{IJ}^{xx}-A_{IJ}^{yy}-A_{IJ}^{zz}), (6)
JI​Jani,α​β\displaystyle J_{IJ}^{\mathrm{ani},\alpha\beta} =Im(AI​Jα​β+AI​Jβ​α),\displaystyle=\imaginary(A_{IJ}^{\alpha\beta}+A_{IJ}^{\beta\alpha}), (7)
DI​Jα\displaystyle D^{\alpha}_{IJ} =Re(AI​J0​α−AI​Jα​0).\displaystyle=\real(A_{IJ}^{0\alpha}-A_{IJ}^{{\alpha 0}}). (8)

In a collinear spin system without spin–orbit coupling (SOC), the DMI and anisotropic exchanges are zero, and the exchange parameter can be written in the LKAG formalism [29; 51] in the following way:

JI​Jiso(𝐑J)=14​π∫−∞EFdϵImTr⁡(𝚫¯¯I​𝐆¯¯I​J↑​(𝐑J)​𝚫¯¯J​𝐆¯¯J​I↓​(−𝐑J)),J^{\mathrm{iso}}_{IJ}(\mathbf{R}_{J})=\frac{1}{4\pi}\int_{-\infty}^{E_{F}}d\epsilon\imaginary\Tr{\mat{\Delta}_I\mat{G}_{IJ}^{\uparrow}(\vec{R}_J)\mat{\Delta}_J\mat{G}_{JI}^{\downarrow}(-\vec{R}_J)}, (9)

where 𝚫¯¯I=𝐇¯¯I↑​(𝐑=0)−𝐇¯¯I↓​(𝐑=0)\bar{\bar{\mathbf{\Delta}}}_{I}=\bar{\bar{\mathbf{H}}}_{I}^{\uparrow}(\mathbf{R}=0)-\bar{\bar{\mathbf{H}}}_{I}^{\downarrow}(\mathbf{R}=0).

II.2 Electron–phonon coupling

In the case of the interaction between the electrons and the lattice vibrations, we need to obtain the EPC matrix elements. These matrix elements can be calculated through finite differences [53] or density functional perturbation theory (DFPT) [54; 55; 56; 57; 58], by using an analytic form of the derivative of the potential [59; 60] and its wavevector dependence, which avoids the need for large supercells. Here we use the DFPT method, which is implemented in several DFT packages [61; 62].

In this work, we make use of the Wannier representation of EPC [63; 64] so that it can be combined with the local-spin perturbation. The EPC parameter reads:

gm​n,ν​(𝐤,𝐪P)=ℏ2​ω𝐪P​ν​⟨m​𝐤+𝐪P|​δ𝐪P​ν​V​|n​𝐤⟩,g_{mn,\nu}(\mathbf{k},\mathbf{q}_{\mathrm{P}})=\sqrt{\frac{\hbar}{2\omega_{\mathbf{q}_{\mathrm{P}}\nu}}}\bra{m \vec{k} + \vec{q}_\mathrm{P}}\delta_{\mathbf{\mathbf{q}_{\mathrm{P}}}\mathrm{\nu}}V\ket{n\vec{k}}, (10)

where mm and nn are electron band indices, ν\nu is a phonon mode index, ω𝐪P​ν\omega_{\mathbf{q}_{\mathrm{P}}\nu} is the phonon angular frequency, and 𝐤\mathbf{k} and 𝐪P\mathbf{q}_{\mathrm{P}} are the electron and phonon wavevectors. The factor ℏ/(2​ω𝐪P​ν)\sqrt{\hbar/(2\omega_{\mathbf{q}_{\mathrm{P}}\nu})} ensures that gm​n,νg_{mn,\nu} has units of energy. The EPC can be transformed into a Wannier representation [64]:

gi​j,u​(𝐑e,𝐑P)=⟨i​𝟎|​δτu​V​|j​𝐑e⟩g_{ij,u}(\mathbf{R}_{\mathrm{e}},\mathbf{R}_{\mathrm{P}})=\bra{i \vec{0}}\delta_{\tau_{u}}V\ket{j\re} (11)

where ii and jj are the indices of electron Wannier functions, and uu is the displacement index. The vectors 𝐑e\mathbf{R}_{\mathrm{e}} and 𝐑P\mathbf{R}_{\mathrm{P}} locate the electron and displaced atom, respectively.

The transformation from the Bloch to Wannier space representation can be done with:

gi​j,u​(𝐑e,𝐑P)=\displaystyle g_{ij,u}(\mathbf{R}_{\mathrm{e}},\mathbf{R}_{\mathrm{P}})= 1N𝐪P​N𝐤​∑𝐤,𝐪Pe−i⁡(𝐤⋅𝐑e+𝐪P⋅𝐑P)\displaystyle\frac{1}{N_{\mathbf{q}_{\mathrm{P}}}N_{\mathbf{k}}}\sum_{\mathbf{k},\mathbf{q}_{\mathrm{P}}}e^{-i(\mathbf{k}\cdot\mathbf{R}_{\mathrm{e}}+\mathbf{q}_{\mathrm{P}}\cdot\mathbf{R}_{\mathrm{P}})} (12)
×∑m​n​νUi​m,𝐤+𝐪P∗​gm​n,ν​(𝐤,𝐪P)​Un​j,𝐤​uν​u,𝐪P−1\displaystyle\times\sum_{mn\nu}U^{*}_{im,\mathbf{k}+\mathbf{q}_{\mathrm{P}}}\,g_{mn,\nu}(\mathbf{k},\mathbf{q}_{\mathrm{P}})\,U_{nj,\mathbf{k}}\,u^{-1}_{\nu u,\mathbf{q}_{\mathrm{P}}}

where N𝐪PN_{\mathbf{q}_{\mathrm{P}}} is the number of 𝐪P\mathbf{q}_{\mathrm{P}} points, N𝐤N_{\mathbf{k}} is the number of 𝐤\mathbf{k} points, the UU matrices are the unitary matrices which rotate the electron Bloch states into the Wannier functions, and uν​u,𝐪P−1u^{-1}_{\nu u,\mathbf{q}_{\mathrm{P}}} projects phonon eigenmode ν\nu onto Cartesian displacement uu.

When we consider the collinear magnetic case, the treatment is analogous but now we have spin-resolved EPC gi​j,u↑​(𝐑e,𝐑p)g^{\uparrow}_{ij,u}(\mathbf{R}_{\mathrm{e}},\mathbf{R}_{\mathrm{p}}) and gi​j,u↓​(𝐑e,𝐑p)g^{\downarrow}_{ij,u}(\mathbf{R}_{\mathrm{e}},\mathbf{R}_{\mathrm{p}}) constructed with Wannier functions for each spin manifold, and the perturbation potentials δτu​V↑\delta_{\tau_{u}}V^{\uparrow} and δτu​V↓\delta_{\tau_{u}}V^{\downarrow}, respectively.

II.3 Mixing the spin and phonon perturbation

Figure 2: Schematic diagram of electron scattering due to a lattice distortion. An electron propagates from Wannier function ii (centered at atom II) to jj (centered at atom JJ) via intermediate states kk and ll. The scattering is caused by the variation in the potential, δτu​Vl​k\delta_{\tau_{u}}V_{lk}, induced by the displacement τu\tau_{u} of atom uu. The blue arrows represent the unperturbed Green’s functions Gi​k(0)G_{ik}^{(0)} and Gl​j(0)G_{lj}^{(0)}. The dashed circles illustrate the spatial locality of the interactions: DeD_{\mathrm{e}} indicates the electron interaction range (cutoff distance for electron pairs), and DPD_{\mathrm{P}} indicates the electron–lattice interaction range centered at the displaced atom. De​(k)D_{\mathrm{e}}(k), De​(l)D_{\mathrm{e}}(l), DP​(u)D_{\mathrm{P}}(u) are the interaction range around kk, ll, and uu, respectively.

Once we have access to both the exchange parameters and the EPC, we can construct the SLC. In this work, we apply an idea similar to the MFT [29] approach but for a lattice distortion instead of a spin rotation. Thus, we compute the variation of the exchange parameter 𝐀¯¯I​J\bar{\bar{\mathbf{A}}}_{IJ} by considering the change of the electronic Green’s function under a lattice distortion to obtain the SLC parameters.

Formally, this means that the electron Green’s function Gi​j​(𝐑j)G_{ij}(\mathbf{R}_{j}) is perturbed by a displacement τu\tau_{u} of atom uu in the cell 𝐑u\mathbf{R}_{u}, which changes the hopping between all orbital pairs 𝐑k\mathbf{R}_{k} and 𝐑l\mathbf{R}_{l}, as shown in Fig. 2, in which the cell vectors are not shown. Hence, the first-order perturbed Green’s function can be written as:

δτu​Gi​j​(𝐑j)=∑k,lGi​k(0)​(𝐑i−𝐑k)×gk​l,u​(𝐑l−𝐑k,𝐑u−𝐑k)​Gl​j(0)​(𝐑j−𝐑l),\delta_{\tau_{u}}G_{ij}(\mathbf{R}_{j})=\sum_{k,l}G^{(0)}_{ik}(\mathbf{R}_{i}-\mathbf{R}_{k})\\ \times g_{kl,u}(\mathbf{R}_{l}-\mathbf{R}_{k},\mathbf{R}_{u}-\mathbf{R}_{k})G^{(0)}_{lj}(\mathbf{R}_{j}-\mathbf{R}_{l})\,, (13)

where G(0)G^{(0)} is the Green’s function without the phonon perturbation. This allows us to compute the variation of 𝐀¯¯I​J\bar{\bar{\mathbf{A}}}_{IJ} in Eq. (4) with respect to the atomic displacement amplitude, which can be written as the sum of four parts:

δτu​AI​Jα​β​(𝐑J)=\displaystyle\delta_{\tau_{u}}A_{IJ}^{\alpha\beta}(\mathbf{R}_{J})= −1πTr∫−∞EFdϵ\displaystyle-\frac{1}{\pi}\Tr\int_{-\infty}^{E_{F}}d\epsilon (14)
𝐩¯¯I​δ​𝐆¯¯I​Jα​(𝐑J)​𝐩¯¯J​𝐆¯¯J​I(0),β​(−𝐑J)\displaystyle\bar{\bar{\mathbf{p}}}_{I}\delta\bar{\bar{\mathbf{G}}}_{IJ}^{\alpha}(\mathbf{R}_{J})\bar{\bar{\mathbf{p}}}_{J}\bar{\bar{\mathbf{G}}}_{JI}^{(0),\beta}(-\mathbf{R}_{J})
+𝐩¯¯I​𝐆¯¯I​J(0),α​(𝐑J)​𝐩¯¯J​δ​𝐆¯¯J​Iβ​(−𝐑J)\displaystyle+\bar{\bar{\mathbf{p}}}_{I}\bar{\bar{\mathbf{G}}}_{IJ}^{{(0),\alpha}}(\mathbf{R}_{J})\bar{\bar{\mathbf{p}}}_{J}\delta\bar{\bar{\mathbf{G}}}_{JI}^{\beta}(-\mathbf{R}_{J})
+δ​𝐩¯¯I​𝐆¯¯I​J(0),α​(𝐑J)​𝐩¯¯J​𝐆¯¯J​I(0),β​(−𝐑J)\displaystyle+\delta\bar{\bar{\mathbf{p}}}_{I}\bar{\bar{\mathbf{G}}}_{IJ}^{(0),\alpha}(\mathbf{R}_{J})\bar{\bar{\mathbf{p}}}_{J}\bar{\bar{\mathbf{G}}}_{JI}^{(0),\beta}(-\mathbf{R}_{J})
+𝐩¯¯I​𝐆¯¯I​J(0),α​(𝐑J)​δ​𝐩¯¯J​𝐆¯¯J​I(0),β​(−𝐑J),\displaystyle+\bar{\bar{\mathbf{p}}}_{I}\bar{\bar{\mathbf{G}}}_{IJ}^{(0),\alpha}(\mathbf{R}_{J})\delta\bar{\bar{\mathbf{p}}}_{J}\bar{\bar{\mathbf{G}}}_{JI}^{(0),\beta}(-\mathbf{R}_{J}),

where δ​𝐩¯¯I\delta\bar{\bar{\mathbf{p}}}_{I} is the onsite spin-splitting amplitude change due to the atomic displacement τu\tau_{u}, and 𝐆¯¯(0),α\bar{\bar{\mathbf{G}}}^{(0),\alpha} is the Pauli component α\alpha of the unperturbed Green’s function matrix between sites II and JJ [Eq. (3)]. The trace Tr\mathrm{Tr} is taken over the orbitals of one atom. The first two terms describe the lattice-induced change of the two Green’s-function propagators, while the last two terms describe the displacement-induced change of the onsite spin splittings. Note that we omit the subscript τu\tau_{u} in Eq. (14) for concision. By inserting Eq. (13) into Eq. (14), the latter can be evaluated. The derivatives of JisoJ^{\mathrm{iso}}, 𝐉¯¯ani\bar{\bar{\mathbf{J}}}^{\mathrm{ani}} and 𝐃\mathbf{D} can thus be obtained with a similar mapping of Eqs. (6)–(8). In this work, we focus on the collinear-spin case.

In the collinear spin case, without SOC, the exchange parameter becomes:

δτu​JI​Jiso​(𝐑J)=\displaystyle\delta_{\tau_{u}}J_{IJ}^{\mathrm{iso}}(\mathbf{R}_{J})= 14​πImTr∫−∞EFdϵ\displaystyle\frac{1}{4\pi}\imaginary\Tr\int_{-\infty}^{E_{F}}d\epsilon (15)
𝚫¯¯I​δ​𝐆¯¯I​J↑​(𝐑J)​𝚫¯¯J​𝐆¯¯J​I(0),↓​(−𝐑J)\displaystyle\bar{\bar{\mathbf{\Delta}}}_{I}\delta\bar{\bar{\mathbf{G}}}_{IJ}^{\uparrow}(\mathbf{R}_{J})\bar{\bar{\mathbf{\Delta}}}_{J}\bar{\bar{\mathbf{G}}}_{JI}^{(0),\downarrow}(-\mathbf{R}_{J})
+𝚫¯¯I​𝐆¯¯I​J(0),↑​(𝐑J)​𝚫¯¯J​δ​𝐆¯¯J​I↓​(−𝐑J)\displaystyle+\bar{\bar{\mathbf{\Delta}}}_{I}\bar{\bar{\mathbf{G}}}_{IJ}^{{(0),\uparrow}}(\mathbf{R}_{J})\bar{\bar{\mathbf{\Delta}}}_{J}\delta\bar{\bar{\mathbf{G}}}_{JI}^{\downarrow}(-\mathbf{R}_{J})
+δ​𝚫¯¯I​𝐆¯¯I​J(0),↑​(𝐑J)​𝚫¯¯J​𝐆¯¯J​I(0),↓​(−𝐑J)\displaystyle+\delta\bar{\bar{\mathbf{\Delta}}}_{I}\bar{\bar{\mathbf{G}}}_{IJ}^{(0),\uparrow}(\mathbf{R}_{J})\bar{\bar{\mathbf{\Delta}}}_{J}\bar{\bar{\mathbf{G}}}_{JI}^{(0),\downarrow}(-\mathbf{R}_{J})
+𝚫¯¯I​𝐆¯¯I​J(0),↑​(𝐑J)​δ​𝚫¯¯J​𝐆¯¯J​I(0),↓​(−𝐑J),\displaystyle+\bar{\bar{\mathbf{\Delta}}}_{I}\bar{\bar{\mathbf{G}}}_{IJ}^{(0),\uparrow}(\mathbf{R}_{J})\delta\bar{\bar{\mathbf{\Delta}}}_{J}\bar{\bar{\mathbf{G}}}_{JI}^{(0),\downarrow}(-\mathbf{R}_{J}),

with δ​ΔI\delta\Delta_{I} being the change in the spin splitting due to the phonon perturbation. We note that at the collinear level, the potential VV acting on the two spin channels is different and, as a result, the change in exchange splitting does not need to be zero.

The advantage of this approach is that we can exploit the shortsightedness of the electron hopping and electron–phonon interaction to limit the range of 𝐑l\mathbf{R}_{l} and 𝐑k\mathbf{R}_{k} in Eq. (13). In practice, the range of the EPC is defined by the coarse 𝐤\mathbf{k} and 𝐪P\mathbf{q}_{\mathrm{P}} grid, which gives the number of electron and lattice Wigner-Seitz cells. With sufficiently dense 𝐤\mathbf{k} and 𝐪P\mathbf{q}_{\mathrm{P}} grids, the EPC should decay and vanish outside the Wigner-Seitz supercell, allowing the range of the SLC parameters to be converged systematically.

Finally, we note that in this framework, the SLC parameters describe the effective interaction between localized spins mediated by lattice distortions of the electronic system. Thus, extracting SLC from EPC can be viewed as a downfolding (DF) procedure. In practical calculations, the required inputs are the Wannier Hamiltonian, the onsite spin-splitting matrices, the unperturbed Green’s functions, and the Wannier-represented EPC matrix. From these quantities, the method directly returns d​JI​J/d​τudJ_{IJ}/d\tau_{u} for selected magnetic pairs I​JIJ and atomic displacements τu\tau_{u}, and the same expressions can be resolved into orbital-pair contributions.

III Application to SrMnO3\mathrm{SrMnO}_{3}

Refer to caption
Figure 3: Structure of SrMnO3. The green, purple, and red dots are the Sr, Mn, and O atoms, respectively. The four atomic displacements labeled 1–4 correspond to Sr, Mn and O1, O2 displacements along the crystallographic directions, as defined in the text. The exchange couplings with the central Mn atom (inside the black circle) are discussed in the text, e.g., Jx+J_{x+} is the exchange parameter between the Mn and its first nearest neighbor in the positive xx direction.

We validate the method with SrMnO3 (SMO) in the cubic perovskite structure, where the magnetic exchange between Mn 3​d3d electrons is strongly coupled to the phonons [65; 66]. The Mn ions are in a 3​d33d^{3} electronic configuration, and interact with their first Mn neighbors through a superexchange mechanism, transmitted through the Mn-O orbital hybridization, and modulated by the Mn-O-Mn bonds.

The DFT calculations were performed with the Quantum ESPRESSO package [62]. We make use of the PBEsol Generalized Gradient Approximation (GGA) [67] exchange-correlation functional, and norm-conserving pseudopotentials from PseudoDojo [68; 69]. The phonons and EPC matrices are calculated with DFPT, with a 5×5×55\times 5\times 5 Monkhorst-Pack grid of 𝐪P\mathbf{q}_{\mathrm{P}}-points, and a 10×10×1010\times 10\times 10 grid of 𝐤\bf k-points. The SMO cubic structure in a ferromagnetic configuration is taken as the reference state. The Wannier90 [45] package allows us to build maximally localized Wannier functions [52], which include the Mn 3​d3d and O 2​p2p states. We then carry out a DFPT calculation to compute the phonons and EPC. Based on these results, the Wannier representation of the EPC is constructed with the EPW code [48; 46; 64]. In the current implementation of EPW, the Wannier representation of the EPC can be calculated at the collinear level, obtaining a spin-resolved EPC g↑g^{\uparrow} or g↓g^{\downarrow} [48]. We did not include the Hubbard UU correction in this work for simplicity, and it is left for future work since it has recently been made available in EPW [70; 71]. For the calculation of the exchange coupling parameters, we use the magnetic force theorem [29] implemented in the TB2J [47] code based on the Wannier function Hamiltonian.

To benchmark the method, we use a finite-difference method (FD) to compute the SLC parameters for comparison. We displace the atoms by ±0.02\pm 0.02 Å along the xx, yy, and zz directions, and compute the exchange parameters in a 3×3×33\times 3\times 3 supercell. Due to finite displacement effects, we find that the corresponding 3×\times3×\times3 𝐪P\mathbf{q}_{\mathrm{P}}-point grid in PT is not sufficient and at least a 4×\times4×\times4 𝐪P\mathbf{q}_{\mathrm{P}}-point grid is needed, see Fig. 7. The PT approach also offers a significant computational advantage over the FD method.

For SrMnO3, each FD calculation in the 3×3×33\times 3\times 3 supercell requires about 230 CPU-hours (AMD EPYC Milan 2.45 GHz), and two calculations (positive and negative displacements) are needed for each perturbation. This yields a total FD cost of tFD≈460×nt_{\rm FD}\approx 460\times n CPU-hours, where nn is the number of independent perturbations. In contrast, the DFPT calculation with a 10×10×1010\times 10\times 10 𝐤\mathbf{k}-point mesh and a 5×5×55\times 5\times 5 𝐪P\mathbf{q}_{\mathrm{P}}-point mesh requires about 800 CPU-hours as a one-time cost.

The PT calculation corresponds to an effective 5×5×55\times 5\times 5 supercell (from the 𝐪P\mathbf{q}_{\mathrm{P}}-point grid), which would be even more CPU-time and memory demanding if done with the FD approach.

A more important advantage of the PT calculation is the memory usage. Because the DFPT calculation is performed independently for each 𝐪P\mathbf{q}_{\mathrm{P}} point, the memory footprint does not grow directly with the number of 𝐪P\mathbf{q}_{\mathrm{P}} points, apart from small post-processing overheads. Some 𝐪P\mathbf{q}_{\mathrm{P}} points reduce the number of symmetries and can therefore increase the maximum memory usage among the individual calculations. In contrast, for the supercell calculation, the storage of the wave functions scales as O⁡(N2)O(N^{2}), where NN is the supercell volume. In the present case, the 3×3×33\times 3\times 3 calculation requires about 40 GB of memory, while a 5×5×55\times 5\times 5 supercell would require about 21 times more memory, or roughly 880 GB.

Figure 4: (a) Exchange parameters and (b) SLC parameters as functions of Mn–Mn distance for the atomic displacements shown in Fig. 3. The sign convention is that negative JJ corresponds to antiferromagnetic exchange.
Figure 5: Magnon band structure of SrMnO3 computed from the exchange parameters in the Brillouin zone (BZ) of the cubic structure. The reference state is the G-type antiferromagnetic (AFM) ground state, in which each Mn moment is antiparallel to all nearest-neighbor Mn moments, which doubles the unit cell by a supercell matrix of 𝐌¯¯S​C\bar{\bar{\mathbf{M}}}_{SC} of ((0,12\frac{1}{2},12\frac{1}{2}),(12\frac{1}{2},0,12\frac{1}{2}),(12\frac{1}{2},12\frac{1}{2},0)). The qPq_{\mathrm{P}} at RR (12\frac{1}{2}, 12\frac{1}{2},12\frac{1}{2}) has zero frequency, as the wave-vector is folded to 𝐪P⋅𝐌¯¯S​C=(1,1,1)\mathbf{q}_{\mathrm{P}}\cdot\bar{\bar{\mathbf{M}}}_{SC}=(1,1,1) of the supercell BZ, equivalent to the Γ\Gamma point.

We validate the computation of the SLC parameters with four atomic distortions: one Sr displacement, one Mn displacement, and two O atom displacements (along and perpendicular to the Mn-O bond in the aa direction as shown in Fig. 3), labeled by Sr-xx, Mn-zz, O-xx, and O-zz, respectively. The exchange and the SLC parameters connecting the Mn atoms are plotted as a function of the distance. The first-neighbor JJ is significantly larger than the longer-ranged ones. The derivatives of JJ with respect to atomic displacements also decay with distance as shown in Fig. 4. These exchange parameters can be used to compute the magnon band structure via linear spin-wave theory (LSWT) [72] as implemented in TB2J. The resulting magnon dispersion, shown in Fig. 5, shows a typical antiferromagnetic (AFM) behavior which is linear close to the zone center. We note that although our DFT calculations are done within a unit cell of FM structure, the computation of the magnon band for the reference AFM ground-state structure can be done following the method in Ref. [72].

The exchange values in Fig. 4 are much larger than those reported in previous works [73]. This difference is mainly due to the absence of a Hubbard UU correction in the calculations used for the present demonstration. For comparison, a DFT+UU calculation with U⁡(Mn)=3U(\mathrm{Mn})=3 eV and J⁡(Mn)=0J(\mathrm{Mn})=0 eV gives a first-neighbor Mn–Mn exchange of about −7.04-7.04 meV, whereas the calculation without UU used here gives −21.45-21.45 meV. The Hubbard correction pushes the occupied and unoccupied Mn dd states further apart, reducing Mn dd–O pp hybridization and thus the superexchange interaction. The SLC parameters are expected to be overestimated for the same reason. As we mentioned before, the inclusion of the UU is left for future studies and we mainly focus on demonstrating the method to compute the SLC parameters regardless of the value of JJ. The corresponding values of the derivative of the isotropic exchange JisoJ^{\mathrm{iso}} with respect to the displacements are shown in Table 2.

distortion Jx+J_{x+} Jx−J_{x-} Jy+J_{y+} Jy−J_{y-} Jz+J_{z+} Jz−J_{z-}
d​J/d​τudJ/d\tau_{u} (meV/Å)
Sr-xx PT -0.06 0.01 -0.56 3.41 -0.56 3.41
Sr-xx FD -0.44 -0.05 -0.41 3.27 -0.41 3.27
Mn-zz PT -0.01 -0.01 -0.01 -0.01 -96.57 96.87
Mn-zz FD -0.01 -0.01 -0.01 -0.01 -90.51 90.46
O1-xx PT -7.38 -0.10 9.20 9.20 9.20 9.20
O1-xx FD -10.34 -0.13 9.31 9.31 9.31 9.31
O1-zz PT -0.00 -0.02 0.00 0.00 6.48 -6.48
O1-zz FD 0.05 0.05 -0.05 0.08 6.86 -6.84
Table 2: First-neighbor SLC parameters d​J/d​τudJ/d\tau_{u} for the displacements labeled in Fig. 3. PT denotes the perturbative method developed here, and FD denotes the finite-difference supercell calculation used as a consistency check. The exchange sign convention is Hspin=−∑I​JJI​J𝐒I⋅𝐒JH^{\mathrm{spin}}=-\sum_{IJ}J_{IJ}\mathbf{S}_{I}\cdot\mathbf{S}_{J}, so negative JJ corresponds to antiferromagnetic exchange. The units are meV/Å.
Refer to caption
Figure 6: Symmetry relations for the SLC parameters in SrMnO3: (a) Sr-xx displacement, (b) Mn-zz displacement, (c) O1-xx displacement, and (d) O1-zz displacement. These panels correspond to displacements 1–4 in Fig. 3. The dashed lines indicate the mirror planes. The Sr atoms are not in the same plane as the Mn and O atoms.

For the Sr-xx distortion [Fig. 6(a)], displacements 1 and 1′1^{\prime} are related by the mirror plane my​zm_{yz}. They therefore give the same change in Jx−J_{x-}, so the first derivative of Jx−J_{x-} with respect to the Sr-xx displacement vanishes. The couplings Jy+J_{y+} and Jy−J_{y-} are not symmetry equivalent for this distortion, whereas Jy−J_{y-} and Jz−J_{z-} are related by a four-fold rotation around the xx axis through the displaced Sr atom (not shown), so their derivatives are equal.

For the Mn-zz distortion [Fig. 6(b)], displacements 2 and 2′2^{\prime} are related by the mirror plane mx​ym_{xy} and change the in-plane exchange couplings in the same way. As a result, the derivatives of Jx+J_{x+}, Jx−J_{x-}, Jy+J_{y+}, and Jy−J_{y-} vanish, while the derivatives of Jz+J_{z+} and Jz−J_{z-} are antisymmetric. For the distortion O-xx [Fig. 6(c)], the first derivative of Jx−J_{x-} should be 0, as the two displacements 3 and 3′3^{\prime} are related by a mirror plane my​zm_{yz} and thus give the same effect on Jx−J_{x-}. The other SLCs for the 1NN are non-zero. The Jy−J_{y-}, Jy+J_{y+}, Jz−J_{z-}, Jz+J_{z+} should be equivalent by a four-fold rotation symmetry, and indeed we obtain the same values.

For the distortion O-zz [Fig. 6(d)], the O atom is displaced along the z+z+ direction. The Jx+J_{x+} and Jx−J_{x-} should be 0, as the two displacements 4 and 4′4^{\prime} are related by a mirror plane mx​ym_{xy} and thus give the same effect on Jx−J_{x-}. The same holds for Jy+J_{y+} and Jy−J_{y-}. The Jz+J_{z+} and Jz−J_{z-} are anti-symmetric.

The results in Table 2 confirm all the symmetry relations discussed above, validating the method, except for small numerical noise. We note that the results from the FD method have larger numerical noise when checking the symmetry relations. This is likely due to inaccuracies in the Wannier functions constructed for the distorted structures, which can break the symmetry.

As an additional numerical check, we calculate the exchange parameters in supercells with atomic As an additional numerical check, we calculate the exchange parameters in supercells with atomic displacements and then obtain the derivatives of the JJ values by FD. The qualitative agreement between PT and FD is good, but some quantitative differences remain (e.g., for O1-xx, PT gives −7.38-7.38 meV/Å while FD gives −10.34-10.34 meV/Å). The discrepancies can be attributed to the following reasons: (i) the Wannier functions do not preserve their shape under finite displacements, (ii) numerical noise in the Wannier Hamiltonian, and (iii) wrapping of the contributions from periodic images in the FD supercell calculation. Regarding point (3), the FD calculation was done in a 3×3×33\times 3\times 3 supercell due to memory limitations, while the PT calculation corresponds to an effective 5×5×55\times 5\times 5 supercell (from the 𝐪P\mathbf{q}_{\mathrm{P}}-point grid). The periodic images in the smaller FD supercell introduce spurious interactions that affect the SLC values. This suggests that the PT method is not only faster, but can also be more accurate than the FD approach, as it effectively bypasses the finite-size supercell errors by working directly in the primitive cell with a dense 𝐪P\mathbf{q}_{\mathrm{P}}-point grid.

Equations (4) and (14) can be evaluated for each pair of orbitals rather than only for each pair of atoms. This decomposes both the total exchange parameter and the SLC into orbital-pair contributions, providing a direct way to identify the electronic channels responsible for the coupling. We illustrate this orbital resolution for the Mn-zz displacement. For each Mn atom, the active 3​d3d orbitals are dz2d_{z^{2}}, dx​zd_{xz}, dy​zd_{yz}, dx2−y2d_{x^{2}-y^{2}}, and dx​yd_{xy}. The orbital-resolved isotropic exchange for Jz+=−21.45J_{z+}=-21.45 meV can therefore be written as the following 5×55\times 5 matrix:

(0.850.000.000.000.000.00−11.100.000.000.000.000.00−11.100.000.000.000.000.00−0.030.000.000.000.000.00−0.06)\begin{pmatrix}0.85&0.00&0.00&0.00&0.00\\ 0.00&-11.10&0.00&0.00&0.00\\ 0.00&0.00&-11.10&0.00&0.00\\ 0.00&0.00&0.00&-0.03&0.00\\ 0.00&0.00&0.00&0.00&-0.06\end{pmatrix}

The exchange is mainly due to the dz2−dz2d_{z^{2}}-d_{z^{2}}, dx​z−dx​zd_{xz}-d_{xz}, and dy​z−dy​zd_{yz}-d_{yz} pairs. The latter two show a superexchange picture, as the dx​zd_{xz} and dy​zd_{yz} orbitals are singly occupied and hybridize with the bridging oxygen 2​p2p orbitals. As the unoccupied dz2d_{z^{2}} orbital hybridizes with the oxygen pzp_{z} orbitals, the hopping favors a ferromagnetic alignment. Thus the antiferromagnetic interaction is the net result of these two competing mechanisms. The contributions from other orbital pairs are either zero due to symmetry or much smaller.

With the Mn-zz displacement, the distance between the two Mn atoms decreases. We obtain the following derivative of Jz+J_{z+}:

(6.210.000.000.000.000.00−51.370.000.000.000.000.00−51.370.000.000.000.000.000.070.000.000.000.000.00−0.11)\begin{pmatrix}6.21&0.00&0.00&0.00&0.00\\ 0.00&-51.37&0.00&0.00&0.00\\ 0.00&0.00&-51.37&0.00&0.00\\ 0.00&0.00&0.00&0.07&0.00\\ 0.00&0.00&0.00&0.00&-0.11\end{pmatrix}

Both the ferromagnetic interaction between the dz2−dz2d_{z^{2}}-d_{z^{2}} pair, and the antiferromagnetic interaction from the dx​z−dx​zd_{xz}-d_{xz}, and dy​z−dy​zd_{yz}-d_{yz} pairs are enhanced as the Mn-O-Mn bond is shortened. In total, Jz+J_{z+} becomes more antiferromagnetic. The contributions from other orbital pairs are much smaller, or 0 due to the symmetry.

Another example is the JJ between a Mn-Mn pair along the y+y+ direction with the O1-xx displacement (displacement 3 in Fig. 3 ). The isotropic exchange Jy+J_{y+} is Jiso=−21.45J^{\mathrm{iso}}=-21.45 meV at a distance of 3.810 Å. The orbital-resolved contribution to Jy+J_{y+} is:

(0.200.000.000.000.000.00−0.060.000.000.000.000.00−11.100.000.000.000.000.000.640.000.000.000.000.00−11.10)\begin{pmatrix}0.20&0.00&0.00&0.00&0.00\\ 0.00&-0.06&0.00&0.00&0.00\\ 0.00&0.00&-11.10&0.00&0.00\\ 0.00&0.00&0.00&0.64&0.00\\ 0.00&0.00&0.00&0.00&-11.10\end{pmatrix}

The derivative with respect to O1-xx displacement is d​Jy+/d​τu=9.20dJ_{y+}/d\tau_{u}=9.20 meV/Å, with orbital contributions:

(0.030.000.000.250.000.00−0.010.000.000.000.000.00−2.510.000.00−0.210.000.00−1.440.000.000.000.000.0013.09)\begin{pmatrix}0.03&0.00&0.00&0.25&0.00\\ 0.00&-0.01&0.00&0.00&0.00\\ 0.00&0.00&-2.51&0.00&0.00\\ -0.21&0.00&0.00&-1.44&0.00\\ 0.00&0.00&0.00&0.00&13.09\end{pmatrix}

Interestingly, the Jy+J_{y+} has significant contributions from the dx​y−dx​yd_{xy}-d_{xy} and dy​z−dy​zd_{yz}-d_{yz} pairs, both contributing -11.10 meV to Jy+J_{y+}. However, their derivatives with respect to the O1-xx displacement are very different: the dy​z−dy​zd_{yz}-d_{yz} pair enhances the antiferromagnetic interaction by -2.51 meV/Å, while the dx​y−dx​yd_{xy}-d_{xy} pair reduces the antiferromagnetic interaction by 13.09 meV/Å.

This can be understood as follows: with the O1 atom moving along the x+x+ direction, it gains stronger hybridization with the Mn atom, especially with the Mn dx​yd_{xy} orbital. This competes with the hopping along the Mn dx​yd_{xy}–O pp–Mn2 dx​yd_{xy} superexchange path in the yy direction, thus reducing the antiferromagnetic interaction. On the other hand, the O1 displacement does not significantly change the hybridization along the Mn dy​zd_{yz}–O pp–Mn dy​zd_{yz} hopping path. There are also contributions from other orbital pairs, notably the symmetric contribution from the dx2−y2−dz2d_{x^{2}-y^{2}}-d_{z^{2}} and dz2−dx2−y2d_{z^{2}}-d_{x^{2}-y^{2}} pairs, which are affected by the O1 displacement but largely cancel out (see the off-diagonal terms in the derivative matrix).

The analysis above shows that the orbital-resolved SLC parameters can provide deep insight into the mechanism of the SLC, and clearly illustrates the impact of ligand atoms in modulating the superexchange interaction.

IV Discussion

This new method allows SLC parameters to be computed by post-processing standard DFT and DFPT calculations. Its inputs are the EPC matrix, the WF Uj​n,𝐤U_{jn,\mathbf{k}} matrix, and the Wannier Hamiltonian. These quantities are already generated in established workflows for phonons, electron–phonon coupling, and magnetic exchange parameters. The present approach therefore adds the SLC calculation as a post-processing layer on top of these well-established methods and software packages.

The algorithm itself is simple and only involves a few matrix multiplications and Fourier transforms, which are easy to implement and efficient. There is no need for supercells. The cutoff ranges of the interactions are controlled by the 𝐤\mathbf{k} and 𝐪P\mathbf{q}_{\mathrm{P}} grids. This real-space truncation is supported by the “nearsightedness” [74; 75] of electron–electron and electron–phonon interactions in the Wannier representation. The corresponding real-space couplings decay with distance and can therefore be truncated beyond a finite cutoff without strongly affecting the results. In practice, this approximation is well satisfied for localized magnetic exchange and for the short-range component of the EPC [63; 64].

In polar insulators, however, longitudinal optical phonons generate a long-range dipolar Fröhlich electron–phonon interaction [76] that decays slowly in real space and is divergent at 𝐪P→0\mathbf{q}_{\mathrm{P}}\to 0. Modern EPC implementations usually handle this by separating the EPC into a short-range part, which is Wannier-interpolated, and a long-range analytical part that describes the macroscopic dipole field in reciprocal space [77; 46]. In the mixed-space approach implemented in EPW, the long-range part is subtracted on the coarse grid and added back analytically on the fine grid. Recent developments have further extended this separation to include dynamical quadrupoles and higher-order multipoles [78; 79], as well as specific treatments for two-dimensional systems where screening is qualitatively different [80; 81; 82].

Figure 7: Convergence of selected SLC parameters with respect to the 𝐤\mathbf{k}- and 𝐪P\mathbf{q}_{\mathrm{P}}-point meshes used in the electron–phonon DFPT calculation, denoted by n𝐤×n𝐤×n𝐤n_{\mathbf{k}}\times n_{\mathbf{k}}\times n_{\mathbf{k}} and n𝐪P×n𝐪P×n𝐪Pn_{\mathbf{q}_{\mathrm{P}}}\times n_{\mathbf{q}_{\mathrm{P}}}\times n_{\mathbf{q}_{\mathrm{P}}}, respectively. The red dotted lines show the values obtained from the finite-difference 3×3×33\times 3\times 3 supercell calculation, which is used as a consistency check rather than as an exact reference.

We compute the SLC with a series of 𝐤\mathbf{k}-point and 𝐪P\mathbf{q}_{\mathrm{P}}-point meshes in the EPC calculation. With n𝐤=3n_{\mathbf{k}}=3 and n𝐪P=3n_{\mathbf{q}_{\mathrm{P}}}=3, the values are far from the finite-difference results and also from PT results with denser 𝐤\mathbf{k} and 𝐪P\mathbf{q}_{\mathrm{P}} meshes. For n𝐪P=5n_{\mathbf{q}_{\mathrm{P}}}=5, the n𝐤=10n_{\mathbf{k}}=10 and n𝐤=15n_{\mathbf{k}}=15 values converge and are also close to the FD results. Our present SLC formalism implicitly inherits this short-/long-range partition: the localized Wannier basis captures the short-range contribution, while any explicit long-range dipolar or multipolar correction must be added consistently at the EPC level. As a result, the locality assumption and the chosen real-space cutoffs should be carefully validated when applying the method to polar materials or when long-wavelength phonons are important.

The proposed method generates the exchange parameters JI​JisoJ_{IJ}^{\mathrm{iso}} and their gradients d​JI​Jiso/d​τudJ_{IJ}^{\mathrm{iso}}/d\tau_{u} in real space, corresponding to local spin configurations and atomic displacements. These quantities are sufficient to build the full momentum-dependent coupling between collective excitations, namely magnons and phonons. One route is analogous to Wannier interpolation for EPC: just as the electronic Hamiltonian is transformed from the localized Wannier basis to Bloch states to reconstruct band structures, the magnetic Hamiltonian can be transformed to momentum space. Because the JJ parameters decay rapidly with distance, the full magnon band structure ω⁡(𝐤)\omega(\mathbf{k}) can be computed efficiently using LSWT. The local derivatives with respect to τu\tau_{u} can then be projected onto phonon eigenvectors, which constructs the MPC at any point in the Brillouin zone.

The orbital resolution illustrated above is another useful feature of the method, because it connects the exchange and SLC parameters to the electronic channels that generate them.

While we demonstrate the method for a collinear spin system without SOC, the generalization of the SLC to the DMI and anisotropic exchange is also proposed here. Once the DFPT method and WF interpolation methods are implemented for these cases, the additional terms can be calculated, which will enable the simulation of many interesting properties. For example, the Gilbert damping in atomistic spin dynamics is partly due to thermal noise from the phonons. With the coupled model this phenomenon can be simulated explicitly. The spectra of magnons and phonons can also be calculated at finite temperature by considering their mutual interaction.

The approximations used in the derivation also define the limitations of the method. The first limitation is the locality assumption discussed above, especially for polar materials where long-range dipolar or multipolar EPC terms may be important. The second limitation is that the spin–spin interaction is described by a classical Heisenberg model, which neglects possible non-Heisenberg terms and relies on a rigid-spin picture. In this approximation, the magnitude of each local moment is fixed and only its orientation changes, while the onsite response δ​𝐩¯¯I\delta\bar{\bar{\mathbf{p}}}_{I} in Eq. (14) is treated as a small correction. In more itinerant systems, or close to a magnetic instability, lattice distortions can modify not only the exchange couplings between sites but also the size of the local moments themselves, corresponding to longitudinal spin fluctuations. In such cases, the rigid-spin approximation may become inaccurate, and a more general spin–lattice model in which both the direction and magnitude of the spins are dynamical variables would be more appropriate.

A related limitation is the neglect of higher-order spin interactions. The LKAG method has recently been extended to include higher-order terms, such as biquadratic, three-spin, and four-spin interactions [37; 38]. These extensions could be adapted to the present formalism fairly straightforwardly. Finally, the Heisenberg model also fails for strongly itinerant magnetic moments, which are beyond the scope of the current method.

In some systems, second- or higher-order derivatives of the exchange with respect to atomic displacements may be important. The current method can be extended by including terms with two lattice perturbations, as illustrated for higher-order SLC in Appendix A.

V Conclusion

To summarize, we have presented a method that combines perturbations to the spin and lattice degrees of freedom to compute the SLC parameters. Our approach uses the localized Wannier-function representation of the electronic Hamiltonian and the electron–phonon coupling matrix as input, both of which can be obtained directly from DFPT primitive-cell calculations with minimal extra computational cost.

The method is computationally efficient: for SrMnO3, it reduces the cost by two orders of magnitude compared to the finite-difference approach, and this advantage grows with the number of displacement perturbations. Moreover, by working directly in the primitive cell with a dense 𝐪\bf q-point grid, the perturbative approach effectively bypasses finite-size supercell errors, making it potentially more accurate than supercell-based finite-difference methods. The method can be extended to other types of spin interactions and higher-order phonon terms. Furthermore, it can provide detailed information on the electronic and orbital origin of the SLC. We illustrated this method with the example of SrMnO3. The resulting real-space parameters provide a direct route to parameterizing spin–lattice Hamiltonians for finite-temperature spin–lattice dynamics using standard perturbative workflows.

Acknowledgements.
The authors acknowledge initial discussions with Nicole Helbig on the spin-phonon coupling formalism and its symmetry properties. MJV, EB and XH acknowledge the ARC AIMED project (G.A. 15/19-09) funded by the Communauté Française de Belgique. MJV acknowledges funding by the Dutch Gravitation program “Materials for the Quantum Age” (QuMat, reg number 024.005.006), financed by the Dutch Ministry of Education, Culture and Science (OCW). EB acknowledges the SHAPEme project No. 560400077525 from the Belgian Excellence of Science (EOS) program. X. He acknowledges support from the Fonds de la Recherche Scientifique (FNRS) through the PDR project PROMOSPAN (Grant No. T.0107.20). S. P. is a Research Associate of the Fonds de la Recherche Scientifique - FNRS. This work was supported by the Fonds de la Recherche Scientifique - FNRS under Grants number T.0183.23 (PDR) and T.W011.23 (PDR-WEAVE). This publication was supported by the Walloon Region in the strategic axe FRFS-WEL-T. Computational resources have been provided by the Consortium des Équipements de Calcul Intensif (CÉCI), funded by the Fonds de la Recherche Scientifique de Belgique (F.R.S.-FNRS) under Grant No. 2.5020.11 and by the Walloon Region. We benefited from Lucia, the Tier-1 supercomputer of the Walloon Region, funded by the Walloon Region under the grant agreement n°1910247, and from EuroHPC-JU award EHPC-EXT-2023E02-050 on MareNostrum 5 at Barcelona Supercomputing Center, Spain.

Data Availability

The TB2J code, including the spin–lattice coupling feature developed in this work, is available at https://github.com/mailhexu/TB2J. The Quantum ESPRESSO and EPW codes are available at https://www.quantum-espresso.org/ and https://epw-code.org/, respectively. The SrMnO3 example data for computing the SLC parameters are openly available on Materials Cloud [83].

Appendix A Higher-order spin-phonon coupling

For the pure spin exchange interaction, the Green’s function involves two spin-rotation perturbations (denoted by Δ\Delta); thus, schematically the exchange arises from a G​Δ​G​Δ​GG\Delta G\Delta G type process, where GG is the Green’s function. By adding one lattice perturbation (gg), the SLC parameters arise from the combined perturbation, G​Δ​G​g​G​Δ​GG\Delta GgG\Delta G. The extension to multiple spin and lattice distortions can be achieved in a similar way. Within the same linear-response approximation used for the single-displacement case [Eq. (13)], the mixed second derivative of the Green’s function with respect to two atomic displacements uu and vv is obtained by inserting two lattice vertices.

If we focus on the Green’s-function variations and keep ΔI\Delta_{I} and ΔJ\Delta_{J} fixed, a compact schematic form is

𝒯u,v(2)=ΔI​(δτu​τv2​GI​J↑)​ΔJ​GJ​I(0),↓+ΔI​GI​J(0),↑​ΔJ​(δτu​τv2​GJ​I↓),\mathcal{T}^{(2)}_{u,v}=\Delta_{I}\left(\delta_{\tau_{u}\tau_{v}}^{2}G_{IJ}^{\uparrow}\right)\Delta_{J}G_{JI}^{(0),\downarrow}+\Delta_{I}G_{IJ}^{(0),\uparrow}\Delta_{J}\left(\delta_{\tau_{u}\tau_{v}}^{2}G_{JI}^{\downarrow}\right),

where the second-order Green’s-function variation can be written as a sum of “Fan–Migdal” and “Debye–Waller” terms,

δτu​τv2​G=\displaystyle\delta_{\tau_{u}\tau_{v}}^{2}G= G(0)​gu​G(0)​gv​G(0)+G(0)​gv​G(0)​gu​G(0)⏟Fan–Migdal terms\displaystyle\underbrace{G^{(0)}g_{u}G^{(0)}g_{v}G^{(0)}+G^{(0)}g_{v}G^{(0)}g_{u}G^{(0)}}_{\text{Fan--Migdal terms}}
+G(0)​gu​v(2)​G(0)⏟Debye–Waller term,\displaystyle+\underbrace{G^{(0)}g_{uv}^{(2)}G^{(0)}}_{\text{Debye--Waller term}},

with gu=∂V/∂τug_{u}=\partial V/\partial\tau_{u} the first-order electron–phonon vertex and gu​v(2)=∂2V/∂τu​∂τvg_{uv}^{(2)}=\partial^{2}V/\partial\tau_{u}\partial\tau_{v} the second-order vertex. In addition there are cross terms where both propagators are differentiated once,

𝒯u,vcross=ΔI​(δτu​GI​J↑)​ΔJ​(δτv​GJ​I↓)+\displaystyle\mathcal{T}^{\text{cross}}_{u,v}=\Delta_{I}\left(\delta_{\tau_{u}}G_{IJ}^{\uparrow}\right)\Delta_{J}\left(\delta_{\tau_{v}}G_{JI}^{\downarrow}\right)+
ΔI​(δτv​GI​J↑)​ΔJ​(δτu​GJ​I↓),\displaystyle\Delta_{I}\left(\delta_{\tau_{v}}G_{IJ}^{\uparrow}\right)\Delta_{J}\left(\delta_{\tau_{u}}G_{JI}^{\downarrow}\right),

which, using δτu​G↑,↓=(G(0),↑,↓​gu​G(0),↑,↓)\delta_{\tau_{u}}G^{\uparrow,\downarrow}=(G^{(0),\uparrow,\downarrow}g_{u}G^{(0),\uparrow,\downarrow}), can be written schematically as

𝒯u,vcross=ΔI​(GI​J(0),↑​gu​GI​J(0),↑)​ΔJ​(GJ​I(0),↓​gv​GJ​I(0),↓)+(u↔v).\mathcal{T}^{\text{cross}}_{u,v}=\Delta_{I}\left(G_{IJ}^{(0),\uparrow}g_{u}G_{IJ}^{(0),\uparrow}\right)\Delta_{J}\left(G_{JI}^{(0),\downarrow}g_{v}G_{JI}^{(0),\downarrow}\right)+(u\leftrightarrow v).

A further class of terms comes from derivatives of the magnetic potentials themselves. Second-order derivatives of the onsite exchange splittings give a “single-site Hessian” contribution

𝒯u,v(Δ​Δ)=(δτu​τv2​ΔI)​GI​J↑​ΔJ​GJ​I↓+ΔI​GI​J↑​(δτu​τv2​ΔJ)​GJ​I↓,\mathcal{T}^{(\Delta\Delta)}_{u,v}=(\delta_{\tau_{u}\tau_{v}}^{2}\Delta_{I})\,G_{IJ}^{\uparrow}\,\Delta_{J}\,G_{JI}^{\downarrow}+\Delta_{I}\,G_{IJ}^{\uparrow}\,(\delta_{\tau_{u}\tau_{v}}^{2}\Delta_{J})\,G_{JI}^{\downarrow},

where δτu​τv2​ΔI=∂2ΔI/(∂τu​∂τv)\delta_{\tau_{u}\tau_{v}}^{2}\Delta_{I}=\partial^{2}\Delta_{I}/(\partial\tau_{u}\,\partial\tau_{v}) measures the curvature of the local exchange splitting with respect to lattice displacements. There are also response–response cross terms,

𝒯u,v(δ​Δ​-cross)=\displaystyle\mathcal{T}^{(\delta\Delta\text{-cross})}_{u,v}= (δτu​ΔI)​GI​J↑​(δτv​ΔJ)​GJ​I↓\displaystyle(\delta_{\tau_{u}}\Delta_{I})\,G_{IJ}^{\uparrow}\,(\delta_{\tau_{v}}\Delta_{J})\,G_{JI}^{\downarrow}
+(δτv​ΔI)​GI​J↑​(δτu​ΔJ)​GJ​I↓,\displaystyle+(\delta_{\tau_{v}}\Delta_{I})\,G_{IJ}^{\uparrow}\,(\delta_{\tau_{u}}\Delta_{J})\,G_{JI}^{\downarrow},

and a larger set of mixed terms where one derivative acts on Δ\Delta and the other on GG,

𝒯u,v(mixed)=\displaystyle\mathcal{T}^{(\text{mixed})}_{u,v}= (δτu​ΔI)​(δτv​GI​J↑)​ΔJ​GJ​I↓+(δτv​ΔI)​(δτu​GI​J↑)​ΔJ​GJ​I↓\displaystyle(\delta_{\tau_{u}}\Delta_{I})(\delta_{\tau_{v}}G_{IJ}^{\uparrow})\Delta_{J}G_{JI}^{\downarrow}+(\delta_{\tau_{v}}\Delta_{I})(\delta_{\tau_{u}}G_{IJ}^{\uparrow})\Delta_{J}G_{JI}^{\downarrow}
+ΔI​(δτu​GI​J↑)​(δτv​ΔJ)​GJ​I↓+ΔI​(δτv​GI​J↑)​(δτu​ΔJ)​GJ​I↓\displaystyle+\Delta_{I}(\delta_{\tau_{u}}G_{IJ}^{\uparrow})(\delta_{\tau_{v}}\Delta_{J})G_{JI}^{\downarrow}+\Delta_{I}(\delta_{\tau_{v}}G_{IJ}^{\uparrow})(\delta_{\tau_{u}}\Delta_{J})G_{JI}^{\downarrow}
+(δτu​ΔI)​GI​J↑​ΔJ​(δτv​GJ​I↓)+(δτv​ΔI)​GI​J↑​ΔJ​(δτu​GJ​I↓)\displaystyle+(\delta_{\tau_{u}}\Delta_{I})G_{IJ}^{\uparrow}\Delta_{J}(\delta_{\tau_{v}}G_{JI}^{\downarrow})+(\delta_{\tau_{v}}\Delta_{I})G_{IJ}^{\uparrow}\Delta_{J}(\delta_{\tau_{u}}G_{JI}^{\downarrow})
+ΔI​GI​J↑​(δτu​ΔJ)​(δτv​GJ​I↓)+ΔI​GI​J↑​(δτv​ΔJ)​(δτu​GJ​I↓).\displaystyle+\Delta_{I}G_{IJ}^{\uparrow}(\delta_{\tau_{u}}\Delta_{J})(\delta_{\tau_{v}}G_{JI}^{\downarrow})+\Delta_{I}G_{IJ}^{\uparrow}(\delta_{\tau_{v}}\Delta_{J})(\delta_{\tau_{u}}G_{JI}^{\downarrow}).

Collecting all these pieces, a compact schematic expression for the full second-order coupling reads

∂2JI​J∂τu​∂τv=\displaystyle\frac{\partial^{2}J_{IJ}}{\partial\tau_{u}\,\partial\tau_{v}}= 14​πIm∫−∞EFdϵTrL[𝒯(2)u,v+𝒯crossu,v\displaystyle\frac{1}{4\pi}\,\imaginary\int_{-\infty}^{E_{F}}d\epsilon\,\Tr_{L}\Big[\mathcal{T}^{(2)}_{u,v}+\mathcal{T}^{\text{cross}}_{u,v}
+𝒯(Δ​Δ)u,v+𝒯(δ​Δ​-cross)u,v+𝒯(mixed)u,v].\displaystyle+\mathcal{T}^{(\Delta\Delta)}_{u,v}+\mathcal{T}^{(\delta\Delta\text{-cross})}_{u,v}+\mathcal{T}^{(\text{mixed})}_{u,v}\Big].

Most of the terms are already available in the process of computing the single-atomic-displacement SLC. However, terms including the second-order derivative of the electronic potential with respect to atomic displacements, such as for the Debye–Waller term in the Allen-Heine-Cardona approach [84], require more care. The calculation of these parameters can be performed with DFPT and they are available as output in the Abinit package. Higher derivatives will be computationally costly.

References