Reliable multiphoton generation in waveguide QED
Abstract
In spite of decades of effort, it has not yet been possible to create single-mode multiphoton states of light with high success probability and near unity fidelity. Complex quantum states of propagating optical photons would be an enabling resource for diverse protocols in quantum information science, including for interconnecting quantum nodes in quantum networks. Here, we propose several methods to generate heralded mutipartite entangled atomic and photonic states by using the strong and long-range dissipative couplings between atoms emerging in waveguide QED setups. Our theoretical analysis demonstrates high success probabilities and fidelities are possible exploiting waveguide QED properties.
On-demand generation of optical propagating photons is at the basis of many applications in quantum information science, including multipartite teleportation murao99a , quantum repeaters briegel98a , quantum cryptography gisin02a ; durkin02a , and quantum metrology giovannetti04a . While single photons are routinely produced in different experimental setups lounis05a , single–mode multiphoton states are much harder to generate dellanno06a . Current methods are limited by either an exponentially small success probabilities or by low fidelities. Here we show that reliable single-mode multiphoton sources can be constructed with emitters close to nano-photonic waveguides by combining both the strong coupling present in those systems and collective phenomena. In particular, we show how collective excitations can be efficiently loaded in a collection of atoms, which can then be released with a fast laser pulse to produce the desired multi-photon state porras08a ; gonzaleztudela15a . In order to boost the success probability and fidelity of each excitation process, our method utilizes atoms to both generate the excitations in the rest, as well as to herald the successful generation. Furthermore, to overcome the exponential scaling of the probability of success with the number of excitations, we design a protocol to merge excitations that are present in different internal atomic levels with a polynomial scaling.
The enhancement of light-matter interactions provided by quantum nanophotonics opens up new avenues to create high-fidelity multiphoton states. For example, quantum emitters can be strongly coupled to structured waveguides, which show large Purcell factors, , so that atomic excitations can be mapped to a waveguide mode with an error (or infidelity, ) scaling as . However, the resulting state is not a single mode, but a complex entangled state of several modes gonzaleztudela15a , so that it cannot be directly used for quantum information purposes. Single-mode multiphoton states can be created by storing collective excitations in atoms, which are then mapped to a photonic state of the waveguide. While the latter process can be achieved with very low infidelity, scaling as porras08a ; gonzaleztudela15a , present schemes for the first part scale like gonzaleztudela15a , as they still do not fully exploit the strong coupling to the waveguide nor collective effects. This ultimately limits the fidelity of the whole procedure.
In this work we show how this limitation can be overcome with new schemes for the heralded generation of collective excitations in atoms coupled to a waveguide. The basic idea is to use the atoms themselves to both create the excitations one-by-one, and to herald the success of the process. In this way, arbitrarily small infidelities, , can be obtained at the expense of making the process non-deterministic. Depending on the scheme, we find that the global probability of success (or, inversely, the average number of operations, ) decreases (increases) exponentially with , and thus it cannot be scaled to arbitrarily large photon production. Finally, we also show how to overcome this exponential law by using additional atomic states, atom number resolved detection, and a specific protocol to merge excitations, while keeping a very low global infidelity, .


Structured waveguide setups with trapped atoms offer several interesting characteristics that we exploit to design our protocols, namely, i) regions of large Purcell Factor , e.g., due to slow light in engineered dielectrics laucht12a ; lodahl15a ; yu14a ; goban15a , while keeping at the same time ii) long-propagation lengths of the guided modes compared to the characteristic wavelength () that give rise to long-range dissipative couplings chang12a . Moreover, as shown in, e.g. Ref. chang12a , in order to avoid dipole-dipole interactions and fully exploit superradiance effects we assume iii) the atoms to be placed at distances , with . 111In fact all results can be extended to separations of . Finally, iv) it is possible to read the collective atomic state very efficiently through the waveguide due to the naturally short timescales and large collection efficiencies. We use atomic detection for heralding, which has already reached accuracies of myerson08a in trapped ion setups, where the collection efficiency is not enhanced by the presence of a waveguide, as in our scheme. Thus, here we assume the atomic detection to be perfect, and consider and as the main resources to analyze the figures of merit of the protocols. For the analysis of three different schemes, we adopt the following strategy for each one: we analyze the process of generating a single collective excitation, assuming the atoms already store excitations. We denote by the probability of success, and the corresponding infidelity. We finally analyze the average number of operations and final infidelities for accumulating all excitations. To simplify the expressions along the main text, we assume to work in a regime with and , though complete expressions can be found in Supplementary Material supmat .
Let us first analyze a protocol inspired in a method originally devised to create long-distant entangled states in atomic ensembles duan01a , that requires atoms placed close to a 1d waveguide as depicted in Fig. 1(a). The atoms must have a level structure as depicted in Fig. 1(b), where the atomic transition is coupled to the guided modes at a rate and the transition is driven equally by a laser with Rabi frequency . The excited states also radiate into leaky modes (of the waveguide or outside) other than the relevant one, that give rise to a decay rate , leading to the Purcell factor . The excitations are stored in the states and , which are assumed to be decoherence-free like any other hyperfine ground state. The procedure assumes that we start with collective excitations in level , and the goal is to add another one. Thus, the initial state is , where ‘sym’ denotes the symmetrizing operator. The idea is to weakly excite the atoms in to level with a short laser pulse of duration and if a photon in the waveguide is detected, it heralds the addition of an excitation in state . As all the atoms are equally coupled to the waveguide, the excitation will be collective.
Let us denote by , so that right after the pulse we have the state (up to a normalization constant), , where we used the notation for the collective spin operators and with atom number . After the pulse, we leave the system free to evolve under the interaction with the waveguide for a time , in which case the wavefunction terms with excitations in decay either to waveguide/leaky photons. If a waveguide photon is detected, either it comes from the lowest order term, , in which case the atomic state will be the desired one, i.e., , or from the double excited state, in which case we will prepare the wrong state introducing an error. Emission of leaky photons also produces errors, but of smaller order supmat . Denoting by the detection efficiency, the success probability in generating the desired state is and the infidelity is [to lowest order in ]. To create excitations, one has to detect consecutive photons, leading to and . As in Ref. duan01a , the error can be made arbitrarily small at the expense of decreasing the success probability. If a high fidelity is required (e.g., ) the method is practicable only for few excitations. One way of reducing is by using an additional metastable state in which the heralded excitation is stored after each successful addition. This can be done by combining, e.g., a two-photon Raman transition, to make a beam splitter transformation between levels and , and post-selection conditioned on no atomic detection in . Then, assuming that we have excitations already stored in , this procedure generates within the same level. It can be shown supmat ; dakna99a that this strategy leads to an average number of operations .
To overcome the trade-off between probabilities and fidelities coming from zero and double excitations, we propose a protocol relying on a configuration as depicted in Fig. 2(a): we replace the write field of the previous scheme by a single source atom that guarantees the transfer of at most a single excitation to the target ensemble. Furthermore, in a second step, detector atoms act as a detector to herald the transfer of excitations, replacing the photon detector. Both the source and detector atoms should be separated from the target ensemble by a multiple of and sufficiently separated for independent addressing with external control fields. The protocol requires a level structure as shown in Fig. 2(b) where two dipolar transitions and are coupled to the same waveguide mode with rates that we set to be equal for simplicity and with a corresponding Purcell Factor . We require the use of other hyperfine, auxiliary levels, . The transition is connected by a laser, whereas the is a two-photon transition mediated by , with effective Rabi frequency , so that direct spontaneous emission from is forbidden vanenk97a ; porras08a ; borregaard15a ; supmat . The level is used to store excitations and decouple them from the dynamics induced by the waveguide. We require that is not connected to neither nor by a dipole transition, so that it will only be connected to coherently through microwave fields.
As before, this protocol starts with a superposition in the target ensemble , and with the source/detector atoms in respectively. The heralded transfer of a single collective excitation consists of several steps [Fig. 2(c)]. The first one, coherently transfers the excitations from in the target and detector ensemble to protect them from the waveguide dynamics. The second step uses a short laser pulse in the source atom to excite it to state , and then switches on the lasers driving via a two-photon transition in the target ensemble with (effective) Rabi frequency for a time . Ideally, the source atom exchanges the excitation with the target ensemble by a virtual photon in the waveguide, thus generating a collective excitation in -state of the target ensemble. After that, the laser is turned off and one waits for a time such that any (non-ideal) remaining population in the excited state decays. Thirdly, we apply -pulses to decouple the source atom and couple the target and detector ensemble. Another short pulse is applied to move the collective excitation in the target ensemble from to and we switch on the laser driving the transition in the detector ensemble for a time with Rabi frequency . This transfers the collective excitation in the target ensemble to and creates a collective excitation in in the detector ensemble. At the end, a measurement of that internal state, , of the detector atoms (through fluorescence in the waveguide) heralds the successful preparation of a collective excitation in the target ensemble, i.e., .
Let us now analyze the protocol in detail. In the second step, the evolution of the source/target atoms is described by a master equation supmat , which can be analytically solved in the limit . By choosing the Rabi frequency , and , the probability for the ensemble to end up in the desired state after the second step, , is maximized , which can be improved by appropriate pulse shaping supmat . Similarly, in the third step, the evolution of the source/detector atoms can be analytically solved in the limit , obtaining a probability to end up in the desired state given also by . Thus, the total probability of success of the protocol is lower bounded by , with a heralding infidelity , as we rule out all the possible errors through post-selection. Indeed, the only way to have the detector atom in is that the steps two and three have occurred as desired. Any spontaneous emission in any of the atoms or photon absorption is incompatible with that event. Thus, to accumulate excitations we need to repeat an average number of times , but with . As can be very close to for systems with , we can still expect to achieve big number of excitations in spite of the exponential scaling of as shown in Fig. 3 for systems with . In case of unsuccessful detection, then, we pump all the target atoms back to and re-initialize the process.

