Introduction

Topological solitons are robust localized structures actively studied by disciplines ranging from cosmology1,2 and particle physics3,4,5,6 to optics7,8,9,10 and condensed matter11,12,13. Despite the differences across the many systems where they form, topological solitons exhibit enhanced stability which is due to the nontrivial topology of their structure in space. In contrast, the temporal dimension does not play a role in defining soliton topology.

Topological solitons in magnets include skyrmions and hopfions14,15,16,17,18,19,20. The skyrmion topology is determined by the number of times the magnetization wraps the unit sphere. On the other hand, the hopfion structure rests on curves in space where the magnetization points in the same direction, its preimages21,22,23,24,25. How often any two preimages wind around each other is counted by the Hopf index21, the invariant that characterizes hopfion topology. Although skyrmions and hopfions exhibit fascinating dynamics, it is rooted exclusively in their spatial topology, a property of their spatial structure that they carry as they evolve in time.

However, robust structures in time, including spacetime crystals in magnets, have been recently reported26,27,28,29,30. These reports motivate the question of the existence of topological solitons with time involved fundamentally and inextricably. Here we turn to magnetic textures in two spatial dimensions and their time evolution to construct topological magnetic solitons in spacetime. Since their nontrivial spacetime topology is characterized by an extension of the Hopf index, we name them spacetime magnetic hopfions.

Results

Spacetime magnetic hopfions require a time-periodic magnetization provided by an externally applied drive. The physical difference between generic magnetic solitons and spacetime magnetic hopfions lies in their nontrivial spacetime topology, which affords them robustness against time-dependent perturbations.

Spacetime topology construction

To construct spacetime magnetic hopfions we exploit the topology of regular hopfions.

A hopfion in three spatial dimensions results from the following sequence of operations on a single skyrmion in two spatial dimensions. Stack copies of the skyrmion to form a straight skyrmion tube. Keeping one end of the tube fixed, twist the top end by an angle of 2π about the tube axis which modifies the internal structure of the skyrmion along the tube. The ends of the twisted tube are identical. Therefore, they can be identified by bending the tube and gluing together the matching ends. A three-dimensional hopfion has been formed. If the tube had been twisted n times by 2π, the resulting hopfion would have had a Hopf index equal to nQ, where Q is the topological charge of the starting skyrmion. For hopfions in three spatial dimensions, the Hopf index is a homotopy invariant of the magnetization field map. Along any direction far way from a hopfion, at the so-called point at infinity, its magnetization converges to the same value; thus the three-dimensional space, via one-point compactification, adopts the topology of a three-sphere S3. In the case of spatial hopfions, the magnetization field is a map from the compactified three-dimensional space S3 to the space of possible magnetization directions S2.

In the preceding abstract construction, the skyrmion tube was built by stacking skyrmion copies. It might as well have been generated from a skyrmion in two spatial dimensions whose texture is twisted as it evolved in time (see Fig. 1a). Moreover, such time evolution must be periodic so the temporal dimension, as implied by the gluing of the tube ends, has the topology of a circle (S1). Equivalently, we require a skyrmion whose helicity, namely, the angle between the radial and the in-plane magnetization direction, periodically rotates in time. Therefore, to construct a spacetime magnetic hopfion we need a two-dimensional skyrmion with a time-periodic rotating helicity.

Fig. 1: Spacetime magnetic hopfions—two construction routes based on skyrmion textures evolving periodically in time.
figure 1

a Helicity rotation: the helicity of a skyrmion rotates by 2π. b Skyrmion braiding: two skyrmions swap positions. Preimages (colored curves) trace four selected magnetization directions throughout one period T. Identifying the magnetic textures, and their corresponding preimages, at t = 0 and t = T, reveals their nontrivial spacetime topology. The preimages of the identified textures (insets) are linked, both corresponding to an H = + 1 spacetime Hopf index.

There is an alternative route to construct spacetime magnetic hopfions. Instead of one, it requires (at least) two spatially separated skyrmions. By braiding the skyrmions’ center of mass positions we induce time-periodicity. Note that over the span of one period the skyrmions swap positions (see Fig. 1b). After identifying the swapped and initial skyrmion configurations, the resulting spacetime structure is topologically equivalent to a 2π-twisted skyrmion tube with its ends identified, and therefore to a spacetime magnetic hopfion.

Spacetime magnetic hopfions constructed from time-periodic, two-dimensional skyrmionic textures, as described above, have nontrivial spacetime topology. The topological invariant suitable for their characterization is the spacetime Hopf index

$$H=-\frac{1}{{(8\pi )}^{2}}\int\,{{{{{{{\rm{d}}}}}}}}t\,\int\,{{{{{{{{\rm{d}}}}}}}}}^{2}r\,{{{{{{{{\bf{A}}}}}}}}}_{{{{{{{{\rm{e}}}}}}}}}\cdot {{{{{{{{\bf{B}}}}}}}}}_{{{{{{{{\rm{e}}}}}}}}},$$
(1)

where Ae is the emergent gauge field satisfying Be =  × Ae, Be is the emergent magnetic field given by Be,i = ϵijkm (∂jm × ∂km), with m the normalized magnetization, and i, j, k {x, y, t}. While the spatial integration is over the entire x-y plane, time is integrated over one period T.

