Introduction

Magnetic skyrmions are topological defects originally proposed as being responsible for the suppression of long-range order in the two-dimensional (2D) Heisenberg model1,2 at finite temperature. The earliest observations of magnetic skyrmions were reported in bulk crystals3 of noncentrosymmetric ferromagnetic materials at cryogenic temperatures. Recently, a new class of thin film materials has emerged, which support skyrmions at room temperature4,5,6,7,8. These results have paved the way towards spintronics applications and call for a quantitative and microscopic characterization of the novel spin textures. However, magnetic imaging of sputtered thin films at room temperature in the presence of variable external magnetic fields represents a serious experimental challenge for established techniques8.

We address this challenge using a magnetic sensor based on a single nitrogen-vacancy (NV) centre in diamond9. We record the projection on the NV axis of the magnetic field produced by the magnetization pattern in the film. This information is sufficient for reconstructing all three components of the magnetic field without the need for vector magnetometry10. However, obtaining the underlying spin structure is an under-constrained problem11. System-dependent assumptions, e.g. regarding the spatial dependence of a certain spin component12, may artificially restrict the manifold of solutions compatible with experimental results.

We introduce a method to study such a manifold and show that we can classify all solutions by their helicity. We make use of an energetic argument to require continuity of the structure and discard unphysical solutions. We discover a surprising type of structure that disagrees with previous reports of Dzyaloshinskii–Moriya interaction (DMI)13,14 in similar materials15,16,17,18.

Results

Domain evolution in external magnetic field

An overview of our scanning magnetometry set-up is shown in Fig. 1a–c (see also Supplementary Note 1 and Supplementary Fig. 1). The sample of interest is deposited on a quartz tip and scanned underneath a stationary diamond pillar, which contains a single NV centre about 30 nm below the surface. An image of a typical diamond pillar of approximately 200 nm diameter is shown in Fig. 1a. The sample consists of a sputtered [Pt (3 nm)/Co (1.1 nm)/Ta (4 nm)] × 10 stack with a seed layer of Ta (3 nm)6. We pattern 2-μm diameter discs of this film on the flat surface of a cleaved quartz tip, pictured in Fig. 1c (see Supplementary Fig. 1). All measurements are performed in ambient conditions with a variable bias magnetic field delivered by a permanent magnet and aligned along the NV axis.

Fig. 1
figure 1

Experimental set-up. a Electron microscopy image of a typical diamond nanopillar containing a single NV centre approximately 30 nm deep. Rows of such pillars, ~ 1.5 μm tall, are located inside the gaps of a coplanar waveguide (CPW), which is evaporated on the surface of the diamond (see also b). The CPW is used to deliver the microwave excitations necessary to control the NV spin state. The inset shows schematically the geometry of an NV centre in a diamond lattice, pictured in greater detail in Fig. 2d. Scale bar is 1 μm. b Sketch of the measurement configuration. A quartz tip with patterned magnetic discs is brought into contact with the diamond nanopillar. The quartz tip and the diamond are mounted on separate stacks of piezo-based positioners and scanners, enabling sub-nanometre movement along all the three xyz axes. c False-coloured electron microscopic image of a representative quartz tip, where 10 repetitions of a sputtered Pt(3 nm)/Co(1.1 nm)/Ta(4 nm) stack (red) are defined via electron beam lithography and subsequent lift-off as described in Supplementary Note 1. Scale bar is 10 μm. d, e NV photoluminescence recorded at 6.5 mT (d) and 7.5 mT (e) external bias field. The optical excitation power is ~ 100 μW. Higher counts are observed above the magnetic disc due to reflection from the metallic surface. Within the disc boundary, areas with lower counts correspond to large stray magnetic fields perpendicular to the NV axis. Scale bar is 1 μm. f Sketch of the Bloch-like spin configuration of a 1D magnetic spiral. Here the local moments of the spiral rotate within a plane that forms an angle γ = ±π/2 with respect to the propagation vector k of the magnetic structure (see text). g Structure analogous to f for a Néel-like cycloid configuration. Here γ = 0 (π) for spins rotating in the anticlockwise (clockwise) direction in the zx-plane