After this analysis one natural question arises, that is, whether the exponential number of operations is a fundamental problem of probabilistic protocols dakna99a . This leads to our third and final scheme in which we design a specific protocol which circumvents this exponential scaling with a judicious modification of the previous protocol using several additional atomic states [see Fig. 2(b)] and atomic number resolved detection. The idea is that with each successful detection, we transfer the heralded collective excitation in not to the same level , but to one of several states to then merge them a posteriori with an adequate protocol that we explain below. For that note that, in contrast to our previous schemes, in case of unsuccessful detection, i.e., the detector atoms were not found in , the excitations stored in are not destroyed, but only the one we wanted to add. We can pump back the target atoms in to and try again. The price one has to pay is that errors appear since one may not recover the original collective state in the ensemble, i.e., because a spontaneous emission event occurred within the target ensemble supmat . One can show that the main source of errors occurs when a collective excitation was indeed produced in the ensemble, but it was not detected (because, e.g., of spontaneous emission in the detector ensemble). In order to reduce this error, we have to ensure that undetected collective states return back to coherently. For that, we apply the following repumping procedure: first, we pump all levels but back to . Then we coherently transfer the potential excitations from , and then apply a pumping through the waveguide, . In order to further minimize the errors introduced by repumping and obtain the desired scaling of infidelity (), we also need to modify the third step of the protocol for which then, interestingly, only a single detector atom is needed, . It can be shown that once we are in , the optimal strategy is to apply a fast -pulse in the target atoms such is prepared. Then, the system is left free to interact for a time without any external fields, and the dynamics are terminated by applying another -pulse on the target and detector atoms. We find that the optimal probability for the system to be in is , which can be improved up to by repeating the fast -pulses several times supmat . Finally, if we fail, we apply the repumping and repeat the process until success, of the order of times with . In Ref. supmat , we analyze the process in detail, identifying all errors and how they accumulate in the repetitions, leading to an (averaged) infidelity supmat . We confirm numerically (Fig. 4) the scaling of and integrating the corresponding master equation, showing that our analytical estimations capture the right scalings.
Thus, the problem is reduced to merging the atomic excitations distributed in the levels . For example, if instead of adding excitations one by one, as we did for the first scheme, we use metastable states , and adopt a tree-like structure, we obtain a superpolynomial scaling fiurasek05a ; supmat in to merge collective excitations in a single atomic level. The key step is to double the number of excitations in each step using beam splitter transformations and post-selection conditioned no atomic detection in one of the levels. Moreover, combining the beam splitters with displacement transformations, arbitrary superpositions of collective atomic excitations can be obtained dakna99a ; fiurasek05a ; supmat .

