Introduction

Future spintronic device architectures could implement topologically stable spin textures, such as skyrmions1,2 to improve the speed and efficiency of magnetic memory devices3,4,5,6. These topologically non-trivial magnetic textures have been typically observed7,8,9,10,11,12 in systems exhibiting the Dzyaloshinskii-Moriya (DMI) spin-spin interaction13,14 — an antisymmetric exchange interaction between neighbouring magnetic moments, which favours non-collinear magnetic structures. The DMI arises from the spin-orbit coupling between the electron spins and the crystal lattice and is allowed for systems with broken spatial inversion symmetry. The DMI can induce a non-collinear spin texture, which in turn can develop into a skyrmion configuration. Bulk DMI can be found in non-centrosymmetric bulk crystals (e.g., MnSi7, \(\hbox {Cu}_{{2}}\hbox {OSeO}_{{3}}\)15). Another type of DMI is present in thin film systems16, where the interaction is interfacial17. Single crystal B20 structures can host skyrmions that are typically only stable in a small range of magnetic fields and below room temperature7,8,18,19.

Skyrmion lattices have also been observed above and at room temperature in the absence of a magnetic field in single crystals such as Co-Zn-Mn10,20 and Fe-Ni-Pd-P21 alloys.

For skyrmion hosting systems to be used for technological applications, they should satisfy a few key criteria22. Firstly, they should host stable skyrmions at room temperature, ideally without the need for an external magnetic field to be applied. The skyrmions must also exhibit stability over such timescales to prevent data loss.

The search for candidate materials suitable for such applications has revealed that the presence of topologically non-trivial magnetic configuration also occurs in materials with no DMI. Recent studies have led to the discovery of topological magnetic textures in centrosymmetric non-collinear magnets such as MnNiGa23, Fe/Gd24, or \(\hbox {Fe}_{{3}}\hbox {Sn}_{{2}}\)25. So-called skyrmion bubbles (SkBs) can be stabilised in these systems, provided that a sizable uniaxial magnetic anisotropy exists in the system that competes with the magnetic dipole interaction26. SkBs are topologically equivalent to skyrmions, however, contrary to skyrmions, SkBs can occur in systems that lack DMI. In such systems, only Bloch-type SkBs can form since their Néel-type counterpart requires DMI to be stabilised27.

To ensure consistency with the existing literature and for the sake of clarity, a few definitions are presented. When referring to non-collinear magnetic configuration, we indicate the following: (1) skyrmions are topological magnetic objects (see Fig. 1a) with a well-defined topological winding number and unique chirality that can arise in the presence of the DMI interaction. (2) SkBs are topological magnetic objects that are stabilized in the absence of the DMI interaction to satisfy the competition between dipolar interactions, magnetic anisotropy and Zeeman energy terms (see Fig. 1b). (3) magnetic bubbles are isolated, cylindrical regions of uniform magnetisation with trivial topology.

A material that has lately attracted significant attention for its complex magnetic phase diagram and non-trivial topological properties is \({\hbox {NdMn}_2\hbox {Ge}_2}\)28,29,30. \({\hbox {NdMn}_2\hbox {Ge}_2}\) crystallizes in a tetragonal centrosymmetric structure (space group I4/\({\text{mmm}}\)). The structure can be described as composed of layers of alternating stacks of Nd, Mn, and Ge atomic layers along the c-axis. The Mn ions in \(\hbox {NdMn}_{{2}}\hbox {Ge}_{{2}}\) host magnetic moments that order antiferromagnetically in the a,b-plane for temperatures below \(T_N\sim 480~\)K30. Upon further reduction of the temperature below \(T_{c}\sim 340~\)K, the moments cant towards the c-axis and, hence, develop a small ferromagnetic (FM) component along this direction (see Ref.31) in addition to the antiferromagnetic ordering present. This magnetic phase is stable down to \(T\sim 240~\)K, when a complex magnetic ordering pattern occurs, including a conical ordering at the Mn sublattice28,31.