For spacetime magnetic hopfions, unlike for hopfions in three-dimensional space, the base space is not S3, but rather S2 × S1; where the base space of the magnetic textures (skyrmions) is S2, and the periodicity in time of the textures leads to the compactification of the temporal dimension to S1. Because of this, the spacetime Hopf index H is no longer a homotopy invariant of the system in general, but rather the skyrmion topological charge Q and the number of twists about the time axis n modulo 2Q are separately homotopy invariants31,32,33. Nevertheless, since H = nQ and in our system Q is always equal to a nonvanishing constant (for instance, Q = −1 for a single skyrmion), H only depends on n and as long as Q ≠ 0 the spacetime Hopf index can be regarded as a homotopy invariant.

In the following, we discuss how to concretely realize both routes to construct spacetime magnetic hopfions: by controlling the internal low-energy excitations (rotating helicity) of a single skyrmion, and by braiding the center of mass positions of multiple skyrmions.

Route 1: single skyrmion internal excitations

One route to construct spacetime magnetic hopfions relies on making the skyrmion helicity η time-periodic, i.e., η(t) = η(t + T), where T is the period. However, the skyrmion-hosting magnetic material typically fixes the helicity at a value that is energetically favorable. Therefore, we first need to inject energy into the system, which will activate the internal excitations of the skyrmion and perhaps provide a way of controlling the helicity. These internal excitations might introduce unwanted multiply-periodic time dependence or, even worse, destabilize and eventually destroy the skyrmion itself. A more targeted strategy is to identify a class of skyrmion-hosting materials where the helicity is among the lowest-energy excitations. Even better, the lowest-energy one with vanishing excitation energy: a Goldstone mode.

The skyrmion helicity, in a minimal model (in particular in the absence of anisotropies), is known to be a Goldstone mode in frustrated magnets34,35,36,37. Therefore, in the absence of energy injection and dissipation, energy conservation enforces the skyrmion size to remain constant while allowing the helicity to rotate at a constant angular frequency. Another crucial property of frustrated magnets is that noncollinear magnetic textures, such as skyrmions, induce electric polarization P37,38,39. An applied electric field E couples to the electric polarization as EP. This coupling provides a convenient, energy-efficient way to use a time-dependent applied electric field to control the magnetic skyrmion and hence, as we show below, its helicity.

Aiming to describe a broad class of frustrated magnets, we use the following rescaled micromagnetic energy functional

$$U=\int\left[-\frac{1}{2}{(\nabla {{{{{{{\bf{m}}}}}}}})}^{2}+\frac{1}{2}{({\nabla }^{2}{{{{{{{\bf{m}}}}}}}})}^{2}-{{{{{{{\bf{B}}}}}}}}\cdot {{{{{{{\bf{m}}}}}}}}-{{{{{{{\bf{E}}}}}}}}\cdot {{{{{{{\bf{P}}}}}}}}\right]\,{{{{{{{{\rm{d}}}}}}}}}^{3}r,$$
(2)

with adimensionalized external magnetic and electric fields B and E (see Methods). In the following, we set \({{{{{{{\bf{B}}}}}}}}=\hat{{{{{{{{\bf{z}}}}}}}}}\) and assume a thin film sample geometry. The interplay of the quadratic and quartic exchange terms captures the details of the competing microscopic exchange interactions. The competing exchange terms give rise to a length scale, which, in the presence of a moderate out-of-plane magnetic field, stabilizes skyrmions35. Noncollinear magnetic textures, e.g. skyrmions, induce the electric polarization

$${{{{{{{\bf{P}}}}}}}}=(\nabla \cdot {{{{{{{\bf{m}}}}}}}}){{{{{{{\bf{m}}}}}}}}-({{{{{{{\bf{m}}}}}}}}\cdot \nabla ){{{{{{{\bf{m}}}}}}}},$$
(3)

which couples to the applied electric field. The coupling has the form of an effective Dzyaloshinskii-Moriya interaction (DMI): \({{{{{{{\bf{E}}}}}}}}\cdot {{{{{{{\bf{P}}}}}}}}={D}_{ik}^{j}({{{{{{{\bf{E}}}}}}}})\,{m}_{i}{\partial }_{j}{m}_{k}\) with \({D}_{ik}^{j}({{{{{{{\bf{E}}}}}}}})={\epsilon }_{ikm}{\epsilon }_{mlj}{E}_{l}\). Thus, the electric field allows the direct manipulation of the strength and sign of the effective DMI. For an electric field applied along the direction perpendicular to the thin film, the EP coupling breaks rotational symmetry and provides control over the skyrmion helicity. Thus, this coupling allows an AC electric field to drive the frustrated magnet’s magnetization dynamics and activate the helicity mode.

To model the electric-field-driven magnetization dynamics of a skyrmion we utilize two complementary approaches: micromagnetic simulations and collective coordinates. Our micromagnetic simulations employ the above micromagnetic energy functional, Eq. (2), together with the Landau-Lifshitz-Gilbert (LLG) equation (see Methods). In the collective coordinate modeling we focus on the two most relevant degrees of freedom: the skyrmion helicity η and, as a proxy for its canonically conjugate variable, the radius R. We derive their generalized Thiele equations, two coupled first-order nonlinear differential equations, which govern the joint skyrmion helicity and radius-driven dynamics, and we solve them numerically (see Methods). Both modeling approaches allow us to include energy injection from the driving AC electric field and energy dissipation from Gilbert damping, as expected in magnetic materials. Below, we show how to construct a spacetime magnetic hopfion by controlling the skyrmion dynamics driven by an alternating electric field.