Finally, we go one step further by using number-resolved atomic detection to obtain a polynomial scaling. The key point is to realize that if we have excitations stored in two atomic levels, after applying a beam splitter transformation, the probability to obtain exactly excitations in one of them (by detecting no excitation in the other) decays with ; however, the probability of obtaining more than in one level (by detecting in the other) is actually bounded below by 1/3, independent of supmat . Assuming the worst case scenario in which after detecting excitations in one of the two levels, we assume that the other state only goes up to excitations, that gives us an upper bound for the number of operations supmat , that is already polynomial, and which in practical situations is better as the number of excitations in the other mode is always larger than . The number of atomic levels, , required to reach excitations scales logarithmically , and the final infidelity scales as . We note that atomic detection may itself introduce errors, however, the aim of this scheme is just to show that polynomial scaling can be achieved, despite not being currently the most efficient method. However, we expect that by suitable modification and adaptation to specific setups, polynomial and efficient scaling can be constructed.
State-of-the art technologies already provide systems with emitters coupled to engineered dielectrics thompson13a ; tiecke14a ; yu14a ; goban15a ; laucht12a ; lodahl15a with . Advances in both fabrication and trapping techniques foresee implementations with atoms and in the near future. The use of atomic internal levels may be replaced by motional levels of each of the atoms, if they are trapped in pseudo-harmonic potentials parkins95a , since there can be many of them at our disposal. There are several sources of errors that have not been considered here and that will give limitations to our proposal, such as decoherence of hyperfine levels, laser fluctuations, non perfect atom-resolving detection, although we expect that they can be controlled to a large extent. Other effects such as retardation, imperfect atomic cooling, or fluctuations in atomic positions may have to be considered in the analysis to achieve large fidelities (see, however gonzaleztudela15a where part of these errors were already considered).
In conclusion, we have presented several probabilistic protocols to generate heralded highly entangled atomic states that afterwards can be mapped to photonic states at will with very high fidelities. In particular, we show how to accumulate collective atomic excitations with infidelity and an exponential number of operations , being the heralding probability for adding a single excitation. We design a protocol where can be close to unity for systems with large , which would allow to accumulate excitations with systems using operations with unit fidelity [see Fig. 3]. Moreover, we also present a protocol with polynomial scaling in the number of operations by using atomic excitation number resolved and overall low infidelity . Though, we discus our protocols in the context of waveguide QED, the ideas can also be exported to other systems such as low mode cavities specht11a ; thompson13a ; tiecke14a ; haas14a , superconducting circuits mlynek14a or optical fibers vetsch10a ; goban12a ; petersen14a ; beguin14a with suitable modification of the protocols.
Acknowledgements. The work of AGT, VP and JIC was funded by the European Union integrated project Simulators and Interfaces with Quantum Systems (SIQS). AGT also acknowledges support from Intra-European Marie-Curie Fellowship NanoQuIS (625955). VP acknowledges the Cluster of Excellence NIM. HJK acknowledges funding by the Air Force Office of Scientific Research, Quantum Memories in Photon-Atomic-Solid State Systems (QuMPASS) Multidisciplinary University Research Initiative (MURI), by the Institute of Quantum Information and Matter, a National Science Foundation (NSF) Physics Frontier Center with support of the Moore Foundation by the Department of Defense National Security Science and Engineering Faculty Fellows (DoD NSSEFF) program, by NSF PHY1205729 and support as a Max Planck Institute for Quantum Optics Distinguished Scholar.
References
- (1) Murao, M., Jonathan, D., Plenio, M. B. & Vedral, V. Quantum telecloning and multiparticle entanglement. Phys. Rev. A 59, 156–161 (1999).
- (2) Briegel, H.-J., Dür, W., Cirac, J. I. & Zoller, P. Quantum Repeaters: The Role of Imperfect Local Operations in Quantum Communication. Phys. Rev. Lett. 81, 5932 (1998).
- (3) Gisin, N., Ribordy, G., Tittel, W. & Zbinden, H. Quantum cryptography. Rev. Mod. Phys. 74, 145 (2002).
- (4) Durkin, G. A., Simon, C. & Bouwmeester, D. Multiphoton entanglement concentration and quantum cryptography. Phys. Rev. Lett. 88, 187902 (2002).
- (5) Giovannetti, V., Lloyd, S. & Maccone, L. Quantum metrology. Phys. Rev. Lett. 96, 010401 (2006).
- (6) Lounis, B. & Orrit, M. Single-photon sources. Reports on Progress in Physics 68, 1129 (2005).
- (7) Dell’Anno, F., De Siena, S. & Illuminati, F. Multiphoton quantum optics and quantum state engineering. Physics reports 428, 53–168 (2006).
- (8) Porras, D. & Cirac, J. Collective generation of quantum states of light by entangled atoms. Physical Review A 78, 053816 (2008).
- (9) González-Tudela, A., Paulisch, V., Chang, D. E., Kimble, H. J. & Cirac, J. I. Deterministic generation of arbitrary photonic states assisted by dissipation. Phys. Rev. Lett. 115, 163603 (2015).
- (10) Laucht, A. et al. A Waveguide-Coupled On-Chip Single-Photon Source. Phys. Rev. X 2, 011014 (2012).
- (11) Lodahl, P., Mahmoodian, S. & Stobbe, S. Interfacing single photons and single quantum dots with photonic nanostructures. Rev. Mod. Phys. 87, 347–400 (2015).
- (12) Yu, S.-P. et al. Nanowire photonic crystal waveguides for single-atom trapping and strong light-matter interactions. Appl. Phys. Lett. 104, 111103 (2014).
- (13) Goban, A. et al. Superradiance for atoms trapped along a photonic crystal waveguide. Phys. Rev. Lett. 115, 063601 (2015).
- (14) Chang, D., Jiang, L., Gorshkov, A. & Kimble, H. Cavity qed with atomic mirrors. New Journal of Physics 14, 063003 (2012).
- (15) In fact all results can be extended to separations of .
- (16) Myerson, A. H. et al. High-fidelity readout of trapped-ion qubits. Phys. Rev. Lett. 100, 200502 (2008).
- (17) See Supplementary material for full details of the calculations of probabilities and fidelities of the protocols discussed in the main text.
- (18) Duan, L.-M., Lukin, M. D., Cirac, J. I. & Zoller, P. Long-distance quantum communication with atomic ensembles and linear optics. Nature 414, 413 (2001).
- (19) Dakna, M., Clausen, J., Knöll, L. & Welsch, D.-G. Generation of arbitrary quantum states of traveling fields. Phys. Rev. A 59, 1658–1661 (1999).
- (20) van Enk, S. J., Cirac, J. I. & Zoller, P. Ideal quantum communication over noisy channels: A quantum optical implementation. Phys. Rev. Lett. 78, 4293–4296 (1997).
- (21) Borregaard, J., Kómár, P., Kessler, E. M., Sørensen, A. S. & Lukin, M. D. Heralded quantum gates with integrated error detection in optical cavities. Phys. Rev. Lett. 114, 110502 (2015).
- (22) Fiurášek, J., García-Patrón, R. & Cerf, N. J. Conditional generation of arbitrary single-mode quantum states of light by repeated photon subtractions. Phys. Rev. A 72, 033822 (2005).
- (23) Thompson, J. D. et al. Coupling a single trapped atom to a nanoscale optical cavity. Science 340, 1202–1205 (2013).
- (24) Tiecke, T. et al. Nanophotonic quantum phase switch with a single atom. Nature 508, 241–244 (2014).
- (25) Parkins, A. S., Marte, P., Zoller, P., Carnal, O. & Kimble, H. J. Quantum-state mapping between multilevel atoms and cavity light fields. Phys. Rev. A 51, 1578–1596 (1995).
- (26) Specht, H. P. et al. A single-atom quantum memory. Nature 473, 190–193 (2011).
- (27) Haas, F., Volz, J., Gehr, R., Reichel, J. & Estève, J. Entangled states of more than 40 atoms in an optical fiber cavity. Science 344, 180–183 (2014).
- (28) Mlynek, J., Abdumalikov, A., Eichler, C. & Wallraff, A. Observation of dicke superradiance for two artificial atoms in a cavity with high decay rate. Nat. Communications 5, 5186 (2014).
- (29) Vetsch, E. et al. Optical interface created by laser-cooled atoms trapped in the evanescent field surrounding an optical nanofiber. Phys. Rev. Lett. 104, 203603 (2010).
- (30) Goban, A. et al. Demonstration of a State-Insensitive, Compensated Nanofiber Trap. Phys. Rev. Lett. 109, 033603 (2012).
- (31) Petersen, J., Volz, J. & Rauschenbeutel, A. Chiral nanophotonic waveguide interface based on spin-orbit interaction of light. Science 346, 67–71 (2014).
- (32) Béguin, J.-B. et al. Generation and detection of a sub-poissonian atom number distribution in a one-dimensional optical lattice. Phys. Rev. Lett. 113, 263603 (2014).
- (33) Gardiner, G. W. & Zoller, P. Quantum Noise (Springer-Verlag, Berlin, 2000), 2nd edn.
- (34) All the expressions are valid obviously for detectors with .
- (35) Actually the source atom can also play the role of the detector atom with appropriate modification of the protocol.
Supplemental Material: Reliable multiphoton generation in waveguide QED
In this Supplementary Material, we provide the full details on how to characterize the different protocols described within the main manuscript. For the sake of understanding, we devote different Sections to the each protocol including in all of them the atom-waveguide tools required and the calculation of probabilities and fidelities such that each Section is self-contained. The summary of the Supplementary Material reads as follows:
-
•
In Section SM1, we discuss the first protocol of the main manuscript which adapts a protocol envisioned for entangling atomic ensembles duan01a to herald the generation of collective excitations using single photon detections within the waveguide. We discuss both the situation where we accumulate directly the excitations into the same atomic level and where we store it in another hyperfine level and combine them a posteriori.
-
•
In Section SM2, we discuss the second protocol of the main manuscript which accumulate excitations directly within the same level using a two-step protocol. The protocol overcomes the trade-off between probability of success and fidelities of the first one but still requires an exponential number of operations.
-
•
In Section SM3, we discuss the third protocol which show to overcome the exponential scaling of the number of operations of the second protocol by using extra auxiliary levels to store the excitations after each heralded transfer while keeping the overall infidelity still low
-
•
For completeness, in Section SM4 we discuss a variation of the previous two protocol that relaxes part of the requirements of the protocols two and three, e.g., closed transition, at expense of slightly worse scaling of probabilities and infidelities.
-
•
Finally, in Section SM5 we discuss on how to use beam splitters transformations and atomic detection to merge atomic excitations and reach high photon numbers.
SM1 Heralding multiple collective atomic excitations in waveguide QED setups using single photon detectors.
In this Section is show how to adapt a protocol originally envisioned to generate entanglement between distant ensembles duan01a , to create multiphoton states in waveguide QED setups. The idea is to accumulate several collective atomic excitations, that can afterwards be mapped to -photon states with very high fidelities porras08a ; gonzaleztudela15a .
The protocol consists in heralding the transfer a single collective atomic excitations times through photon detection events within the waveguide. We discuss two different approaches: i) one where we store the heralded single excitation in a different level with methods that we revise in Section SM5; ii) or where we store the excitation directly into the same level.
The key step in both cases is to study how an additional single collective excitation can be added to an atomic ensemble which already contains excitations in another level, , i.e.
(SM1) |
Notice, that due to low heralding efficiencies of these kind of protocols duan01a , it is not clear whether the decoherence introduced when repeating the protocol times will spoil the coherence of the already stored excitations in . In the following Sections, we analyze what are the atom-waveguide resources that we use to extend the protocol for multiple excitations. Then, we analyze the probabilities of the different processes that may occur in each attempt of generating an extra collective excitation, and finally, we take everything into account to estimate the fidelity of adding an extra excitation when the system is already in . In a separate Section, we will consider the modifications of probabilities when we directly accumulate in , such that the initial state is .
SM1.1 Atom-waveguide resources
The tools/resources that we use are:
-
•
We assume that we have target atoms, in which we prepare the superposition, trapped close to a one-dimensional waveguide as depicted in Fig. SM1 (a). Moreover, we assume that the atoms have an internal level structure, as shown in Fig. SM1(b), where one optical transition is coupled to a waveguide mode with a rate , and the other leg is controlled by a classical field , with . In one of the schemes that we explore, we also assume that we have an extra mode , where the excitations can be stored and which can be combined through microwave or two-photon Raman transitions with Rabi frequency .
-
•
The atoms are placed at distances commensurate with the characteristic wavelength of the guided mode, , at the frequency of the transition , i.e. . With that assumption, it is easy to show that effective atom dynamics induced by the interaction with the waveguide is solely driven by long-range dissipative couplings:
(SM2) where is the reduced density matrix of the atomic system, is the dissipator associated to a given jump operator , and where we defined the collective spin operator of the target ensemble as , with . Obviously, the excited state can also decay to other modes other than into the waveguide, which leads to extra Lindblad terms which read:
(SM3) which lead to finite Purcell factor .
-
•
A single photon detector with overall efficiency at the end of the waveguide to detect the emission of waveguide photons.