In order to identify magnetic features in the patterned discs, we employ a qualitative measurement scheme based on the rate of NV photoluminescence. In the presence of stray magnetic fields perpendicular to the NV axis, fewer red photons are emitted by the NV centre under continuous green excitation19. Two photoluminescence scans across the sample at different values of the bias magnetic field are shown in Fig. 1d, e. At 6.5 mT of external magnetic field, we observe a stripe-like modulation of the NV photoluminescence (see Fig. 1d). This pattern is reminiscent of the labyrinth domain arrangement of the local magnetization expected in these materials6,20. When the bias field is increased by 1 mT, the labyrinth domains collapse, forming a bubble-like feature shown in Fig. 1e. Our aim in the present paper is to determine the form and nature (see Fig. 1f–g) of the associated spin texture in this high-field regime.

Vector magnetometry using a single spin sensor

To extract quantitative information, we use the NV magnetometer to measure 2D spatial maps of the stray field component B|| parallel to the NV quantization axis (see Fig. 2a). The measurement plane ρ = (x, y) is parallel to the magnetic film with the NV sensor at a distance d ~ 30 nm from this surface. Since no free or displacement currents are present at the NV site, all information about the stray field B is contained in the magnetostatic potential ϕM, defined as B = −ϕM. It follows that the three spatial components of B are linearly dependent in Fourier space, and all components of B at a distance ≥d from the film can be obtained numerically from the map at d using upward propagation11. These properties of magnetic fields allow us to reconstruct 2D maps for Bz(ρ, d) and Bx(ρ, d) (see Fig. 2b, c) from the 2D scan of B||(ρ, d). In these measurements, the bias field Bext is aligned with the quantization axis of the NV, which forms an angle θNV ≈ 54.7° with the axis z normal to the magnetic film surface (see Fig. 2d). We independently confirm the component reconstruction procedure by comparing the reconstructed stray field magnitude perpendicular to the NV axis (B,r in Fig. 2e) to the one extracted from the experiment (see Fig. 2f and Supplementary Note 2 and Supplementary Fig. 2). The good agreement demonstrates our ability to perform vector magnetometry with only one NV orientation.

Fig. 2
figure 2

Reconstruction of the magnetic stray field components. a 2D map of the stray field projection B|| on the NV axis (see also d). The measurement was performed at a bias field of B||,ext = 9.5 mT applied along the [111] diamond axis. b, c Reconstructed components of the stray field along the z and x-directions, respectively. The z-direction is perpendicular to the magnetic disc. d Sketch of the coordination geometry of a nitrogen-vacancy defect in diamond, illustrating the direction parallel to the quantization axis (||) relative to the Cartesian reference frame of the set-up (x, z). Carbon, nitrogen and vacancy sites are labelled C, N and V, respectively. The z axis is orthogonal to the diamond surface. e, f Reconstructed (e) and measured (f) magnitude of the stray field perpendicular to the NV centre [111] direction. The measured map is extracted from the spin level mixing of the NV (see Supplementary Note 2). The reconstructed plot is obtained using the procedure outlined in Supplementary Note 2. For all panels, the scale bar is 500 nm

Gauge-dependent reconstruction of magnetization

Because the components of B(ρ, d) are not independent, they do not contain sufficient information for extracting the underlying spin structure. We will need additional criteria to narrow down the range of possible solutions. We examine the out-of-plane field Bz(ρ, d), a component that fully preserves all the rotational symmetries of the out-of-plane magnetization. Starting with one magnetic layer and assuming that the local sample magnetization vector m(ρ, z) = (mx,y, mz) is the same throughout the layer thickness t, we show (see Supplementary Note 2 and ref. 21) that Bz(ρ, d) has the following dependence on local magnetization:

$$B_z({\mathbf{\rho }},d) = - \frac{{{\mu }_0M_{\mathrm{s}}}}{2}\left( {\alpha _z(d,t) \ast \nabla ^2m_z({\mathbf{\rho }}) + \alpha _{x,y}(d,t) \ast \nabla \cdot {\mathbf{m}}_{x,y}({\mathbf{\rho }})} \right),$$
(1)

