Two typos are corrected, and the linear refractive index n is removed from the expressions of the phase shift in Opt. Lett.46, 560 (2021)OPLEDP0146-959210.1364/OL.414895. The removal of n reduces the gate efficiency, but it does not affect the general findings. Here, we present the corrected equations and the corresponding new numerical results, showing that increasing the pulse energy from 1.8 nJ to 4 nJ leads to nearly the same results of Opt. Lett.46, 560 (2021)OPLEDP0146-959210.1364/OL.414895.