SM1.2 Protocol and calculation of probabilities.
The protocol works as follows: we apply a short laser pulse such that we drive the collective dipole excitation coupled to the waveguide , during a short time such that . Then, the stored superposition evolves into:
(SM4) |
If we leave the system free to decay for a time , the system evolves to (dropping normalization and coefficients):
(SM5) |
where the [] denotes waveguide (leaky) photon states. The first line of the equation contains the processes where no photon () or only one photon is emitted either through the waveguide or through spontaneous emission. In the second and third lines we write the different processes associated with the existence of double quantum jumps. In order to obtain the different probabilities associated to each process, we use the expansion of the master equation gardiner_book00a distinguishing the evolution of the effective non-hermitian Hamiltonian, i.e., , and the one resulting from quantum jumps evolution, i.e., , that is given in general by:
(SM6) |
The non-hermitian evolution leads to:
(SM7) |
where we see that if we wait a time long enough, i.e., the only population remaining in . The probability emitting a collective photon from is given by:
(SM8) |
where in the last approximation we assumed to be in a regime with , whereas the one of emitting an spontaneous emission photon from the same state:
(SM9) |
We herald with the detection of a waveguide photon with efficiency , such that the final success probability of heralding is:
(SM10) |
In case of no detection it may have happened that our waveguide photon was emitted but not detected, that is, the atoms will indeed be in a superposition . So, before making a new attempt, we need to ensure that we pump back any possible excitation in to . However, to minimize the probability of emitting an leaky photon, which spoils the coherence of our stored superpositions, one needs to apply a repumping procedure in three steps:
-
•
First, apply a pulse with a microwave field that flips all the excitations . This switches into , where is the same as but with levels and interchanged.
-
•
Then, we apply a fast Raman -pulse with such that . This incoherent transfer is done through a collective photon, such that the probability of emitting a leaky photon is:
(SM11) -
•
Finally, we reverse the microwave -pulse such that and therefore .
SM1.3 Fidelities of the protocol.
In order to calculate the errors (and fidelities) of the protocol we have to distinguish between the errors introduced after successfully heralding the excitations, and the error per trial that we introduce when we repeat the protocol after failure.
-
•
Successful heralding: From Eq. SM1.2, it can be seen that if we detect a single photon in the waveguide, this means that the initial density matrix transforms into:
(SM12) where the first term is the desired process, whereas the second corresponds to the probability of detecting only one of the two photons emitted from the doubly excited terms . This introduces a large error as the state is orthogonal to the state that we want to create, such that the error when heralding is:
(SM13) -
•
Failed heralding: If we detect no photon, then, our state is projected to:
(SM14) which corresponds to processes in which: i) we have not created any excitation in the system, with probability (), ii) we have created a single collective excitation emitting a collective photon but we have not detected it; iii) we have created a single excitation, but it has emitted a free space photon, represented through . As we explained before, after appropriate repumping, the errors from undetected collective quantum jumps can be corrected introducing some extra spontaneous emission probability, such the final density matrix after repumping is given by:
(SM15) Fortunately, the errors from spontaneous emission are not so severe as the resulting state still have a big overlap with the original state:
(SM16) Therefore, the error introduced per failed attempt is given by:
(SM17) -
•
Complete process: The complete process consists (in average) of a successful heralding event and repetitions such that the average final (in)fidelity to generate is given by:
(SM18)
Therefore, the best fidelity that can be obtained is done by imposing: , however, at the price of bad scaling of probability: 222All the expressions are valid obviously for detectors with . This trade off between probabilities and fidelities comes from the well known problem of double excitations in these type of probabilistic protocols for atomic ensembles. The total error to accumulate excitations depends on how to combine excitations from and and will be discussed in Section SM5.
SM1.3.1 Accumulating excitations in the same level.
If we accumulate excitations directly in , the initial state in each step will be instead of . The protocol works in the very same way, but the heralding probability has in this case a small correction in which reads:
(SM19) |
Moreover, in case of failure we reinitialize the process from the beginning, pumping back all the atoms to , which avoids the need of applying the repumping protocol discussed below. The infidelity at each step in this case only come from double excitations contributions scale as:
(SM20) |
The total error to accumulate collective excitations will be directly .
SM2 Heralding single collective excitations using atom-waveguide QED: two-step protocol with exponential scaling.
In this Section we discuss the second protocol of the main manuscript which overcomes the trade-off between heralding probabilities and fidelities. The starting point is that our target ensemble already contains collective excitation in a given level , i.e., our initial state is . Then, the protocol is divided in two-steps: i) we use a single atom to provide single excitations to the target ensemble; ii) then, we use an independent ensemble to herald the successful transfer of the excitations to the target ensemble.
SM2.1 Atom-waveguide resources.