where * denotes convolution in the x, y-plane, Ms is the maximum value of the saturation magnetization in the disc and we allow \({\mathrm{0}} \le \left\| {\bf{m}} \right\| \le 1\) to accommodate spatial dependence of the saturation magnetization of the film. Extension to multilayers is discussed in Supplementary Note 2. The radially symmetric functions αz(d, t) and αx,y(d, t) are point spread functions, which account for the NV-to-film distance.

Since derivatives commute with convolutions, Eq. (1) is equivalent to Gauss’s equation of the form Bz = − · F, where Bz can be viewed as an effective local charge density and F as an effective electric field. The local magnetization components mx,y and mz play the role of an effective vector and scalar potential, respectively. In analogy to standard electromagnetism22, potentials can be uniquely determined by fixing a gauge (see also Supplementary Note 3). Each gauge leads to a different spin helicity20 γ for the magnetic structure m. For a simple helical structure, γ is the angle between the plane of rotation of the local moments and the propagation vector23. For example, spirals have helicity γ = ±π/2 and are referred to as Bloch configurations in the context of domain walls12 (see also Fig. 1f). The associated condition k · m = 0 for this case can be also expressed as  · mx,y = 0, resembling the Coulomb gauge in electromagnetism22. The opposite case is a spin cycloid (see Fig. 1g) with helicity γ = 0 (π) representing a Néel-like arrangement of spins12. In this case  × mx,y = 0. We show how to solve Eq. (1) for m in both Bloch and Néel gauges in Supplementary Notes 35. This gauge approach allows us, for the first time, to systematically identify the complete set of spin structures compatible with local magnetometry data.

For both gauges, we use a numerical variational approach to find a spin structure whose stray field matches the measured field map. The measured field map is shown in Fig. 3a, while a simulated field map from a reconstructed spin structure is plotted in Fig. 3b. We plot cuts through the experimental map and the computed map along x and y axes in Fig. 3c. A 2D plot of the spin structure for the Néel (Bloch) gauge is shown in Fig. 3d (Fig. 3e). In our analysis, we take into account local variations in the saturation magnetization by scaling the magnetization vector m to the mz value obtained in the saturated regime (see Fig. 3f, Supplementary Note 6 and Supplementary Figs. 3 and 4). The two structures in Fig. 3d, e are particular examples chosen from an infinite number of solutions to Eq. (1). These solutions are stable with respect to variation in NV depth, as we demonstrate in Supplementary Note 6 and Supplementary Fig. 5, thus accounting for the inherent uncertainty of NV implantation depth estimation.

Fig. 3
figure 3

Extracting the local magnetic structure of the skyrmion. a z-component of the stray field from measured data at a bias field of B||,ext = 9.5 mT applied along the [111] diamond axis. Since a single component of B contains all relevant information, Bz is chosen for comparison with simulations due to its particularly symmetric coupling to mz (see text). b Simulated map of Bz in both the Bloch and the Néel gauge. c Cuts along the x = x0 and y = y0 lines shown in b (solid lines) and comparison with experimental data in a (markers). d Magnetic structure obtained in the Néel gauge (see Supplementary Note 3). It preserves normalization of the local magnetization and produces a stray magnetic field that matches the experimental results. The colour map shows the mz component. White arrows are proportional to the in-plane magnetization. The deviations of the skyrmion profile from a round shape are most likely related to disc edge effects. e Plot similar to the one in d, obtained by choosing the Bloch gauge. The local magnetization at the centre of the skyrmion in this case is mostly in-plane. f Comparison between the reconstructed Msmz local magnetization component in the Bloch gauge at two different bias fields (9.5 and 11.8 mT). The mz profile at saturation (11.8 mT) is used to normalize the local moments for the magnetic structure simulations shown in d, e (see Supplementary Note 6). From this measurement, we obtain Msmz 3.6 · 105 A/m at the disc centre (where mz = 1), which agrees with an independently measured value of Msmz = 3.8 · 105 A/m. For all panels, the scale bar is 500 nm, except c where it is 400 nm