Non-collinear magnetic structures arise from the sample’s magnetic anisotropy and can result in exotic behaviours such as a non-zero Hall voltage. Indeed, recently a large topological Hall effect (ToHE) was observed in \(\hbox {NdMn}_{{2}}\hbox {Ge}_{{2}}\)28,30. The ToHE is typically associated with the existence of the real-space topologically non-trivial spin textures that generate an emergent magnetic field and the associated extra Hall voltage. Through the use of Lorentz transmission electron microscopy (LTEM)28,29, it was shown that \(\hbox {NdMn}_{{2}}\hbox {Ge}_{{2}}\) can host skyrmion-like magnetic structures at room temperature. These observations, including an unexpectedly large Hall resistivity \(\rho _{H}\sim -2.05~\mu \Omega\) cm28, have attracted significant interest.

Despite this strong evidence for topologically non-trivial spin-textures in \(\hbox {NdMn}_{{2}}\hbox {Ge}_{{2}}\), the mechanism for their stabilization is still unclear. One possible explanation is the formation of a Berry phase. DMI and spatial inversion asymmetry are more likely to give a large topological Hall effect, however, it is not necessary, as the presence of a non-collinear spin structure will result in a Berry phase, which will contribute to a topological Hall signal32.

To gain more insight into the complex magnetic configuration in \(\hbox {NdMn}_{{2}}\hbox {Ge}_{{2}}\) and the mechanisms stabilizing topologically non-trivial spin-textures, we used several techniques. Using scanning transmission X-ray microscopy (STXM), we verified that a skyrmion bubble lattice (SkBL) exists at room temperature without an applied magnetic field and remains stable up to a higher transition temperature. Tests with an increasing out-of-plane magnetic field showed that the SkBL remains unchanged with tens of mT applied, and can partially recover if the field’s direction is reversed before magnetic saturation. Micromagnetic simulations, without a DMI term, matched the STXM experiments. Nitrogen-vacancy imaging provided quantitative information on the stray fields generated by the SkBL. Overall, our results confirm the stability of the SkBL in \(\hbox {NdMn}_{{2}}\hbox {Ge}_{{2}}\) at room temperature without a magnetic field and their robustness against environmental changes. This suggests \(\hbox {NdMn}_{{2}}\hbox {Ge}_{{2}}\) as an interesting candidate for possible spintronic applications.

Fig. 1
figure 1

Comparison of the magnetisation configuration for (a), a Bloch skyrmion and (b), a Skyrmion bubble as obtained from micromagnetic simulations. The colourmap refers to the magnetisation component \(m_z\) along the out-of-plane direction.

Results and discussion

Here, we aim to correlate our observations of the magnetic configuration using scanning transmission X-ray microscopy (STXM), with precise micromagnetic simulations. This allows us to rule out any previously undetected symmetry breaking and observe if the skyrmion core polarity switch would occur. STXM also allowed us to check the material’s suitability for 3D X-ray magnetic tomography by testing the strength of the X-ray magnetic circular dichroism (XMCD) at the Mn L edges.

For this, we first verified and maximised the XMCD signal for the terraced lamella (see Fig. S1b) using STXM (as described in the methods section) in the saturated state at room temperature. Next, we applied the field-cooling procedure “FP1” as described in the Methods section, to initialize the \({\hbox {NdMn}_2\hbox {Ge}_2}\) sample in the SkB phase.

After applying FP1, we observed a regular skyrmion bubble lattice (SkBL), as shown in Fig. 2a, which remained stable after the removal of the applied magnetic field. Our measurements thereby confirm the creation of a metastable SkBL, as previously seen by Hou et al.29, in a single-crystal lamella of \({\hbox {NdMn}_2\hbox {Ge}_2}\).

After identifying the conditions required to generate the metastable SkBL at room temperature and zero field, we tested the stability of the SkBL against increasing temperature. For this, we heated the sample in zero-field, from room temperature towards \(T_c\) in 1 K increments, taking an image at each step. Selected images from this temperature series are shown in Fig. 2 and show that the SkBL phase Fig. 2a–c, persists up to \(T=327~\)K, after which it transforms into a helical state Fig. 2d,e. This state was stable up to the \(T_c\), at which no magnetic contrast was observed (Fig. 2f), as the sample transitioned into the AFM phase. Throughout the temperature range probed here (300-327 K), the SkBL is seen to be size and shape invariant, demonstrating its robustness against temperature through a technologically relevant temperature window. This set of measurements was of particular interest, as it allowed for the observation of topological melting from the SkBL configuration to an antiferromagnetic (AFM) state. In the AFM state, the magnetic moments align antiparallel to one another and lie within the layers of the Mn sublattice, giving null XMCD contrast.