An applied AC electric field \({{{{{{{\bf{E}}}}}}}}(t)={E}_{0}\cos (\omega t)\hat{{{{{{{{\bf{z}}}}}}}}}\) drives the skyrmion dynamics. In this case, the electric field coupling induces a cosine helicity dependence, i.e. \({{{{{{{\bf{E}}}}}}}}\cdot {{{{{{{\bf{P}}}}}}}}\propto \cos \eta\). After the initial transient, the skyrmion dynamics reaches a time-periodic steady state with the same period T = 2π/ω of the driving AC electric field. Figure 2a shows selected snapshots of the skyrmion texture during such a steady state obtained from micromagnetic simulations. The helicity executes a full rotation during one period of the applied AC electric field signaling the formation of a spacetime magnetic hopfion.

Fig. 2: Time evolution of a skyrmion in a frustrated magnet driven by an AC electric field: activating helicity rotation.
figure 2

The skyrmion dynamics reaches a time-periodic steady state synchronizing to the driving electric field’s period T. a Skyrmion texture snapshots, at T/4 intervals, from micromagnetic simulations confirm the T-periodic evolution. b Energy landscape snapshots as functions of the skyrmion collective coordinates, helicity η and radius R, shown in the \(R\cos \eta -R\sin \eta\) plane with \(\Delta U=U+\int\,{{{{{{{{\rm{d}}}}}}}}}^{3}r\,{{{{{{{\bf{B}}}}}}}}\cdot \hat{{{{{{{{\bf{z}}}}}}}}}\) and sample thickness d. During one period, the energy landscape rocks back and forth about the \(R\cos \eta =0\) line as indicated by the orange arrow. The green dot represents the skyrmion collective coordinates time evolution. The direction of the helicity rotation (gray curved arrow) is uniquely defined by the driving electric field. Activating the T-periodic helicity rotation forms a spacetime magnetic hopfion. Parameters: E0 = 0.20, ω = 2π/T = 1.18, t0 is deep in the steady state and η(t0) = 0 (mod 2π); more details in Methods.

Further understanding of the driven helicity rotation follows from the micromagnetic energy, Eq. (2), depicted in Fig. 2b as a function of the collective coordinates, i.e. the skyrmion radius R and the helicity η. We find it convenient to plot the energy on the \(R\cos \eta -R\sin \eta\) plane as it reflects the rotational invariance of the system in the absence of the electric field. The energy increases as the skyrmion shrinks below its equilibrium radius due to the quartic exchange interaction. In the presented collective coordinate model this yields an unphysical horn-shaped divergence at R = 0, which is an artifact of our skyrmion profile approximation for small radii. As the skyrmion expands beyond its equilibrium radius, the energy also increases due to the Zeeman term: − Bm. Thus, there results an energy minimum trough. During one period the energy landscape rocks back and forth about the \(R\cos \eta =0\) line, such that the global energy minimum is at η = π (η = 0) for E0 > 0 (E0 < 0). The amount of tilting is proportional to the electric field strength. The skyrmion’s collective coordinates temporal evolution is represented by the green dot. The direction of the helicity rotation is uniquely defined by the applied drive, a feature that can be understood from the Thiele equations (see Methods for details)

$$\dot{R}={c}_{1}\alpha +{E}_{0}\cos (\omega t)\,({c}_{2}+{c}_{3}\alpha )+{{{{{{{\mathcal{O}}}}}}}}({\alpha }^{2}),$$
(4a)
$$\dot{\eta }={\dot{\eta }}_{0}(R)+{E}_{0}\cos (\omega t)\,({c}_{4}+{c}_{5}\alpha )+{{{{{{{\mathcal{O}}}}}}}}({\alpha }^{2}),$$
(4b)

where α is the damping parameter and the functions c1, …, c5 depend on the collective coordinates. \({\dot{\eta }}_{0}(R)\) is the helicity rotation speed in the limit of E0 = 0 and zero damping. In this limit, the magnetic energy U does not depend explicitly on the helicity (it is a Goldstone mode), and attains its minimum at the critical radius R*. Therefore, the Thiele equations decouple and reduce to \(\dot{R}=0\) while \(\dot{\eta }={\dot{\eta }}_{0}(R)\) becomes only a function of R and swaps sign at a critical skyrmion radius R*. For R < R*, the helicity evolves clockwise (decreases, \({\dot{\eta }}_{0} < 0\)), while for R > R*, it evolves counterclockwise (increases, \({\dot{\eta }}_{0} > 0\)), see Supplementary Note 1. In the presence of small damping and for E0 = 0 the radius decreases to R* and the speed of the helicity rotation decreases to zero. The electric field drives the helicity rotation actively and compensates for the damping.

