WorksPhysics and Astronomy
Electrical addressing of compensated magnetic order in artificial spin ice
Abstract
Compensated magnetic systems, such as antiferromagnets, hold immense potential for spintronic devices thanks to vanishing stray fields, robustness to perturbations, and ultrafast dynamics. Yet, electrical writing and reading of their order remains a major challenge. Here we use artificial spin ice as a mesoscale platform in which compensated order can be engineered, directly imaged, and electrically controlled. Specifically, we demonstrate combined electrical writing and reading of a compensated state in a triangular artificial spin ice. Exploiting the orientation dependence of the spin-orbit torque switching current, we independently switch three nanomagnet sublattices through a single current channel, with the planar Hall effect providing sublattice-resolved readout. This grants access to all eight magnetization states of the triangular plaquette, including its fully compensated state, yielding a nonlinear, history-dependent electrical response. Our results establish an approach to electrically programmable compensated magnetic systems and provide an important foundation for reconfigurable magnetic devices and unconventional computing.
Main Nilsson Paper SOT triangular lattice v18 Nature Comms
Electrical addressing of compensated magnetic order in artificial spin ice
Stéphane Nilsson¹,²*, Lauren J. Riddiford¹,²*, Emily Darwin³,⁴, Hans J. Hug³,⁴, Aleš Hrabec¹,², Laura J. Heyderman¹,²
¹Department of Materials, Laboratory for Mesoscopic Systems, ETH Zurich, 8093 Zurich, Switzerland
²PSI Center for Neutron and Muon Sciences, 5232 Villigen PSI, Switzerland
³Swiss Federal Laboratories for Materials Science and Technology (Empa), 8600 Dübendorf, Switzerland
⁴Department of Physics, University of Basel, 4001 Basel, Switzerland
E-mail: [email protected], [email protected]
Introduction
Compensated magnetic systems, such as antiferromagnets, offer an attractive platform for next-generation spintronic technologies. Unlike ferromagnets, which generate dipolar stray fields that can mediate cross-talk between neighboring devices and limit integration density, compensated systems have a vanishing net magnetization. This suppresses stray-field interactions and provides robustness against external magnetic field perturbations, while giving intrinsically fast spin dynamics that offer prospects for ultrafast information processing in the terahertz regime.
Despite these advantages, exploiting compensated magnetic order in functional devices remains challenging owing to the difficulty of electrical writing and readout of compensated magnetic states[1, 2]. In general, deterministic control requires a mechanism that couples selectively to the staggered order parameter rather than to the net magnetization[3]. For example, electrical writing using spin–orbit torques (SOT) has been demonstrated in antiferromagnetic [3] and [4], where the crystal symmetries enable staggered spin–orbit torques, and also in antiferromagnetic [5] using a conventional damping-like torque. However, systematic investigation of the switching mechanisms is hindered by the fact that the switching is limited to nanoscopic domains that do not retain their state due to the strong magnetoelastic coupling[6, 7].
Similarly, the absence of a net magnetic moment makes compensated states difficult to distinguish using conventional magnetometry[8]. Although specific non-collinear geometries[9] or altermagnetic systems[10] can yield measurable Hall signals, electrical readout of antiferromagnetic order remains a major open challenge.
Artificial spin ices (ASIs) provide a versatile mesoscale platform for engineering and manipulating magnetic order through lithographically defined arrays of interacting nanomagnets[11, 12, 13]. Previous approaches to controlling ASI configurations have exploited geometry engineering[14, 15], global or local magnetic fields[16, 17, 18, 19, 20], and thermal relaxation achieved through global heating[21, 22, 23] or localized laser illumination[24, 25, 26]. A complementary range of techniques has been developed to probe these states, including directly imaging the magnetic states using magnetic force microscopy[27] and x-ray photoemission electron microscopy[15], and electrical approaches based on ferromagnetic resonance[28, 29, 30], magnetoresistance[31], and magnetic tunnel junctions[32]. However, simultaneous electrical writing and readout of the complete magnetic state space of a compensated ASI has not yet been realized.
In this work, we demonstrate the combined electrical writing and readout of all of the magnetic states in a triangular ASI, which comprises three coupled sublattices of single-domain nanomagnets (Figure 1). The magnetization in each nanomagnet can be considered to be a macrospin pointing in one of two directions along the nanomagnet long axis, and the collective orientations of the macrospins give rise to a discrete set of magnetic configurations, including states with compensated magnetic order. By injecting current pulses of selected amplitude through an underlying heavy-metal layer, we achieve field-free, selective spin–orbit torque switching of the individual nanomagnet sublattices. This provides full access to all eight magnetization states of the triangular plaquettes, enabling the controlled writing and electrical readout of fully compensated magnetic configurations with zero net magnetization. The magnetic configurations are independently confirmed with spatial imaging, allowing the electrical readout to be directly correlated with the underlying magnetic order.
Figure 1. Electrical detection and control of the magnetic states in an array of nanomagnets. (a) Schematic of the device, illustrating the orientation of the nanomagnet long axis , and the orientation of the probing magnetic field with respect to the direction of the current , which is along . Nanomagnets oriented at , , and are shown in blue, pink, and green, respectively. (b) Colorized scanning electron microscope (SEM) image of one of the fabricated devices with a triangular ASI, with the gold electrodes colored in yellow, the nanomagnets colored according to their respective orientation and the Hall cross with a dark grey contrast. (c) SEM image of the nanomagnets arranged in a triangular lattice, with each nanomagnet orientation for a single triangular plaquette highlighted in a different color. (d) Planar Hall resistance as a function of applied magnetic field for the nanomagnet magnetization initially oriented along () for the blue (red) curve in the top (bottom) subplot. The probing field amplitude, highlighted by the dashed lines, is set to mT for each measurement. The corresponding signal amplitude is indicated by the dashed arrow. (e) as a function of applied magnetic field and (f) as a function of applied current for various probing field angles , for nanomagnets oriented at .
Furthermore, by tuning the angle of the probing magnetic field during planar Hall readout, contributions from individual or multiple sublattices can be selectively detected. This tunable readout produces a rich, history-dependent, and nonlinear electrical response and, combined with tailored current pulses that reconfigure the magnetic state, provides two key functions required for reconfigurable ASI and physical reservoir computing architectures[31, 33, 34, 35].
Results
Electrical writing and detection of magnetization switching
The device layout used in this work is schematically illustrated in Figure 1a, with scanning electron microscopy (SEM) images of a fabricated device and of the triangular ASI shown in Figure 1b and Figure 1c, respectively. The arrays of nanomagnets, made of CoFeB (2.3 nm) / MgO (1.2 nm) / Ta (2 nm), with lateral dimensions of 350 nm × 100 nm and a lattice parameter nm corresponding to the side length of the triangles, were patterned on top of Ta (6 nm) / W (2.2 nm) Hall bars. The angles and inputs used throughout this work are illustrated in Figure 1a and defined as follows: denotes the orientation of the nanomagnet long axis, the orientation of the probing magnetic field , and the current density applied for SOT-induced magnetization switching and readout, with all angles measured with respect to the -axis. The nanomagnet arrays have dimensions of approximately 4 μm × 4 μm and are positioned at the center of the channel (Figure 1b) in a region of uniform current, which is verified with finite-element simulations (Supplementary Note 1).
The SOT-induced magnetization switching events are electrically detected using differential planar Hall effect measurements[36, 37]. The planar Hall resistance as a function of an applied magnetic field, measured at , is shown in Figure 1d for nanomagnets at with their magnetization initially oriented along () for the blue (red) curve. The signal reaches a minimum at mT ( mT), corresponding to the threshold magnetic field beyond which magnetization reversal occurs. We therefore set the probing field amplitude to mT for every measurement, which is the largest field that can be applied before magnetic field-induced magnetization switching takes place. In the regime between , the Hall resistance is linear with the applied magnetic field and, crucially, the slopes are of opposite sign for the two different initial magnetization directions of the nanomagnet. To exploit the difference in sign between the two states, we define the differential planar Hall resistance as:
which gives and for the two opposite initial magnetization states of the nanomagnet, as indicated in Figure 1d. Thus, by recording as a function of current pulse amplitude, magnetization switching events can be identified.
The evolution of as a function of applied magnetic field, measured at various magnetic field angles , is presented in Figure 1e for nanomagnets oriented at (see Supplementary Figure S2 and Figure S2 for and , respectively). The is largest at and decreases as is increased, reaching zero when the magnetic field is aligned parallel to the long axis at . Furthermore, undergoes a sign reversal upon passing through , with in Figure 1e exhibiting positive peaks for and negative peaks for on sweeping the magnetic field. As a direct consequence, the versus current loops shown in Figure 1f display opposite polarities for and . This angular dependence of the planar Hall response is well reproduced by micromagnetic simulations, as shown in Supplementary Note 2.