Fig. 2
figure 2

XMCD images acquired by STXM of the magnetic configuration’s temperature dependence from 300 K to the \(T_c\) at 330 K. The field of view of the images is \(2\times 2~\upmu \hbox {m}^{2}\) and they show the magnetic contrast observed with a single photon polarisation (circular right). (a) The skyrmion bubble lattice (SkBL) at 300 K after being initialised via the field cool. (b) At 326 K the SkBL is unchanged in shape and size. (c) The magnetic contrast starts to decrease at 327 K, but the SkBL is still stable. (d) At 328 K the SkBL has transitioned into a mixed helical state. (e) The helical phase still exists at 329 K, but the magnetic contrast is almost not visible. (f) The magnetic contrast shows that the sample is in its AFM regime at 330 K.

Fig. 3
figure 3

(ae) The experimental XMCD field sweep data, where the field was swept in two directions. 50 mT FC, 0 mT image, − 140 mT \(\rightarrow\) 140 mT in 10 mT increments (fj) Simulations of the system without DMI, are similar to the experimental observations and show that the topological charge is mostly conserved throughout the field sweep. Shown here is the z-component of the magnetisation. The field of view for each XMCD and simulation image is 3 \(\times\) 3 \(\upmu \text {m}^{2}\).

Next, we explored the stability of the \(\hbox {NdMn}_{{2}}\hbox {Ge}_{{2}}\) SkBL against magnetic field variations. Earlier studies have demonstrated skyrmion core polarity reversal under magnetic field sweeps, in systems that exhibit either bulk DMI33 or interfacial DMI34, while no reversal has been observed in a system with dipolar SkBLs35. In this latter work, it was proposed to use the observed magnetic field-induced collapsing dynamics and its associated skyrmion polarity change as potential fingerprints for identifying the type of skyrmions in magnetic multilayers. Therefore, core-polarity reversal could be taken as a good indicator of the presence or absence of DMI.

For this assessment, we first re-initialized the SkBL with the same magnetic field protocol FP1 and observed the evolution of the magnetic texture as a function of the magnetic field. The magnetic field was decreased in steps of 10 mT until a value of \(-200~\)mT, and images of the magnetic configurations were taken for each magnetic field value (see Fig. S2 in the Supplementary Information).

In a range of small negative magnetic fields (from \(-10~\)mT to \(-90~\)mT), metastable skyrmionic objects demonstrate coherent expansion of their cores, which is expected since the magnetic field was applied parallel to the magnetisation direction of the SkB core36. The expansion of the cores is homogeneous and results in a saturated state for the highest value of the magnetic field used. From these observations, we conclude that the skyrmion core reversal does not happen in \({\hbox {Nd}_2\hbox {Mn}_2\hbox {Ge}}\).

To test if the expansion of the skyrmion cores could be reversed and the starting SkBL could be recovered we devised a variation of the field protocol described above. After re-initializing the SkBL with FP1, the magnetic field was reduced from 50 mT until \(-140~\)mT, where SkBs were still observable (Fig. 3b). To avoid full saturation of the lamella and, thereby, the destruction of the SkB phase, the direction of the field sweep direction was reversed, and the field magnitude was reduced from \(-140~\)mT towards 0 mT. During this sequence the inflated skyrmion bubbles shrink (Fig. 3c), and subsequently elongate (Fig. 3d). After the field crosses zero and becomes positive, these elongated SkBs become thinner, eventually break apart, and again form an arrangement of SkB’s that we imaged at 140 mT (Fig. 3e). Compared to the SkBL initialised by our field cooling sequence (Fig. 3a), the SkBL resulting from this extended magnetic field history shows the same SkB polarity, but a significantly increased SkB spacing.

This demonstrates that in \(\hbox {NdMn}_{{2}}\hbox {Ge}_{{2}}\), the deformation induced by the field sweep allows for the conservation of the topological charge to some extent, as previously seen in CoZnMn33,37.