The requirements that we need for this protocol are:
-
•
The general setup is depicted in Fig. SM2(a): we have one individually addressable source atom, and two independently addressable ensembles with atoms respectively, one where we store the collective excitations, namely, the target ensemble and another one that we use to herald the excitations, namely, the detector ensemble. We assume that the atoms have a general level structure as depicted in Fig. SM2(b), with two dipolar transitions coupled to a waveguide modes with an effective rate .
-
•
The atoms must be placed at distances , with and being the characteristic wavelength of the guided mode at the atomic frequency. With that choice, the dynamics induced by the waveguide is given only by long-range dissipative couplings, described by the following Lindblad terms:
(SM21) where denote the collective spin operators () in the target/detector atoms. Note that in principle they will be expressed all in a collective jump operator as they are all coupled to the same guided mode. However, we separate them for convenience as in our protocol each term will act in the two different steps of the protocol.
-
•
The excited states may also decay to other channels than the one inducing the long-range couplings, which we embedded in a single decay rate . However, to obtain the desired scaling we use a closed transition vanenk97a ; porras08a ; borregaard15a , that we study more in detail in a separate section. Thus, the final spontaneous emitted photons are described by:
(SM22) where we define the coefficients accompanying the jump operators, such that both transitions have the same .
-
•
Finally, we also require the existence of Raman/microwave fields, as depicted in Fig. SM2(a) that classically control the transition between different levels.
SM2.1.1 Example of closed transition
There have already been several proposals in the literature of closed transitions vanenk97a ; porras08a ; borregaard15a but for completeness, we discuss here in detail one of particular realization sketched in Fig. SM2(c). The state is connected to the excited state with a two-photon transition through the intermediate state . The level is chosen, e.g., such that the direct transition is dipole forbidden. Then, denoting as the Rabi frequency connecting , and choosing a detuning , the microwave and Raman laser induce a two photon transition from with effective driving .
SM2.2 Protocol and calculation of probabilities
The protocol for heralding single collective excitation starts with the source/target/detector atoms in and it consists of several steps (as depicted in Fig. 2b of the main manuscript):
-
1.
In the first step, we move the target/detector atoms in to an auxiliary level , such that we have , avoiding that the excitations from the waveguide can be absorbed the detector level .
-
2.
In the second step, we excite the source atom to , then, we switch on under the Quantum Zeno dynamics conditions (), such that the excitation is coherently transferred to the ensemble to , i.e., .
-
3.
Now, we move back the states in the target/detector ensemble from to , such that, we prepare . Moreover, we move the source atom to, e.g., , such that it plays no role in subsequent steps.
-
4.
Then, we do a fast -pulse in the ensemble with , such that, . Afterwards, we apply within the Zeno dynamics conditions (), such that we arrive to a state in the target/detector atoms .
-
5.
Thus, if we measure the detector atoms in , we herald the transfer of a single collective excitation to .
Assuming that -pulses are perfect, the relevant steps of the protocols for the analysis of probabilities and fidelities are the second and the fourth. Interestingly, they can be analyzed in a common way as in each of them what happens is that a single excitation is transferred through the waveguide via Zeno dynamics to an ensemble with atoms respectively. Therefore, in the following Section we analyze the general problem and then we will particularize for steps 2 and 4.
SM2.2.1 General Zeno step
The general problem consists of two ensembles (a and b) with three-level atoms (with metastable states , and excited state ) that contain and atoms each. The dynamics are governed by the collective decay on the transition, i.e., and an external field on the second ensemble, i.e., . Therefore the effective non-hermitian hamiltonian that drives the no-jump evolution is given by:
(SM23) |
Denoting the collective symmetric excitations as , the initial state of the problem we want to analyze can be written and the goal state is .
The decay operators couple an initial state to and the coherent terms couple the latter to . In this basis, one can write the Hamiltonian as
(SM24) |
or equivalently in the basis of superradiant and dark states, that is with and , as
(SM25) |
When the coherent driving is weak compared to the collective dissipation , the superradiant state can be adiabatically eliminated and an effective Zeno Dynamics between the dark states is obtained, which is governed by the Hamiltonian
(SM26) |
To minimize the errors, one chooses such that . The dynamics for each state is then approximately given by
(SM27) | |||
(SM28) | |||
(SM29) |
The success probability is the maximized for and for . In this case, one obtains
(SM30) |
where the prefactor originates in the non-unit overlap of the initial state with the dark state, i.e., .
For the repumping protocols that we will study in Section SM3 it is important to know the probability of spontaneous jumps in both ensembles during the evolution. As we already saw in the first protocol, the problematic processes are the one associated to leaky photons. The quantum jump analysis shows that the probability for a spontaneous jump in the ensemble or is given by
(SM31) | |||
(SM32) |
where the first parts, , corresponds to the interval of time where is switched on, and the second part, , the time that we wait, with , such that all the population in the excited state, if any, disappears. By using the approximations for , we can calculate the different contributions and upper bound the probabilities from these processes
(SM33) | |||
(SM34) |
which mainly comes from the contribution of the dark state and where the last approximation is valid for .
Finally, we need to consider what happens with the contribution when , and when we assume a perfect timing, such that then . The only contribution remaining is the one of the superradiant , which leads to
(SM35) | |||
(SM36) |
which are negligible compared to for sufficiently large .
SM2.2.2 Particularizing for the two step protocol: success probability and infidelity.
The second step of the protocol that we want to analyze corresponds to identifying in the general problem , , , , where the ensembles have a size of and an effective size because the excitations in all other states are decoupled and effectively reduce the atom number. This results in a heralding probability:
(SM37) |
In the fourth step, the equivalence reads , , , and the ensembles have a size of and . The initial state is and the goal state is . Thus, the success probability reads:
(SM38) |
where it can be shown that in the limit of , the total probability of success is lower bounded by: .
SM2.2.3 Improving probability through pulse-shaping.
So far, we have restricted our attention to the case of constant pulse driving . However, it is in principle possible to shape such that the excitation transfer from to is improved. The problem of optimizing can not be tackled analytically, however, we can choose a discretization of time , and try to find the optimal choice of ’s such that it maximizes . In Fig. SM3, we show an example that such optimization is possible by discretizing the optimal time found in the previous Section in steps. In Fig. SM3(a), we show the ratio between the probability of success with/without pulse shaping as a function of for a situation with atoms in the ensemble receiving the excitations, where we show how probability can be increased, specially for moderate . In panel (b), we show an example of such optimization for the case of , showing how the optimal shape found is bigger that the optimal (in red) for a constant pulse at initial times and then smaller. The intuition for this shape can be understood by looking the effective Hamiltonian that drives the evolution. Within the Zeno dynamics, only the dark states and are relevant. If we project the dynamics within this subspace, we obtain a hamiltonian:
(SM39) |
From this effective Hamiltonian, we realize that while the initial state (mostly ), which only decays with , independent of the final state where we want to arrive decays with an effective decay rate which increases with , i.e., . Therefore, it is more optimal to ramp up first while the population in is still small. By using more elaborate pulse shaping, even better improvements might be found.