To investigate the conditions for helicity rotation required for a spacetime magnetic hopfion, we solved the Thiele equations for a range of electric field amplitudes E0 and frequencies ω. From the steady-state solutions we built the phase diagram in Fig. 3a. In dark pink (dark green), we show solutions for which the skyrmion helicity rotates monotonically clockwise (counterclockwise), and in light pink (light green) the solutions for which the skyrmion helicity performs a non-monotonic but overall clockwise (counterclockwise) rotation. Below the pink region, the electric field amplitude is too low to induce a helicity rotation, while between the pink and dark green regions, the dynamics of the system are complex, and the helicity rotations do not synchronize with the electric field oscillation frequency. Helicity rotation solutions, the colored regions, cluster around two lobes.

Fig. 3: Roadmap to construct spacetime magnetic hopfions by electric-field-driven helicity rotation.
figure 3

a Phase diagram of the long-term helicity dynamics, built from collective coordinate modeling with Gilbert damping α = 0.01, of a skyrmion driven by an AC electric field with amplitude E0 and frequency ω. The helicity rotates clockwise (counterclockwise) in the pink (green) regions leading to nonzero spacetime Hopf indices as indicated by the linked preimages of two selected points: with H = − 1 (inset a(i)) and H = + 1 (inset a(ii)). b, c Trajectories in the \(R\cos \eta -R\sin \eta\) plane of the selected points from a with parameters E0 = 0.25, ω = 0.72 in b; and E0 = 0.20, ω = 1.18 in c. The trajectories are elliptical due to the skyrmion radius oscillations (breathing) shown in d. When the radius is larger (smaller) than R*, the helicity increases (decreases) e, i.e., it rotates counterclockwise (clockwise).

In the leftmost lobe, dominated by counterclockwise helicity evolution (dark and light green regions), the Thiele equations predict the formation of spacetime magnetic hopfions with spacetime Hopf index H = −1. They form in the vicinity of the Kittel resonance frequency \({\omega }_{{{{{{{{\rm{res}}}}}}}}}\). Since our model does not include dipolar interactions, \({\omega }_{{{{{{{{\rm{res}}}}}}}}}\propto {B}_{z}\); in dimensionless units, having set Bz = 1, \({\omega }_{{{{{{{{\rm{res}}}}}}}}}=1\). Around the Kittel resonance frequency and for high E0 energy injection supersedes dissipation. This imbalance is reflected in Thiele equations solutions with unphysically diverging skyrmion radii, signaling that the collective coordinate model is no longer adequate in this resonance region. While micromagnetic simulations of skyrmions in this region do not show diverging radii, they reveal spin wave emission and more complex skyrmion distortions. Even though the skyrmion helicity remains time-periodic, the resonance effects tend to disrupt the time periodicity of the skyrmion profile and thus the spacetime magnetic hopfion formation in this region. Nevertheless, in the rest of the leftmost lobe, the Thiele equations and micromagnetic simulations are in good agreement, as exemplified by the (solid and dashed) dark green trajectories in Fig. 3b, d, e. We conclude that in the leftmost lobe a low electric field amplitude E0 and ω sufficiently far from \({\omega }_{{{{{{{{\rm{res}}}}}}}}}\) ensure a moderate energy injection-dissipation imbalance and thus guarantee the formation of spacetime magnetic hopfions with H = −1.

The rightmost lobe comprises only clockwise helicity evolution (dark and light pink regions) corresponding to spacetime magnetic hopfions with spacetime Hopf index H = + 1. Here, resonance effects are absent, so the Thiele equations solutions and micromagnetic simulations are in good agreement, see e.g. the (solid and dashed) dark pink trajectories in Fig. 3c–e. Animations of the motion of the collective coordinates and the energy landscape for the clockwise and counterclockwise helicity rotations, for both selected points shown in Fig. 3, are shown in Supplementary Movies 1 and 2 respectively. The corresponding micromagnetic simulations are shown in Supplementary Movies 3 and 4. The energy injection rate is balanced by or slightly below the dissipation rate. Therefore, due to the balanced injection-dissipation ratio (see Supplementary Note 2), the absence of resonant effects, and a sizeable range of electric field amplitude and frequency, the rightmost lobe is an attractive region for the experimental realization of spacetime magnetic hopfions with H = + 1.

A noteworthy feature of the right lobe is that the regions where the helicity evolution is monotonic (dark pink) and non-monotonic (pink) are separated by a straight line. This straight line coincides with Thiele equations solutions for which the maximum radius attained during a helicity rotation cycle equals R* (see Supplementary Note 2). Therefore, for values of E0 and ω in the pink region, the skyrmion radius crosses R = R* causing the helicity to reverse direction, thus becoming non-monotonic.

In the ω 0.5 region of the phase diagram, both clockwise (pink) and counterclockwise (green) rotating helicity steady states are present; for the slow driving frequency allows the dynamical system to time-evolve close to the energy landscape bottom (see Fig. 2b), hence resulting in a rich structure of  steady states.

