“…Various kinds of pulse shape, such as parabolic pulses [1], Gaussian pulses [2], sech-like pulses, and square pulses, have been generated to meet different demands [3]. Among them, square pulses with wide pulse width and high single-pulse energy are widely used in medical imaging, high-energy laser [4], all-optical square-wave clocks [5], ranging and optical sensing. Therefore, more and more researchers are paying attention to square pulses.…”