  Logic gates based on magnetic elements are promising candidates for the
logic-in-memory applications with nonvolatile data retention, near-zero leakage
and scalability. In such spin-based logic device, however, the multi-strip
structure and fewer functions are obstacles to improving integration and
reducing energy consumption. Here we propose a skyrmions-based single-nanotrack
logic family including AND, OR, NOT, NAND, NOR, XOR, and XNOR which can be
implemented and reconstructed by building and switching Dzyaloshinskii-Moriya
interaction (DMI) chirality barrier on a racetrack memory. Besides the pinning
effect of DMI chirality barrier on skyrmions, the annihilation, fusion and
shunting of two skyrmions with opposite chirality are also achieved and
demonstrated via local reversal of DMI, which are necessary for the design of
engineer programmable logic nanotrack, transistor and complementary racetrack
memory.