To gather a more quantitative understanding of the mechanism driving the formation of a SkBL, we conducted micromagnetic simulations with field protocols and material parameters similar to the experiment and previous simulations 29 (see Table 1). In our simulations, we initialised the system in a random magnetic configuration in the presence of an out-of-plane magnetic field of 75 mT, in which the system was allowed to relax. This field value was chosen to best reproduce the experimental results but differs slightly from the field value of 50 mT employed in our experiment.

Subsequent to the in-field relaxation, the magnetic field was set to zero in the simulation and the system was allowed to relax again. The resulting magnetic state is shown in Fig. 3f and shows overall agreement with the experimental results, except for slightly enlarged SkB core sizes. From this simulation, to confirm the topological nature of the resulting SkBL, we extracted the winding number (Q) using the following equation38 and the x- and y-components of the reduced magnetisation (\(\varvec{m}\)) for the magnetic state of the simulation.

$$\begin{aligned} Q= \frac{1}{4\pi } \int \varvec{m} \cdot \left( \frac{\partial \varvec{m}}{\partial x} \times \frac{\partial \varvec{m}}{\partial y} \right) \textrm{d}x \textrm{d}y \end{aligned}$$
(1)

Use of Eq. (1) summing up all the magnetic configurations displayed in Fig. 3f (field cooled state) and Fig. 3j (final high field state) gives non-integer numbers for the total topological charge (\(\hbox {Q}_T\) \(=-35.3\) and \(\hbox {Q}_T\) \(= -25.5\), respectively), which is the result of using Eq. (1) and the discrete mesh used in the simulation39. The calculation was then repeated for volumes enclosing individual bubbles in Fig. 3j and we obtained an average value Q \(= -0.98\) for all bubbles in this state, except for the bubble in the centre of the simulation, which has Q \(= -1.94\). This is due to the collapsing of the elongated bubble state, which has Q \(> 1\) before the collapse. When the applied magnetic field increases above 135 mT, this bubble has Q \(\approx 1\), before the magnetic state becomes fully FM. This discrepancy in the calculated Q values is consistent with the one observed when calculating the topological skyrmion charge obtained by simulations on similar magnetic systems39. Taking note of these discrepancies we rounded our values for the total topological charge to the nearest integers, \(\hbox {Q}_T=-35\) and \(\hbox {Q}_T = -25\), respectively.

Based on the similarity between the objects in the simulations and experiment, we conclude, in agreement with early reports28,29, that the objects observed in the experiments are indeed SkBs.

Next, we use our simulations to identify the source of the SkB elongation seen in our magnetic field sweeps (Fig. 3c,d). For this, we first apply the field cooling procedure to initialise the system in a metastable SkBL at 0 mT (analogous to the FP1 protocol used during the experiments). Next, we let the SkB expand by decreasing the magnetic field from 0 to \(-115~\)mT in 5 mT steps, where the system was again allowed to relax at each step (Fig. 3g–j). This lower bound for the applied field was chosen to avoid full magnetic saturation of the system (and therefore the disappearance of the SkBs). Upon reaching \(-115~\)mT the field magnitude was increased to \(+150~\)mT, again in 5 mT steps, while letting the system relax at each point. An elongated skyrmion-like tube state was reached at 25 mT (not shown), after which the tubes started to shrink and break up into SkBs at 100 mT (Fig. 3i). At 135 mT we observe a SkBL that showed an increased lattice spacing compared to the initial state, exactly as observed in our experiment. Further increase of the field leads to a gradual disappearance of the SkBs and ultimately full saturation at 150 mT. Overall, we find good qualitative agreement between simulation and experiment regarding the behaviour of the SkBs.

Table 1 The parameters and physical constants values used for the simulations.
Fig. 4
figure 4

(a) Stray field map measured using NV magnetometry on a \({\hbox {NdMn}_2\hbox {Ge}_2}\) disk lamella, at a lift height of 300 nm. These stray field maps directly reflect the ferromagnetic moment of the canted antiferromagnetic sublattice. (b) A stray field map calculated from the disk lamella simulation at a lift height of 300 nm. (c) The black line profile shows the strength of the stray field for three skyrmion bubbles from the NV stray field map. A line profile for three skyrmion bubbles from simulations is plotted in red. Also plotted is the line profile (blue) calculated (using Eq. 2) from the simulation stray field data when accounting for dead layers of material and a different NV height.

