Quantum information protocols require various types of entanglement, such as Einstein-Podolsky-Rosen, Greenberger-Horne-Zeilinger, and cluster states. In optics, on-demand preparation of these states has been realized by squeezed light sources, but such experiments require different optical circuits for different entangled states, thus lacking versatility. Here, we demonstrate an on-demand entanglement synthesizer that programmably generates all these entangled states from a single squeezed light source. This is achieved by a loop-based circuit that is dynamically controllable at nanosecond time scales and processes optical pulses in the time domain. We verify the generation of five different small-scale entangled states and a large-scale cluster state containing more than 1000 modes without changing the optical circuit. Moreover, this circuit enables storage and release of one part of the generated entangled state, thus working as a quantum memory. Our demonstration should open a way for a more general entanglement synthesizer and a scalable quantum processor.
Boson sampling with array of on-demand single photons (discreet variable Fock states) as resource states provides distinct advantages in complexity scaling compared to single photon resource states mimicked by the states (continuous variable) generated in nonlinear photonics. Recent progress in realization of regular ordered array of mesa top single quantum dots (MTSQDs) enabling on-demand generation of many photon resource states with high single photon purity and indistinguishability [1,2] has opened the possibility of implementing chip-scale Boson sampling with single photons. An important question towards scale up of such circuits is how the dephasing and decay timescale of individual on-demand single photons affect the final probability distribution of the N-photon entangled state. In this work we report a framework that provides direct link between the physical sources of decoherence to the outcome of multiphoton correlation measurements. We explicitly incorporate the symmetrization of the N-photon states while accounting for the shape of the individual wave packets and dephasing. Using this framework, we show predictive estimates of the probability of generation of a 4-photon NOON state using an optical circuit initialized with 4 identical single photon wave packets, mimicking the emitted photons from MTSQD single photon sources reported in [2]. Specifically, we show how the probability of generating various 4-photon entangled states depend on the two-photon interference visibility which is determined by the pure dephasing timescale in relation to the radiative decay timescale. The results provide quantitative guidelines to measure 4 photon and higher number of entangled photon states generated in an optical circuit with on demand single photon sources and provide a link between physical processes such as temperature and the output state of the quantum optical circuits.