The skyrmion represents logical 1, and the ferromagnetic ground state represents logical 0. Left panel, the basic operation of OR gate 1 + 0 = 1: there is a skyrmion in the input A and no skyrmion in the input B at initial time, which represents input = 1 + 0; a current density of 7 × 1012 A m−2 (the value is of the output side, similarly hereinafter) is applied along −x direction for 0 ns < t < 0.39 ns followed by a relaxation without applying any current until t = 1 ns. At t = 1 ns, a stable skyrmion is in the output side, which represents output = 1. Middle panel, the basic operation of the OR gate 0 + 1 = 1: there is a skyrmion in the input B side and no skyrmion in the input A side at initial time, which represents input = 0 + 1; a current density of 7 × 1012 A m−2 is applied along −x direction for 0 ns < t < 0.39 ns followed by a relaxation without applying any current until t = 1 ns. At t = 1 ns, a stable skyrmion is in the output side, which represents output = 1. Right panel, the basic operation of the OR gate 1 + 1 = 1: there is a skyrmion in both the input A side and the input B side, which represents input = 1 + 1; a current density of 4 × 1012 A m−2 is applied along −x direction for 0 ns < t < 0.64 ns followed by a relaxation without applying any current until t = 1 ns. At t = 1 ns, a stable skyrmion is in the output side, which represents output = 1.