To further underline the agreement between experiment and simulation and gain insights into \(\hbox {NdMn}_2\hbox {Ge}_2\)’s SkBL state, we used scanning NV magnetometry imaging to obtain a quantitative map of the magnetic stray field in close proximity to the sample.

Measurements were performed on a circular, \(4~\mu\)m diameter \(\hbox {NdMn}_2\hbox {Ge}_2\) lamella of 190 nm thickness, that was FIB-cut from the same crystal as the lamella studied thus far [The \(\hbox {NdMn}_2\hbox {Ge}_2\) lamella used for the X-ray experiments was inadvertently damaged during preliminary NV measuremnts. The stray field values obtained from this sample are comparable with the one obtained from the disk shape sample reported in the present manuscript.]. We initialised the SkBL as previously (FP1) and imaged the resulting SkBL under ambient conditions in a small bias field of 8.3 mT, to allow for quantitative NV magnetometry40. A representative result of our NV measurements is shown in Fig. 4a, and shows a stray-field image of a highly regular, triangular \(\hbox {NdMn}_2\hbox {Ge}_2\) SkBL, with a \(\sim 490~\)nm SkB spacing, largely consistent with our previous STXM findings (Fig. 2a).

This image directly yields a quantitative estimate of the stray magnetic field strength at the scan-height \(h_{NV}\approx 300~\)nm of the NV sensor. To benchmark this quantitative measurement against our model, we conducted a second set of simulations, using the same material parameters as earlier (see Tab. 1), but initialized the system with a Bloch skyrmion lattice that we subsequently relaxed. With this initialisation, it was possible to obtain a SkBL configuration closely resembling the NV experimental results (see Fig. 4b). The stray field was then computed up to a distance of 500 nm away from the sample surface and projected onto the known direction of the NV spin quantization axis (\(55^{\circ }\pm 4^{\circ }\) from the sample normal, azimuthal angle \(30^{\circ }\pm 4^{\circ }\)) to reproduce the anticipated NV magnetometry image from the simulations. Figure 4b shows an example of such a simulated stray field map, evaluated at \(h_{NV}=300~\)nm. Our comparison shows that the measured field strength is \(\sim 7\times\) weaker than the one predicted from our simulations, as seen in the linecuts in Fig. 4c.

This difference in stray field magnitude may result from several factors, which we discuss in the following:

First, given that the stray field strength scales directly with the magnetisation strength \(M_{sat}\), the observed discrepancy could be explained by the choice of the value of \(M_{sat}\) in our simulations. There, we initially set \(M_{sat}\) to the full sublattice magnetisation of \(\hbox {NdMn}_2\hbox {Ge}_2\), in accordance with past works29. However, previous studies28,31 indicate that for 240 K\(<T<340~\)K, a canting of the sublattice magnetisation occurs as the out-of-plane ferromagnetic state transitions to an in-plane antiferromagnetic state. At \(T=285~\)K, a canting angle of \(58^\circ\) is reported31, which would reduce the ferromagnetic moment of \(\hbox {NdMn}_2\hbox {Ge}_2\) by a factor of two over the value we chose for \(T=300~\)K, where our experiments were conducted.

Second, due to manufacturing by FIB there is a surface layer where the material’s crystalline structure is damaged. The thickness of these “dead-layers” is on the order of a few tens of nanometers on each side of the lamellae41 and would further reduce the stray field strength from the expected value. Based on standard theory for field propagation away from thin magnetic films42, these factors can be used to estimate the resulting reduction in stray field magnitude through the “thickness loss factor”.

$$\begin{aligned} B \propto \exp \left( -\frac{2\pi d_\text {top}}{p_\text {skyr}}\right) - \exp \left( -\frac{ 2 \pi d_{\text {bot}}}{p_\text {skyr}}\right) , \end{aligned}$$
(2)

with \(d_\text {top} = h_{NV} + t_d\) and \(d_{\text {bot}} = h_{NV} - t_d + t\), where t, \(t_d\) are the thicknesses of the magnetically ordered part of the \(\hbox {NdMn}_2\hbox {Ge}_2\) lamella and dead layer, respectively, and \(p_\text {skyr}\) is the periodicity of the SkBL.

