In this work, we demonstrate that antiferromagnetic (AF) DWs with opposite WN can preserve their integrity after a head on collision moving above certain critical speed. To elucidate the control over the elastic scattering of antiferromagnetic domain walls (AF DWs), we use large-scale atomistic spin modelling of a layered antiferromagnet Mn\(_2\)Au. We consider that Mn\(_2\)Au is arranged in an ultra-thin stripe so that DW would have a one-dimensional propagation. In order to induce magnetisation dynamics in Mn\(_2\)Au , we make use of the predicted staggered field-like torque in such crystal structures, where the effective magnetic field resulting from a staggered-induced spin-density, \( \text {H}_\text {so}\), possesses opposite signs at each sub-lattice and gives rise to a spin–orbit torque34. For the description of the atomistic model see Methods section. The DW mobility in Mn\(_2\)Au has been reported elsewhere13,14,35. The maximum AF DW speed, \(v_m\) can be obtained from the magnon dispersion relation and direct modelling and is circa 43.3 km/s for Mn\(_2\)Au13.
In the continuum approximation and taking into account the relative values of anisotropy parameters (see Methods) one can obtain an equation for the in-plane component of the magnetisation Neel vector of the following form35
$$\begin{aligned} \frac{1}{v^2_{\textrm{m}}} \, \ddot{\varphi }-\left( \partial ^2_x \varphi \right) +\frac{1}{2 \Delta ^2_0} \, \sin 2 \varphi = – h \, \sin \varphi -\eta \, \dot{\varphi }, \end{aligned}$$
(1)
Here \(\Delta _0=\sqrt{a/(8K_{2||})}\) stands for the DW width at rest, \(h=8 \gamma \hbar \, H_{\text {so}}/ \, a\) denotes the reduced scalar spin–orbit (SO) field related to the applied current, \(\eta =8\alpha \hbar /a\) describes the DW dissipation, \(a=a_0^2(\mathscr {J}_3+|\mathscr {J}_1|/2)\), where \(\mathscr {J}_1\) and \(\mathscr {J}_3\) are in-plane exchange parameters, \(K_{2||}\) is an in-plane anisotropy (see Methods), \(a_0\) is the lattice parameter, \(\gamma \) represents the gyromagnetic ratio, \(\alpha \) is the Gilbert damping parameter and \(\hbar \) is the reduced Planck constant. The l.h.s. of Eq. (1) is the famous exactly integrable sine-Gordon equation. Its soliton (kink) solution \(\varphi =2 \arctan \exp [(x-vt)/\Delta ]\) describes the AF DW having velocity v and velocity-dependent width \(\Delta =\Delta _0 \sqrt{1-v^2/v_m^2} \). Note that it is also solution of a complete Eq. (1) provided that the r.h.s is zero, i.e. AF DW moves with a stationary velocity \(v=(\gamma /\alpha ) H_{\text {so}}\Delta \). Thus, AFDW has solitonic nature in the sense that it propagates without changing the form but only moving at a stationary velocity, i.e. when the energy input provided by the external current is compensated by the dissipation.
When two solitons of any integrable equation collide, they form a breather. The breather is not a solution of Eq. (1) and thus, a priory one cannot expect that AF DWs emerge intact from the collision. In the condition when topological charge is conserved and when two AF DWs have the same topological charge, this is indeed the outcome of the collision. When the two topological charges are opposite, as we will see later in complete simulations, two scenarios are possible attending to the duration of the driving mechanism, as illustrated schematically in Fig. 1. First, when the SO-field is present for long time, and the collision occurs, the Zeeman energy prevents the DWs to separate as the magnetisation orientation in between the DWs is polarised opposite to the SO-field. The resulting bound state is dispersing in time (Fig. 1a). In the second case, one can switch off the field at the right moment. Provided that the damping is small (which is indeed the case for magnetic systems) one can expect to find conditions that the resulting breather will not disperse before separating into two kinks (AF DWs).
We now present direct atomistic spin modelling results of AF DW dynamics under applied current producing SO-field based on Mn\(_2\)Au complete spin Hamiltonian (see Methods). Figure 2a–c shows the spatio-temporal evolution of magnetic configuration of a system with two DWs (having opposite winding numbers) colliding under application of \(H{_\text {so}}\)= 60 mT that is turned off at different instances. Figure 2a , shows the case where an inelastic collision is observed resulting in the breather dispersion. The reason for this is that the \(H{_\text {so}}\) has not been switched off after the collision and the associated Zeeman energy prevents AF DWs to separate as the region in between the two DWs have the opposite polarisation to \(H{_\text {so}}\). However, if the SO-field is switched off when the collision occurs (for 60 mT at the time moment around 20.1 ps), then an elastic collision takes place, see Fig. 2b. We observe a discontinuity in the trajectory of each DW at the moment of the collision and the reappearance of the DW after they tunnel through each other. Importantly, it is observed that while the winding number is preserved through the entire collision process, there has been a \(180^\circ \) phase shift for the DW internal spins for both DWs, i.e. kink has become and anti-kink. The third possible scenario Fig. 2c results when the two DWs elastically collide but the distance between them is within the exchange interaction range to observe a recombination in the simulation time-window. The emergence of this breather-like excitation is due to the excess of kinetic energy carried by each DW involved in the collision. Note that, as expected, the resulting breather frequency is monochromatic and independent on the previously applied SO-field. Figure 2d presents the phase diagram with the possible outcomes observed depending on the magnitude of the SO-field and its duration. The smallest SO-field at which we observe soliton-like collision is 22 mT showing inelastic collision at 20 mT for for all investigated SO-field duration times.
From now on wards, we refer to AF DW of a given winding number as particle (p) and to that with opposite winding number as anti-particle (ap) indistinctly. Hence, one could interpret that each p (ap) behaves as an attractor for its ap (p). For an elastic collision to occur, p(ap) should escape from this potential, i.e. its kinetic energy, K\({_\text {p}}\) must be larger than the attractive potential, V\({_\text {ap}}\) provided by its own anti-particle. This potential at a given instance, t is given by the attractive exchange interaction between the two DWs with opposite winding number (see Appendix) and corresponds to
$$\begin{aligned} E_{\text{ p-ap }}=4 A \left( x_{\text{ p }} – x_{\text{ ap }} \right) \cosh \left( \frac{x_{\text{ p }}-x_{\text{ ap }}}{\Delta } \right) , \end{aligned}$$
(2)
where \(x_{\text {p}}\) and \(x_{\text {ap}}\) represent the particle and anti-particle position with respect to an external and inertial observer. For sake of simplicity, we will locate the observer at the antiparticle such that \(x_{\text {ap}}\)=0. Note that this picture assumes that the breather is separated into two “kinks” which is valid when \(|x{_\text {p}}-x{_\text {ap}}|\gg 4 \ln {(v/v_m)}\). For domain walls moving with velocities close to that of the “light” \(c=v_m\), this condition is very loose. Hence, we only need to calculate the DW mass36,37,38 in order to obtain the kinetic energy, K\({_\text {p}}\)
$$\begin{aligned} K{_\text {p}}=\frac{1}{2} m_{\text {p}} v ^2=\frac{1}{2}\frac{\hbar ^2 N}{K_{2\perp }}\frac{v^2}{\Delta ^2} \end{aligned}$$
(3)
where \(N=\pi \Delta /a_{0}\) is the number of spins that conform the DW and \(K_{2\perp }\) is the second order perpendicular anisotropy, see Methods.
We consider that the particle has escaped the anti-particle potential when it is at least at a distance of DW width from the anti-particle, i.e. \(x{_\text {p}}=\Delta \) giving the escape velocity
$$\begin{aligned} v_{\text{ e }}= \left( \frac{32\pi \cosh (1) A \delta K_\perp }{ h^2} \right) ^{\frac{1}{2}}\Delta \equiv \upxi \Delta (v_e) . \end{aligned}$$
(4)
where the coefficient \(\upxi \) depends on material parameters only but note that due to the Lorentz invariance the AF DW width on the r.h.s. of this equation is velocity- dependent. Solving explicitly for the escape velocity as a function of SO-field gives:
$$\begin{aligned} v_{\text {e}}(H_{\text {so}})=\frac{\upxi \Delta _0 \left[ 1-\Lambda (H_{\text {so}})\right] ^{1/2}}{\left[ 1+\frac{\upxi ^2}{v_m^2}\Lambda (H_{\text {so}})\Delta _0^2\right] ^{1/2}}. \end{aligned}$$
(5)
where
$$\begin{aligned} \Lambda (H_{\text {so}})=v_m^2\frac{(\gamma H_{\text {so}} \Delta _0)^2 }{(\alpha v_m)^2+ (\gamma H_{\text {so}} \Delta _0)^2}. \end{aligned}$$
(6)
The above equation tells us that the escape velocity depends upon the SO-field and implicitly on the distance the particle needs to tunnel through.
In the following, we present our numerical work which corroborates our conclusions. Figure 3 shows the DW speed as a function of the SO-field obtained by our theoretical prediction Eq. (5) (blue line) together with the DW velocity (red line) and its width (orange line) versus SO-field. The last two quantities follow Lorentz increase/contraction. It can be observed that for SO-fields larger than \(H_{cr}\simeq \) 20 mT the actual velocity of the DW is larger than the critical escape velocity and therefore an elastic collision is observed (Orange filled region). On the contrary for fields smaller than \(H_{cr}\), the velocity of the DW is smaller than the escape velocity resulting in both particles being trapped by the attractive potential provided by the other particle. In such a case, an inelastic collision takes place resulting in a DW recombination (purple region). Note that the escape velocity decreases with the increase of the SO field while the DW velocity increases. The intersection is possible for large velocities only which also favors rapid tunneling and short leaving time of the bound state, providing non-decay conditions. The critical velocity is in a good agreement with what is observed by direct simulations in Fig. 2.
Hence, both our direct modelling and analytical approach demonstrate that the SO-field strength and duration can be tuned the way that the collision of AF DWs with opposite topological charges would result either in elastic or inelastic outcome. This result can be beneficial for building AF-based future electronic devices for example for constructing possible circuit outputs. In the following we present a possible scenario for two logical operations.
(a) Schematic illustration of two magnetic textures with opposite winding number driven by a SO-field which collide while the SO-field is present. In such a condition the inelastic collision gives rise to the excitation of breather. (b) Schematic illustration of two magnetic textures with opposite winding number driven by a SO-field which collide elastically in the absence of the SO-field. Each DW preserves its winding number after the collision however, there is a \(180^\circ \) phase-shift in the DW’s internal spins.