SM3 Heralding single collective excitations using atom-waveguide QED: two-step protocol for polynomial scaling.
In this Section we analyze the third protocol discussed in the manuscript. This protocol is a variation of the second protocol in which after each successful heralding we store the excitations in different levels to combine them a posteriori. This however implies the modification of the previous protocol to obtain the desired scaling for the infidelity . In particular, the second step can not be done through Quantum Zeno dynamics, because the probability of emitting an spontaneous photon within the target ensemble is large, i.e., , that would yield an infidelity . Therefore, in order to achieve subexponential scaling in the number of operations and infidelities still scaling with one needs to make judicious modification of the setup as we will explain now.
SM3.1 Atom-waveguide resources for two-step protocol.
The requirements of this protocol are exactly analogue to the ones of Section SM2 with two modifications: i) we only require a single detector atom, i.e., 333Actually the source atom can also play the role of the detector atom with appropriate modification of the protocol.; ii) we require the existence of several hyperfine states to store the superpositions.
SM3.2 Protocol and calculation of probabilities
In this Section, we analyze the main protocol described for heralding the transfer of a single collective excitation to the target ensemble, assuming that is already in an entangled state , with excitations, which can be written as follows:
(SM40) |
where is the number of states within the superposition, denoting . The final goal state we want to create is:
(SM41) |
As we discussed in the main text, there are two steps that we also consider separately: (a) to move an excitation from the source to the target using Quantum Zeno Dynamics (which is analogue to the one discussed in Section SM2); (b) herald the transfer by inducing a change in the detector atom state. The second step has to be done fast in order to get the desired scaling of infidelity. We will consider these processes separately. We assume the initial state of the detector is such that it only participates in step (b).
SM3.2.1 Step (a): From source to target using Zeno dynamics (no-jump evolution).
This first step is exactly analogue to the first step of the second protocol discussed in Section SM2. We start in an initial state , which couples to other states, namely, and . For completeness, we compare the analytical expression of the dynamics obtained in Section SM2 with the full integration of master equation in Figs. SM4(a-b), where we observe that they are a good approximation even for systems with , as long as . The optimal heralding probability
(SM42) |
that we compare to the exact result in Fig. SM4(c), being a good approximation even when .

SM3.2.2 Step (b): heralding the transfer using fast -pulses (no-jump evolution).
This second step of the protocol do not rely on quantum Zeno dynamics, and it will take place between the target and detector atoms. As we explained in the main text the idea is to: i) first do a fast pulse with such that the possible excitation in ; ii) let the system evolve only through the couplings induced by the waveguide; iii) do a pulse in both the target and detector ensemble, i.e., , such that any remaining excitation in the excited states go back to . It is important to notice that if no excitation has been transferred to in step (a), nothing will happen in this step. Therefore, we consider our initial state to be: . The effective Hamiltonian in this case is then given by:
(SM43) |
which connects only to . In this basis the effective Hamiltonian reads:
(SM44) |
It is again instructive to rewrite it in the basis of sub/superradiant state: , arriving to:
(SM45) |
where the Hamiltonian is diagonal. From here, it is simple to arrive to the solution of the dynamics: , which read:
(SM46) | ||||
(SM47) |
in the original basis. Notice that will be the probability of having transferred the collective excitation to the target while changing the detector atom state to , if we assume that the second pulse is perfect. If we choose a time , then
(SM48) | ||||
(SM49) |
Interestingly, there is a sizeable probability of remaining in the initial state of this step. So instead of start from the beginning every time that we fail, it is possible to repeat this step several times, which increases probability to .
SM3.2.3 Step a: Using Zeno dynamics (quantum jump analysis).
As we already calculated in Section SM2, the probability of having an individual quantum jump in the target ensemble is given by:
(SM50) | ||||
(SM51) |
In Fig. SM5 we compare the exact results (markers) with the upper bound (solid lines) for , showing that actually we get the right scalings both with and .