Considering all these factors, the observed discrepancy in stray field strength could be explained by a realistic set of parameters, such as a canting angle of \(68^\circ\), \(h_{NV}=340~\)nm and \(t_d=35~\)nm see blue dashed curve in Fig. 4c. While it is beyond the scope of the current manuscript to disentangle the different possible contributions, the quantification of the reduced stray field values may provide valuable information in future studies on the canting angle or non-magnetic dead layers.

Conclusion

In summary, we have scrutinised the nature of skyrmionic objects in \(\hbox {NdMn}_{{2}}\hbox {Ge}_{{2}}\) using micromagnetic simulations, scanning transmission X-ray microscopy imaging and nitrogen-vacancy magnetometry. As already reported, with an appropriate field cooling protocol, the system is capable of hosting a metastable SkBL at room temperature, in zero magnetic field. This SkBL is robust to changes in temperature from room temperature up until the sample’s \(T_c\). We further demonstrate that, upon the application of an external magnetic field it is not possible to reverse the SkBs’ core polarity. Interestingly when the field is taken from 50 mT to \(-200~\)mT and then ramped to 200 mT, the SkBL deforms into FM domains and then restores into a SkBL with a reduced number of SkBs. All of our observations could be reproduced by micromagnetic simulations incorporating exchange interaction as well as magnetic anisotropy. The simulations revealed that including an extra DMI term makes it possible to reverse the SkBL polarity. This suggests that the inability to reverse the skyrmion’s core polarity is due to the absence of DMI in \(\hbox {NdMn}_{{2}}\hbox {Ge}_{{2}}\). Finally, our NV magnetometry measurements provide a quantitative assessment of the magnetic stray field of the sample at a height of 300 nm above the sample surface, suggesting that the micromagnetic simulations overestimated it by a factor of 7. This can be accounted for by considering the dead layers arising from the sample preparation, a slightly higher NV lift height, and the canting of the sublattice magnetisation.

Methods

Sample growth

Single crystals of \(\hbox {NdMn}_{{2}}\hbox {Ge}_{{2}}\) were synthesized using the Sn-flux method. A mixture of elements with an atomic ratio of Nd:Mn:Ge:Sn=1:2:2:10 was sealed in an evacuated quartz tube and heated to \(1000~^\circ\)C over 20 h (heating rate \(50~^\circ\)C/h) and held at that temperature for 10 h. The furnace was then cooled to \(500~^\circ\)C over 100 h (cooling rate \(5~^\circ\)C/h). After this, the sample was quenched to room temperature, and any remaining flux was decanted using a centrifuge.

Lamella preparation by FIB

We performed the preparation of the lamellae using a gallium Focused Ion Beam (FIB) Scanning Electron Microscope (SEM), a Thermo Scientific Helios 5 UX DualBeam, equipped with a MultiChem gas injection system and an EasyLift micromanipulator needle with a motorized rotation axis. The procedure employed is described in Ref.43. A single crystal was oriented, embedded, and polished so that the extracted lamella was (001)-oriented. 30 kV Ga ions were used to shape and thin down the lamellae on the manipulator needle. Before reaching the target thickness the ion energy was dropped to 5 kV to ensure high crystallinity of the samples. The thickness of the lamella was determined by FIB imaging top-down as well as the electron energy required for seeing transparency in SEM imaging. The terraced lamella has three \(4\times 6~\mu\)m sized windows with a thickness of 189 nm \(\pm 10~\)nm, for the first, and 216 nm \(\pm 10~\)nm for the second and third window (see electron microscopy image in the inset to Fig. S1b). To shape a disk, the lamella is thinned to target thickness all over and rotated such that the FIB incidence is practically normal to the lamella plane. A small bridge to the disk is left. Finally, the lamella or disk is mounted onto a 200  nm thick SiNx (silicon-rich nitride) membrane, which acts as an X-ray transparent sample carrier. This membrane additionally contained electrical leads for sample heating, consisting of suitably shaped, 60 nm thick Pt stripes (see inset of Fig. S1b), fabricated using electron beam lithography. After the lamella or disk is in the required position it is fixed by depositing carbon using a 5 kV Ga ion beam. To release the lamella or disk from the manipulator, a trench is milled through the lamella rather than through the manipulator needle to avoid re-deposition of tungsten on the lamella.

