Patent attributes
A method of generating an m-photon entangled state includes inputting photons into a plurality of sets of modes. Each set of modes is coupled to a different set of modes. The method includes detecting photons in the plurality of sets of modes. The method includes, in accordance with a determination, based on a number of photons detected, that more than m-photons remain in the plurality of sets of modes: performing a second detection operation that includes detecting photons in the plurality of sets of modes; determining, based at least in part on a number of photons detected, whether the photons remaining in the plurality of sets of modes after the second detection operation are in the m-photon entangled state; and in accordance with a determination that the photons remaining in the plurality of sets of modes are in the m-photon entangled state, outputting the remaining photons.