The trajectories in the \(R\cos \eta -R\sin \eta\) plane of two selected points on the phase diagram, depicted in Fig. 3b, c, have an elliptical shape. They reflect the coupled collective coordinate dynamics; helicity rotations are accompanied by skyrmion breathing, i.e. radial oscillations. When the radius is larger (smaller) than R*, Fig. 3d, the helicity increases (decreases), Fig. 3e, which corresponds to counterclockwise (clockwise) rotations. For trajectories belonging to the phase diagram’s leftmost (green) lobe, as in Fig. 3b, the radius attains its maxima at η = 0, π and minima at η = π/2, 3π/2. The opposite holds for trajectories from the rightmost (pink) lobe, as in Fig. 3c, whose radius maxima are at η = π/2, 3π/2 and minima at η = 0, π. Since the helicity dependence of the micromagnetic energy comes solely from the coupling \({{{{{{{\bf{E}}}}}}}}\cdot {{{{{{{\bf{P}}}}}}}}\propto \cos \eta\), the rocking of the energy landscape (see Fig. 2b) gives trajectories with R > R* access to larger values of R along the \(R\cos \eta\) than the \(R\sin \eta\) axis. The situation reverses for trajectories with R < R*. Therefore, the difference between these two elliptical trajectories boils down to the size of R relative to R*.

When subjected to time-dependent perturbations of moderate intensity, as our stochastic LLG simulation study shows (see Supplementary Note 3), spacetime magnetic hopfions remain stable.

The above results confirm that spacetime magnetic hopfions are not rare and isolated, on the contrary, they can be constructed over a large range of frequencies and amplitudes of the driving electric field. Furthermore, the phase diagram in Fig. 3 provides a guide to tune between spacetime magnetic hopfions with opposite spacetime Hopf indices.

Route 2: multiple skyrmion braiding

An alternative construction route of spacetime magnetic hopfions follows from multiple skyrmion braiding. In this work, we treat magnetic skyrmions as classical, distinguishable objects. Braiding skyrmions requires exchanging their center of mass positions (see Fig. 1b). Controlling the position of skyrmions is crucial to many data storage and computing applications40,41. For instance, braiding skyrmions is at the core of a recent proposal for a topological quantum computing platform42. Therefore, the manipulation of skyrmion positions has rapidly developed and it is currently technologically advanced14,43.

Control of skyrmion positions has been achieved in chiral, multilayer, and frustrated magnets. The breadth of mechanism to set individual skyrmions into motion include electric currents44,45,46,47,48,49, tilted magnetic fields50, magnetic field gradients51, temperature gradients52, and circularly polarized laser illumination53. The above mechanisms can be modified to also induce rotational motion of skyrmion crystals54. Models to simulate the above mechanisms of driven skyrmion dynamics are already available.

Instead of simulating the dynamics of a particular model, here we focus on characterizing the spacetime topology arising from skyrmion braiding. We designed the magnetic texture of two skyrmions whose positions orbit each other (counterclockwise and clockwise) periodically over time. The period is defined by the time it takes the skyrmions to swap their positions. We then numerically computed their spacetime Hopf index. We find that for a counterclockwise swap (as in Fig. 1b) the Hopf index is H = + 1, while for a clockwise swap H = − 1.

It is conceptually straightforward to generalize the above construction to accommodate an arbitrary number of skyrmions. They could be assembled into skyrmion crystals, skyrmion bags55,56, or engineered arrangements in nanopatterned substrates42,57. Braiding multiple skyrmions would result in spacetime magnetic hopfions with high spacetime Hopf indices.

Discussion

The two spacetime magnetic hopfion construction routes we have presented can be experimentally realized in various material platforms. Skyrmion braiding (construction route 2) requires controlling the skyrmion positions; this can be achieved by exploiting the experimentally reported skyrmion motion in the metallic chiral magnet FeGe58,59, the insulating chiral magnet Cu2OSeO351,60,61, the van der Waals ferromagnet Fe3GeTe262, and in magnetic multilayers63,64. The rotation of the skyrmion helicity (construction route 1) is expected in frustrated magnets such as the skyrmion-hosting materials Gd2PdSi365, and GdRu2Si266. Alternatively, we expect it to appear in skyrmion-hosting systems with tunable or weak DMI and for dynamically stabilized skyrmions where the helicity can be actively tuned67,68.

Our spacetime magnetic hopfion constructions rely on magnetic textures whose spatial extension is two-dimensional; good approximations to this limit are the commonly fabricated thin films. Therefore, our modeling and simulations of frustrated magnets assume a thin film sample geometry, where (nonlocal) dipolar interactions, in the zero thickness limit, are well approximated by a (local) uniaxial magnetic anisotropy69,70. Magnetocrystalline anisotropies originate from spin-orbit coupling and hence are typically weaker than exchange interactions. Therefore, even though magnetocrystalline anisotropies tend to break spin-rotational symmetry that can hinder helicity rotations by introducing energy barriers, these are small and can be overcome by adjusting the external driving fields. Aiming at a simple and universal description, we have neglected anisotropies and dipolar interactions.

In frustrated magnets and multiferroics71,72,73,74 the noncollinear magnetic texture of a single skyrmion induces electric polarization that in thin films gives rise to bulk and surfacebound electric charges. While the divergence of the polarization is proportional to the bound bulk charge density, the projection of the polarization onto the normal to the thin film surfaces determines the bound surface charge density. Although the net bound electric charge vanishes, the spatial distribution of the bound charge is localized near the skyrmion core. The oscillating radius of a breathing skyrmion makes its attached bound charge oscillate and hence radiate electromagnetic waves. Therefore, measuring this electromagnetic radiation could indirectly detect skyrmion breathing and, consequently, magnetic spacetime hopfions. Concretely, the bound charge surface densities at the thin film top and bottom surfaces are proportional to \(\cos \eta\) and have opposite signs; thus a rotating helicity generates an oscillating electric dipole moment. For the systems studied in this work, the electric dipole radiation, the largest contribution from the multipole expansion, has a total power of ~10 fW. This estimated radiated power falls within the experimentally detectable range75,76,77.