Skyrmion bubble lattice stabilization protocol

Before each measurement in the experiments (STXM and NV magnetometry), the magnetic state of the lamella was reset to a skyrmion bubble lattice. To achieve this the following field cooling procedure (identified as FP1) was used. First, the lamella was heated above \(\hbox {T}_{{c}}\) via the application of a mA current through the Pt heater strips on the membrane at a rate of \(1.6~ \Omega \hbox {K}^{-1}\). This current was provided and controlled by a Keithley 2400 source meter and was calibrated using another heater chip. A small magnetic field of 50 mT was applied out-of-plane (perpendicular to the sample’s surface) while the sample was still being heated. This arrangement was maintained for one minute, after which the current was gradually decreased and then turned off. The sample was allowed to cool for an additional 30 seconds to reach room temperature. Finally, the magnetic field was removed and the sample was imaged.

Scanning transmission X-ray microscopy

Scanning transmission X-ray microscopy (STXM) was used to obtain images of the sample’s magnetic configuration leveraging the X-ray Magnetic Circular Dichroism (XMCD), present at the Mn \(\hbox {L}_{{3}}\) edge (641 eV). The STXM measurements were performed at the PolLux beamline of the Swiss Light Source (SLS)44 in a 2D setup configuration. The X-ray beam was focused using a Fresnel zone plate with an outermost zone width of 25 nm and whose first diffraction order was selected with an order sorting aperture. A typical STXM image is composed of \(100\times 100~\)pixels with an acquisition time of 30 ms per pixel. A computer-controlled motorised setup with a permanent magnet was used to modulate the strength of the applied out-of-plane magnetic field. The electrical leads on the SiNx membrane allowed for in-situ heating of the sample above \(T_c\) via the application of currents in the mA range.

Nitrogen-vacancy imaging

NV magnetometry was used to obtain quantitative stray field maps in an imaging plane close to the sample surface. NV magnetometry utilizes the electronic spin of NV centres in diamond as highly sensitive, local magnetic field sensors, capable of detecting magnetic fields with nanoscale spatial resolution40. In this, the NV spin is sensitive to magnetic fields projected along its spin quantisation axis, which in the implementation used here45 is tilted from the sample normal by an angle of \(55^{\circ }\pm 4^{\circ }\). This value coincides with the expected axis orientation from the (001)-diamond cut. Its magnitude and the value of the inplane orientation of \(30^{\circ }\pm 4^{\circ }\) have been determined from a precise magnetic field alignment and additional fitting of stray fields from reference samples.

The standoff distance in AFM contact has been determined to 50±5 nm based on stray field measurements on reference samples, while all piezo calibrations were performed using laser-interferometry and commercially available height calibration samples. The total resulting lift height is estimated to be 300 nm. This value is larger than the initially targeted 260 nm lift, but appears very plausible due to possible tip contamination and thermal drifts that result in larger distances and smaller stray field strength, given the large discrepancy in the expected and measured stray fields.

Micromagnetic simulations

Several micromagnetics simulations were conducted using the software MuMax346. Two of the simulations had a world size of \(3072\times 3072\times 200~\hbox {nm}^{3}\), representing the area of the sample that was measured with STXM. The other simulation had a world size of \(1980\times 2220\times 200~\hbox {nm}^{3}\) which represents the area measured with NV magnetometry. All simulations had cell size of \(3\times 3\times 5~\hbox {nm}^{3}\), with lateral dimensions well below the exchange length \(l_{ex}=\sqrt{A_{ex}/M_s^2}\), where \(A_{ex}\) is the exchange constant and \(M_s\) the saturation magnetisation. We used periodic boundary conditions (PBC) set to (2,2,0), representing two repetitions of the demagnetisation field in the x- and y-axis. This ensured that any interactions caused through the demagnetising field from the material surrounding the measured window were captured. The parameters used in the simulations are shown in Table 1, where the values for \(\hbox {A}_{\text {ex}}\), \(\hbox {M}_{\text {sat}}\) and \(\hbox {K}_{\text {u1}}\) (the uniaxial magnetic anisotropy constant) are taken from Ref.29.