Figure S2. Experimental and simulated planar Hall resistance signal. Planar Hall resistance as a function of applied magnetic field, measured at various probing field angles . Each column corresponds to a different nanomagnet orientation: (a) ; (b) ; (c) . Upper panels are the experimental measurements; lower panels are the corresponding micromagnetic simulation results.
Now that we have shown how to measure the direction of the magnetization in the nanomagnets at different magnetic field angles with respect to the current, we implement the following two-step sequence: (i) a 10 ns write current pulse is first applied through the current channel to drive SOT-induced magnetization switching of the nanomagnets, then (ii) to detect SOT-induced switching, is extracted by measuring under a 200 A read current applied for 200 ms at mT. By repeating this sequence for increasing write current pulse amplitudes, hysteresis loops of as a function of applied current amplitudes are obtained, as shown in Figure 1f.
These hysteresis loops provide clear evidence of SOT-induced magnetization reversal in single-orientation nanomagnet arrays, examples of which are shown in the SEM images of Figure 2a and Figure 2b. In agreement with the results shown in Figure 1e, the signal amplitude shown in Figure 1f varies with the probing magnetic field orientation and the loop polarity reverses sign upon crossing .

Figure 2. Dependence of the critical switching current and signal amplitude on nanomagnet orientation. (a), (b) Colorized SEM images of arrays of single-orientation nanomagnets with their long axis oriented at (a) and (b) . (c) versus current loops for nanomagnet arrays oriented at , , and , with applied at , , and , respectively. The shaded regions indicate the extent of the switching current distribution for each orientation. (d) Critical switching current as a function of nanomagnet orientation , with the error bars indicating the range over which magnetization switching occurs and the shaded regions highlighting the range of the magnetization switching for the nanomagnets oriented at , , and . (e) as a function of the probing magnetic field angle for arrays of nanomagnets with three different orientations. The colors in all panels are for data corresponding to the nanomagnets oriented at (blue), (pink), and (green).
The mean critical switching current and the switching current distribution have been extracted from SOT-induced switching loops for arrays of nanomagnets with a single orientation for several different . Example versus current loops are shown for nanomagnet orientations of , , and in Figure 2c, with the shaded areas indicating the switching current distribution among individual nanomagnets. The evolution of the critical switching current as a function of nanomagnet orientation is presented in Figure 2d, with the error bars representing the switching current distribution and the shaded areas highlighting the distribution for the three nanomagnet orientations in the triangular lattice, namely , , and . Two regimes can be identified: (i) in the range , the critical switching current exhibits a strong dependence on , more than doubling from 22 mA to 50 mA when decreasing the angle from down to ; (ii) in the range , the critical switching current shows only a weak dependence on orientation, remaining relatively constant across this regime. These two regimes reflect a fundamental change in the switching mechanism[38]: for nanomagnets almost perpendicular with respect to the current channel (, Type Y switching), magnetization reversal is driven by precessional motion, which is an efficient switching pathway requiring relatively low current densities. When the nanomagnet long axis approaches alignment with the current (, Type X switching), the magnetization reversal occurs without precession and the spin-orbit torques need to directly overcome the energy barrier associated with the nanomagnet shape anisotropy, resulting in the sharp increase of the critical switching current observed experimentally. The measured angular dependence is reproduced by macrospin simulations (see Supplementary Note 3) and is consistent with predominantly damping-like spin-orbit torques as presented in Supplementary Fig. 4. Furthermore, the Oersted field at the maximum switching current remains below the nanomagnet coercive field, indicating that it is not responsible for the magnetization switching (Supplementary Fig. 1b).
Selective current-induced switching of sublattices
The strategy to achieve selective switching of individual nanomagnet sublattices in the triangular lattice using a single current channel relies on the strong dependence of the critical switching current on established above. For this, the triangular lattice is oriented such that , , and for the three sublattices, which are colored in blue, pink, and green respectively in Figure 1a. This ensures that there is no overlap of critical switching currents between the sublattices, as highlighted by the shaded regions in Figure 2c and Figure 2d, enabling sequential and independent SOT-induced switching of each sublattice employing a single current channel.
To build toward the triangular lattice, we first consider arrays of nanomagnets with two distinct sublattices. SEM images of these nanomagnet arrays, comprising the three different combinations of nanomagnet pairs, are presented in Supplementary Note 4. For each nanomagnet array, versus current loops were recorded at various , and the results for one combination of nanomagnet pairs are presented in Figure 3. At (top plot), the versus current loop exhibits contributions from both sublattices, i.e. the nanomagnets at (shown in blue) and those at (shown in green). Four distinct jumps in are observed, each corresponding to the switching of one sublattice, as indicated by the numbered labels ① to ④ and illustrated schematically. Because of the well-defined separation in critical switching currents between the sublattices, the reversal of each sublattice can be unambiguously identified. Similarly, the switching events of each sublattice can also be resolved in the nanomagnet arrays with and , and and (see Supplementary Figure 6).