Direct detection of spacetime magnetic hopfions calls for measuring and tracking over time skyrmion magnetic textures; suitable for this purpose are Lorentz transmission electron microscopy (TEM)78 and electron holography79. If the stability and time-periodic evolution of skyrmions in a particular system has already been established, it could be sufficient to just measure the helicity (construction route 1) or position (construction route 2). The skyrmion helicity can be extracted from Lorentz TEM measurements80, and in the case of crystals or disordered ensembles of skyrmions, it can be measured using circularly polarized resonant elastic X-ray scattering81. Skyrmion position measurements have been reported using scanning transmission X-ray microscopy (STXM)64,82,83, magneto-optical Kerr effect (MOKE) microscopy63,84,85,86, and magnetic force microscopy (MFM)87,88,89,90.

Conclusion

We have constructed spacetime magnetic hopfions. They are magnetic solitons whose spacetime structure, characterized by the spacetime Hopf index, carries nontrivial spacetime topology. We have shown two complementary construction routes that leverage the spatial topology of two-dimensional skyrmionic textures and a time-periodic drive: by skyrmion helicity rotation and by braiding skyrmions. Readily available experimental platforms to realize these construction routes of spacetime magnetic hopfions are frustrated magnets under an applied AC electric field, and chiral magnets or magnetic multilayers driven by an applied AC magnetic field. The principles we have used to construct spacetime magnetic hopfions can be applied beyond hopfions and magnetism. Other systems where topological solitons also emerge, might include liquid crystals, superfluids, superconductors, and electromagnetic fields. We envisage the time-periodic manipulation of solitons with low-dimensional spatial topology as a versatile method to develop high-dimensional spacetime topology. This method can become a tool for the active control of spacetime topology of general order parameters and fields.

Methods

The spacetime magnetic hopfions and, in particular, the electric-field-driven magnetization dynamics of a skyrmion considered in this work are modeled by the Landau-Lifshitz-Gilbert (LLG) equation91,92

$$\frac{\partial {{{{{{{\bf{m}}}}}}}}}{\partial t}=-\gamma {{{{{{{\bf{m}}}}}}}}\times {{{{{{{{\bf{B}}}}}}}}}_{{{{{{{{\rm{eff}}}}}}}}}+\alpha {{{{{{{\bf{m}}}}}}}}\times \frac{\partial {{{{{{{\bf{m}}}}}}}}}{\partial t},$$
(5)

where γ is the electron gyromagnetic ratio, α is the Gilbert damping constant, and \({{{{{{{{\bf{B}}}}}}}}}_{{{{{{{{\rm{eff}}}}}}}}}=-{M}_{{{{{{{{\rm{s}}}}}}}}}^{-1}\delta U/\delta {{{{{{{\bf{m}}}}}}}}\) is the effective magnetic field with the saturation magnetization Ms.

The dimensionful energy functional is given by

$$U=\int\left[-\frac{{I}_{1}}{2}{(\nabla {{{{{{{\bf{m}}}}}}}})}^{2}+\frac{{I}_{2}}{2}{\left({\nabla }^{2}{{{{{{{\bf{m}}}}}}}}\right)}^{2}-{M}_{{{{{{{{\rm{s}}}}}}}}}{{{{{{{\bf{B}}}}}}}}\cdot {{{{{{{\bf{m}}}}}}}}-{{{{{{{\bf{E}}}}}}}}\cdot {{{{{{{\bf{P}}}}}}}}\right]\,{{{{{{{\rm{d}}}}}}}}^3r,$$
(6)

where I1 and I2 are strengths of the quadratic and quartic exchange interactions, respectively, and B (E) is the externally applied magnetic (electric) field. Noncollinear magnetic textures induce the electric polarization

$${{{{{{{\bf{P}}}}}}}}={P}_{E}a[(\nabla \cdot {{{{{{{\bf{m}}}}}}}}){{{{{{{\bf{m}}}}}}}}-({{{{{{{\bf{m}}}}}}}}\cdot \nabla ){{{{{{{\bf{m}}}}}}}}],$$
(7)

where a is the lattice constant and PE is the polarization density, which couples to the applied electric field. We define a natural length unit \(\ell =\sqrt{{I}_{2}/{I}_{1}}\), a natural time unit \(\tau ={M}_{{{{{{{{\rm{s}}}}}}}}}{I}_{2}/\gamma {I}_{1}^{2}\), a natural energy unit \({{{{{{{\mathcal{U}}}}}}}}=\sqrt{{I}_{1}{I}_{2}}\), a natural applied magnetic field unit \({{{{{{{\mathcal{B}}}}}}}}={I}_{1}^{2}/{M}_{{{{{{{{\rm{s}}}}}}}}}{I}_{2}\), a natural electric field unit of \({{{{{{{\mathcal{E}}}}}}}}=(\gamma /{M}_{{{{{{{{\rm{s}}}}}}}}}^{2})\sqrt{{I}_{1}^{7}/{I}_{2}^{3}}\), and a natural polarization unit of \({{{{{{{\mathcal{P}}}}}}}}=({M}_{{{{{{{{\rm{s}}}}}}}}}^{2}/\gamma )\sqrt{{I}_{2}/{I}_{1}^{3}}\). This natural unit system is summarized in Supplementary Table 1. This rescaling leaves the theory with three parameters, the rescaled dimensionless externally applied fields and the Gilbert damping parameter, α = 0.01 in this work.

