Deterministic generation of a bit-stream of single-photon pulses | Synapse