Figure 3. Tunable electrical readout of SOT-induced switching in an array of nanomagnets with two nanomagnet sublattices. as a function of applied current pulse amplitude, measured at various , with the nanomagnets oriented at and . The switching events of the nanomagnets oriented at and are highlighted in blue and green, respectively. The resulting magnetization state is schematically illustrated before and after each switching event, with the black and white arrows on the nanomagnets indicating the magnetization pointing towards and , respectively. The black arrows next to the curves indicate the current sweep direction.

Supplementary Figure 6. Tunable electrical readout of SOT-induced switching in arrays of nanomagnets with two nanomagnet sublattices. (a)–(c) as a function of applied current pulse amplitude, measured at various , with the nanomagnets oriented at (a) and , (b) and , and (c) and . The switching events of the nanomagnets oriented at , , and are highlighted in blue, pink, and green, respectively. The magnetization state of each two-orientation configuration is schematically illustrated in the initial state and after each switching event. The black and white arrows on the nanomagnets indicate the nanomagnet magnetization pointing towards and , respectively, highlighting the magnetization switching events. The small black arrows next to the curves indicate the current sweep direction.
Each of the two sublattices can also be individually resolved. At , shown in the middle plot of Figure 3, only two jumps in are observed, corresponding to the switching of the sublattice. Although the sublattice also undergoes magnetization reversal, its contribution vanishes at this , as established in Figure 2e, and the switching events in this sublattice are not detected. Conversely, at (bottom plot), the sublattice exhibits a vanishing contribution, and only the switching events of the sublattice are detected.
The results for nanomagnet arrays with two sublattices demonstrate three key points. First, the dependence of on observed for single-orientation nanomagnet arrays is preserved in two-orientation nanomagnet arrays, confirming that each sublattice contributes independently to the measured signal. Second, with appropriate selection of , the switching events of either one or both sublattices can be selectively detected. Third, the non-overlapping critical switching current ranges of the two sublattices ensure that their individual switching events can always be unambiguously distinguished. As will be shown in the following section, these properties extend to the triangular lattice comprising all three nanomagnet sublattices.
Electrical writing and readout of a compensated state
Building on the results obtained for the two-sublattice arrays of nanomagnets, we now apply the same approach to the triangular ASI and demonstrate access to all magnetization states, labeled ① to ⑧ in Figure 4b and Figure 4c. In the top plot of Figure 4a (), the write-pulse amplitude is swept from −46 mA to 46 mA; this major loop runs through six of the eight states: ① → ② → ③ → ④ as the , and sublattices are successively reversed by positive pulses, and ④ → ⑤ → ⑥ → ① as they are reversed back in the same order by negative pulses. States ⑦ and ⑧ are reached with minor loops in which the sublattice is not reversed: in the middle plot of Figure 4a (), state ⑦ can be achieved by a write-pulse sweep from −46 mA to 36 mA, running through states ① → ② → ③ with positive current pulses, and through states ③ → ⑦ → ① with negative current pulses. State ⑧ is similarly obtained with a minor-loop current sweep from 46 mA to −36 mA. The complete current pulse protocols required to access all eight magnetization states are illustrated in Figure 4b and Figure 4c. The major and minor loops thus differ only in their maximum pulse amplitude ( in both cases), but yield markedly different responses, as at a given current pulse amplitude depends on the preceding pulse sequence, leading to the history dependence of the signal. At (bottom plot of Figure 4a), all three switching events are again resolved, but with a clearly different response from , further demonstrating that the electrical readout of the triangular ASI can be tuned by the orientation of the probing magnetic field, leading to a rich, non-linear electrical response. The full orientation-dependent versus current plots for the triangular lattice are presented in Supplementary Note 5.