Moreover, Eqs. (6) and (7) translate into Eqs. (2) and (3) in the main text. We have solved the skyrmion dynamics subjected to a periodic electric field using two complementary approaches: micromagnetic simulations and collective coordinates.

Micromagnetic simulations

For our micromagnetic simulations, we use the open-source micromagnetics simulation package MuMax393 with self-written extensions for the quartic exchange interaction and the electric field term. We neglect the effects of the demagnetizing field in our simulations for consistency with the collective coordinate modeling.

We consider a single-cell thin-film sample with N = 128 cells in x and y directions. Our system is discretized in cubic cells with edge length \(\Delta =0.3\sqrt{{I}_{2}/{I}_{1}}\). To suppress the reflection of spin waves from the thin film edges, we set α = 1 over an area bordering the edges and extending up to 5 simulation cells into the sample.

We initialize our simulations with a skyrmion texture embedded in a ferromagnetic background and relax the system using the Minimize() function.

For the results shown in Figs. 2 and 3 we used α = 0.01, I1 = 10−12 J m−1, I2 = 10−29 J m and Ms = 106 A m−1. For these parameter choices we obtain, for example, a magnetic field of \(100\,\,{{\mbox{mT}}}\,=1.0\,{I}_{1}^{2}/{M}_{{{{{{{{\rm{s}}}}}}}}}{I}_{2}\) and a typical length scale of \(31.6\,\,{{\mbox{nm}}}\,\approx 10\,\sqrt{{I}_{2}/{I}_{1}}\)) for a dimensionless magnetic field of 1.0 and a dimensionless length of 10. By micromagnetic simulations, we have also confirmed that we get the same results when we rescale the parameters according to Supplementary Table 1.

To calculate the radii of the skyrmions, we extract the contour for which mz = 0 using the scikit-image library94, and calculate the mean of the displacements from the center of the contour. To compute the helicities, we extract the average helicity of the points on the mz = 0 contour.

Collective coordinates

In the collective coordinate modeling95,96 of the skyrmion, we employed rescaled units. We focus on the temporal dynamics of the two most relevant degrees of freedom: the helicity η(t) and, as a proxy for its canonically conjugate variable, the radius R(t)67.

Representing the magnetization by spherical angles, \({{{{{{{\bf{m}}}}}}}}=(\cos \phi \sin \theta , \sin \phi \sin \theta ,\cos \theta )\), a rotationally invariant skyrmion texture centered at the origin of the xy plane is parametrized by its in-plane angle ϕ = ϕ(η(t)) and its profile function θ = θ(R(t)) which depend only on the skyrmion’s helicity and radius, respectively. We assume that the film thickness d is sufficiently small such that magnetic textures can be considered uniform in the z-direction. While our model is effectively two-dimensional, we adopt the common practice of keeping a nonzero film thickness that can aid comparison with experimentally relevant parameters such as the exchange couplings, generally reported for three-dimensional systems and typically used in micromagnetic simulation codes such as MuMax3.

In this case, the effective equations of motions of the collective coordinate vector ξ = (R, η) read \({G}_{ij}{\dot{\xi }}_{j}-\alpha {\Gamma }_{ij}{\dot{\xi }}_{j}+{F}_{i}=0\) with the elements of gyrotropic G and dissipative Γ tensors, and generalized force F given by

$${G}_{ij}=\int{{{{{{{\bf{m}}}}}}}}\cdot \left(\frac{\partial {{{{{{{\bf{m}}}}}}}}}{\partial {\xi }_{i}}\times \frac{\partial {{{{{{{\bf{m}}}}}}}}}{\partial {\xi }_{j}}\right)\,{{{{{{{\rm{d}}}}}}}}^3r,$$
(8a)
$${\Gamma }_{ij}=\int\frac{\partial {{{{{{{\bf{m}}}}}}}}}{\partial {\xi }_{i}}\cdot \frac{\partial {{{{{{{\bf{m}}}}}}}}}{\partial {\xi }_{j}}\,{{{{{{{\rm{d}}}}}}}}^3r,$$
(8b)
$${F}_{i}=-\frac{\partial U}{\partial {\xi }_{i}}.$$
(8c)

Only the generalized forces depend directly on the applied electric and magnetic fields. For symmetry reasons, the antisymmetric gyrotropic tensor has only one independent non-vanishing tensor element, i.e. GRη = −GηR and GRR = Gηη = 0, and the dissipative tensor is diagonal, i.e. ΓηR = ΓRη = 0. The effective equations of motion for the skyrmion’s radial and helicity temporal evolution become

