Optimization of periodic single-photon sources based on combined multiplexing