(a) Spatio-temporal evolution of the \(s{_\text {x}}\) component of the magnetisation when the SO-field is kept on during the entire simulation. Recombination event occurs and as a result there is a breather. (b) Spatio-temporal evolution of the \(s_{\text {x}}\) component of the magnetisation when the SO-field is turned off when the collision occurs. The two DWs behave as soliton appearing after the collision with the same winding number but with a \(180^\circ \) phase shift in its internal spins. (c) Spatio-temporal evolution of the \(s_{\text {x}}\) component of the magnetisation when the SO-field is turned off at 18.5 ps. The two DWs carry \(v>v{_\text {e}}\) but the attractive potential after the elastic collision recombine them in the simulation time window. (d) Phase diagram of the different outcomes from a collision event in terms of the amplitude of the SO-field and its duration. Green dots represent inelastic collisions at v>v\(_\text {crit}\) when the SO-field is still on at the collision instance. Orange dots correspond to elastic conditions. Blue dots consist of a first elastic collision followed by an inelastic collision. Red dots represent inelastic collisions at v<v\(_\text {crit}\) when the SO-field is absent at the collision moment. Black dots correspond to a situation where the SO-field is turned of so early that during the computational time window, no collision is observed.

DW velocity, \(v{_\text {dw}}\), DW width, \(\Delta \), and escape velocity, \(v{_\text {dw}}\), a as a function of the SO-field. Red dashed line represents the maximum speed velocity extracted from the dispersion relation, \(\sim \) 43.3 km/s. For SO-fields larger than the \(H{_\text {c}}\) 20 mT, the DW velocity induced by the SO-field is larger than the escape velocity (light orange region). However, for SO-fields lower than \(H{_\text {c}}\), the DW can not escape from the attractive potential provided by the other DW as the \(v{_\text {dw}} < v{_\text {e}}\) (light blue region).
Outlook: proposal for NOT and XOR gates
Spintronic devices offer a high functionality such as: non-volatile memory, fast operational speeds, well developed routes for writing and reading data, stochastic and even chaotic dynamics for a wide range of magnetic materials39,40,41,42. Moreover, there have been multiple proposals for logic networks, where the non-volatile nature of the magnetic encoded data would allow for the memory and processing to occur at the same medium. Specifically, topological magnetic solitons (and consequently AF DWs) could be useful for preserving information because of their topological protection. The so-called billiard ball model43,44 showed that given a sufficient number of particles, which can collide elastically, any sort of computation can be achieved. Of particular interest is whether such solitons could emulate logic gates. In order to achieve this, a classification is necessary from the evolution space as it cannot be inferred from a local topological rule. As the energy of both logic AF DWs is the same while moving, the logic levels are distinguished by the twofold value of the associated WN in the computing region. Interestingly, this system emulates the so-called conservative logic45, which conserves the physical quantities in which the digital signal is encoded. In particular the WN would be a conserved Boolean quantity. The binary values 1 and 0 are represented by the winding number of a given AF DW. As we previously discussed, the DW winding number is switched after an elastic collision event giving raise to a NOT-gate.
However, in order to implement universal logic gates such as XOR-gates one requires to add further complexity to the system. Figure 4 shows a schematic proposal for a XOR-gate which consists of two free DWs with opposite WNs and a pinned DW with an arbitrary WN. One input to the XOR is associated to magnetic texture’s central spin polarization, \(m_x>\)0 and \(m_x<\)0 which correspond to logic values 1 and 0 respectively. The second input concerns the SO-field value. The logic value 1 is associated with the critical SO-field, \(H>H_\text {crit}\) at which a proliferation of DW-pairs with overall WN=0 is observed13. The logic value 0 corresponds to \(H<H_\text {crit}\), see Fig. 4, panels a and b. The output signal after the second collision (see Fig. 4 panels c–f) corresponds to binary values 1 and 0 characterised by the presence or absence of a DW in the output region. Figure 4c shows that after an elastic collision among the two free DWs the resulting DW is accelerated (SO-field increases, see Fig. 4a) towards the pinned DW where another elastic collision occurs due to the fact that both DWs have the same WN. The output of this collision is therefore a texture which represents logic value 1. Figure 4d represents once again first an elastic collision among two DWs with opposite WN but, this time after the collision, the SO-field is increased above a value larger than \(H_\text {crit}\) resulting in the nucleation of a DW pair with opposite WN. It is known that there is a specific arrangement of the two generated DWs13. The one further away from the initial DW has an opposite to it WN. This DW is then accelerated towards the pinned DW but this time, both DWs suffer an inelastic collision and annihilate each other representing a logic value 0. Figure 4e represents the same situation as in Fig. 4c but now the pinned layer has opposite polarization than the one in Fig. 4c. In this situation, under the action of the SO-field represented (see Fig. 4a), the second collision is inelastic as both DWs have opposite WN resulting in a 0 in the logic output. Figure 4f, shows the same situation as in Fig. 4d but with opposite polarization for the pinned layer and same temporal evolution of the SO-field as in panel b. Once again, as the spin–orbit field is lager than \(H_\text {crit}\) after the first collision a nucleation event occurs. The generated DW this time has the same WN as the pinned one and the collision is inelastic. Therefore, the output region contains now a magnetic texture. If we associate the presence or absence of a magnetic texture by binary values 1 and 0 respectively, we obtain the standard XOR-gate logic table, see Fig. 4g. We emphasize that the reason why the XOR-gate can be created is due to the conservation of overall WN even when multiple AF DWs are generated. Hence this proposal is related to the so-called conservative logic45 which is characterized by the conservation of certain physical quantities. In our case, the overall topological winding number is associated to the spin space.

(a) Temporal evolution of the spin–orbit field, H\(_\text {so}\). (b) Temporal evolution of the spin–orbit field, H\(_\text {so}\), which will results for a different output when H\(_\text {so}>\)H\(_\text {crit.}\). (c) shows an elastic collision among two free domain walls (DWs) with opposite winding number, followed by a second elastic collision with a pinned DW in the output region represented in orange. (d) shows an elastic collision among two free DWs with opposite winding number, followed by the nucleation of another domain wall, with overall WN=0. A second inelastic collision occurs among one of the nucleated DWs and a pinned DW. (e) Same scenario as in panel c but with a pinned DW with opposite polarization. (f) Same scenario as in panel d but with a pinned DW with opposite polarization.