$$\left[\begin{array}{c}\dot{R}\\ \dot{\eta }\end{array}\right]=\frac{1}{{G}_{R\eta }^{2}+{\alpha }^{2}{\Gamma }_{RR}{\Gamma }_{\eta \eta }}\left[\begin{array}{c}\alpha {\Gamma }_{\eta \eta }{F}_{R}+{G}_{R\eta }{F}_{\eta }\\ -{G}_{R\eta }{F}_{R}+\alpha {\Gamma }_{RR}{F}_{\eta }\end{array}\right].$$
(9)

To solve Eq. (9) we use the following ansatz97,98 for the skyrmion’s in-plane angle ϕ and its profile function θ

$$\phi =m\psi +\eta (t),$$
(10a)
$$\theta =2\arctan \left(\frac{\sinh (R(t)/w)}{\sinh (\rho /w)}\right),$$
(10b)

where \(\rho =\sqrt{{x}^{2}+{y}^{2}}\) and \(\psi =\arctan (y/x)\) are the radial and angular polar coordinates, respectively. The skyrmion vorticity m is taken to be 1 in this work, and w characterizes the domain wall width of the skyrmion’s profile. We find that for a domain wall width of w = 1.4, this ansatz approximates well the skyrmion obtained by micromagnetic simulations for both cases: in the relaxed state when the electric field is absent, as well as for excited skyrmions upon stimulation with the electric field. Using this ansatz, the remaining tensor elements are independent of the skyrmion’s helicity and depend only on its radius R

$${G}_{R\eta }=2\pi d\int\nolimits_{0}^{\infty }\rho \sin \theta \frac{\partial \theta }{\partial R}\,{{{{{{{\rm{d}}}}}}}}\rho ,$$
(11a)
$${\Gamma }_{RR}=2\pi d\int\nolimits_{0}^{\infty }\rho {\left(\frac{\partial \theta }{\partial R}\right)}^{2}\,{{{{{{{\rm{d}}}}}}}}\rho ,$$
(11b)
$${\Gamma }_{\eta \eta }=2\pi d\int\nolimits_{0}^{\infty }\rho {\sin }^{2}\theta \,{{{{{{{\rm{d}}}}}}}}\rho .$$
(11c)

The generalized forces contain the information about the electric field breaking the rotational symmetry, which is why the electric field amplitude appears in combination with η:

$${F}_{R} = \, {E}_{0}\cos (\omega t)\cos \eta \,2\pi d\int\nolimits_{0}^{\infty }\left(\cos (2\theta )\frac{\partial \theta }{\partial R}+\rho \frac{{\partial }^{2}\theta }{\partial R\partial \rho }\right)\,{{{{{{{\rm{d}}}}}}}}\rho \\ -\frac{\partial {U}_{{{{{{{{\rm{ex}}}}}}}}}}{\partial R}-{B}_{z}2\pi d\int\nolimits_{0}^{\infty }\rho \sin \theta \frac{\partial \theta }{\partial R}\,{{{{{{{\rm{d}}}}}}}}\rho ,$$
(12a)
$${F}_{\eta }=-{E}_{0}\cos (\omega t)\sin \eta \,2\pi d\int\nolimits_{0}^{\infty }\left(\cos \theta \sin \theta +\rho \frac{\partial \theta }{\partial \rho }\right)\,{{{{{{{\rm{d}}}}}}}}\rho ,$$
(12b)

where \({U}_{{{{{{{{\rm{ex}}}}}}}}}=2\pi d\int[-\frac{1}{2}{(\nabla {{{{{{{\bf{m}}}}}}}})}^{2}+\frac{1}{2}{({\nabla }^{2}{{{{{{{\bf{m}}}}}}}})}^{2}]\,{{{{{{{\rm{d}}}}}}}}\rho\) is the exchange interaction part of Eq. (2). Terms in FR that are independent of E0 depend only on R.

We numerically integrate the collective coordinates up to a dimensionless time of 1000 with an adaptive time step size. In obtaining the phase diagram in Fig. 3a, we took values in 0 ≤ E0 ≤ 1.5 and 0 ≤ ω ≤ 4 using meshes with step sizes of 0.05 and 0.02, respectively. To obtain the number of helicity rotations per electric field cycle, we integrated the changes of the helicity angles and averaged them over all periods for 500 ≤ t ≤ 1000, neglecting the initial transient dynamics. Numerically, we classified a counterclockwise (clockwise) rotation as the average helicity rotation being greater than 0.9 2π (less than − 0.9 2π). To perform the many numerical time integrations of R(t) and η(t) efficiently, we use the multiprocessing Python package and the Radau IIA integrator supplied by SciPy99. As initial conditions, we used the values of R and η that minimize the total energy Eq. (2) at t = 0.

To avoid the computationally intensive evaluation of the integrals over the radial coordinate at each time integration step in GRη, ΓRR, Γηη, FR, and Fη, we employed fit functions of the corresponding integrals in the range 0 ≤ R ≤ 10. We verified that the error due to fitting the integrals was negligible. In particular, we found good agreement for cases where R 50.

We have confirmed that an externally applied magnetic field with Bz = 2 leads to qualitatively the same results shown in Fig. 3a: with two lobes determining counterclockwise and clockwise helicity rotations and the resonance frequency being shifted to ω = 2, as expected.