A systematic study of the solution manifold requires a way to continuously tune γ from the Bloch to the Néel case. To vary the helicity, we start by locally rotating the Bloch solution about the z axis by an angle λ(ϕN − ϕB), where ϕN (ϕB) is the local azimuthal angle of the magnetic structure for the Néel (Bloch) configuration. We then perform a rotation about an axis perpendicular to the resulting local moments so as to preserve its in-plane orientation and at the same time match the measured stray field (see Supplementary Note 7). The parameter 0 ≤ λ ≤ 1 enables us to move continuously through the manifold. We obtain an ensemble of quantitative, model-independent mz(ρ, λ) profiles for various values of λ as shown in Fig. 4a.

Fig. 4
figure 4

Topology of the reconstructed magnetic structure. a Continuous tuning of the magnetic structure from the Bloch to the Néel gauge as a function of the parameter λ (see text for details). The mz profiles reported here are cuts along the y = y0 line shown in Fig. 3b. The filled shaded region represents the spatial variation of the normalized saturation magnetization, namely the mz profile given by the filled red markers in Fig. 3f. b Absolute value of the topological number defined in Eq. (2), for each of the spin configurations shown in a. The number Q can be visualized as the number of times the vector field wraps around a unit surface. Therefore, the inset shows the stereographic projection of the vector field on a sphere. The image illustrates that only Néel-like configurations have integer Q. c Map of the Bz component of the stray field (upper sheet) and reconstructed mz magnetization (lower sheet) for a skyrmion nucleated at the centre of the magnetic disc. The black dashed lines represent the disc boundary. The scan was measured with a bias field parallel to the NV axis of B||,ext = 10.1 mT. d Comparison of the reconstructed mz skyrmion profile (markers) with a domain wall model for the skyrmion (solid lines). The profiles are cuts through the x = x1 and y = y1 directions shown in Fig. 4c. Spatial variation of the saturation magnetization is taken into account and the skyrmion profile is observed to be round. The scale bar is 200 nm in a, d, and 300 nm in c.

Topology of the solutions

In order to select the best candidate texture, we study the topology of the 2D vector field m(ρ, λ). For any 2D normalized vector field n(ρ), the topological number Q is defined as:

$$Q = \frac{1}{{4\pi }}{\int} {\kern 1pt} {\mathrm{d}}x{\mathrm{d}}y{\kern 1pt} {\bf{n}} \cdot \left( {\frac{{\partial {\bf{n}}}}{{\partial x}} \times \frac{{\partial {\bf{n}}}}{{\partial y}}} \right).$$
(2)

Whenever n || z at the boundary, any continuous solution n(ρ) must have an integer Q value24. Non-integer values of Q occur in the case of a discontinuity, which is energetically costly and unstable24. Meanwhile, skyrmions are stable against local perturbations because of the large energetic cost preventing the skyrmion (Q = 1) from folding back into the ferromagnetic state (Q = 0). We therefore introduce continuity as a criterion for selecting physically allowed solutions. In Fig. 4b, we plot the absolute value of Q(λ) for each of the normalized vector fields n(ρ, λ), with n being the unit vector in the direction of m. The number Q can be visualized as the number of times the spin configuration n wraps around the unit sphere25. To illustrate the value of Q, in the inset of Fig. 4b we plot the solid angle spanned by n while moving in the (x, y) plane. We obtain a value for Q approaching −1 as λ → 1. We therefore identify Néel or nearly-Néel solutions as the only ones compatible with the measured data.