SM3.2.4 Step b: heralding the transfer using fast -pulses (quantum jump analysis).
The relevant quantum jumps in this step are , with
(SM52) |
In this second step, we make a -pulse with , such that the initial state . Then the system is left free to evolve for a time , and switching the such that no population remains in the excited state . Therefore, the quantum jumps could only occur within a small time interval giving rise to
(SM53) |
In this regime, with and , it is also instructive to consider the probability of other quantum jumps. For example, to calculate the probability that the excitation is transferred to but the state of the detector is unchanged, i.e., remains in , one needs to sum up the probability of making a collective quantum jump in the target together with the probability of making any jump in the transition:
(SM54) |
which biggest contribution comes from the emission in the target ensemble. These states have not destroyed the coherence of but they need to be properly taken care of with the repumping process. In order to avoid that these states also lead to error, we have to make a repumping process back to in the way depicted in Fig. SM6:
-
1.
First we pump incoherently back any possible excitation in through the waveguide, namely, . Because this process is done through a collective photon the error introduced in this step .
-
2.
Once, we have make sure that there are no excitation in we can move the excitations from with pulse using a microwave or two-photon Raman transition.
-
3.
Now, after having transferred the excitation to , we repeat the incoherent transfer through the waveguide that will only introduce errors of the order .

SM3.3 Fidelities of the protocol.
From the calculation of probabilities of the previous Section, we are prepared to estimate the average fidelity when detecting an atomic excitation in the detector atom in . The errors appear:
-
•
Successful heralding: As shown in the main manuscript, in the case where the transition is closed the only way of measuring detector atom in is by successfully generating . If we have a spurious spontaneous emission , then, it is possible that we herald the transfer of an incoherent excitation of , i.e., , which have an overlap with the state we want to create. Thus, the possible error after heralding is given by:
(SM55) -
•
Failed heralding: As it occurred in the first protocol, in each failed attempt we introduce an error in our initial state due to the probability of emitting free space, which in this protocol may occur in step (a), (b) and the repumping. The error per attempt can be estimated to be:
(SM56) where in the last approximation we assumed to be in a regime where .
-
•
Complete process: As in the first protocol, the average complete process consist of a successful heralding and failed attempts, such that the average fidelities of the process:
(SM57) where one sees that to reach the scaling, we do not need a perfectly closed transition, but it is enough to demand a cancellation of spontaneous emission () of at least which can be achieved as well, e.g., by using a quadrupole transition.
In Fig. SM7, we compare the analytical approximation of infidelities of Eq. SM57 (markers) together with exact results (solid lines) as a function of and .

SM4 Heralding single photon excitations using atom-waveguide QED: single-step protocol for polynomial scaling.
In this Section, we study a modification of the previous protocol such that we can do the heralded transfer in a single step and without the need of the closed transition at expense of showing a worse scaling of the success probabilities and infidelities and with the requirement of two different guided modes. These protocol is not discussed in the main manuscript, though we include here for completeness.
SM4.1 Atom waveguide resources.
The requirements for this protocol are:
-
•
We need to have an atomic configuration of source/target/detector atom as in the previous protocol. However, the internal level structure must be modified, as shown in Fig. SM8 to have an excited state coupled directly to two waveguide modes through the transitions with rates . As we will see afterwards in this case it is important that . The modes can differ either in polarization or frequency, but they must satisfy that their characteristic wavelength is approximately the same.
-
•
To guarantee the heralding, it will be important that the transition [] of the source [detector] atom to be largely off-resonant. This must be satisfied to avoid a direct transfer of the excitation from the source to the detector atom that would spoil the heralding.

SM4.2 Protocol and calculation of probabilities.
The main difference with the previous protocol is that is done in a single step. We start with and consider that only the classical field , such that the dynamics governed by the effective Hamiltonian:
(SM58) |
that couples our initial state to , and . In this basis the Hamiltonian can be written as:
(SM59) |
The goal is to find , which can always be done numerically as it is only a 4x4 matrix. However, in order to gain more insight it is useful to write it in a basis with sub and superradiant states. Interestingly, the system always contains a dark state , which is dark for all values of . However, the two orthogonal excited states depend on the ratio . After a careful study, we found the optimal choice for the maximum transfer to was to choose , and the reason is that in that case the two decay channels to and show the same ”superradiant” decay . From now one, we use that ratio and . For this ratio, the adiabatic elimination of the superradiant states give rise to an effective between the dark state and the goal state
(SM60) |
where we have used to simplify the expressions. As we know from the previous Sections, the more convenient is to choose an such that the contribution of and the effective losses induced by superradiant states, i.e., , is the same. Thus, by choosing , it is easy to find that:
(SM61) |
Therefore, if and then the probability of heralding reads:
(SM62) |
In Fig. SM9 we compare the results from the exact integration of the complete non-hermitian hamiltonian together with the analytical approximation (markers) obtained from the Quantum Zeno dynamics (solid lines).

The problematic quantum jump in this case is related to the probability of having an excitation in the target ensemble, i.e., coming from the population of state that reads
(SM63) |
where the first part corresponds to the interval of time where is switched on, and the second part, the time that we wait, with , such that all the population in the dark state vanishes. The contributions of the superradiant/subradiant states to can be obtained in the asymptotic limit , where:
Using that information we can estimate the contribution of the dark state within the time interval: .
(SM65) |
that is:
(SM66) |
whereas the contribution of can always be shown to be smaller order: when . Therefore, we the overall probability of emitting a quantum jump in the target ensemble for this protocol
(SM67) |
which are confirmed numerically in Fig. SM10. The repumping process to correct the collective quantum jump errors can be done as well in a single step by pumping collectively the atoms from , which moves . Because this process is done through a collective photon the probability of emitting a free space photon is given by .

SM4.3 Fidelity of the protocol.
The analysis of the fidelity will be very similar to the one performed for the previous protocol. In this case, if we detect an excitation in in the detector atom, no error may appear. Therefore, the only contribution to the infidelity is the error coming from free space photons in each attempt after repetitions, which finally scale:
(SM68) |
for systems with . In Fig. SM11 we confirm numerically that the analytical approximations capture the right scaling. If we consider as a reference the largest Purcell factor (the one associated to ), then, the scaling of probabilities and fidelities should read equivalently:
(SM69) |

SM5 Merging protocols for combining collective atomic excitations.
In this Section we show how to combine the excitations stored in the target atoms after the first part of the process, that is, when our atomic state has the form , with such that we can build up higher excitation numbers into a single level. For that purposes we use several tools and assumptions:
-
•
We are interested in the so called Holstein-Primakoff limit where , such that the collective atomic dipoles can be approximated by bosonic operators.
-
•
Using the microwave/Raman lasers connecting an atomic level with , we can do displacement transformations on the level. Moreover, using microwave/Raman transition between and levels, we can also engineer beam splitter transformations between these modes.
-
•
Moreover, we can read the atomic state very efficiently by pumping to an excited state that emits a collective photon through the waveguide in a cyclic transition. This will allow do to very efficient detection and potentially number resolved as we explain in the last Section. Together with the beam splitter and displacement transformations, they provide a similar set of tools as the ones used in linear optics protocol with the advantage of having the excitations stored.
Using all those assumptions, our goal is to build a given arbitrary atomic state of excitations, that we know it can be afterwards be mapped to a photonic state with very high efficiency gonzaleztudela15a . The general form of this state typically reads:
(SM70) |
and we will put particular emphasis in the simple Dicke states with excitations, as this will be mapped to photonic Fock states. We discuss two different types of merging protocols separately.
-
1.
If the number of metastable states is limited, we only use two levels and add excitations one by one. This is the kind of protocols typically used in linear optics protocols where it is not possible to store several atomic excitations dakna99a .
-
2.
Using several hyperfine levels and adopting a tree-like structure that will allow us to avoid the exponential scaling of the number of operations.
SM5.1 Adding excitations one by one.

