To build light-based quantum technologies, scientists and engineers need the ability to generate and manipulate photons as individuals or a few at a time. To build such quantum photonic logic gates ...