To make a quantitative comparison of our reconstructed mz profile in the λ = 1 case with analytical expressions, we nucleate another skyrmion in the centre of the disc at a bias field of 10.1 mT along the NV axis (see Bz in Fig. 4c). The location of this skyrmion minimizes possible spurious effects caused by the disc edges and allows us to independently test our reconstruction procedure. When comparing line cuts through the mz profile at the skyrmion centre with existing models proposed in the literature (see Fig. 4d), we observe an out-of-plane magnetization varying in space as \(m_z(\tilde \rho ) = \mathrm{tanh}\left( {\frac{{\tilde \rho - \rho _0}}{{w{\mathrm{/}}2}}} \right)\), with ρ0 and w being the skyrmion radius and domain wall width and with \(\tilde \rho\) being the distance from the skyrmion centre26. Our mz shape are in agreement with the recent first high spatial resolution skyrmion images by X-ray magnetic circular dichroism microscopy and spin-resolved scanning tunnelling microscopy at low temperature8,26. The NV-to-film distance d ~ 30 nm is too large to extract the domain wall width w, but it is sufficient to determine the skyrmion radius ρ0 210 nm for the cross sections along the (x1, y1) directions shown in Fig. 4d at B||,ext = 10.1 mT.

Contrary to expectations, our analysis consistently identifies right-handed (γ = π) Néel-like skyrmions as the only continuous solutions with fixed helicity if we require that the structure does not vary through the sample thickness. Néel skyrmions are expected from theory when surface inversion symmetry leads to a Rashba-type DMI27 and the latter dominates over magnetostatic contributions6. However, the expected chirality is left-handed (γ = 0), based on recent X-ray magnetic circular dichroism microscopic measurements of single Pt/Co layers in zero field8, indirect transport measurements in Pt/Co multilayers through skyrmion movement6 and studies of domain walls in Pt/Co15,16,17,18, reporting γ = 0. In contrast with previous data, our skyrmions are not left-handed.

Variable-gauge solution

Helicity is dictated by the nature of the energy terms resulting from the breaking of the spatial inversion symmetry along the z axis. In the absence of DMI, Bloch (γ = ±π/2) configurations are expected28. The presence of a chiral DMI term produces γ = 0 configurations8. For thick multilayer dots, even with no DMI the magnetic layers in the vicinity of the top (bottom) surface will experience a breaking of the z → −z inversion symmetry, favouring Néel spin textures with right-handed (left-handed) chirality28. Such twisted structures (also known as Néel caps) reduce the stray field and accordingly the demagnetization energy cost. Néel caps would not be visible with techniques averaging over the sample thickness, such as Lorentz transmission electron microscopy28,29. Our technique is most sensitive to the topmost layers, thus our observation of a right-handed skyrmion is the first to indicate the presence of a Néel cap.

In order to test the energetic stability of skyrmions with changing helicity through the sample thickness, we ran micromagnetic simulations of ten representative proximal magnetic layers, for simplicity with spatially uniform microscopic energy terms (see Fig. 5, details in Supplementary Note 8 and Supplementary Fig. 6). In the limiting case of no DMI (Di → 0), the top and bottom layers have opposite Néel chiralities, while the intermediate layers are Bloch-like (see Fig. 5a). For small values of the DMI term Di (see Fig. 5b), right-handed skyrmions are stabilized within the top layers. In order to attempt a comparison of the structure in Fig. 5a with the measured data, we look for a solution with an effective gauge varying through the sample thickness, which is Néel-like for the top and bottom three layers and Bloch- or Coulomb-like for the central part of the multilayer (see Supplementary Note 9 for the details of this procedure). By numerically minimizing the difference between measured and computed field (as done in Supplementary Notes 3 and 4), we obtain the local mz profile represented by the blue line in Fig. 5c. We compare this solution with the skyrmion solution previously obtained in Fig. 4d (solid red line). The proposed z-dependent solution still satisfies Q → −1, but its mz profile is less sharp. We believe that this shape is due to the variation in skyrmion radius across the multilayer thickness, as suggested by simulations (see e.g. Fig. 5a). The presence of Néel caps and small DMI thus reconciles our data with recent reports of left-handed structures in multilayers and provides evidence in favour of a previously unobserved phenomenon in these films.

Fig. 5
figure 5

