Introduction

Magnetic skyrmions1 and antiskyrmions2 are nanoscale, topologically non-trivial magnetic textures3 that have garnered intense interest for their potential use in future spintronic technologies. Their small size, metastability, and efficient current-driven motion4,5,6,7,8 make them attractive candidates for information storage9, logic devices, and neuromorphic computing architectures10,11,12. These magnetic textures have been observed in various systems, including non-centrosymmetric bulk magnets13,14, ultrathin transition-metal films15,16,17,18, multilayers19,20,21, and two-dimensional (2D) van der Waals magnets22,23,24,25,26,27,28,29,30,31. A key mechanism enabling their stabilization is the Dzyaloshinskii-Moriya interaction (DMI)32,33, which emerges from spin-orbit coupling in systems with broken inversion symmetry such as surfaces34. In addition to DMI, frustrated Heisenberg exchange interactions—arising from competing ferromagnetic and antiferromagnetic couplings beyond nearest neighbors—have been shown to stabilize isolated skyrmions35,36,37,38,39 and antiskyrmions40 even in the absence of DMI.

Recently, higher-order exchange interactions (HOI) have come into focus as another interaction influencing skyrmion stability15,30,31,41. These exchange interactions, which couple more than two spins, can affect the magnetic ground-state of the system42. They can be important for magnetic insulators43,44 but also for itinerant magnets42,45,46 and can lead to complex spin structures as observed experimentally15,47,48,49,50,51. Extending the pairwise Heisenberg model within perturbation theory52,53,54 gives rise to higher-order energy contributions. In this work, we focus on the fourth-order HOI term:

$$\begin{array}{l}{E}_{\rm{4-spin}}=-\mathop{\sum }\limits_{ijkl}{C}_{ijkl}({{\bf{m}}}_{i}\cdot {{\bf{m}}}_{j})({{\bf{m}}}_{k}\cdot {{\bf{m}}}_{l})\,,\end{array}$$
(1)

including up to four different magnetic moments mi (4-spin) of the system. However, if i = k and j = l, effectively only two lattice sites (2-site) are contributing to the so called biquadratic or 4-spin-2-site interaction. Similar 4-spin-3-site and 4-spin-4-site terms have been discussed54. In this work these are referred to as the biquadratic, the 3-site and the 4-site HOI terms. Note, that in 6th order terms such as the bicubic interaction arise, however, their contribution is expected to be even smaller than the 4th order terms considered here due to the perturbative expansion54.

A critical challenge in information technologies based on magnetic textures is ensuring the stability of these nanoscale bits against thermal fluctuations and thus maximizing their lifetime τ given by the Arrhenius law55,56,57:

$${\tau }^{-1}={\nu }_{{0}}{{\rm{e}}}^{-\beta \Delta E}\,,$$
(2)

where β = 1/(kBT) with the temperature T. This does not only include maximizing the corresponding energy barrier ΔE. It has been shown that entropic and dynamic contributions—incorporated in the pre-exponential factor ν0—can significantly affect the lifetime, leading to differences of several orders of magnitude even for systems with similar energy barriers55,58,59,60.

The role of HOI in stabilizing skyrmions and antiskyrmions has only recently been appreciated. In particular, it has been demonstrated that the 4-site interaction can significantly alter the energy landscape enhancing the energy barrier of topological spin structures41. However, despite the importance of the entropic and dynamic contributions to lifetimes of magnetic textures, the effect of HOI on the pre-exponential factor—essential to quantify the stability of metastable spin states via their lifetime—has not been investigated yet.

In this work, we present the development of a general computational framework for lifetime calculations of topological spin states based on transition-state theory including higher-order exchange interactions and we use it to study lifetimes of skyrmions and antiskyrmions in ultrathin films. An efficient implementation of HOI enables us to investigate how it modifies the curvature of the energy landscape and thereby affects entropic contributions to the stability of magnetic textures. We apply our approach to study topological spin states in the famous ultrathin film system Pd/Fe/Ir(111), in which isolated skyrmions have been experimentally first observed16,18,58, and the related system Pd/Fe/Rh(111), in which nanoscale skyrmions have been predicted based on first-principles calculations61.

Using harmonic transition-state theory and an atomistic spin model parameterized via density functional theory (DFT), we quantify the impact of HOI on the lifetimes of isolated skyrmions and antiskyrmions. We show that the pre-exponential factor in the Arrhenius law can be modified by orders of magnitude for small changes of the 4-site 4-spin interaction within the range of typical values. Our findings highlight the potential role of HOI in determining the thermal robustness of topological spin textures and provide key insights for designing stable, nanoscale magnetic bits for device applications. This is especially interesting in light of the advent of defect-free 2D van der Waals magnets, which often exhibit inversion symmetry in their structure and therefore lack DMI but may exhibit significant HOI.

Results

Atomistic spin simulations

We investigate the stability of skyrmions (Fig. 1a) and antiskyrmions (inset of Fig. 1d) in fcc-Pd/Fe/Ir(111) and fcc-Pd/Fe/Rh(111) using an atomistic spin model parameterized via DFT calculations (see Supplementary Note 1 and Supplementary Tables 1 and 2). Note, that fcc indicates the stacking order of the Pd overlayer. In this spin model, the magnetic moments are represented as classical unit vectors mi located on each site i of a 2D hexagonal lattice. The total energy of a magnetic configuration is given by the Hamiltonian

$$\begin{array}{rcl}H & = & -\mathop{\sum }\limits_{ij}{J}_{ij}({{\bf{m}}}_{i}\cdot {{\bf{m}}}_{j})-\mathop{\sum }\limits_{ij}{{\bf{D}}}_{ij}\cdot ({{\bf{m}}}_{i}\times {{\bf{m}}}_{j})-{K}_{u}\mathop{\sum }\limits_{i}{({{\bf{m}}}_{i}\cdot {\widehat{{\bf{e}}}}_{z})}^{2}-\mu \mathop{\sum }\limits_{i}{{\bf{m}}}_{i}\cdot {{\bf{B}}}_{\rm{ext}}-\mathop{\sum }\limits_{ij}{B}_{ij}{({{\bf{m}}}_{i}\cdot {{\bf{m}}}_{j})}^{2}\\ & & -2\mathop{\sum }\limits_{ijk}{Y}_{ijk}({{\bf{m}}}_{i}\cdot {{\bf{m}}}_{j})({{\bf{m}}}_{i}\cdot {{\bf{m}}}_{k})-\mathop{\sum }\limits_{ijkl}{K}_{ijkl}[({{\bf{m}}}_{i}\cdot {{\bf{m}}}_{j})({{\bf{m}}}_{k}\cdot {{\bf{m}}}_{l})+({{\bf{m}}}_{i}\cdot {{\bf{m}}}_{l})({{\bf{m}}}_{j}\cdot {{\bf{m}}}_{k})-({{\bf{m}}}_{i}\cdot {{\bf{m}}}_{k})({{\bf{m}}}_{j}\cdot {{\bf{m}}}_{l})]\end{array}$$
(3)

including Heisenberg exchange, DMI, uniaxial magnetic anisotropy, Zeeman interaction as well as biquadratic, 3-site and 4-site HOI. The interaction strengths are given by Jij, Dij, Ku, Bext, Bij, Yijk and Kijkl respectively, and μ is the size of the magnetic moment. The vector Dij is aligned perpendicular to the connection line of the sites i and j within the plane of the magnetic film. Together with the isotropic Jij the shell resolved interaction strengths have been included for up to 11 shells of neighbors. The magnetic anisotropy is treated in uniaxial approximation with the easy axis perpendicular to the film surface (\({\hat{{\bf{e}}}}_{z}\)). The external magnetic field is denoted by the component perpendicular to the film surface \({{\bf{B}}}_{\rm{ext}}={B}_{\perp }{\hat{{\bf{e}}}}_{z}\).

Fig. 1: Higher-order exchange interactions and harmonic transition state theory.
Fig. 1: Higher-order exchange interactions and harmonic transition state theory.
Full size image

a Meta-stable skyrmion at BBC = 3.95 T in fcc-Pd/Fe/Ir(111) including higher-order exchange interactions (HOI). The color-code for the orientation of magnetic moments used in this work is shown in the lower-left corner. b The interactions of magnetic moments due to the biquadratic (2-site, gray), the 3-site (cyan) and the 4-site (pink) HOI are schematically depicted by straight lines (products mi mj) and curved lines (combinations of products) (see Eq. (3)). c, d Total energy including all terms in Eq. (3) (black) and HOI energy contributions (gray, cyan, pink) to the total energy as a function of the geodesic distance R along the minimum energy path (MEP) of a skyrmion (c) and antiskyrmion annihilation (d) at BBC = 3.95 T. The minima (saddle points (SPs)) are visualized by red (green) circles and the energy barrier is depicted by a vertical black line. e Schematic two-dimensional energy landscapes with low curvature at the minimum (red) and large curvature at the SP (green) in the upper left corner and vice versa in the lower right corner. f Schematic adjacency pattern for a sub-matrix of the matrix of second-order derivatives for four magnetic moments (mi, mj, mk, ml) in nearest neighbor distance of each other. For the mid row of panel b chosen as an example, each block is colored according to the specific HOI term contributing to its values.

