  Devising magnetic nanostructures with spatially heterogeneous
Dzyaloshinskii-Moriya interaction (DMI) is a promising pathway towards advanced
confinement and control of magnetic skyrmions in potential devices. Here we
discuss theoretically how a skyrmion interacts with a heterochiral interface
using micromagnetic simulations and analytic arguments. We show that a
heterochiral interface deflects the trajectory of ferromagnetic (FM) skyrmions,
and that the extent of such deflection is tuned by the applied spin-polarized
current and the difference in DMI across the interface. Further, we show that
this deflection is characteristic for the FM skyrmion, and is completely absent
in the antiferromagnetic (AFM) case. In turn, we reveal that the AFM skyrmion
achieves much higher velocities than its FM counterpart, yet experiences far
stronger confinement in nanoengineered heterochiral tracks, which reinforces
AFM skyrmions as a favorable choice for skyrmion-based devices.