Néel caps in magnetic multilayers hosting topological spin structures. a Sketch of the magnetic texture obtained via a micromagnetic numerical simulation. The closure domains (i.e. Néel caps28) at the top and bottom of the multilayer reduce the demagnetization energy cost with respect to the purely Bloch case. In the simulation Ms = 106 A/m, A = 10 pJ/m, magnetic anisotropy field is 0.2 T and Di = 0 (see Supplementary Note 8). The number of layers and separation is representative of the measured sample. The non-uniformity of Ms and layer thicknesses is not taken into account for this simulation, which may lead to an underestimation of dipolar effects. b Local helicity for each one of the ten magnetic layers as the DMI value is varied. The DMI is expressed in mJ/m2. Skyrmions with γ → π(γ → 0) are present at the top (bottom) of the stack. c Cut through of the reconstructed mz profiles from topologically protected textures that produce a stray field matching the experimental data in Fig. 4c. The red curve corresponds the effective gauge fixed at γ = π for each layer; the blue curve corresponds to a value of γ = π(γ = 0) for the top (bottom) three layers and γ = π/2 for the four layers in the middle. This red curve approximates the Di → 0 case depicted in a. The filled shaded region represents the spatial variation of the saturation magnetization. The NV depth was again fixed at 30 nm. The scale bar is 500 nm

Discussion

Our work is the first example of full vector magnetometry and spin reconstruction performed with a single NV centre. The present method can be applied to any structure with fixed helicity. It also provides an answer to the long-standing magnetometry problem of reconstructing the full set of spin textures from a measured stray field using a general formalism readily applicable to all local magnetometry techniques. The crucial advantage of our technique is its locality and enhanced sensitivity to the topmost magnetic layers. Here we applied these methods to Néel caps in magnetic skyrmions hosted in sputtered Pt (3 nm)/Co (1.1 nm)/Ta (4 nm) stacks. In contrast with previous work, we rule out purely left-handed Néel solutions in magnetic multilayers. We show that our results are consistent with a previously unobserved twisted structure with vertically evolving chirality and helicity, which is expected from micromagnetic simulations. Our results and methods will be broadly relevant to nanoscale magnetometry and studies of chiral spin textures for room-temperature spintronics applications6,20,30,31, for example a recently suggested magnetic bobber structure that can coexist with skyrmion tubes32,33, as well as imaging of current distributions34,35 in itinerant magnets and magnetic structures in low-dimensional materials36. During the review process of this manuscript, we learned of related measurements performed by Legrand and colleagues37, which have independently confirmed our conclusions regarding the existence of twisted skyrmionic structures in magnetic multilayers.

Methods

Sample fabrication

Magnetic discs are patterned on the flat surface of a cleaved quartz tip, pictured in Fig. 1c, by electron beam lithography (see Supplementary Note 1 and Supplementary Fig. 1). The quartz tip is then mounted on a piezo-electric tuning fork. Monitoring the resonance frequency of the fork allows us to maintain a constant force between the sample and the pillar9. We choose the quartz tip diameter to be ~ 50 μm, which allows us to selectively approach an individual NV pillar chosen from a grid of pillars spaced by 50 μm and fabricated on a 2 × 4 mm diamond wafer. We deposit a coplanar waveguide (CPW) on the surface of the diamond, aligned in such a way that rows of pillars reside in gaps. The CPW is used for driving NV centre spin transitions.

Measurement protocol

Optical addressing of the NV centre is done through the 50 μm thick diamond. The green laser power used for optical excitation of the NV centre is ~ 100 μW, reduced well below optical saturation in order to avoid heating the sample. A bias magnetic field is delivered by a permanent magnet mounted on a mechanical stage. The magnetic field is aligned parallel to the NV axis, following a procedure based on the NV photoluminescence21. This allows us to measure the evolution of magnetic features as function of applied external field, with the field pointing along the NV axis. The nominal value of Ms for the Pt/Co/Ta multilayer film is independently measured using a reference sample placed in the sputtering chamber together with the quartz tip during the deposition process and is found to be Msmz = 3.8 · 105 A/m (see Supplementary Note 6).

Data availability

The data that support the findings of this study are available from the corresponding author upon reasonable request.