First–Principles Spin–Lattice Coupling from Downfolded Electron–Phonon Interaction
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: .
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: , considering the isotropic exchange interaction, where and denote the indices of the atoms. With this sign convention, a positive favors ferromagnetic alignment and a negative favors antiferromagnetic alignment. Other terms such as the Dzyaloshinskii-Moriya interaction (DMI), the anisotropic exchange , 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:
| (1) |
where is the displacement of an atom along one direction, and 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 , evaluated in the reference state. Maximally localized Wannier functions are constructed to transform the Kohn–Sham Hamiltonian into its real-space representation [45]. The EPC is then interpolated in the Wannier basis to obtain [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 . The workflow is presented in Fig. 1.
II Formalism
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.
| electron band indices | |
| electron Wannier orbital indices | |
| atomic site indices (atom has orbitals ) | |
| wave-vectors (electron, magnon, and phonon) | |
| , | cell vector of , , |
| tight-binding Hamiltonian (orbitals ) | |
| unitary WF transformation (orbital , band ) | |
| electron energy | |
| Green’s function (orbitals ). | |
| onsite exchange matrices at site (orbitals ) | |
| EPC (orbital , displacement ) | |
| displacement index (atom and Cartesian direction) | |
| 0 or directions () | |
| Pauli matrices ( is the 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:
| (2) |
where 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 (double-underlined symbols are matrices in WF orbital space). Consequently, the electron Green’s function in -space is , where is the energy of the electron. In the following, we will drop the dependence for simplicity. The real-space Green’s function is obtained by Fourier transform: . We can decompose the full Green’s function for each inter-site orbital pair as the charge and three spin components,
| (3) |
where is the identity matrix, and are Pauli matrices. Additionally, from the onsite block of at atom , we extract the spin-splitting matrix 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 , a matrix defined as
| (4) |
where , is the trace over the orbital space, and is the matrix of , where are the orbital indices of atom , and is the Green’s function matrix between the orbital indices of and with on atom and on atom . In a periodic system, we can choose the pair with in the cell at the origin, and in the cell translated by a lattice vector .
| (5) |
From , we can compute the isotropic exchange , the anisotropic exchange , and the DMI using the following relations
| (6) | ||||
| (7) | ||||
| (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:
| (9) |
where .
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:
| (10) |
where and are electron band indices, is a phonon mode index, is the phonon angular frequency, and and are the electron and phonon wavevectors. The factor ensures that has units of energy. The EPC can be transformed into a Wannier representation [64]:
| (11) |
where and are the indices of electron Wannier functions, and is the displacement index. The vectors and locate the electron and displaced atom, respectively.
The transformation from the Bloch to Wannier space representation can be done with:
| (12) | ||||
where is the number of points, is the number of points, the matrices are the unitary matrices which rotate the electron Bloch states into the Wannier functions, and projects phonon eigenmode onto Cartesian displacement .
When we consider the collinear magnetic case, the treatment is analogous but now we have spin-resolved EPC and constructed with Wannier functions for each spin manifold, and the perturbation potentials and , respectively.
II.3 Mixing the spin and phonon perturbation
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 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 is perturbed by a displacement of atom in the cell , which changes the hopping between all orbital pairs and , 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:
| (13) |
where is the Green’s function without the phonon perturbation. This allows us to compute the variation of in Eq. (4) with respect to the atomic displacement amplitude, which can be written as the sum of four parts:
| (14) | ||||
where is the onsite spin-splitting amplitude change due to the atomic displacement , and is the Pauli component of the unperturbed Green’s function matrix between sites and [Eq. (3)]. The trace 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 in Eq. (14) for concision. By inserting Eq. (13) into Eq. (14), the latter can be evaluated. The derivatives of , and 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:
| (15) | ||||
with being the change in the spin splitting due to the phonon perturbation. We note that at the collinear level, the potential 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 and in Eq. (13). In practice, the range of the EPC is defined by the coarse and grid, which gives the number of electron and lattice Wigner-Seitz cells. With sufficiently dense and 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 for selected magnetic pairs and atomic displacements , and the same expressions can be resolved into orbital-pair contributions.
III Application to
We validate the method with SrMnO3 (SMO) in the cubic perovskite structure, where the magnetic exchange between Mn electrons is strongly coupled to the phonons [65; 66]. The Mn ions are in a 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 Monkhorst-Pack grid of -points, and a grid of -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 and O 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 or [48]. We did not include the Hubbard 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 Å along the , , and directions, and compute the exchange parameters in a supercell. Due to finite displacement effects, we find that the corresponding 333 -point grid in PT is not sufficient and at least a 444 -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 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 CPU-hours, where is the number of independent perturbations. In contrast, the DFPT calculation with a -point mesh and a -point mesh requires about 800 CPU-hours as a one-time cost.
The PT calculation corresponds to an effective supercell (from the -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 point, the memory footprint does not grow directly with the number of points, apart from small post-processing overheads. Some 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 , where is the supercell volume. In the present case, the calculation requires about 40 GB of memory, while a supercell would require about 21 times more memory, or roughly 880 GB.
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 direction as shown in Fig. 3), labeled by Sr-, Mn-, O-, and O-, respectively. The exchange and the SLC parameters connecting the Mn atoms are plotted as a function of the distance. The first-neighbor is significantly larger than the longer-ranged ones. The derivatives of 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 correction in the calculations used for the present demonstration. For comparison, a DFT+ calculation with eV and eV gives a first-neighbor Mn–Mn exchange of about meV, whereas the calculation without used here gives meV. The Hubbard correction pushes the occupied and unoccupied Mn states further apart, reducing Mn –O 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 is left for future studies and we mainly focus on demonstrating the method to compute the SLC parameters regardless of the value of . The corresponding values of the derivative of the isotropic exchange with respect to the displacements are shown in Table 2.
| distortion | ||||||
|---|---|---|---|---|---|---|
| (meV/Å) | ||||||
| Sr- PT | -0.06 | 0.01 | -0.56 | 3.41 | -0.56 | 3.41 |
| Sr- FD | -0.44 | -0.05 | -0.41 | 3.27 | -0.41 | 3.27 |
| Mn- PT | -0.01 | -0.01 | -0.01 | -0.01 | -96.57 | 96.87 |
| Mn- FD | -0.01 | -0.01 | -0.01 | -0.01 | -90.51 | 90.46 |
| O1- PT | -7.38 | -0.10 | 9.20 | 9.20 | 9.20 | 9.20 |
| O1- FD | -10.34 | -0.13 | 9.31 | 9.31 | 9.31 | 9.31 |
| O1- PT | -0.00 | -0.02 | 0.00 | 0.00 | 6.48 | -6.48 |
| O1- FD | 0.05 | 0.05 | -0.05 | 0.08 | 6.86 | -6.84 |
For the Sr- distortion [Fig. 6(a)], displacements 1 and are related by the mirror plane . They therefore give the same change in , so the first derivative of with respect to the Sr- displacement vanishes. The couplings and are not symmetry equivalent for this distortion, whereas and are related by a four-fold rotation around the axis through the displaced Sr atom (not shown), so their derivatives are equal.
For the Mn- distortion [Fig. 6(b)], displacements 2 and are related by the mirror plane and change the in-plane exchange couplings in the same way. As a result, the derivatives of , , , and vanish, while the derivatives of and are antisymmetric. For the distortion O- [Fig. 6(c)], the first derivative of should be 0, as the two displacements 3 and are related by a mirror plane and thus give the same effect on . The other SLCs for the 1NN are non-zero. The , , , should be equivalent by a four-fold rotation symmetry, and indeed we obtain the same values.
For the distortion O- [Fig. 6(d)], the O atom is displaced along the direction. The and should be 0, as the two displacements 4 and are related by a mirror plane and thus give the same effect on . The same holds for and . The and 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 values by FD. The qualitative agreement between PT and FD is good, but some quantitative differences remain (e.g., for O1-, PT gives meV/Å while FD gives 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 supercell due to memory limitations, while the PT calculation corresponds to an effective supercell (from the -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 -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- displacement. For each Mn atom, the active orbitals are , , , , and . The orbital-resolved isotropic exchange for meV can therefore be written as the following matrix:
The exchange is mainly due to the , , and pairs. The latter two show a superexchange picture, as the and orbitals are singly occupied and hybridize with the bridging oxygen orbitals. As the unoccupied orbital hybridizes with the oxygen 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- displacement, the distance between the two Mn atoms decreases. We obtain the following derivative of :
Both the ferromagnetic interaction between the pair, and the antiferromagnetic interaction from the , and pairs are enhanced as the Mn-O-Mn bond is shortened. In total, becomes more antiferromagnetic. The contributions from other orbital pairs are much smaller, or 0 due to the symmetry.
Another example is the between a Mn-Mn pair along the direction with the O1- displacement (displacement 3 in Fig. 3 ). The isotropic exchange is meV at a distance of 3.810 Å. The orbital-resolved contribution to is:
The derivative with respect to O1- displacement is meV/Å, with orbital contributions:
Interestingly, the has significant contributions from the and pairs, both contributing -11.10 meV to . However, their derivatives with respect to the O1- displacement are very different: the pair enhances the antiferromagnetic interaction by -2.51 meV/Å, while the pair reduces the antiferromagnetic interaction by 13.09 meV/Å.
This can be understood as follows: with the O1 atom moving along the direction, it gains stronger hybridization with the Mn atom, especially with the Mn orbital. This competes with the hopping along the Mn –O –Mn2 superexchange path in the direction, thus reducing the antiferromagnetic interaction. On the other hand, the O1 displacement does not significantly change the hybridization along the Mn –O –Mn hopping path. There are also contributions from other orbital pairs, notably the symmetric contribution from the and 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 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 and 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 . 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].
We compute the SLC with a series of -point and -point meshes in the EPC calculation. With and , the values are far from the finite-difference results and also from PT results with denser and meshes. For , the and 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 and their gradients 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 parameters decay rapidly with distance, the full magnon band structure can be computed efficiently using LSWT. The local derivatives with respect to 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 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 -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 ); thus, schematically the exchange arises from a type process, where is the Green’s function. By adding one lattice perturbation (), the SLC parameters arise from the combined perturbation, . 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 and is obtained by inserting two lattice vertices.
If we focus on the Green’s-function variations and keep and fixed, a compact schematic form is
where the second-order Green’s-function variation can be written as a sum of “Fan–Migdal” and “Debye–Waller” terms,
with the first-order electron–phonon vertex and the second-order vertex. In addition there are cross terms where both propagators are differentiated once,
which, using , can be written schematically as
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
where measures the curvature of the local exchange splitting with respect to lattice displacements. There are also response–response cross terms,
and a larger set of mixed terms where one derivative acts on and the other on ,
Collecting all these pieces, a compact schematic expression for the full second-order coupling reads
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
- Anand and Johnston [2016] V. K. Anand and D. C. Johnston, Phys. Rev. B 94, 014431 (2016).
- Sabiryanov and Jaswal [1999] R. F. Sabiryanov and S. S. Jaswal, Phys. Rev. Lett. 83, 2062 (1999).
- Maehrlein et al. [2018] S. F. Maehrlein, I. Radu, P. Maldonado, A. Paarmann, M. Gensch, A. M. Kalashnikova, R. V. Pisarev, M. Wolf, P. M. Oppeneer, J. Barker, and T. Kampfrath, Sci. Adv. 4, eaar5164 (2018).
- Maldonado and Kvashnin [2019] P. Maldonado and Y. O. Kvashnin, Phys. Rev. B 100, 014430 (2019).
- Wang et al. [2012] D. Wang, J. Weerasinghe, and L. Bellaiche, Phys. Rev. Lett. 109, 067203 (2012).
- Waller [1932] I. Waller, journal for physics 79, 370 (1932).
- Van Vleck [1940] J. H. Van Vleck, Phys. Rev. 57, 426 (1940).
- Ma et al. [2008] P.-W. Ma, C. H. Woo, and S. L. Dudarev, Phys. Rev. B 78, 024434 (2008).
- Tranchida et al. [2018] J. Tranchida, S. Plimpton, P. Thibaudeau, and A. Thompson, J. Comput. Phys. 372, 406 (2018).
- Hellsvik et al. [2019] J. Hellsvik, D. Thonig, K. Modin, D. IuÅŸan, A. Bergman, O. Eriksson, L. Bergqvist, and A. Delin, Phys. Rev. B 99, 104302 (2019).
- Omelyan et al. [2001] I. P. Omelyan, I. M. Mryglod, and R. Folk, Phys. Rev. Lett. 86, 898 (2001).
- Ma et al. [2016] P.-W. Ma, S. Dudarev, and C. Woo, Comput. Phys. Commun. 207, 350 (2016).
- Fransson et al. [2017] J. Fransson, D. Thonig, P. F. Bessarab, S. Bhattacharjee, J. Hellsvik, and L. Nordström, Phys. Rev. Mater. 1, 074404 (2017).
- Gonze et al. [2020] X. Gonze, B. Amadon, G. Antonius, F. Arnardi, L. Baguet, J.-M. Beuken, J. Bieder, F. Bottin, J. Bouchet, E. Bousquet, N. Brouwer, F. Bruneval, G. Brunin, T. Cavignac, J.-B. Charraud, W. Chen, M. Côté, S. Cottenier, J. Denier, G. Geneste, P. Ghosez, M. Giantomassi, Y. Gillet, O. Gingras, D. R. Hamann, G. Hautier, X. He, N. Helbig, N. Holzwarth, Y. Jia, F. Jollet, W. Lafargue-Dit-Hauret, K. Lejaeghere, M. A. Marques, A. Martin, C. Martins, H. P. Miranda, F. Naccarato, K. Persson, G. Petretto, V. Planes, Y. Pouillon, S. Prokhorenko, F. Ricci, G.-M. Rignanese, A. H. Romero, M. M. Schmitt, M. Torrent, M. J. van Setten, B. Van Troeye, M. J. Verstraete, G. Zérah, and J. W. Zwanziger, Comput. Phys. Commun. 248, 107042 (2020).
- [15] X. He, N. Helbig, E. Bousquet, and M. J. Verstraete, unpublished. .
- Mankovsky et al. [2023] S. Mankovsky, H. Lange, S. Polesya, and H. Ebert, Phys. Rev. B 107, 144428 (2023).
- Yin et al. [2012] J. Yin, M. Eisenbach, D. M. Nicholson, and A. Rusanu, Phys. Rev. B 86, 214423 (2012).
- Körmann et al. [2014] F. Körmann, B. Grabowski, B. Dutta, T. Hickel, L. Mauger, B. Fultz, and J. Neugebauer, Phys. Rev. Lett. 113, 165503 (2014).
- Wojdeł et al. [2013] J. C. Wojdeł, P. Hermet, M. P. Ljungberg, P. Ghosez, and J. Íñiguez, J. Phys.: Condens. Matter 25, 305401 (2013).
- García-Fernández et al. [2016] P. García-Fernández, J. C. Wojdeł, J. Íñiguez, and J. Junquera, Phys. Rev. B 93, 195137 (2016).
- Mishin [2021] Y. Mishin, Acta Mater. 214, 116980 (2021).
- Baroni et al. [2001a] S. Baroni, S. de Gironcoli, A. Dal Corso, and P. Giannozzi, Rev. Mod. Phys. 73, 515 (2001a).
- Verstraete et al. [2025] M. J. Verstraete, J. Abreu, G. E. Allemand, B. Amadon, G. Antonius, M. Azizi, L. Baguet, C. Barat, L. Bastogne, R. Béjaud, J.-M. Beuken, J. Bieder, A. Blanchet, F. Bottin, J. Bouchet, J. Bouquiaux, E. Bousquet, J. Boust, F. Brieuc, V. Brousseau-Couture, N. Brouwer, F. Bruneval, A. Castellano, E. Castiel, J.-B. Charraud, J. Clérouin, M. Côté, C. Duval, A. Gallo, F. Gendron, G. Geneste, P. Ghosez, M. Giantomassi, O. Gingras, F. Gómez-Ortiz, X. Gonze, F. A. Goudreault, A. Grüneis, R. Gupta, B. Guster, D. R. Hamann, X. He, O. Hellman, N. Holzwarth, F. Jollet, P. Kestener, I.-M. Lygatsika, O. Nadeau, L. MacEnulty, E. Marazzi, M. Mignolet, D. D. O’Regan, R. Outerovitch, C. Paillard, G. Petretto, S. Poncé, F. Ricci, G.-M. Rignanese, M. Rodriguez-Mayorga, A. H. Romero, S. Rostami, M. Royo, M. Sarraute, A. Sasani, F. Soubiran, M. Stengel, C. Tantardini, M. Torrent, V. Trinquet, V. Vasilchenko, D. Waroquiers, A. Zabalo, A. Zadoks, H. Zhang, and J. Zwanziger, J. Chem. Phys. 163, 164126 (2025).
- Togo and Tanaka [2015] A. Togo and I. Tanaka, Scr. Mater. 108, 1 (2015).
- Xiang et al. [2011] H. J. Xiang, E. J. Kan, S.-H. Wei, M.-H. Whangbo, and X. G. Gong, Phys. Rev. B 84, 224429 (2011).
- Savrasov [1998] S. Y. Savrasov, Phys. Rev. Lett. 81, 2570 (1998).
- Herring [1966] C. Herring, Magnetism: a treatise on modern theory and materials. (Academic Press, 1966).
- Sandratskii [1986] L. M. Sandratskii, Phys. Status Solidi B 136, 167 (1986).
- Liechtenstein et al. [1987] A. Liechtenstein, M. Katsnelson, V. Antropov, and V. Gubanov, J. Magn. Magn. Mater. 67, 65 (1987).
- Katsnelson and Lichtenstein [2000] M. I. Katsnelson and A. I. Lichtenstein, Phys. Rev. B 61, 8906 (2000).
- Solovyev et al. [1995] I. V. Solovyev, P. H. Dederichs, and I. Mertig, Phys. Rev. B 52, 13419 (1995).
- Antropov et al. [1997] V. Antropov, M. Katsnelson, and A. Liechtenstein, Physica B 237-238, 336 (1997), proceedings of the Yamada Conference XLV, the International Conference on the Physics of Transition Metals.
- Solovyev et al. [1996] I. Solovyev, N. Hamada, and K. Terakura, Phys. Rev. Lett. 76, 4825 (1996).
- Mazurenko and Anisimov [2005] V. V. Mazurenko and V. I. Anisimov, Phys. Rev. B 71, 184434 (2005).
- Mazurenko et al. [2014] V. V. Mazurenko, Y. O. Kvashnin, F. Jin, H. A. De Raedt, A. I. Lichtenstein, and M. I. Katsnelson, Phys. Rev. B 89, 214422 (2014).
- Udvardi et al. [2003] L. Udvardi, L. Szunyogh, K. Palotás, and P. Weinberger, Phys. Rev. B 68, 104436 (2003).
- Lounis and Dederichs [2010] S. Lounis and P. H. Dederichs, Phys. Rev. B 82, 180404 (2010).
- Szilva et al. [2013] A. Szilva, M. Costa, A. Bergman, L. Szunyogh, L. Nordström, and O. Eriksson, Phys. Rev. Lett. 111, 127204 (2013).
- Sadhukhan et al. [2022] B. Sadhukhan, A. Bergman, Y. O. Kvashnin, J. Hellsvik, and A. Delin, Phys. Rev. B 105, 104418 (2022).
- Fang et al. [2025] W. Fang, J. Simoni, and Y. Ping, Phys. Rev. B 111, 104431 (2025).
- Ren et al. [2024] S. Ren, J. Bonini, M. Stengel, C. E. Dreyer, and D. Vanderbilt, Phys. Rev. X 14, 011041 (2024).
- Le et al. [2025] K. B. Le, A. Esquembre-Kučukalić, H.-Y. Chen, I. Maliyov, Y. Luo, J.-J. Zhou, D. Sangalli, A. Molina-Sánchez, and M. Bernardi, Phys. Rev. B 112, L180403 (2025).
- Delugas et al. [2023] P. Delugas, O. Baseggio, I. Timrov, S. Baroni, and T. Gorni, Phys. Rev. B 107, 214452 (2023).
- Gorni et al. [2023] T. Gorni, O. Baseggio, P. Delugas, I. Timrov, and S. Baroni, Phys. Rev. B 107, L220410 (2023).
- Mostofi et al. [2008] A. A. Mostofi, J. R. Yates, Y.-S. Lee, I. Souza, D. Vanderbilt, and N. Marzari, Comput. Phys. Commun. 178, 685 (2008).
- Poncé et al. [2016] S. Poncé, E. Margine, C. Verdi, and F. Giustino, Comput. Phys. Commun. 209, 116 (2016).
- He et al. [2021] X. He, N. Helbig, M. J. Verstraete, and E. Bousquet, Comput. Phys. Commun. 264, 107938 (2021).
- Carrasco Álvarez et al. [2026] Á. A. Carrasco Álvarez, M. Giantomassi, J.-M. Lihm, G. E. Allemand, M. Mignolet, M. Verstraete, and S. Poncé, Phys. Rev. B 114, 074411 (2026).
- Von Barth and Hedin [1972] U. Von Barth and L. Hedin, J. Phys. C: Solid State Phys. 5, 1629 (1972).
- Vosko et al. [1980] S. H. Vosko, L. Wilk, and M. Nusair, Can. J. Phys. 58, 1200 (1980).
- Korotin et al. [2015] D. M. Korotin, V. V. Mazurenko, V. I. Anisimov, and S. V. Streltsov, Phys. Rev. B 91, 224405 (2015).
- Marzari et al. [2012] N. Marzari, A. A. Mostofi, J. R. Yates, I. Souza, and D. Vanderbilt, Rev. Mod. Phys. 84, 1419 (2012).
- Monserrat [2018] B. Monserrat, J. Phys.: Condens. Matter 30, 083001 (2018).
- Gonze [1995] X. Gonze, Phys. Rev. A 52, 1096 (1995).
- Gonze [1997] X. Gonze, Phys. Rev. B 55, 10337 (1997).
- Gonze and Lee [1997] X. Gonze and C. Lee, Phys. Rev. B 55, 10355 (1997).
- Baroni et al. [2001b] S. Baroni, S. de Gironcoli, A. Dal Corso, and P. Giannozzi, Rev. Mod. Phys. 73, 515 (2001b).
- Giustino [2017] F. Giustino, Rev. Mod. Phys. 89, 015003 (2017).
- Lam et al. [1986] P. K. Lam, M. M. Dacorogna, and M. L. Cohen, Phys. Rev. B 34, 5065 (1986).
- Liu and Quong [1996] A. Y. Liu and A. A. Quong, Phys. Rev. B 53, R7575 (1996).
- Gonze et al. [2009] X. Gonze, B. Amadon, P.-M. Anglade, J.-M. Beuken, F. Bottin, P. Boulanger, F. Bruneval, D. Caliste, R. Caracas, M. Côté, T. Deutsch, L. Genovese, P. Ghosez, M. Giantomassi, S. Goedecker, D. Hamann, P. Hermet, F. Jollet, G. Jomard, S. Leroux, M. Mancini, S. Mazevet, M. Oliveira, G. Onida, Y. Pouillon, T. Rangel, G.-M. Rignanese, D. Sangalli, R. Shaltaf, M. Torrent, M. Verstraete, G. Zerah, and J. Zwanziger, Comput. Phys. Commun. 180, 2582 (2009), 40 YEARS OF CPC: A celebratory issue focused on quality software for high performance, grid and novel computing architectures.
- Giannozzi et al. [2009] P. Giannozzi, S. Baroni, N. Bonini, M. Calandra, R. Car, C. Cavazzoni, D. Ceresoli, G. L. Chiarotti, M. Cococcioni, I. Dabo, et al., Journal of physics: Condensed matter 21, 395502 (2009).
- Giustino et al. [2007a] F. Giustino, J. R. Yates, I. Souza, M. L. Cohen, and S. G. Louie, Phys. Rev. Lett. 98, 047005 (2007a).
- Giustino et al. [2007b] F. Giustino, M. L. Cohen, and S. G. Louie, Phys. Rev. B 76, 165108 (2007b).
- Lee and Rabe [2010] J. H. Lee and K. M. Rabe, Phys. Rev. Lett. 104, 207204 (2010).
- Lee and Rabe [2011] J. H. Lee and K. M. Rabe, Phys. Rev. B 84, 104440 (2011).
- Perdew et al. [2008] J. P. Perdew, A. Ruzsinszky, G. I. Csonka, O. A. Vydrov, G. E. Scuseria, L. A. Constantin, X. Zhou, and K. Burke, Phys. Rev. Lett. 100, 136406 (2008).
- van Setten et al. [2018] M. van Setten, M. Giantomassi, E. Bousquet, M. Verstraete, D. Hamann, X. Gonze, and G.-M. Rignanese, Comput. Phys. Commun. 226, 39 (2018).
- Hamann [2013] D. R. Hamann, Phys. Rev. B 88, 085117 (2013).
- Yang et al. [2025] W. Yang, S. Tiwari, F. Giustino, and Y.-W. Son, Phys. Rev. B 112, 075203 (2025).
- Carrasco Álvarez and Poncé [2026] Á. A. Carrasco Álvarez and S. Poncé, “Challenging the -type paradigm: Intrinsic -type mobility in antiferromagnetic ,” (2026), arXiv:2606.26269 [cond-mat.mtrl-sci] .
- Toth and Lake [2015] S. Toth and B. Lake, J. Phys.: Condens. Matter 27, 166002 (2015).
- Zhu et al. [2020] X. Zhu, A. Edström, and C. Ederer, Phys. Rev. B 101, 064401 (2020).
- Kohn [1959] W. Kohn, Phys. Rev. 115, 809 (1959).
- Prodan and Kohn [2005] E. Prodan and W. Kohn, Proc. Natl. Acad. Sci. 102, 11635 (2005).
- Fröhlich [1954] H. Fröhlich, Adv. Phys. 3, 325 (1954).
- Verdi and Giustino [2015] C. Verdi and F. Giustino, Phys. Rev. Lett. 115, 176401 (2015).
- Brunin et al. [2020a] G. Brunin, H. P. C. Miranda, M. Giantomassi, M. Royo, M. Stengel, M. J. Verstraete, X. Gonze, G.-M. Rignanese, and G. Hautier, Phys. Rev. Lett. 125, 136601 (2020a).
- Brunin et al. [2020b] G. Brunin, H. P. C. Miranda, M. Giantomassi, M. Royo, M. Stengel, M. J. Verstraete, X. Gonze, G.-M. Rignanese, and G. Hautier, Phys. Rev. B 102, 094308 (2020b).
- Sohier et al. [2017] T. Sohier, M. Calandra, and F. Mauri, Phys. Rev. B 96, 085415 (2017).
- Sohier et al. [2021] T. Sohier, S. Poncé, and M. Gibertini, Phys. Rev. B 103, 115403 (2021).
- Poncé et al. [2023] S. Poncé, M. Royo, M. Stengel, N. Marzari, and M. Gibertini, Phys. Rev. B 107, 035114 (2023).
- He et al. [2026] X. He, Á. A. Carrasco Álvarez, G.-M. Rignanese, E. Bousquet, S. Poncé, and M. J. Verstraete, “First–principles spin–lattice coupling from downfolded electron–phonon interaction,” Materials Cloud Archive v2026.154 (v1) (2026).
- Allen and Heine [1976] P. B. Allen and V. Heine, J. Phys. C: Solid State Phys. 9, 2305–2312 (1976).