Here we show how to create a photonic state of excitations by combining beam splitters (), displacements transformations () and post-selection condition on no detection in a particular level by using only two atomic levels. For the sake of discussion, we analyze first in detail the case of single Dicke states and leave the analysis of the superpositions afterwards.
The general scheme to build a given atomic state with collective excitations is depicted in Fig. SM12(a). The main step consists of going from an state with excitations in one level and a single one in the other, , to an state excitation in one of them conditioned on detecting no excitation in the other one, i.e., . The idea is to apply a beam splitter transformation of , followed by a projection of the state conditioned on detecting no excitations in the level:
(SM71) |
(not normalized) and the probability of finding it is given by
(SM72) |
which is maximized for a transmitivity . Interestingly, such that it does not decay with . However, if we fail, we have to repeat the process from the beginning, such that the mean number of operations to create a state with excitations can be obtained:
(SM73) |
Taking into account that and the probability to generate a single heralded excitation, the mean number of states can be lower and upper bounded by:
(SM74) | |||
which increase exponentially to increase the number of excitations . Moreover, it was shown in Ref. dakna99a that by combining single photon addition with displacement transformation before and after the addition, lead to a conditional outcome after starting with a state , that is, . Combining of these operations and using the fact that it can be shown that one arrives to as in Eq. SM70, but also with an exponential number of operations.
SM5.2 Doubling the number of excitations post-selecting on no detection.
The key difference with respect to the previous protocol is that we are going to adopt a tree-like structures as depicted in Fig. SM12(b), where we can reach the excitations in steps and we do not have to repeat all of them if we fail. The first building block is to study the process that add up two states with excitations to go to . It can be shown that the conditional outcome after a beam splitter and detecting no excitations in the second atomic level is given by:
(SM75) |
which yields an (approximated) optimal probability for a beam splitter transformation:
(SM76) |
where we used Stirling’s approximation in the last step. Therefore, in this case the optimal does decay with but only polynomially. However, in spite of this decay, the use of of a tree-like structure is enough to circumvent the exponential scaling of adding excitations one by one. The average number of operations to arrive to an state of excitations can be calculated iteratively, i.e.,
(SM77) |
where the terms represents the number of times we need to try in the step to succeed and the one with is the number of steps we need to repeat at the -th step to get the the two branches of the tree. We lower and upper bound this number of operations to get excitations by:
(SM78) |
where we use that and and that we require steps to arrive to excitations. Thus, is superpolynomial in because the probability in each step, , decays with . If we had a way of making independent of as it occurs for the single excitation case , then we would have a polynomial scaling.
For completeness it will be interesting to prove that one can also get arbitrary superpositions fiurasek05a using the tree-like structure of Fig. SM12(b). As a resource we assume we can build any superposition of and photon, i.e., which we know is possible from the previous section. Then, we prove first that using beam splitter and detecting no excitations in the -mode we can arrive to any arbitrary state as follows:
(SM79) |
Now, it is important to check the conditions under which the probability of doubling the excitations is not exponentially small. It is easy to show from the previous equations that he probability of success in each step of the doubling is lower bounded by
(SM80) |
such that it does not decay exponentially if the contribution do not decay exponentially either. This is a reasonable assumption as if would be exponentially small we could approximate the photonic state without doubling with an exponentially small error. Both Eqs. SM5.2 and SM80 show that we can create any arbitrary state with a non-exponentially small probability. Using that , it is then easy to show the superpolynomial scaling of probability:
(SM81) |
SM5.3 Increasing the number of excitations with number resolved detection.
In this last Section, we show how by using atomic number resolved detection, we can overcome the superpolynomial scaling of the previous section. Instead of starting the process again when we detect some excitation in the , we can think of using some of these states that still have a non-negligible number of excitations in the mode that we can use a posteriori. To further explore this possibility, we generalize the operation of Eq. SM75 to see what is the resulting state after beam splitter transformation when we want to sum up and excitations in the modes when we detect the excitations in the mode:
(SM82) |
In Fig. SM13(a) we plot the distribution of probabilities as a function of for different and . In solid black, we depict the the case with which is the symmetric situation that we consider before. For this symmetric situation the expression of Eq. SM5.3 can be simplified as follows:
(SM83) |
and for , and where in the last approximation we assumed to use Stirling approximation. By integrating this expression it can be obtained that the probability of detecting an state lead to:
(SM84) |
which means that there is a probability independent of of going from . In order to make a worst case estimation, we assume that in each step we go only to . This in principle can be done because if one obtains a higher excitation number it can be decreased by applying infinitesimal beam splitter transformations with an empty mode as:
which show that by switching , we do not alter , until we decrease one excitation. This can be applied several times until we arrive to . In this worst case scenario, starting again with single excitations [see Fig. SM12(c)] we will arrive at least to [which lead ] in steps, which means that with this protocol
(SM86) |
where we used . Thus, by using number resolved detection we turn the superpolynomial scaling into polynomial which is big improvement if we want to scale our protocol for larger excitation numbers. In practical situations, the scaling will be better as one will never decrease the excitations to arrive to , but will use the larger excitation numbers. The consequence of that is that within the tree we will need to add up excitation in an asymmetric way, i.e., as we showed in Fig. SM13(b). However, even in this case it can also be shown that
(SM87) |
for approximately all as shown numerically in Fig. SM13(b). This proves that the number resolved excitation also helps even in the asymmetric configuration as it also may give rise to a probability in each step independent of the number of excitations we add up.

SM5.4 Atomic number resolved detection using waveguide QED.
Though standard linear optics setups can already distinguish between photon numbers using superconducting detectors, current technologies are far from obtaining the desired detection efficiencies for optical photons. In our case, we can benefit directly from our atomic detection which naturally give rise to ways of having number resolved detection. In this Section, we make a short discussion of how one can do it.
The goal is to be able to distinguish in one atomic level between having or excitations. In order to do it, we can drive a closed atomic transition to an excited state such that we emit photons through the waveguide. Using the fact that , we will be able to obtain the photon counting distribution of having detected photons after a time interval . Interestingly, this photon counting distribution is given by a Poisson process with different parameter , being the number of excitations, i.e., . In Fig. SM14, we see this distribution quickly converges to a Gaussian with mean value and width , such that for large (or equivalently large ), the overlap between the two distribution, vanishes approximately with approximately , which give as some bounds of the required to minimize the error introduced in the number resolved detection.
Depending on the particular implementation, a more thorough analysis of the errors has to be performed, to estimate the final fidelities of the protocol, though our paper serves as an optimistic basis for future research.