The summation of the HOI (Eq. (1)) covers double counting of indices i, j, k, l, respectively leading to three distinguished terms—the biquadratic, 3-site and 4-site exchange—restricted to shortest distances between magnetic moments on the hexagonal lattice, which is why we refer to the constants as B1, Y1, K1 in the following, i.e. using the same notation as in ref. 41. Note, the magnetic field is always denoted by B and can thus not be confused with the biquadratic exchange interaction parameter. For a plaquette of four magnetic moments mi, mj, mk, ml these interactions are illustrated in Fig. 1b. Here, a straight line between two magnetic moments mi and mj symbolizes a direct dot-product mi mj, while a curved connection between two of such pairs represents a product of these pairs. See for example the top sketch for the 4-site HOI in Fig. 1b representing the term (mi mj)(ml mk) and refer also to ref. 54. General fourth-order HOI (Eq. (1)) include up to four different atomic sites i,j,k,l. Thus, any specific HOI term can be uniquely identified through an array of six distances between the four sites:

$$d=[{d}_{ij},{d}_{ik},{d}_{il},{d}_{jk},{d}_{jl},{d}_{kl}]\,,$$
(4)

where the distances are encoded in units of the n-th nearest neighbor distance. The unique identifier of the 4-site HOI term is for example given by d = [1, 1, 1, 1, 2, 1] meaning that all sites are in nearest neighbor distance to each other except the sites j and l, which are in second nearest neighbor distance (cf. Fig. 1b). We implemented an efficient and general pre-processing routine automatically finding the contributing sites for a given HOI identifier (see “Methods"). The identifiers for the biquadratic, 3-site and 4-site HOI discussed in this work contain mostly nearest neighbor distances. However, the implementations are valid for any combination and distance of four magnetic moments and apply to any lattice model, even three-dimensional ones62.

To quantify the role of HOI, we compare two models previously used in ref. 41: one including HOI and one neglecting HOI. The interaction parameters for the latter model were obtained by DFT total energy calculations conducted in ref. 63 for the ultrathin film system fcc-Pd/Fe/Ir(111) and in ref. 61 for fcc-Pd/Fe/Rh(111). The HOI parameters (B1, Y1, K1) were calculated in ref. 41. Note, that the inclusion of HOI modifies the first three Heisenberg exchange parameters J1, J2 and J3 (see Supplementary Table 1).

Above the critical magnetic field, BC, the ferromagnetic (FM) alignment of magnetic moments corresponds to the ground state of the system. For fcc-Pd/Fe/Ir(111) these values are BC = 2.75 T41 for the model considering HOI explicitly and BC = 3.17 T37 for the model neglecting HOI (see Supplementary Note 2 for values of fcc-Pd/Fe/Rh(111)). We focus on the field regime BBC, where isolated skyrmions and antiskyrmions are meta-stable with respect to the FM state. Such a skyrmion (antiskyrmion) at a field of BBC = 3.95 T is visualized in Fig. 1a (inset of Fig. 1d). Note, that the critical field values are smaller if HOI are included, which follows from the fact that the skyrmion lattice phase reduces to a narrower range of magnetic fields if HOI are included compared to the model without HOI as reported in ref. 41.

Higher order exchange interactions in lifetime calculations

Harmonic transition-state theory (HTST) provides a framework for definite calculations of average lifetime (Eq. (2)) of meta-stable magnetic configurations subject to thermal fluctuations. The Hamiltonian given in Eq. (3) defines the material-specific energy surface for magnetic textures—such as skyrmions, antiskyrmions, and the FM state—and allows for the computation of minimum energy paths (MEP) between them. Such a path exhibits a first-order saddle point (SP), which is the configuration with the highest energy along the MEP and yields the energy barrier for a particular transition:

$$\Delta E={E}_{\rm{SP}}-{E}_{\min }$$
(5)

such as the annihilation of a skyrmion or antiskyrmion into the FM state. Figure 1c (Fig. 1d) shows the total energy—composed of all terms of Eq. (3)—along the MEP of the skyrmion (antiskyrmion) annihilation at BBC = 3.95 T when explicitly considering HOI. The contribution of the biquadratic, 3-site and 4-site HOI to the total energy along the MEP is also shown in Fig. 1c, d. It can be seen that the 4-site HOI term plays a prominent role in increasing the barrier for both skyrmions and antiskyrmions.

Until now, studies on the role of HOI in the meta-stability of skyrmions and antiskyrmions have focused on their effect on the energy barrier alone41,64 while neglecting entropic stabilization or destabilization effects included in the pre-exponential factor of the Arrhenius law (Eq. (2)). This term reads55,56,57,65:

$${\nu }_{0}=\frac{\lambda }{\sqrt{2\pi \beta }}{e}^{\Delta {\mathcal{S}}/{k}_{B}}\,,$$
(6)

where λ describes the dynamical contribution56, and \(\Delta {\mathcal{S}}={{\mathcal{S}}}^{SP}-{{\mathcal{S}}}^{\min }\) is the relevant entropy difference between the transition state and the minimum. The 2N degrees of freedom of the system with N magnetic moments are treated within harmonic approximation except the unstable mode at the SP and the contribution of possible zero modes:

$$\frac{\Delta {\mathcal{S}}}{{k}_{B}}=\ln \left[\frac{{V}^{\rm{SP}}}{{V}^{\min }}{\left(\frac{2\pi }{\beta }\right)}^{\frac{\Delta Z}{2}}\frac{\mathop{\prod }\limits_{k=1+{Z}^{\min }}^{2N}\sqrt{{\epsilon }_{k}^{\min }}}{\mathop{\prod }\limits_{k=2+{Z}^{SP}}^{2N}\sqrt{{\epsilon }_{k}^{\rm{SP}}}} \right]\,,$$
(7)

where \({\epsilon }_{k}^{\rm{min/SP}}\) are the eigenvalues of the Hessian of the energy reflecting the curvature of the energy surface at the critical points. An unequal number of zero modes at the minimum (\({Z}^{\min }\)) and the SP (ZSP), with volumes \({V}^{\min }\) and VSP, yields an explicit temperature dependence with \(\Delta Z={Z}^{\min }-{Z}^{\rm{SP}}-1\) for the pre-exponential factor of skyrmions and antiskyrmions (see “Methods"). Note, that the true entropy difference \(\Delta {{\mathcal{S}}}^{{\prime} }\), which arises from free energy \({\mathcal{F}}\) of a canonical ensemble by \({{\mathcal{S}}}^{{\prime} }=-\partial {\mathcal{F}}/\partial T\), relates to the numerically relevant entropy by \(\Delta {{\mathcal{S}}}^{{\prime} }=\Delta {\mathcal{S}}+{k}_{{\rm{B}}}\Delta Z/2\).

The effect of the curvatures \({\epsilon }_{k}^{\rm{min/SP}}\) on the lifetime of a metastable state is schematically illustrated in Fig. 1d, where two-dimensional energy landscapes are shown with identical energy differences between a minimum and an SP, but different shape of the energy surface around them. A flat minimum combined with a sharply curved energy landscape at the SP corresponds to a large entropy barrier and yields a small ν0, leading to a longer lifetime in such a situation. Conversely, a sharply curved energy landscape at the minimum and a less curved energy landscape at the SP increase ν0, reducing the lifetime. Despite its importance, the influence of HOI on the curvature of the energy landscape—and thus on entropy—has not yet been systematically explored.

Similar to bilinear exchange being mediated by isotropic tensors \({\underline{J}}_{ij}\in {{\mathbb{R}}}^{3\times 3}\) the HOI in Eq. (1) can be expressed by isotropic tensors of fourth order \({\underline{C}}_{ijkl}\in {{\mathbb{R}}}^{3\times 3\times 3\times 3}\), which correspond to an interaction between lattice sites with indices i, j, k, l. Due to the multi-linearity of HOI the calculation of the second-order derivatives with respect to the components of the magnetic moments comes down to sums of quadratic forms of \({\underline{C}}_{ijkl}\) (see “Methods"). Figure 1f schematically shows a part of the matrix of second-order derivatives associated with the four sites i, j, k and l depicted in Fig. 1b. Each block in Fig. 1f corresponds to a (3 × 3)-block for the derivatives ijE4-spin with respect to the mx, my and mz-components of the magnetic moments, respectively. The block colors indicate the contributing HOI terms in Fig. 1b. Note, that only the contributions from the interactions presented in the mid row of Fig. 1b are shown, which already yields a complex pattern of contributions to the displayed sub-matrix. In comparison, bilinear interactions produce a relatively simple off-diagonal pattern of the matrix of second derivatives.

Lifetime of skyrmions and antiskyrmions

In this section we discuss numerically obtained observables, including the radius (Fig. 2d), the energy barrier (Fig. 2e), the pre-exponential factor (Fig. 2f) and the lifetimes (Fig. 2g, h) of skyrmions and antiskyrmions in Pd/Fe/Ir(111) as a function of the magnetic field for two cases: with and without explicit HOI. The radius—obtained through a fit of a theoretical profile66 to the magnetic texture—increases upon the explicit inclusion of HOI (Fig. 2d) but still the skyrmions and antiskyrmions are of the size of few nanometers agreeing well with experimental data16,18,58.

Fig. 2: Effect of higher-order exchange interactions on skyrmion and antiskyrmion lifetime.
Fig. 2: Effect of higher-order exchange interactions on skyrmion and antiskyrmion lifetime.
Full size image

Saddle point configuration for the collapse of the isolated skyrmion in fcc-Pd/Fe/Ir(111) including HOI at BBC = 1.25 T (a) and BBC = 3.25 T (b) and antiskyrmion at BBC = 3.25 T (c). d Radius of skyrmions (blue) and antiskyrmions (red) in fcc-Pd/Fe/Ir(111) with (solid lines and circles) and without (dashed line) explicitly considering HOI as a function of the magnetic field. The magnetic field is given relative to the field BC for the onset of the field polarized phase for the respective energy model. e Energy barriers associated with the skyrmion and antiskyrmion collapse as a function of the magnetic field with and without (see refs. 41,55) explicitly considering HOI. The field regime where the Chimera collapse of the skyrmion is favoured is colored in green. f Pre-exponential factor ν0 in units of temperature T plotted over BBC for skyrmions (blue) in the regime of the radial collapse and antiskyrmions (red) for the energy model considering HOI (circles) and not explicitly taking HOI into account (dashed lines) g Mean lifetime τ (see colorbar) for different magnetic fields and different temperatures for the regime of radial skyrmion collapse. As a reference, the contour line for a lifetime of 1 h for skyrmions without considering HOI explicitly is also given (see ref. 55). h Mean lifetime of antiskyrmions taking HOI into account.

For the energy barrier, pre-exponential factor, and lifetimes, identifying the relevant first-order SP—characteristic of the respective collapse mechanism—is crucial. We compute SPs for annihilations of metastable states for various magnetic fields in the FM phase (B > BC) using the GMMF method67 (see “Methods"). When HOI are taken into account explicitly, the skyrmion annihilation proceeds via a Chimera collapse17,18 for magnetic fields satisfying BBC < 2.25 T. The corresponding SP at a field of BBC = 1.25 T is shown in Fig. 2a. At higher magnetic fields, the more commonly observed radial collapse mechanism37,60,68,69 occurs, as illustrated in Fig. 2b for BBC = 3.25 T. This SP can be characterized by four magnetic moments forming a Bloch point-like defect.

Within the explored parameter range, the collapse mechanism of the antiskyrmion corresponds to a radial shrinking of the configuration from the energy minimum (Fig. 2c). The energy barriers for the collapse of the skyrmions and antiskyrmions are shown in Fig. 2e. For comparison, the corresponding barriers obtained in the model neglecting HOI are also included. In agreement with ref. 41, explicitly considering HOI increases the energy barriers by approximately 100 meV for fcc-Pd/Fe/Ir(111).

To quantify the thermal stability of skyrmions and antiskyrmions at a given temperature T the mean-lifetime τ is computed using Eq. (2)69,70 (see “Methods"). In magnetic systems, the entropic contribution—contained in the pre-exponential factor ν0—can vary by several orders of magnitude as a function of the magnetic field55,59. Thus, it is essential to consider this factor explicitly. Figure 2f shows the pre-exponential factor divided by the temperature as a function of the magnetic field BBC. Explicitly including HOI yields pre-exponential factors slightly increased but of the same order of magnitude for skyrmions, and approximately one order of magnitude larger for antiskyrmions, compared to the model neglecting HOI. This consequently has to be related to effects on the curvature of the energy surface, as discussed in the next section. It should be noted that the pre-exponential factor is only shown in the regime BBC≥ 2.25 T, where the radial collapse mechanism of the skyrmion is favored (Fig. 2f).

Using HTST considering both the effect of the energy barrier and the entropic contributions contained in the pre-exponential factor in Eq. (2), the mean lifetime of skyrmions (Fig. 2g) and antiskyrmions (Fig. 2h) is evaluated across a range of temperatures and for varying BBC. Comparison with the iso-lifetime line corresponding to one-hour in the model where we neglect HOI demonstrates that the explicit consideration of HOI leads to substantially increased thermal stability for both skyrmions and antiskyrmions. While skyrmions remain stable for at least one hour at T = 50 K within the considered field range when HOI are included, the temperature must be reduced to T < 30 K to achieve comparable stability in the model neglecting HOI. Furthermore, while the antiskyrmions are only stable up to fields of BBC ≈ 2.7 T without HOI, explicit consideration of HOI yields antiskyrmion lifetimes of at least one hour for temperatures T≤20 K in the field range of BBC ≈ 3 T to BBC ≈ 4 T. Thus, we record a beneficial effect of HOI on the lifetime and robustness of metastable magnetic states in this material. We have performed similar calculations for fcc-Pd/Fe/Rh(111) leading to qualitatively similar results presented in Supplementary Fig. 1.

Curvature of the energy surface

The curvature of the energy surface in the vicinity of stationary points determines the entropic contributions to the lifetime of meta-stable configurations (Eq. (2)) as sketched in Fig. 1d. Here, we explain the increased pre-exponential factor ν0 when HOI are explicitly included (cf. Fig. 2f), compared to the case in which HOI are neglected. Figure 3a, b present the eigenvalues of the Hessian of the energy (see Eq. (15)) as functions of the magnetic field BBC for the skyrmion (Fig. 3a) and for the SP (Fig. 3b) associated with skyrmion collapse in the fcc-Pd/Fe/Ir(111) system. For each stationary point, we divide the eigenspectrum into eigenmodes with eigenvalues below and above the boundary of the magnon gap. For the Hamiltonian in Eq. (3) this gap reads:

$${\epsilon }_{\rm{mag}}=\mu {B}_{\perp }+2{K}_{u}\,.$$
(8)

Eigenvalues below ϵmag correspond to excitations of the localized magnetic texture in the FM background and are referred to as local part of the eigenspectrum. For the skyrmion, this local spectrum includes two zero modes (translations), a breathing mode, two degenerate elongation modes, and a helicity mode (see “Methods") The eigenvalue spectrum of the skyrmion including HOI closely resembles that of the skyrmion in the model without HOI55, depicted as dashed gray lines in Fig. 3a. Quantitatively, the eigenvalues of the rotation and elongation modes of the skyrmion shift to lower values when HOI are explicitly included.

Fig. 3: HOI and curvature of the energy surface for the skyrmion.
Fig. 3: HOI and curvature of the energy surface for the skyrmion.
Full size image

Local part of the eigenvalue spectrum of the Hessian matrix of the skyrmion (a, blue) and the skyrmion saddle point (SP) (b, green and blue) in fcc-Pd/Fe/Ir(111) including HOI as a function of the magnetic field BBC. Eigenvalues above the magnon gap are indicated by the orange painted area. For reference the corresponding local eigenvalue spectra in the model without considering HOI explicitly are shown as gray dashed lines. Selected eigenmodes are labeled while the number in brakets gives their multiplicity (see surrounding text). Curvature associated with the local eigenvalue spectrum (see Eq. (10)) for the skyrmion (blue, c) and the corresponding SP (blue, e) for the energy model including HOI (solid line). The local curvatures of the skyrmion and the SP for the model neglecting HOI are drawn with dashed gray lines. In e only the regime of the radial collapse is shown. d Energy along the seesaw eigenmodes of the SP including HOI (blue, SP in f) and of the SP excluding HOI (gray, SP in h). g Configuration obtained after displacing the SP in f along the indicated direction (black arrow) using the corresponding eigenvector of the seesaw mode. i Total curvature difference of the minimum and the SP for the regime of the radial collapse mechanism.

Considering HOI explicitly favors the Chimera collapse as the dominant skyrmion annihilation mechanism for BBC ≤ 2.25 T, as shown in Fig. 2e. The Chimera SP features a rotation mode (a zero mode) and a low-curvature seesaw mode. This name was chosen since following this mode leads to a 180-rotated Chimera SP via a configuration which is very similar to the radial SP and in fact constitutes a second-order SP on the energy landscape. Since HTST requires a clear separation between first- and second-order SPs, calculating the prefactor in this regime is technically challenging. We present results for the pre-exponential factor of the Chimera collapse for the case of an applied in-plane magnetic field in Supplementary Note 3 and Supplementary Figs. 2, 3 and 4, since the main focus of this paper is the effect of HOI on lifetimes and the Chimera collapse has been discussed elsewhere18.

However, the seesaw mode is also relevant for the radial collapse regime. At BBC = 2.25 T, its eigenvalue approaches zero, signaling a flat energy landscape between the Chimera and radial SPs, reminiscent of a second-order phase transition71. For higher fields, the radial SP becomes a first-order SP with two non-degenerate seesaw eigenvalues (Fig. 3b). This SP (Fig. 3f) can be characterized by four magnetic moments, placed at the four vertices of a diamond, pointing toward each other. The seesaw eigenmodes act as a deformation of the diamond-like SP configuration (Fig. 3f) into asymmetric states along the diagonals of the diamond (Fig. 3g). Since eigenvalues are directly associated with the curvature of the energy landscape the situation can be visualized by the parabolic energy dependence along the eigenvectors of the two seesaw eigenmodes which is shown in Fig. 3d in blue.

In contrast, neglecting HOI yields degenerate and larger seesaw eigenvalues (Fig. 3b, dashed gray lines), consistent with the triangular SP configuration (Fig. 3h) that preserves lattice symmetry and explains the degeneracy (Fig. 3h, gray). Overall, explicit HOI reduce the curvature of the seesaw modes, because the 4-site HOI energetically favors the deformation of the radially-symmetric SP state into the asymmetric configuration along the seesaw mode as shown in Supplementary Note 4 and Supplementary Fig. 5. Explicit HOI also lower the helicity and breathing eigenvalues, similar to the shifts observed for the skyrmion elongation and helicity modes upon consideration of explicit HOI.

We define a measure \({\mathcal{C}}\) for curvature of the energy landscape at the minimum (\({\mathcal{C}}={{\mathcal{C}}}_{\min }\)) and the SP (\({\mathcal{C}}={{\mathcal{C}}}_{\rm{SP}}\)) excluding zero-modes, which are identified below the threshold δzero = 10−12 eV, and the unstable mode of the SP with \({\epsilon }_{1}^{\rm{SP}} < 0\). Further, in order to identify thermodynamically relevant parts of the spectrum, we distinguish between local and magnon contributions, separated by ϵmag from Eq. (8):

$${\mathcal{C}}={{\mathcal{C}}}^{\rm{local}}+{{\mathcal{C}}}^{\rm{magnon}}$$
(9)
$${\mathcal{C}}=\mathop{\sum }\limits_{{\delta }_{\rm{zero}} < {\epsilon }_{k} < {\epsilon }_{\rm{mag}}}\ln\frac{{\epsilon }_{k}}{{\epsilon }_{0}}+\mathop{\sum }\limits_{{\epsilon }_{k}\ge {\epsilon }_{\rm{mag}}}\ln\frac{{\epsilon }_{k}}{{\epsilon }_{0}}\,,$$
(10)

where an energy scale ϵ0 = 1 eV was introduced to ensure dimensionless expressions in the logarithms. This establishes an intuitive connection between curvatures and the entropy from Eq. (7), which explicitly reads:

$$\frac{\Delta {\mathcal{S}}}{{k}_{B}}=\frac{{{\mathcal{C}}}_{\min }-{{\mathcal{C}}}_{\rm{SP}}}{2}+\ln \left[\frac{{V}^{\rm{SP}}}{{V}^{\min }}{\left(\frac{2\pi }{\beta {\epsilon }_{0}}\right)}^{\frac{\Delta Z}{2}}\right]\,.$$
(11)

As shown in Fig. 3c, e, the curvature of the local part of the spectrum at the minimum is nearly unaffected by HOI, whereas the local curvature at the SP is strongly reduced due to shift of the localized eigenmodes of the SP, particularly the seesaw eigenmodes. Since SP curvature enters Eq. (11) with a negative sign, this reduction, caused by HOI, enhances the annihilation rate. Including contributions above the magnon gap (Fig. 3i) reproduces the field dependence of the pre-exponential factor (Fig. 2f). However, it can be seen that the difference between both models is smaller in Fig. 3i than in Fig. 3e. This implies that the curvature contribution of the eigenspectrum above the magnon gap counteracts—but not compensates—the entropic destabilization by the eigenvalues of the local spectrum that are reduced upon explicit consideration of HOI. In Supplementary Note 5 and Supplementary Fig. 6 we present a similar discussion for the curvature of the energy surface for the antiskyrmion collapse.

Tuning the 4-site HOI interaction

Now we turn to the influence of variations in the 4-site HOI parameter K1 (see Eq. (3)) on the lifetimes of skyrmions (Fig. 4b) and antiskyrmions (Fig. 4d) with respect to thermally activated annihilation into the FM state. Since spin spiral energies are degenerate with respect to the 4-site HOI parameter, the parametrization of the bilinear interaction constants obtained in DFT remains valid even if K1 is varied41. This allows us to analyze the role of the 4-site HOI in stabilizing topological magnetic textures. In ref. 41, a linear dependence of the energy barriers on K1 was reported for both skyrmions and antiskyrmions. Our calculations reproduce this behavior (Fig. 4a, c). While skyrmions remain metastable even for negative K1, the energy barrier for antiskyrmions vanishes as K1 → 0 meV.

Fig. 4: Lifetimes of skyrmions and antiskyrmions as a function of the 4-site HOI.
Fig. 4: Lifetimes of skyrmions and antiskyrmions as a function of the 4-site HOI.
Full size image

a, c Energy barrier (black) and pre-exponential factor ν0/T (purple) for the skyrmion (a) and the antiskyrmion (c) annihilation in fcc-Pd/Fe/Ir(111) for a magnetic field of B = 6 T (skyrmions) and B = 4 T (antiskyrmions) as a function of the 4-site HOI K1. The value \({K}_{1}^{\rm{DFT}}\) corresponds to the one determined in DFT calculations41. Mean lifetime τ for isolated skyrmions (b) and antiskyrmions (d) for various temperatures T and values of K1 calculated within HTST. The one-week- and one-hour-isoline of τ are given as black lines.

Here, we also compute the pre-exponential factor for skyrmions and antiskyrmions as a function of K1. We find that the pre-exponential factor for antiskyrmions (Fig. 4c) remains nearly constant across the considered range, whereas for skyrmions it decreases by about three orders of magnitude upon reducing K1 (Fig. 4a). The local part of the Hessian eigenmode spectrum for the skyrmion and the SP is shown in Supplementary Fig. 7 as a function of the 4-site HOI parameter. Noteworthy, HTST is valid throughout the considered range of K1 as none of the eigenvalues strives toward zero. The change of pre-exponential factor and energy barrier with strength of the 4-site HOI, leads to opposite effects on the thermal stability of skyrmions. While the increase of the energy barrier with K1 also leads to an enhanced lifetime, the increase of the pre-exponential factor results in a decrease of the lifetime as seen from the Arrhenius law (cf. Eq. (2)). Note that the variation of K1 within the considered range K1 [− 0.75, 2.7] meV represents realistic values for the 4-site HOI in transition-metal thin film systems41,51,62,72.

The lifetime of skyrmions (Fig. 4b) and antiskyrmions (Fig. 4d) changes drastically upon variation of K1. For instance, at T = 40 K the predicted lifetime of a skyrmion with K1 = 1.0 meV is about 45 minutes. Increasing K1 by only 0.5 meV extends the lifetime to roughly 18 days. The effect of HOI on the stability is also visible from the increase of the temperature for a given lifetime. For example, a mean lifetime of above one hour is obtained below a temperature of about 30 K for K1 = 0 and increases to above 40 K for a small 4-site 4-spin term of K1 = 1 meV. For antiskyrmions, we observe a similar trend, however, at overall shorter lifetimes at a given temperature due to the lower energy barriers (Fig. 4c).

Skyrmions and antiskyrmions without DMI

Designing systems hosting isolated skyrmions with maximum thermal stability typically requires large DMI constants and/or exchange frustration. In ref. 41, it was predicted that both skyrmions and antiskyrmions are metastable when HOI are explicitly included, even in the absence of DMI, based on calculations of the energy barriers for their collapse into the FM state. However, thermal stability cannot be deduced from the barrier height alone. In this section, we present the calculated pre-exponential factor in the Arrhenius law and the corresponding mean lifetime for fcc-Pd/Fe/Ir(111), including HOI but neglecting DMI (see Fig. 5). The isolated skyrmion and its topological counterpart, the antiskyrmion, exhibit significant and identical energy barriers for their collapse into the FM state (Fig. 5a) consistent with previous work41. The origin of the energy barrier is nearly entirely due to the effect of the 4-site HOI while the exchange frustration contributes only little.

Fig. 5: Skyrmion and antiskyrmion lifetime including HOI and neglecting DMI.
Fig. 5: Skyrmion and antiskyrmion lifetime including HOI and neglecting DMI.
Full size image

a Energy barriers (black) and pre-exponential factors ν0 (purple) of skyrmions (filled circles) and antiskyrmions (open circles) in fcc-Pd/Fe/Ir(111) considering HOI and vanishing DMI for varying the magnetic field relative to the critical field BBC. b Radius of skyrmions and antiskyrmions as a function of the magnetic field. c Mean lifetime τ (see colorbar) of the above mentioned isolated magnetic textures as a function of the temperature T and the external magnetic field BBC.

In addition, we quantify the pre-exponential factors and demonstrate that they are also degenerate when DMI is neglected (Fig. 5a). The values obtained for the pre-exponential factor are basically independent of the applied magnetic field and of a similar order of magnitude as previously reported for skyrmions in ultrathin films including DMI55. This independence can be related to the skyrmion and antiskyrmion radius (Fig. 5b), which is only changing little upon variation of the applied field. Neglecting DMI leads to smaller values of the radius of skyrmions and antiskyrmions and to a weaker field-dependence of the size compared to the radius of these textures including DMI (cf. Fig. 2d). Furthermore, the SP configurations corresponding to the annihilation of these textures into the FM state consist of only a few magnetic moments forming the Bloch point-like defect and consequently their size also does not change upon variation of the applied field. Since the size and the shape of the configurations of the minima and the SPs change only little, the curvature values of the energy landscape at the stationary points, expressed by the respective eigenvalues of the Hessian, and consequently also the pre-exponential factors show a minor dependence on the applied magnetic field. The corresponding eigenvalue spectra for the skyrmion and antiskyrmion—again degenerate—and the SP when neglecting DMI but explicitly considering HOI are presented in Supplementary Note 6 and Supplementary Fig. 8.

Since the pre-exponential factors are the same for skyrmions and antiskyrmions, their mean lifetimes—as obtained from HTST—are also identical (Fig. 5c). Note, that in the case of skyrmions in a Hamiltonian without DMI the helicity mode of the minimum and the SP configuration becomes a zero mode36,40 ("Methods"). The results in Fig. 5c indicate that skyrmions and antiskyrmions remain metastable over a broad range of magnetic fields BBC, at timescales and temperatures relevant to low temperature STM experiments, even in the absence of DMI.

Discussion

In this work, we have investigated the effect of higher-order exchange interactions (HOI) on the lifetimes of isolated skyrmions and antiskyrmions in fcc-Pd/Fe/Ir(111) and fcc-Pd/Fe/Rh(111), focusing on their thermally activated annihilation into the FM state. By implementing general fourth-order HOI terms for the energy, gradient and Hessian of the system into our atomistic spin simulations code, we are able to provide a comprehensive, quantitative description of these lifetimes within the framework of HTST. This enables a quantitative description of lifetimes in systems with HOI that goes well beyond simple energy-barrier arguments for the stability of skyrmions and antiskyrmions. Since HOI can play a key role in many materials such as transition-metal interfaces15,41,47,48,50,51,62 and 2D van der Waals magnets and heterostructures28,29,30,31,64 our results present an important step towards realistic stability predictions for topological magnetic textures in these systems.

The enhanced energy barriers observed upon explicitly considering HOI lead to markedly increased lifetimes of skyrmions and antiskyrmions (see Fig. 2e, g, h), which has important implications for the design of robust topological magnetic bits. Furthermore, we report a slight reduction of the stability of skyrmions and antiskyrmions due to changed entropic contributions when including HOI in materials that are subject to our investigation (Fig 2f). We were able to identify the origin of the increased pre-exponential factor for the skyrmion collapse as a reduced curvature of the energy landscape due to the local Hessian eigenvalue spectrum at the SP (see Fig. 3c, e, i). The dynamic contributions to the pre-exponential factor change only little upon considering HOI explicitly.

For both cases—the skyrmion and the antiskyrmion collapse—the HOI terms affect the curvature in the direction of the localized excitations at the SP significantly more than the corresponding curvatures at the minimum. These SP configurations exhibit larger canting angles between adjacent magnetic moments than the minima. Since the contribution of the HOI terms to the energy is strongly affected by strong canting of the magnetization this is likely to be the origin of the pronounced effect of HOI on the energy landscape at the SP. This makes entropic stabilization by HOI, due to increased (decreased) curvature of the energy surface at the SP (minimum), a promising route to engineer skyrmion and antiskyrmion stability.

A particularly striking result is the sensitivity of lifetimes to the 4-site interaction parameter K1, which underlines the critical role of HOI in determining skyrmion and antiskyrmion stability. It also suggests that targeted manipulation of K1, for example by material choice or interface engineering, could provide a powerful strategy to design skyrmions with lifetimes tailored for specific experimental or technological applications. Remarkably, our study reveals a strong dependence of the pre-exponential factor on the strength of the 4-site interaction for skyrmions. This suggests that accurate lifetime predictions require full entropic modeling rather than assuming a constant prefactor. The sensitivity of skyrmion and antiskyrmion stability on K1 is also interesting for future work in the light of quenched disorder73, e.g due to impurities or adatoms74 or lattice mismatch in Moiré systems75.

Finally, we also predict that both skyrmions and antiskyrmions remain metastable in the complete absence of DMI—stabilized almost entirely by HOI—at timescales and temperatures relevant to experiments. While switching off the DMI in fcc-Pd/Fe/Ir(111) represents a toy model, this limit is physically motivated by a growing class of centrosymmetric magnetic systems where DMI is symmetry-suppressed. In particular, it has been demonstrated by first-principles calculations for several centrosymmetric two-dimensional van der Waals magnets, such as transition-metal phosphorous trichalcogenides, that higher-order exchange interactions play a significant role for their magnetic properties28,29,76. Our results therefore highlight HOI as a viable alternative stabilization mechanism for topological magnetic textures in materials with inversion symmetry or without heavy elements providing strong spin-orbit coupling, and suggest a realistic pathway toward skyrmionic textures in emerging 2D magnetic materials. Furthermore, it is likely that engineering materials explicitly in the regard of significant HOI impacts the stability of magnetic textures beyond skyrmions such as bimerons or skyrmionium.

Methods

Energy parameters for the spin model

The energy parameters employed in the atomistic spin model were obtained from density functional theory calculations77,78 and adopted from the literature. Detailed computational procedures and results for structural relaxations, exchange interactions, Dzyaloshinskii-Moriya interaction (DMI), magnetocrystalline anisotropy energy (MAE), and magnetic moments are reported in ref. 37 for Pd/Fe/Ir(111) and in ref. 61 for Pd/Fe/Rh(111). Calculations of higher-order exchange interactions for both systems are presented in ref. 41. The interaction parameter values are given in Supplementary Note 1 and Supplementary Tables 1 and 2.

Calculation of the pre-exponential factor

The mean-lifetime τ for thermally activated annihilation of skyrmions and antiskyrmions into the FM state are computed in this work using the Arrhenius law (Eq. (2)) within the framework of harmonic transition state theory (HTST)70. In HTST the transition state for a particular reaction mechanism described by an MEP connecting two minima (skyrmion/antiskyrmion and FM state) is chosen as the hyperplane through a first order SP perpendicular to its unstable mode. This SP is the configuration of highest energy along the MEP. The contributions to the Arrhenius law are, on the one hand, the energy barrier ΔE, which is given as the energy difference of the SP and the energy minimum configuration (see Eq. (5)). On the other hand, the pre-exponential factor ν0 is given by the entropic and the dynamic contribution λ to the transition (Eq. (6)), which are calculated based on the complete spectrum of eigenmodes at the stationary points and by linearizing the Landau-Lifshitz equation at the SP56.

Note, that while several formulations exist for the pre-exponential factor55,60,70, Eq. (6) is particularly useful to discuss entropic effects (Eq. (7)). While almost all degrees of freedom are treated in harmonic approximation, translations, rotations or modes changing the helicity of the localized magnetic texture are often better treated in Goldstone mode approximation40,55,69 and their contribution to the entropy then corresponds to the zero mode volume V. Additionally, a factor ρ for the multiplicity of identical SP per unit cell55 is required. In this work, it is either ρ = 1 or ρ = 2. Supplementary Note 7, Supplementary Fig. 9 and Supplementary Table 3 present the values of ρ of the pre-exponential factor calculations of this work. Note, that the helicity degree of freedom of the skyrmion in the HOI model neglecting DMI, for which the pre-exponential factor is shown in Fig. 5a, is also a zero mode with volume40

$${V}_{\rm{hel}}=2\pi \mathop{\sum }\limits_{n=1}^{N}\left[1-{({m}_{n}^{z})}^{2}\right]\,.$$
(12)

The respective degree of freedom describes the continuous deformation between Néel- and Bloch-type skyrmions, which comes down to a collective rotation of all spins in the \(xy-{\rm{plane}}\).

Identification of first order saddle points

It is essential to identify the corresponding SP in order to calculate the energy barrier and the pre-exponential factor of the skyrmion and antiskyrmion collapse into the FM state. In this work, these SPs are determined by combining the geodesic nudged elastic band method (GNEB)79 with the recently developed geodesic minimum mode following method (GMMF)67. The GNEB method was used to determine the skyrmion or antiskyrmion collapse mechanism and the SP for the maximum magnetic field considered for the specific parameter set (BBC = 4 T). Subsequently, the GMMF method was initialized using this SP and the magnetic field was reduced by a small amount of ΔB = 0.05 T.

In contrast to the GNEB method, in which the GNEB force for a series of replicas of the system (path) is minimized, the GMMF method operates on a single magnetic configuration. The GMMF force corresponds to the negative energy gradient where the direction of the gradient is inverted along the direction of the minimum mode of the Hessian of the energy:

$${{\bf{F}}}_{\rm{GMMF}}=-{\boldsymbol{\nabla }}E+2({\boldsymbol{\nabla }}E\cdot {{\bf{v}}}_{1}){{\bf{v}}}_{1}\,.$$
(13)

This yields a minimization of the energy along all degrees of freedom except one, while the energy is maximized along the direction of the eigenvector v1 of the minimum mode. If the GMMF method is initialized with a configuration in the vicinity of an SP, it converges to a first order SP within a few iterations. The computational bottleneck is the repeated calculation of the eigenvector of the lowest eigenvalue of the Hessian matrix of the energy of the system.

Recently, we introduced Rayleigh Quotient minimization67, a method that makes an efficient calculation of the minimum mode feasible and is based on finite difference calculations of the energy gradient without the need for the explicit calculation of the Hessian matrix. The efficient combination of these methods allowed us to calculate the activation energies with a high resolution with respect to the values of the magnetic field with almost negligible computational effort.

Hessian matrix including HOI

This section describes the calculation of the Hessian matrix for general fourth-order HOI, which is required to determine the pre-exponential factors of the skyrmion and antiskyrmion collapse. We approximate the energy surface E(m) on the 2N-dimensional configuration space \({\bf{m}}{\in \bigotimes }_{n}^{N}{{\mathbb{S}}}^{2}\) up to second order in the vicinity of critical points m0. Since first order terms vanish in these points the series expansions in terms of tangential deflections δm reads

$$E({{\bf{m}}}_{0},\delta {\bf{m}})=E({{\bf{m}}}_{0})+\frac{1}{2}\delta {{\bf{m}}}^{T}H\delta {\bf{m}}+{\mathcal{O}}(\delta {{\bf{m}}}^{3})\,.$$
(14)

Due to the constraint of magnetic moments having fixed length the Hessian \(H\in {{\mathbb{R}}}^{2N\times 2N}\) is constrained to the tangent space of the magnetic configuration:

$${H}_{ij}={P}_{i}({\nabla }_{ij}{\mathcal{L}}){P}_{j}^{T}\,,\,{\mathcal{L}}=E-\mathop{\sum }\limits_{i=1}^{N}({{\bf{m}}}_{i}^{2}-1){\omega }_{i}$$
(15)

with the Lagrange function \({\mathcal{L}}\) and Lagrange multipliers ωi = m iE/2. Here \({\nabla }_{i}=\frac{\partial }{\partial {{\bf{m}}}_{i}} \,\, \rm{and}\,\, {\nabla }_{\it ij}={\nabla }_{\it i}{\nabla }_{\it j}^T\) are the partial derivatives with respect to the coordinates of the magnetic moment mi and \({P}_{i}\in {{\mathbb{R}}}^{2\times 3}\) is the projection on the tangent space of mi56,68. In our setup derivatives of the Lagrange multiplier ωi can be omitted, because they describe changes of the energy under variation of the spin length. Thus, they are perpendicular to the manifold associated with configuration space and vanish in the quadratic form of Eq. (14), since they are perpendicular to tangential deflections δm.

While bilinear interactions between magnetic moments have been considered extensively in the framework of HTST40,55,56,60,69, the novelty of this work is the consideration of HOI (cf. Eq. (1)). Gradients with respect to coordinates of magnetic moments are computed as

$${\nabla }_{i}{E}_{\rm{4-spin}}=-4\mathop{\sum }\limits_{jkl}{C}_{ijkl}({{\bf{m}}}_{k}\cdot {{\bf{m}}}_{l}){{\bf{m}}}_{j}\,.$$
(16)

Similar to bilinear exchange \({E}_{\rm{exc}}\propto {{\bf{m}}}_{i}^{T}{\underline{J}}_{ij}{{\bf{m}}}_{j}\) being mediated by a tensor \({\underline{J}}_{ij}\in {{\mathbb{R}}}^{3\times 3}\), HOI are mediated by a tensor \({\underline{C}}_{ijkl}\in {{\mathbb{R}}}^{3\times 3\times 3\times 3}\). Since both the bilinear exchange as well as HOI are invariant under global rotation of all magnetic moments, and therefore isotropic in configuration space, the HOI tensor can be expressed in the basis of isotropic tensors of fourth-order, which are usually denoted as products of Kronecker δ symbols

$${\underline{C}}_{ijkl}={C}_{ijkl}{\delta }_{ij}{\delta }_{kl}$$
(17)

with interaction constant Cijkl. It is commonly known that this basis contains only two more linearly independent elements, δikδjl and δilδkj, which in our case correspond to certain permutations of indices (i, j, k, l). In matrix form these tensors can be constructed as

$$\begin{array}{rcl}{\delta }_{ij}{\delta }_{kl} & = & \left[\begin{array}{rcl}\left[\begin{array}{rcl}1 & 0 & 0\\ 0 & 1 & 0\\ 0 & 0 & 1\end{array}\right] & \left[\begin{array}{rcl}0 & 0 & 0\\ 0 & 0 & 0\\ 0 & 0 & 0\end{array}\right] & \left[\begin{array}{rcl}0 & 0 & 0\\ 0 & 0 & 0\\ 0 & 0 & 0\end{array}\right]\\ \left[\begin{array}{rcl}0 & 0 & 0\\ 0 & 0 & 0\\ 0 & 0 & 0\end{array}\right] & \left[\begin{array}{rcl}1 & 0 & 0\\ 0 & 1 & 0\\ 0 & 0 & 1\end{array}\right] & \left[\begin{array}{rcl}0 & 0 & 0\\ 0 & 0 & 0\\ 0 & 0 & 0\end{array}\right]\\ \left[\begin{array}{rcl}0 & 0 & 0\\ 0 & 0 & 0\\ 0 & 0 & 0\end{array}\right] & \left[\begin{array}{rcl}0 & 0 & 0\\ 0 & 0 & 0\\ 0 & 0 & 0\end{array}\right] & \left[\begin{array}{rcl}1 & 0 & 0\\ 0 & 1 & 0\\ 0 & 0 & 1\end{array}\right]\end{array}\right]\\ {\delta }_{ik}{\delta }_{jl} & = & \left[\begin{array}{rcl}\left[\begin{array}{rcl}1 & 0 & 0\\ 0 & 0 & 0\\ 0 & 0 & 0\end{array}\right] & \left[\begin{array}{rcl}0 & 1 & 0\\ 0 & 0 & 0\\ 0 & 0 & 0\end{array}\right] & \left[\begin{array}{rcl}0 & 0 & 1\\ 0 & 0 & 0\\ 0 & 0 & 0\end{array}\right]\\ \left[\begin{array}{rcl}0 & 0 & 0\\ 1 & 0 & 0\\ 0 & 0 & 0\end{array}\right] & \left[\begin{array}{rcl}0 & 0 & 0\\ 0 & 1 & 0\\ 0 & 0 & 0\end{array}\right] & \left[\begin{array}{rcl}0 & 0 & 0\\ 0 & 0 & 1\\ 0 & 0 & 0\end{array}\right]\\ \left[\begin{array}{rcl}0 & 0 & 0\\ 0 & 0 & 0\\ 1 & 0 & 0\end{array}\right] & \left[\begin{array}{rcl}0 & 0 & 0\\ 0 & 0 & 0\\ 0 & 1 & 0\end{array}\right] & \left[\begin{array}{rcl}0 & 0 & 0\\ 0 & 0 & 0\\ 0 & 0 & 1\end{array}\right]\end{array}\right]\\ {\delta }_{il}{\delta }_{kj} & = & \left[\begin{array}{rcl}\left[\begin{array}{rcl}1 & 0 & 0\\ 0 & 0 & 0\\ 0 & 0 & 0\end{array}\right] & \left[\begin{array}{rcl}0 & 0 & 0\\ 1 & 0 & 0\\ 0 & 0 & 0\end{array}\right] & \left[\begin{array}{rcl}0 & 0 & 0\\ 0 & 0 & 0\\ 1 & 0 & 0\end{array}\right]\\ \left[\begin{array}{rcl}0 & 1 & 0\\ 0 & 0 & 0\\ 0 & 0 & 0\end{array}\right] & \left[\begin{array}{rcl}0 & 0 & 0\\ 0 & 1 & 0\\ 0 & 0 & 0\end{array}\right] & \left[\begin{array}{rcl}0 & 0 & 0\\ 0 & 0 & 0\\ 0 & 1 & 0\end{array}\right]\\ \left[\begin{array}{rcl}0 & 0 & 1\\ 0 & 0 & 0\\ 0 & 0 & 0\end{array}\right] & \left[\begin{array}{rcl}0 & 0 & 0\\ 0 & 0 & 1\\ 0 & 0 & 0\end{array}\right] & \left[\begin{array}{rcl}0 & 0 & 0\\ 0 & 0 & 0\\ 0 & 0 & 1\end{array}\right]\end{array}\right]\end{array}$$
(18)

In this notation the indices i, j address the position of each 3 × 3-matrix within the tensors above. The indices k, j address the position of 1 or 0 within these submatrices. Note, that other representations of this basis exist as well. Intuitively, the linearly independent basis elements reflect that some permutations of lattice sites in fourth-order HOI lead to different energies

$$\begin{array}{rcl}({{\bf{m}}}_{i}\cdot {{\bf{m}}}_{j})({{\bf{m}}}_{k}\cdot {{\bf{m}}}_{l}) & \ne & ({{\bf{m}}}_{i}\cdot {{\bf{m}}}_{k})({{\bf{m}}}_{j}\cdot {{\bf{m}}}_{l})\\ & \ne & ({{\bf{m}}}_{i}\cdot {{\bf{m}}}_{l})({{\bf{m}}}_{k}\cdot {{\bf{m}}}_{j})\end{array}$$
(19)

while linear dependent permutations leave the energy invariant

$$\begin{array}{rcl}({{\bf{m}}}_{i}\cdot {{\bf{m}}}_{j})({{\bf{m}}}_{k}\cdot {{\bf{m}}}_{l}) & = & ({{\bf{m}}}_{k}\cdot {{\bf{m}}}_{l})({{\bf{m}}}_{i}\cdot {{\bf{m}}}_{j})\\ & = & ({{\bf{m}}}_{l}\cdot {{\bf{m}}}_{k})({{\bf{m}}}_{j}\cdot {{\bf{m}}}_{i})\,.\end{array}$$
(20)

In order to find the most general form of second derivatives of the fourth-order HOI energy with respect to mi and mj all linearly independent permutations have to be considered

$$\begin{array}{rcl}{\nabla }_{ij}{E}_{\rm{4-spin}} & = & \mathop{\sum }\limits_{kl}{{\bf{m}}}_{k}^{T}\left({C}_{ijkl}{\delta }_{ij}{\delta }_{kl}+{C}_{ikjl}{\delta }_{ik}{\delta }_{jl}\right.\\ & & +\left.{C}_{ilkj}{\delta }_{il}{\delta }_{kj}\right){{\bf{m}}}_{l}\end{array}$$
(21)
$$\begin{array}{rcl} & = & \mathop{\sum }\limits_{kl}\left({C}_{ijkl}\,{{\bf{m}}}_{k}\odot {{\bf{m}}}_{l}+{C}_{ikjl}\,{{\bf{m}}}_{l}\otimes {{\bf{m}}}_{k}\right.\\ & & +\left.{C}_{ilkj}\,{{\bf{m}}}_{k}\otimes {{\bf{m}}}_{l}\right)\end{array}$$
(22)

where we used the abbreviations

$${{\bf{m}}}_{i}\otimes {{\bf{m}}}_{j}=\left(\begin{array}{lll}{m}_{i}^{x}{m}_{j}^{x} & {m}_{i}^{x}{m}_{j}^{y} & {m}_{i}^{x}{m}_{j}^{z}\\ {m}_{i}^{y}{m}_{j}^{x} & {m}_{i}^{y}{m}_{j}^{y} & {m}_{i}^{y}{m}_{j}^{z}\\ {m}_{i}^{z}{m}_{j}^{x} & {m}_{i}^{z}{m}_{j}^{y} & {m}_{i}^{z}{m}_{j}^{z}\end{array}\right)$$
(23)
$${{\bf{m}}}_{i}\odot {{\bf{m}}}_{j}=\left(\begin{array}{rcl}{{\bf{m}}}_{i}\cdot {{\bf{m}}}_{j} & 0 & 0\\ 0 & {{\bf{m}}}_{i}\cdot {{\bf{m}}}_{j} & 0\\ 0 & 0 & {{\bf{m}}}_{i}\cdot {{\bf{m}}}_{j}\end{array}\right)$$
(24)

The step between Eq. (21) and Eq. (22) involves quadratic forms of spins with every 3 × 3-submatrix denoted within the tensors of Eq. (18)57. Since the last two terms in Eq. (22) are related by \({{\bf{m}}}_{k}\otimes {{\bf{m}}}_{l}={({{\bf{m}}}_{l}\otimes {{\bf{m}}}_{k})}^{T}\) (transposing inverts order of magnetic moments) the construction of Hessian blocks comes down to the two cases:

$${\nabla }_{ij}{E}_{\rm{4-spin}}=-4\mathop{\sum }\limits_{kl}\left\{\begin{array}{cl}{C}_{ijkl}\,{{\bf{m}}}_{k}\odot {{\bf{m}}}_{l} & \rm{for}\,(i,j,k,l)\\ {C}_{ikjl}\,{{\bf{m}}}_{l}\otimes {{\bf{m}}}_{k} & \rm{for}\,(i,k,j,l)\end{array}\right.\,,$$
(25)

where only the order of indices has to be considered, including variations with repeating indices which address 3-site and biquadratic HOI terms.

Figure 6 shows exemplarily contributions of HOI to the Hessian blocks of four magnetic moments within nearest neighbor distance to each other. It is noteworthy that \({\nabla }_{ij}{E}_{\rm{4-spin}}={({\nabla }_{ji}{E}_{\rm{4-spin}})}^{T}\), so that the Hessian itself is symmetric, as required on torsion-free configuration spaces.

Fig. 6: Schematic adjacency pattern for sub-matrix of the Hessian including HOI.
Fig. 6: Schematic adjacency pattern for sub-matrix of the Hessian including HOI.
Full size image

Schematic adjacency pattern for sub-matrix of the Hessian for four magnetic moments (mi, mj, mk, ml) in nearest neighbor distance of each other (see Fig. 1a). Each block ij corresponds to the 3 × 3 cartesian components of the second derivatives of the energy in Eq. (1) with respect to the magnetic moments. The block colors refer to the specific HOI term contributing (biquadratic (gray), 3-site (cyan) and 4-site (pink)) HOI.

Implementation of the HOI

General fourth-order HOI (Eq. (1)) were implemented in our atomistic spin simulation package SPINAKER for arbitrary lattice models, including three-dimensional ones. The code is capable of an efficient computation of the energy, gradients and Hessians of user-input fourth-order HOI over arbitrary distances of the lattice. Each term contributing to the general form of the fourth-order HOI, e.g. the biquadratic, 3-site or 4-site term, can be uniquely identified through an array of six distances (Eq. (4)). These distances are given in units of n-th nearest neighbor distances between the atomic sites of the respective lattice model. Based on this adjacency information the neighbor relations of a specific HOI are derived in a pre-processing step through the “Pairfinder"-algorithm explained below. A pseudo-code representation of the core of the Pairfinder algorithm is given in Alg. 1.

The lattice of atoms is constructed by repetitions of the chemical unit cell containing one or more atomic species. Consider a central atomic site with index i. Figures 7a, b illustrate small 3 by 3 segments of a hexagonal lattice with an exemplary central atomic site i and an integer index assigned to each site of these nine unit cells (Fig. 7b). In Fig. 7a the Pairfinder is illustrated for the 4-site HOI (denoted by the interaction strength K in Eq. (3)). In this case, the array of distances is [dij, dik, dil, djk, djl, dkl] = [1, 1, 1, 1, 2, 1], involving only nearest neighbors except for the connection of j and l: djl = 2.

Fig. 7: Pairfinder illustrations and energy derivative consistency test.
Fig. 7: Pairfinder illustrations and energy derivative consistency test.
Full size image

a, b Schematic illustration of the Pairfinder algorithm utilized to calculate the neighbor relations for a specific HOI term for a 3 by 3 segment of the hexagonal lattice. Exemplary the derivation of the 4-site HOI term is shown. The moments i and j participate in the first scalar product and k, l in the latter. The sites marked by blue triangles satisfy the adjacency to i and j during the generation of the neighbor \(k,{k}^{{\prime} }\). For \(k,{k}^{{\prime} }\) on the right only the site marked by the green diamond satisfies the adjacency of the fourth moment l to the others. b The final set of four moments with pink lines as the scalar products is illustrated in addition to the indices of the atomic sites. c Histogram of via Euler’s theorem numerically calculated 4-spin energy differences within the atomistic spin simulation code SPINAKER. The difference between the energy and the energy via the gradient in Eq. (27) (red) and the energy via the matrix of second-order derivatives in Eq. (28) (blue) of 1000 states with random magnetization is compared.

The outermost loop in Alg. 1 iterates over the neighbors of the atomic site i satisfying the constraint dij. For the 4-site HOI j corresponds to a site in nearest neighbor distance to i and for the specific system in Fig. 7b we have e.g. j = 8 for i = 5. Subsequently the index shift nij = ji is stored, which is here nij = 3. Ascending one level in the nested loops in Alg. 1, the next loop iterates over the neighbors with the distance constraint dik and the index shift nik is stored. For the 4-site HOI term these are again the sites in nearest neighbor distance to i (dik = 1). Consider e.g. the atomic site with index k = 9 to be selected at this stage (see Fig. 7b) with nik = 4. Now it has to be checked whether the selected neighbors j and k of i fulfill also the distance constraint djk, which is in this case again djk = 1. For this purpose the neighbors \({k}^{{\prime} }\) in distance djk of j are iterated. For each candidate \({k}^{{\prime} }\) it is tested if the index shifts of the candidate sites correspond to a closed path via \({n}_{ij}+{n}_{j{k}^{{\prime} }}-{n}_{ik}=0\). If this equation is satisfied, as for the site \({k}^{{\prime} }\) marked on the right in Fig. 7a, we set \(k={k}^{{\prime} }\) and continue. The sites marked with blue triangles are candidates for \(k,{k}^{{\prime} }\) satisfying the equation above. However, if this condition is not satisfied \({k}^{{\prime} }\) is discarded and the loop over the neighbors of j in distance djk continues with the next candidate \({k}^{{\prime} }\). The next embedded loop iterates over the neighbors of i within distance dil to the site i to produce candidates for the fourth site l. For the 4-site HOI these are again the nearest neighbors of i. For each candidate l we now have to test whether it also fulfills the distance constraints djl and dkl, which are djl = 2 and dkl = 1 here. Similar to the procedure above this is achieved by iterating the neighbors \({l}^{{\prime} }\) of j in distance djl and iterating the neighbors l of k in distance dkl. For each \({l}^{{\prime} }\) and l it is checked whether \({n}_{ij}+{n}_{j{l}^{{\prime} }}-{n}_{il}=0\) and nik + nklnil = 0, respectively. Only if both conditions are satisfied the candidate l completes the set of the four magnetic moments searched for the specific HOI term and the six index shifts are stored.

Note, that for each specific HOI term several sets fulfilling the above conditions exist. Consider again the 4-site HOI, where the site l has to be in second nearest neighbor distance to j and in nearest neighbor distance to k. In Fig. 7a this is only satisfied by the lattice site marked with the green diamond if j and k are chosen as schematically depicted in Fig. 7. However, also the lattice sites j = 4 and k = 1 satisfy the conditions for the first three magnetic moments participating in the 4-site HOI term. This leaves the site l = 2 as the only option to complete this set. Iterating over lattice sites corresponding to the array of distances recursively and evaluating conditions of closed paths ensures, finding all the sets of interacting lattice sites for a specific HOI, 12 for the case of the 4-site HOI.

Given the translational symmetry of the lattice it is sufficient to calculate these relative index shifts only once for a representative atomic site i. Thus, the computational complexity of this pre-processing step is negligible with respect to the thousands of energy and energy gradient calculations employed in a typical simulation, e.g. an iterative energy minimization algorithm.

Note, that the above representation uses single integer indices to address atomic sites and represent relative positions of sites for the sake of clarity. However, in practice SPINAKER stores multi-indices \(({i}_{{{\bf{a}}}_{1}},{i}_{{{\bf{a}}}_{2}},{i}_{{{\bf{a}}}_{3}},{i}_{\rm{species}})\) addressing a site via the coefficients of the linear combination of lattice vectors to reach its unit cell together with a unique index of the atomic species within this cell. This allows to detect neighbors connected via periodic boundaries. These are handled with a precomputed lookup mask storing for each site whether a neighbor is present or not, which allows also to simulate defects and missing atoms.

The Pairfinder algorithm explained above provides the necessary adjacency information used in the calculation of derivatives of the HOI energy with respect to the components of the magnetic moments—gradient and the matrix of second-order derivatives (Eqs. (16), (25)). On the one hand, the implementations are verified through comparing the results with analytical solutions, e.g. comparing the energy of magnetic structures with literature80. On the other hand, the consistency between the energy calculation and derivation of the first- and second-order derivatives with respect to the magnetization is checked via Euler’s theorem for homogeneous functions. The fourth-order HOI term is a homogeneous function with order four of 3N variables \({m}_{i}^{\alpha }\) for i = 1, …, N and α {x, y, z}:

$${E}_{\rm{4-spin}}(s{{\bf{m}}}_{1},\ldots ,s{{\bf{m}}}_{N})={s}^{4}{E}_{\rm{4-spin}}({{\bf{m}}}_{1},\ldots ,{{\bf{m}}}_{N})$$
(26)

with s ≠ 0. Differentiating both sides of this equation with respect to s and taking the limit of the results with s → 1 yields:

$$4{E}_{\rm{4-spin}}=\mathop{\sum }\limits_{i}{{\bf{m}}}_{i}\cdot ({{\boldsymbol{\nabla }}}_{i}{E}_{\rm{4-spin}})\,.$$
(27)

Therefore the energy is expressed in terms of the gradient. Similarly, the energy can be restored from the matrix of second derivatives via

$$12{E}_{\rm{4-spin}}=\mathop{\sum }\limits_{ij}{{\bf{m}}}_{i}^{T}\cdot ({\nabla }_{ij}{E}_{\rm{4-spin}})\cdot {{\bf{m}}}_{j}\,.$$
(28)

Figure 7 c shows the energy difference of the left sides of Eqs. (27) and (28) computed with the HOI energy routine and the respective right sides, computed using the gradient and second-order derivative routines, respectively. The fluctuations are on the order of machine precision. The histogram for errors in the computation via the Hessian shows a broader distribution of numerical fluctuations, due to a quadratically increased amount of floating point operations.

Algorithm 1

Pairfinder

// declare i as the central atomic site

// reset the set-counter for the specific HOI term

N ← 0

// iterates the neighbors j of i

for j in neighbors(dij) do

 // store the index shift between i and j

 nij ← indexshift(dij, j)

 for k in neighbors(dik) do

 nik ← indexshift(dik, k)

for \({k}^{{\prime} }\) in neighbors(djk) do

\({n}_{j{k}^{{\prime} }}\leftarrow \,{\rm{i}}{\rm{n}}{\rm{d}}{\rm{e}}{\rm{x}}{\rm{s}}{\rm{h}}{\rm{i}}{\rm{f}}{\rm{t}}(\,{d}_{jk},{k}^{{\prime} }\,)\)

if \({n}_{ij}+{n}_{j{k}^{{\prime} }}-{n}_{ik}\ne 0\) then

 cycle

end if

 // now \(k={k}^{{\prime} }\), proceed with \(l,{l}^{{\prime} }\) and l

for l in neighbors(dil) do

nil ← indexshift(dil, l)

for \({l}^{{\prime} }\) in neighbors(djl) do

\({n}_{j{l}^{{\prime} }}\leftarrow \,{\rm{i}}{\rm{n}}{\rm{d}}{\rm{e}}{\rm{x}}{\rm{s}}{\rm{h}}{\rm{i}}{\rm{f}}{\rm{t}}(\,{d}_{jl},{l}^{{\prime} }\,)\)

 if \({n}_{ij}+{n}_{j{l}^{{\prime} }}-{n}_{il}\ne 0\) then

 cycle

end if

for l in neighbors(dkl) do

nkl ← indexshift(dkl, l)

if nik + nklnil ≠ 0 then

 cycle

end if

 // set of 4 moments found

 N ← N + 1

 // store index shifts

 n[N] ← [nij, nik, nil, njk, njl, nkl]

 end for

 end for

 end for

 end for

 end for

end for