Figure 4. Electrical writing and reading of uncompensated and compensated states in the triangular ASI with three sublattices. (a) as a function of applied current pulse amplitude, measured at various probing field angles for the triangular ASI. The switching events of the nanomagnets oriented at , , and are highlighted in blue, pink, and green, respectively. (b)-(c) Current pulse protocols demonstrating sequential access to all eight magnetization states of the triangular plaquette. The magnetization state of the triangular plaquette is schematically illustrated after each switching event. The net magnetization is indicated by the arrow in the middle of each triangular plaquette, with the two opposite flux-closure states indicated with clockwise and anticlockwise arrows. (d) Magnetic force microscopy images of the array of nanomagnets following distinct current pulse protocols, depicting state ④ on the left and state ⑤ on the right; encircled regions highlight local nanomagnet orientations. (e) Scanning electron microscope image of the triangular ASI in state ⑤, with red and blue shaded triangular plaquettes indicating the opposing flux-closed magnetic configurations
Magnetic force microscopy (MFM) frequency shift images of the triangular ASI following different current pulse protocols are shown in Figure 4d. The MFM image on the left corresponds to the magnetic state of the nanomagnet array after the application of a large positive current pulse so that all three sublattices have been switched simultaneously, driving the system into a ferromagnetic-like state with the net magnetization oriented along , corresponding to state ④. The magnetic configuration ⑤ is displayed in the righthand image, which was obtained by applying a large positive current pulse followed by a small negative current pulse as presented in Figure 4c. This protocol drives the system into the magnetic ground state of the triangular ASI, which is characterized by alternating flux-closed loops of spins in the triangular plaquettes (Figure 4e). Here a small number of nanomagnets oriented at were unintentionally reversed as a result of a slightly excessive pulse amplitude. Notably, this transition from an uncompensated to a fully magnetically compensated state is achieved entirely through current pulse protocols, without the need for a staggered conjugate field. Despite the vanishing net moment, the planar Hall measurement still yields a clear, non-vanishing signal for this compensated magnetic configuration, whose amplitude can be further tuned by varying (Figure 4a). This constitutes a direct electrical readout of a magnetically compensated state, a capability that remains one of the central open challenges in antiferromagnetic spintronics, where the absence of net magnetization typically renders conventional magnetoresistive readout ineffective.
Discussion
In summary, we have demonstrated full electrical writing and readout of individual sublattices in a triangular ASI, utilizing spin–orbit torques for manipulation and the planar Hall effect for detection. By orienting the lattice geometry to give non-overlapping critical switching current windows, all eight magnetization states of the triangular plaquettes, including the fully compensated magnetic state, can be selectively addressed and read through a single current channel.
Importantly, the fully compensated state produces a finite planar Hall response despite its zero net magnetization, reminiscent of recent observations of Hall responses in compensated altermagnetic systems[10]. Our artificial spin ice therefore provides a versatile mesoscale platform for studying the electrical response of engineered compensated magnetic order and its dependence on the magnetic configuration.
While the flux-closure configuration of the compensated state is suggestive of toroidal ordering, the structural symmetry of our triangular lattice prevents it from possessing a net toroidal moment[39], which fundamentally requires the simultaneous breaking of spatial inversion and time-reversal symmetries. Instead, a route to access toroidal order lies in the approach implemented in Ref. [20]. Specifically, if we replace each nanomagnet in the triangular unit cell with a pair of side-by-side nanomagnets, this would allow antiferrotoroidal order to be established through the same current-pulse protocol, with the two nanomagnets in each pair having the same magnetization direction. While controlling toroidal order typically necessitates conjugate, combined magnetic and electric fields[40], with our approach SOT-driven sublattice switching would provide a streamlined, purely electrical route to address such states.
Furthermore, the combination of multiple accessible spin states, nonlinear switching dynamics, and history-dependent resistance response fulfills the key prerequisites for physical reservoir computing. This methodology readily extends to other ASI geometries, such as kagome[41] or pinwheel lattices[18], where tuning nanomagnet interactions, orientation, and magnetic frustration can further enrich the accessible state space for advanced neuromorphic computing and reconfigurable magnonics.
Methods
Device fabrication
The devices were fabricated by first depositing Ta (6 nm) / W (2.2 nm) / CoFeB (2.3 nm) / MgO (1.2 nm) / Ta (2 nm) onto a Si substrate coated with an insulating layer using DC magnetron sputtering for the metallic layers and RF magnetron sputtering for the MgO layer. The deposition was carried out at a base pressure of mbar and a deposition Ar pressure of mbar. Stadium-shaped nanomagnets with lateral dimensions of nm nm were subsequently patterned by electron-beam lithography combined with Ar ion etching, with the etch stopping at the top of the W layer. For this, we employed a 15 nm-thick Al hard mask that defines the nanomagnets during the Ar ion etching. The hard mask was created by first exposing the pattern in an 80 nm-thick layer of poly(methyl methacrylate) (PMMA) followed by development in methyl isobutyl ketone and isopropanol (MIBK:IPA) 1:3 developer for 45 s. A 15 nm-thick Al layer was subsequently deposited with thermal evaporation at a base pressure of mbar. This was followed by lift-off in acetone. The Hall cross structures, comprising a current channel of μm width and Hall probe arms of μm width, were patterned in the Ta (6 nm) / W (2.2 nm) conducting bilayer with photolithography and Ar ion etching. For this, a 1 μm-thick S1813 positive tone photoresist was used as the hard mask. Finally, Cr (3 nm) / Au (100 nm) electrodes were defined by photolithography and deposited by thermal evaporation. The distance between the electrodes is 12 μm and 14 μm for the current channel and voltage arm electrodes, respectively.
Measurements
All transport measurements were performed with the sample mounted on a rotating platform placed between the poles of an electromagnet, which could supply magnetic fields up to 800 mT. We delivered 10 ns square write current pulses using an AVTECH pulse generator and measured the Hall resistance using a Keithley 2182A nanovoltmeter with an integration time of 10 power line cycles (=200 ms) to obtain a time-averaged reading. A Keithley 6221 DC current source supplied the 200 μA read current, and a bias-tee prevented leakage of the current from the DC source into the pulse generator.
To measure the Hall resistance as a function of applied magnetic field, , we first set the magnetic field to the desired value and waited 250 ms for the field to stabilize. We then applied a 200 μA read current and recorded the voltage across the Hall bar arms, from which we computed
To measure , we first applied a 10 ns write current pulse, after which we measured the Hall resistance at mT and mT, denoted and , respectively. We then computed the differential Hall resistance as .
Magnetic force microscopy
Magnetic force microscopy (MFM) measurements were performed in a custom high-vacuum setup operating at a pressure of approximately mbar. Working under vacuum increases the mechanical quality factor of the cantilever to values as high as , providing substantially higher sensitivity than MFM measurements carried out in air. This increased sensitivity also makes it possible to use a very thin magnetic coating on the MFM probe, thereby reducing the influence of the tip on the magnetic state of the nanomagnets[42].
An initially uncoated SS-ISC silicon cantilever from Team Nanotech GmbH was used. The cantilever was 450 m long and 35 m wide, with a nominal tip radius below 5 nm. Its resonance frequency was experimentally determined to be 18.26 kHz. From the measured resonance frequency and the cantilever dimensions, a spring constant of 0.2 N/m was obtained[43]. To provide magnetic sensitivity, the cantilever was then coated by sputter deposition. A 2 nm-thick Ta layer was first deposited as a seed layer, followed by a 7 nm-thick Co magnetic layer.
During the measurements, the cantilever was driven at resonance using a phase-locked loop system from Zurich Instruments, while its oscillation amplitude was maintained at 10 nm. Magnetic interactions between the tip and the sample alter the force gradient experienced by the cantilever, resulting in shifts of its resonance frequency. These frequency shifts were recorded as the MFM signal. The measurements were conducted in non-contact mode, with capacitive feedback used to regulate the tip-sample separation[44]. The scan time per line was set to be 2 s.
Acknowledgements. The authors acknowledge financial support from the Swiss National Science Foundation (Grant No. 200020_200332). L.J.R. acknowledges funding from the ETH Zurich Postdoctoral Fellowship Program 22-2 FEL-006. E.D. and H.J.H. were supported through the SNF Lead Agency project 200021E_211828. The authors thank the cleanroom staff at the Laboratory for Nano and Quantum Technologies at the Paul Scherrer Institute for technical support. The authors also thank Manfred Fiebig and Nora Taufertshöfer for helpful discussions.
Conflicts of Interest. The authors declare no conflicts of interest.
Data availability. The data that support the findings of this article are openly available at [45].
Authors contributions. S.N., L.J.R., A.H. and L.J.H. conceived the work. S.N. fabricated the samples, performed the transport measurements with support from L.J.R., and carried out the simulations; S.N. analysed the data with help from L.J.R. and A.H; E.D. performed the MFM measurements with support from H.J.H; S.N., L.J.R., A.H. and L.J.H. worked on the manuscript together. All authors discussed the results and commented on the manuscript.
Supplementary_Information - Electrical_addressing_of_compensated_magnetic_order_in_artificial_spin_ice
Finite element method simulations {#sec:Supplementary Note 1}
To determine the current density and Oersted field distributions within the Hall bar, finite-element method simulations were performed using the Magnetic and Electric Fields interface in COMSOL, with the results presented in Supplementary Figure 1. The simulations were carried out for the steady-state case at the largest current required to fully switch the nanomagnets, namely 48 mA.

Supplementary Figure 1. Determination of the current density and magnetic field strength over the Hall bar. COMSOL finite-element method simulations of the distributions in the Hall bar of (a) the current density and (b) the Oersted field, computed at a current of 48 mA. The Oersted field is evaluated at a height of 1 nm above the Hall cross surface, corresponding to the mid-plane of the nanomagnets. The position of the triangular ASI is indicated with an overlaid array of black stadium-shaped elements.
As shown in Supplementary Figure 1, current crowding occurs near the intersection of the current channel with the voltage probe arms. However, the nanomagnet array is positioned sufficiently far from this region, so that the current density across the nanomagnet array remains largely homogeneous.
The simulated Oersted field distribution is shown in Supplementary Figure 1 and does not exceed 3.5 mT across the nanomagnet array. This value is well below the nanomagnet coercive field of approximately 6 mT, determined from the measurements presented in Figure 1d, which means that field-induced magnetization reversal due to Oersted fields can be ruled out across the full range of current densities used in this work.
Micromagnetic simulations {#sec:Supplementary Note 2}
Micromagnetic simulations using MuMax3[1] were carried out to investigate the planar Hall resistance response of the nanomagnets as a function of probing magnetic field and its orientation, presented in lower panels of Supplementary Figure S2.
In the simulations, the stadium-shaped nanomagnets have dimensions of 350 nm 100 nm 2.3 nm, discretized into cells of 4 nm 4 nm 2.3 nm. The saturation magnetization and exchange constant were set to kA/m and pJ/m, respectively, which are standard simulation parameters for CoFeB[2]. The damping constant was set to to accelerate convergence to the equilibrium state. The applied magnetic field is swept from mT to mT in steps of 2 mT, with the magnetization allowed to relax at each step. The planar Hall resistance is modeled as proportional to:
where is the polar angle of the nanomagnet magnetization, and and are the and components of the magnetization, respectively.
The simulated results agree well with the experimental measurements, as shown by comparing the lower and upper panels of Supplementary Figure S2.
The simulated magnetization configuration before and after field-induced reversal is shown in Supplementary Figure S3. In the presence of an applied magnetic field, the magnetization within the nanomagnet adopts a non-uniform configuration, reflecting the competition between the applied field and the shape anisotropy. Reversal occurs abruptly once the applied field exceeds the coercive field, as evidenced by the sharp transition in the simulated versus field curve.

Figure S3. Micromagnetic simulation of field-induced magnetization reversal. A magnetic field is applied at to a nanomagnet oriented at . (a) Simulated planar Hall resistance as a function of applied magnetic field, with the blue and red arrows next to the corresponding curve indicating the field sweep direction. The two branches correspond to the two opposite initial magnetization states of the nanomagnet. (b) Snapshots of the simulated magnetization configuration before ①, and after ②, magnetization reversal, illustrating the field-induced switching of the nanomagnet between its two stable states.
Macrospin simulations
Macrospin simulations were performed using the CMTJ package[3] to compute the critical switching current as a function of the ratio of the field-like torque () to the damping-like () torque, and are presented in Supplementary Figure 4. The saturation magnetization was set to kA/m, the nanomagnet thickness to nm, the spin Hall angle to [4], and the damping constant to , which are standard simulation parameters for CoFeB[2]. The demagnetization matrix was set to be:

Supplementary Figure 4. Macrospin simulation of the critical switching current. Critical switching current as a function of nanomagnet orientation , computed from macrospin simulations for different ratios of the field-like torque () to damping-like torque (). The vertical dashed lines correspond to the transition from Type X (to the left of the line) to Type Y (to the right of the line) switching for each curve. The experimental data (black dots) is given for comparison.
with the demagnetization coefficients obtained from Ref. [5]. The damping-like effective field was computed as[1]:
where is the reduced Planck constant, the electron charge, the saturation magnetization, the thickness, the spin Hall angle, and the current density. The simulations were performed by applying a trapezoidal current pulse of 4 ns duration with a rise and fall time of 1 ns and a total simulation time of 20 ns. The current pulse amplitude was incremented in steps of A/m.
With the progressive introduction of a field-like torque component, two distinct switching regimes emerge, characterized by a sudden drop in the critical switching current as the nanomagnet orientation evolves from (Type X) to (Type Y), as highlighted by the vertical dashed lines in Supplementary Figure 4. As the field-like torque component increases, the Type X switching regime progressively extends towards , indicating that the field-like torques assist this switching process. As the field-like torque magnitude is increased, the critical switching current for Type X switching (at values to the left of the dashed lines) decreases and approaches the critical switching current magnitudes of Type Y switching (at values to the right of the dashed lines). Finally, at , the magnetization switching regime is dominated by the Type X switching and the angular dependence is suppressed. Our experimental data (black points in Supplementary Figure 4) is therefore best reproduced in the regime where the field-like torque is negligible, that is , consistent with the monotonic increase of the critical switching current as .
In summary, although field-like torques can reduce the critical switching current for nanomagnets oriented close to , they are detrimental for orientation-selective SOT switching because they introduce a non-monotonic angular dependence of the critical switching current, so that the angular dependence that underpins the selective addressing scheme is lost.
Arrays of nanomagnets with two sublattices
We measured three arrays of nanomagnets with two sublattices, comprising nanomagnets oriented at and , at and , and at and . Supplementary Fig. 5 shows their SEM images together with the versus current loops measured for between and , and Supplementary Figure 6 shows selected loops with the corresponding magnetization states.
The nanomagnet array with and is discussed in the main text (Figure 3); here we discuss the other two.
For the nanomagnet array comprising the and sublattices, presented in Supplementary Figure 6, at (top plot), four distinct switching events are observed, confirming that the switching of each sublattice can be unambiguously detected. The angle of was chosen because the contribution from each sublattice is equal in amplitude, with m. At (middle plot), the contributions from each sublattice are equal in amplitude but opposite in sign when their -magnetization components point towards the same direction. Thus, when the nanomagnets oriented at and have both their -magnetization components pointing towards (state ①) or (state ④), the resulting is 0.
At (bottom plot), we detect only the magnetization switching of the sublattice as the signal of the sublattice vanishes.
For the nanomagnet array comprising the and sublattices presented in Supplementary Figure 6, four distinct switching events are observed at (top plot), highlighted in pink and green for the and sublattices, respectively, confirming that the switching of each sublattice can be independently detected. Upon rotating the probing magnetic field by to (middle plot), the versus current response is identical in shape but opposite in sign, as expected from the reversal of the probing magnetic field direction, which interchanges the positive and negative contributions from each sublattice. At (bottom plot), the contribution from the sublattice vanishes, and only the switching events of the sublattice are recorded.

Figure 5. Supplementary Figure 5: of the two-orientation nanomagnet arrays as a function of probing angle. (a)-(c) top part: SEM images of two-orientation nanomagnet arrays comprising nanomagnets oriented at a) and , (b) and , and (c) and . (a)-(c) bottom part: Corresponding as a function of applied current pulse amplitude for each configuration, measured at various probing field angles ranging from to .
Triangular lattice
In Supplementary Fig. 7, we present the SEM image with the versus current loops measured for between and for the triangular lattice.

Figure 7. of the triangular lattice as a function of probing angle. Top panel: SEM image of the nanomagnets arranged on a triangular lattice. Bottom panel: as a function of applied current pulse amplitude for the triangular lattice, measured at various probing field angles ranging from to .
References
- [1]Jungwirth, T., Marti, X., Wadley, P. & Wunderlich, J. Antiferromagnetic spintronics. Nat. Nanotechnol. 11, 231–241 (2016).
- [2]Dal Din, A., Amin, O. J., Wadley, P. & Edmonds, K. W. Antiferromagnetic spintronics and beyond. Npj Spintron. 2, 25 (2024).DOI
- [3]Wadley, P. et al. Electrical switching of an antiferromagnet. Science 351, 587–590 (2016).DOI
- [4]Bodnar, S. Yu. et al. Writing and reading antiferromagnetic Mn2Au by Néel spin-orbit torques and large anisotropic magnetoresistance. Nat. Commun. 9, 348 (2018).
- [5]Chen, X. Z. et al. Antidamping-Torque-Induced Switching in Biaxial Antiferromagnetic Insulators. Phys. Rev. Lett. 120, 207204 (2018).DOI
- [6]Reimers, S. et al. Magnetic domain engineering in antiferromagnetic Cu Mn As and Mn 2 Au. Phys. Rev. Appl. 21, 064030 (2024).DOI
- [7]Wadley, P. et al. Current polarity-dependent manipulation of antiferromagnetic domains. Nat. Nanotechnol. 13, 362–365 (2018).
- [8]Šmejkal, L., MacDonald, A. H., Sinova, J., Nakatsuji, S. & Jungwirth, T. Anomalous Hall antiferromagnets. Nat. Rev. Mater. 7, 482–496 (2022).arxiv.org/abs/2107.03321
- [9]Nakatsuji, S., Kiyohara, N. & Higo, T. Large anomalous Hall effect in a non-collinear antiferromagnet at room temperature. Nature 527, 212–215 (2015).
- [10]Feng, Z. et al. An anomalous Hall effect in altermagnetic ruthenium dioxide. Nat. Electron. 5, 735–743 (2022).DOI
- [11]Skjærvø, S. H., Marrows, C. H., Stamps, R. L. & Heyderman, L. J. Advances in artificial spin ice. Nat. Rev. Phys. 2, 13–28 (2019).
- [12]Rougemaille, N. & Canals, B. Cooperative magnetic phenomena in artificial spin systems: spin liquids, Coulomb phase and fragmentation of magnetism – a colloquium. Eur. Phys. J. B 92, 62 (2019).DOI
- [13]Schiffer, P. & Nisoli, C. Artificial spin ice: Paths forward. Appl. Phys. Lett. 118, 110501 (2021).DOI
- [14]Arava, H. et al. Engineering Relaxation Pathways in Building Blocks of Artificial Spin Ice for Computation. Phys. Rev. Appl. 11, 054086 (2019).DOI
- [15]Hofhuis, K. et al. Real-space imaging of phase transitions in bridged artificial kagome spin ice. Nat. Phys. 18, 699–705 (2022).DOI
- [16]Wang, Y.-L. et al. Rewritable artificial magnetic charge ice. Science 352, 962–966 (2016).DOI
- [17]Li, Y. et al. Superferromagnetism and Domain-Wall Topologies in Artificial “Pinwheel” Spin Ice. ACS Nano 13, 2213–2222 (2019).DOI
- [18]Jensen, J. H. et al. Clocked dynamics in artificial spin ice. Nat. Commun. 15, 964 (2024).DOI
- [19]Gartside, J. C. et al. Realization of ground state in artificial kagome spin ice via topological defect-driven magnetic writing. Nat. Nanotechnol. 13, 53–58 (2018).DOI
- [20]Lehmann, J., Donnelly, C., Derlet, P. M., Heyderman, L. J. & Fiebig, M. Poling of an artificial magneto-toroidal crystal. Nat. Nanotechnol. 14, 141–144 (2019).DOI
- [21]Farhan, A. et al. Direct Observation of Thermal Relaxation in Artificial Spin Ice. Phys. Rev. Lett. 111, 057204 (2013).pubmed.ncbi.nlm.nih.gov/23952441
- [22]Morley, S. A. et al. Effect of FePd alloy composition on the dynamics of artificial spin ice. Sci. Rep. 8, 4750 (2018).DOI
- [23]Arava, H. et al. Computational logic with square rings of nanomagnets. Nanotechnology 29, 265205 (2018).DOI
- [24]Gypens, P., Leo, N., Menniti, M., Vavassori, P. & Leliaert, J. Thermoplasmonic Nanomagnetic Logic. Phys. Rev. Appl. 18, 024014 (2022).DOI
- [25]Pecchio, D., Sahoo, S., Scagnoli, V. & Heyderman, L. J. Attaining the ground state of kagome artificial spin ice via ultrafast site-specific laser annealing. Phys. Rev. B 113, 054434 (2026).arxiv.org/abs/2510.17416
- [26]Pecchio, D. et al. Ultrafast laser-induced magnetic relaxation in artificial spin ice driven by dipolar interactions. Phys. Rev. B 113, 064404 (2026).arxiv.org/abs/2508.16231
- [27]Wang, R. F. et al. Artificial ‘spin ice’ in a geometrically frustrated lattice of nanoscale ferromagnetic islands. Nature 439, 303–306 (2006).
- [28]Ghosh, A. et al. Emergent Dynamics of Artificial Spin-Ice Lattice Based on an Ultrathin Ferromagnet. Nano Lett. 20, 109–115 (2020).DOI
- [29]Gartside, J. C. et al. Reconfigurable magnonic mode-hybridisation and spectral control in a bicomponent artificial spin ice. Nat. Commun. 12, 2488 (2021).DOI
- [30]Gomez-Iriarte, G. A., Gonzalez-Chavez, D. E., Sommer, R. L. & Sinnecker, J. P. Ferromagnetic resonance response in square artificial spin ice: Roles of geometry in vertex dynamics and magnetic configurations. Phys. Rev. B 110, 174435 (2024).arxiv.org/abs/2405.01720
- [31]Hu, W. et al. Distinguishing artificial spin ice states using magnetoresistance effect for neuromorphic computing. Nat. Commun. 14, 2562 (2023).DOI
- [32]Kubota, H. et al. Electrical detection of emergent magnetization dynamics in artificial spin ice. APL Mater. 13, 091110 (2025).
- [33]Gartside, J. C. et al. Reconfigurable training and reservoir computing in an artificial spin-vortex ice via spin-wave fingerprinting. Nat. Nanotechnol. 17, 460–469 (2022).
- [34]Jensen, J. H., Folven, E. & Tufte, G. Computation in artificial spin ice. in The 2018 Conference on Artificial Life 15–22 (MIT Press, Tokyo, Japan, 2018). doi:10.1162/isal_a_00011.DOI
- [35]Nakajima, K. Physical reservoir computing—an introductory perspective. Jpn. J. Appl. Phys. 59, 060501 (2020).DOI
- [36]Mihajlović, G. et al. Pt thickness dependence of spin Hall effect switching of in-plane magnetized CoFeB free layers studied by differential planar Hall effect. Appl. Phys. Lett. 109, 192404 (2016).DOI
- [37]Takahashi, Y. et al. Spin-orbit torque-induced switching of in-plane magnetized elliptic nanodot arrays with various easy-axis directions measured by differential planar Hall resistance. Appl. Phys. Lett. 114, 012410 (2019).
- [38]Liu, Y.-T. et al. Anatomy of Type- x Spin-Orbit-Torque Switching. Phys. Rev. Appl. 16, 024021 (2021).arxiv.org/abs/2108.01272
- [39]Spaldin, N. A., Fiebig, M. & Mostovoy, M. The toroidal moment in condensed-matter physics and its relation to the magnetoelectric effect. J. Phys. Condens. Matter 20, 434203 (2008).DOI
- [40]Aoyagi, S., Kitou, S., Arima, T. & Tokunaga, Y. Magnetoelectric control of toroidal moment in ferroaxial crystal PbMn2Ni6Te3O18. Appl. Phys. Lett. 128, 172902 (2026).
- [41]Rougemaille, N. et al. Artificial Kagome Arrays of Nanomagnets: A Frozen Dipolar Spin Ice. Phys. Rev. Lett. (2011).
- [42]Feng, Y. et al. Magnetic force microscopy contrast formation and field sensitivity. J. Magn. Magn. Mater. 551, 169073 (2022).DOI
- [43]Hutter, J. L. & Bechhoefer, J. Calibration of atomic-force microscope tips. Rev. Sci. Instrum. 64, 1868–1873 (1993).DOI
- [44]Zhao, X. et al. Magnetic force microscopy with frequency-modulated capacitive tip–sample distance control. New J. Phys. 20, 013018 (2018).
- [45]Nilsson, S. & Scagnoli, V. Electrical addressing of compensated magnetic order in artificial spin ice. Zenodo https://doi.org/10.5281/zenodo.23317804 (2026).
AI tools statement
No AI-use declaration is available for this version in Valency.
The available record does not establish whether AI systems or models contributed to this work.
