key: cord-0643464-1x21bidn authors: Heller, Lukas; Farrera, Pau; Heinze, Georg; Riedmatten, Hugues de title: A cold atom temporally multiplexed quantum memory with cavity-enhanced noise suppression date: 2020-03-18 journal: nan DOI: nan sha: 529077008579d7ba16c244413765ca1569941c67 doc_id: 643464 cord_uid: 1x21bidn Future quantum repeater architectures, capable of efficiently distributing information encoded in quantum states of light over large distances, will benefit from multiplexed photonic quantum memories. In this work we demonstrate a temporally multiplexed quantum repeater node in a laser-cooled cloud of $^{87}$Rb atoms. We employ the DLCZ protocol where pairs of photons and single collective spin excitations (so called spin waves) are created in several temporal modes using a train of write pulses. To make the spin waves created in different temporal modes distinguishable and enable selective readout, we control the dephasing and rephasing of the spin waves by a magnetic field gradient, which induces a controlled reversible inhomogeneous broadening of the involved atomic hyperfine levels. We demonstrate that by embedding the atomic ensemble inside a low finesse optical cavity, the additional noise generated in multi-mode operation is strongly suppressed. By employing feed forward readout, we demonstrate distinguishable retrieval of up to 10 temporal modes. For each mode, we prove non-classical correlations between the first and second photon. Furthermore, an enhancement in rates of correlated photon pairs is observed as we increase the number of temporal modes stored in the memory. The reported capability is a key element of a quantum repeater architecture based on multiplexed quantum memories. Future quantum repeater architectures, capable of efficiently distributing information encoded in quantum states of light over large distances, will benefit from multiplexed photonic quantum memories. In this work we demonstrate a temporally multiplexed quantum repeater node in a laser-cooled cloud of 87 Rb atoms. We employ the DLCZ protocol where pairs of photons and single collective spin excitations (so called spin waves) are created in several temporal modes using a train of write pulses. To make the spin waves created in different temporal modes distinguishable and enable selective readout, we control the dephasing and rephasing of the spin waves by a magnetic field gradient, which induces a controlled reversible inhomogeneous broadening of the involved atomic hyperfine levels. We demonstrate that by embedding the atomic ensemble inside a low finesse optical cavity, the additional noise generated in multi-mode operation is strongly suppressed. By employing feed forward readout, we demonstrate distinguishable retrieval of up to 10 temporal modes. For each mode, we prove non-classical correlations between the first and second photon. Furthermore, an enhancement in rates of correlated photon pairs is observed as we increase the number of temporal modes stored in the memory. The reported capability is a key element of a quantum repeater architecture based on multiplexed quantum memories. Quantum light-matter interfaces are key platforms in the field of quantum information. They provide storage, processing or synchronization of photonic quantum states, which can be used for applications in quantum communication, computation or sensing [1, 2] . One example is optical quantum memories, devices able to store and retrieve photonic quantum states. Multiplexed optical quantum memories are important in order to achieve higher data communication rates, as it is similarly done in conventional classical communications. One particularly interesting application of multiplexed quantum memories is to enhance the entanglement distribution rate in quantum repeaters [3] , which in turn also facilitate their practical realization by relaxing the storage time requirements. For this application, the quantum memory should be able to store a large number of distinguishable modes and to read them out selectively. Different degrees of freedom have been considered for the multiplexed modes, such as frequency, space or time. Ensemble-based platforms, where photonic quantum information is mapped onto collective atomic excitations, are well suited for demonstrating quantum information multiplexing. Cold atomic gases are currently one of the best quantum memory platforms with excellent properties demonstrated, including single photon storage and retrieval efficiency up to 90 % [4] [5] [6] [7] [8] and storage time up to 220 ms [5, 9] . In particular, this system is well suited for realizing a photon pair source with embedded quantum memory following the Duan-Lukin-Cirac-Zoller protocol [10] , that can be used as a quantum repeater node [11] [12] [13] . Current multi-mode atomic memories focus mainly on spatial multiplexing, e.g. adressing modes with different wavevectors or multiple memory cells in different parts of the cloud [14] [15] [16] [17] [18] [19] [20] . Beyond spatial multiplexing, time multiplexing provides a pratical way to store multiple distinguishable modes in the same ensemble of atoms. So far, time multiplexing has been mostly studied in solid-state quantum memories based on inhomogenesously broadened rare-earth doped crystals, using the atomic frequency comb scheme [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] . In contrast, very few experiments have investigated time multiplexing in atomic gases either by using a controlled and reversible broadening of the spin transition [33] [34] [35] [36] or very recently by mapping photons generated in different spatial modes to different temporal modes [37, 38] . Previous attempts to generate non-classically correlated pairs of photons and spin waves in multiple temporal modes in the same spatial mode have been plagued by a linear increase of the noise as a function of number of modes due to dephased spin waves [35] . This effect prevents significant gain in photon pair generation rate, compared to the single-mode case. In this paper, following a proposal by Simon et al [39] , we demonstrate that by embedding the ensemble inside a low finesse cavity, one can substantially reduce noise from dephased spin waves. We experimentally show noise reduction by a factor 14. Subsequently, we demonstrate the generation of cavity-enhanced photons paired with spin waves in up to 10 temporal modes while preserving high quantum correlations between the photons and spin waves. This allows us to increase the spin wave -photon (photon pair) creation rate by a factor 10 (7.3), with respect to the single-mode case. The number of modes could be greatly improved by increasing the finesse of the cavity. In the DLCZ scheme, an off-resonant write laser pulse generates collective excitations in an atomic cloud that are correlated with Raman scattered write photons. These excitations can be mapped with high readout efficiency into read photons as long as the atomic coherence is preserved. In order to achieve temporal multiplexing, we need two additional ingredients. First, controlled dephasing and rephasing of the collective excitations that allows one to distinguish spin waves created at different temporal modes. Second, an optical cavity to reduce noise generated from the dephased excitation modes [39] . The experimental setup is shown in Fig. 1a . We cool an ensemble of 87 Rb atoms in a magneto-optical trap to a temperature of around 40 µK. The relevant atomic levels are shown in Fig. 1 (b) and consist of two metastable ground states (|g = |5 2 S 1/2 , F = 1, m F = 1 and |s = |5 2 S 1/2 , F = 2, m F = 1 ) and one excited state (|e = |5 2 P 3/2 , F = 2, m F = 2 ). After optically pumping the atoms to |g , a write pulse with duration ∆t W = 266 ns drives the transition |g → |e red detuned by ∆ = 40MHz. This process probabilistically generates write photons on the |e → |s transition through spontaneous Raman scattering that are paired with collective spin excitations (atoms in |s ). In order to distinguish different spin wave temporal modes, a spatial gradient magnetic field is present during writing. This causes a position dependent energy shift of the atomic levels through the Zeeman effect. The temporal evolution of the spin waves can be written as where the two-photon detuning ∆w j is different for each atom. Here, N denotes the total number of atoms, x j the initial atom position and k W (w) the wavevector of the write pulse (photon). is the magnetic field at the position of atom j, g F (|s,g ) is the Landé g-factor, and m F (|s,g ) the quantum number corresponding to the zcomponent of the total angular momentum. The gradient field is provided by the trapping coils. The collective atomic excitation can be converted into a read photon by means of a read pulse resonant to the |s → |e transition. In the absence of atomic dephasing the emission will be highly efficient into a particular spatio-temporal mode thanks to collective interference of all contributing atoms. In the case of spin wave dephasing, i.e. like the one induced by the magnetic field gradient, no collective interference occurs and the readout process will not be efficient. However, inverting the amplitude of the magnetic field gradient (and thereby inverting the phase evolution of the spin wave) eventually leads to its rephasing and efficient photon retrieval. This technique can be used to write N m different temporal modes and select a particular one to be read-out (see Fig. 1c ). Note that while we can trigger the phase reversal on demand, there will be a delay between this trigger and the actual read-out. This delay does not prevent however the use of our memory in a quantum repeater architecture, as explained in the supplemental material [40] . When reading a particular temporal mode, a major noise source arises from dephased spin waves generated in other temporal modes. During writing, spin waves are created which are paired with photons emitted into all possible modes, not only the write photon mode. Such spin waves, if in-phase, emit read photons into the corresponding phase matched (uncollected) mode and therefore not contribute to read-out noise. However, N m − 1 dephased spin waves will emit read photons into all directions and therefore generate noise in the read mode [39, 40] . Non-perfect rephasing of the read-out mode adds additional noise proportional to 1−p int r|w , where p int r|w is the intrinsic read-out efficiency. We obtain the following expression for the total probability to detect a noise photon from dephased spin waves [40] Here, p is the probability to generate a spin wavewrite photon pair, β w(r) is the fraction of write (read) photons that are emitted into the collected spatial mode, ξ eg is the branching ratio corresponding to the |e − |g transition, and η r is the detection efficiency of the read photons. In order to decrease this noise one can increase the ratio β w of excitations paired with write photons over excitations paired with photons emitted into other spatial modes. This is achieved with an optical cavity enhancing the photon emission into the write photon spatial mode. Such a cavity is schematically described in Fig. 1a . In order to not simultaneously increase β r while increasing β w , the read photon has orthogonal polarization from the cavity mode and is decoupled from the cavity by a PBS. Fig. 2a characterizes the cavity enhanced write photon emission. The cavity resonance frequency is changed by moving one of the cavity mirrors with a piezo-electric device. When the cavity resonance matches the write photon transition, photon emission is enhanced. However, when the two frequencies differ by more than the cavity linewidth, the emission is suppressed. At resonance we observe enhancement of p c enh /p = 14.3 (6) . Here, p c (p) is the write photon emission probability with (without) cavity. This is close to the expected value of 2F/π [41], while out of resonance inhibition is p c inh /p = 0.078 (3) . The spectral width of the emission is 16.6MHz and matches the cavity linewidth (for more details on the cavity parameters see [40] ). Note that the effective enhancement of the write photon detection probability with cavity is reduced by the cavity escape efficiency, which for our implementation is 56%. As mentioned before, the cavity enhancement of the write process allows for suppression of the read photon noise generated from dephased excitations. This is quantified in Fig. 2b and 2c. In order to measure this dephased noise, a magnetic field gradient is applied during writing without field inversion before read-out. This causes a rapid dephasing of the generated spin waves and hence all the read-out photons are generated through interaction of the read pulse with dephased spin waves. In Fig. 2b (2c), the read photon detection probability (write pulse power) is shown as a function of the write photon generation probability p. We observe that for the same excitation probability, the noise (write pulse power) is 14.4(7) (13.9(3)) times lower in the cavity enhanced situation (which is compatible with the cavity enhancement observed in Fig. 2a) . The enhancement gives an approximate upper bound on the number of modes that can be used in a temporally multiplexed operation of the system. After characterizing cavity-enhanced emission and noise reduction, we now compare temporally multiplexed storage with and without enhancement, as depicted in Fig. 1c . Fig. 3 shows a situation in which 6 write pulse modes are sent to the atomic cloud. In Fig. 3a , after the 6-modes write process, the magnetic field gradient is reversed. Upon detection of a write photon, we use a feed forward instruction in order to scan the read-out around the expected rephasing time. We observe 6 peaks corresponding to the rephasing of each of the 6 spin wave modes. This figure shows 6 different data sets (separated with white and grey backgrounds) corresponding to write photon detection in different temporal modes. The ratio between the SNR achieved with/without cavity enhancement of ≈ 14 highlights the noise reduction achieved with cavity. For the cavity case, Fig. 3b characterizes the cross-correlation function between the write and read photons (defined as g (2) w,r = p w,r /(p w p r ), where p w,r is the probability to detect a coincidence between write and read photon, and p w (p r ) is the probability to detect a write (read) photon) in all the 36 possible combinations of six write and six read modes. The correlations are preserved when the read mode corresponds to the write mode (weighted average 16.6(1.8)). However, little crosstalk is observed when the read mode is different from (6). With cavity enhancement, intrinsic retrieval efficiency for the first mode is p int r|w ≈ 26%. Blue (green) data is taken with (without) cavity enhancement. For both, single-mode excitation probability is p1m ≈ 0.04. Solid lines are a Gaussian fit of each retrieval peak. (b) Individual cross-correlation function between the different 6 write and read modes with cavity. The two bars in solid black lines at positions (1,1) and (1,6) represent the average for the diagonal and the off-diagonal values, respectively. the considered write mode (weighted average 1.7(0.5)). Finally, we characterize the cavity enhanced temporally multiplexed operation of the system. After a train of N m write pulses and the recording of a write photon, the magnetic field gradient is inverted. A read pulse is sent at the expected rephasing time of its paired spin excitation. In Fig. 4a , scanning the number of modes, we observe that the write photon detection probability per write pulse train, and hence the probability to create a spin wave -photon pair, increases linearly with N m , while the write-read photon coincidence detection probability has a slightly worse scaling. This can be explained by the reduced readout efficiency as a function of storage time and by magnetic field fluctuations (cf. [40] ). Nevertheless, for 10 modes we obtain a total rate enhancement of 7.3. In Fig. 4b , again scanning N m , we show the averaged value of g (2) w,r across N m modes. We notice that the multiplexed operation has a much stronger degradation Averaged g (2) w, r w,r − 1) in cross-correlation enabled by the cavity, as a function of the number of modes. Here, g (2) , c w,r (g (2) w,r ) is the cross-correlation value with (without) cavity. Inset shows g (2) w,r of each mode for the 10-mode data point. Single-mode excitation probability is p1m ≈ 0.045 for all measurements. impact on the correlation between the write and read photons when no cavity is present. The cavity significantly reduces the impact of the dephased spin waves on the quality of the correlations. It is also remarkable that g (2) w,r is higher with cavity enhancement in the case of just 1 temporal mode. This highlights the imperfect rephasing of the spin wave, leading to dephased noise that is suppressed by the cavity. This is predicted by Eq. 2 for read out efficiencies <1 and explained in more detail in [40] . Moreover, the values g (2) w,r > 2 are an evidence of quantum correlation between the write and read photons, assuming thermal statistics for the individual write and read modes. For 10 modes, we also measured the averaged heralded autocorrelation of the generated single photon and found g (2) r,r|w =0.36(0.25)< 1, confirming the non-classical nature of the emitted photons. The maximal number of temporal modes is currently limited by the finesse of our cavity, which is in turn lim-ited by the optical intra-cavity loss, mostly given by the windows of our vacuum chamber. This loss is also responsible for the low escape efficiency in our current experiment (cf. [40] ). This is however not a fundamental limitation. By implementing a cavity inside the vacuum chamber, a much higher cavity finesse could be achieved while keeping a high escape efficiency, such that N m > 100 should be readily possible. For such a large number of modes, the next limitation is the spin wave storage time. With write modes separated by 800 ns as in our implementation, memory lifetimes of 2 * 80µs become necessary. However, DLCZ experiments with cold atoms in optical lattices have shown much longer storage times of up to 200 ms [5, 9] . Reaching long storage times is facilitated by the use of magnetically insensitive transitions to minimize decoherence by magnetic fluctuations. These transitions are not directly compatible with the broadening using magnetic gradients as demonstrated in our current proof of principle experiment. However, several solutions could be applied, e.g. transferring the excitations to clock transitions after the write pulse train [42] or using light shifts for inducing and reversing the broadening [43, 44] . Finally, we note that the gain in coincidence count rate due to the multi-mode operation is only present for a fixed repetition rate of the experiment. This is for example the case for quantum repeater applications, where entanglement between distant quantum memories must be heralded. In that situation, the repetition rate of the entanglement attempts is limited to R = c/L 0 where L 0 is the distance between the ensembles. For example, for L=100 km, R=2 kHz. In that case, temporal multiplexing would increase the entanglement rate by a factor N m for low success probability [3] . In conclusion, we presented a temporally multiplexed quantum repeater node based on cold atomic ensembles. By implementing a controlled inhomogeneous broadening of the spin transition, we generated distinguishable spin waves. We significantly reduced noise due to dephased spin waves by embedding the ensemble inside a low finesse optical cavity. This allowed us to demonstrate multiplexed generation of non-classical spin wave -photon pairs in up to 10 temporal modes, enabling a corresponding increase in generation rate. These correlated pairs could also serve as a source of high-dimensional light-matter entanglement in time. The multiplexing capability can be further enhanced by using a higher finesse cavity or by combining temporal multiplexing with other techniques such as frequency or spatial multiplexing. We acknowledge support by the Spanish Ministry of Economy and Competitiveness (MINECO) and the Fondo Europeo de Desarrollo Regional ( In this document, we give more details about theoretical concepts and technical issues of our experiment. In particular, we characterize the impact of the write pulse duration on cavity enhancement and readout efficiency, describe theoretically the cavity enhancement and simulate the cross-correlation g (2) w,r for different experimental conditions. Subsequently, we characterize the effect of cavity enhancement in single-mode operation, argue the choice of cavity parameters and detail the transition scheme used in this experiment. Finally, we also discuss the deviation from linear increase of coincidence rate with number of modes, as seen in Fig. 4(a) of the main paper. Two important figures of merit are closely linked to the write pulse duration: the cavity enhancement and the readout efficiency. As mentioned in the main text, the write pulse duration is set to a full-width at halfmaximum (FWHM) of ∆t W = 266 ns. This duration is chosen considering the above figures of merit, as explained in this section. The write pulse temporal duration is inversely proportional to its frequency spectrum. However, only the part of the write pulse spectrum that overlaps with the cavity transmission spectrum can be effectively enhanced. This effect is shown in Fig. 1 where we compare the write photon detection probability p w for different pulse lengths, scanning the cavity detuning. For long (narrow-band) write pulses, the cavity enhancement spectrum is given by the cavity transmission spectrum. However, when decreasing the write pulse duration, its spectrum broadens. In this case the cavity transmission and write pulse spectra get convoluted, and the cavity enhancement spectrum becomes broader, showing a lower maximum enhancement. From this measurement we infer that the write pulse has to be longer than ≈ 100 ns in order to obtain the maximum cavity enhancement for the current cavity setup. The write pulse duration also affects the controlled rephasing echo profile. When the write pulse temporal duration is comparable to or longer than the spin wave rephasing profile (which is given by the applied inhomogeneous broadening), excitations generated at different times within the same write pulse will rephase at different times. As opposed to the DLCZ protocol in a homogeneously broadened medium, it is not possible anymore to retrieve the entire spin wave at a specific retrieval time. Therefore, the retrieval efficiency p r|w = p w,r /p w , considering all the possible spin wave creation times, will decrease. This can be seen in Fig. 2 where we compare the echo profile for different write pulse lengths. From this measurement we infer that the write pulse has to be on the order of ≈ 100 ns in order to obtain decent retrieval efficiency for the current inhomogeneous broadening. While cavity enhancement is the highest for longer write photons, the spin-wave echo shows a higher retrieval efficiency for shorter write pulses. The write pulse that we choose is a trade-off between enhancement and efficiency. While this would indicate ∆t W ≈ 100 ns, we use a slightly longer write pulse of ∆t W = 266 ns as longer rephasing peaks are less affected by fluctuations in rephasing time (see below). As explained in the supplemental material of [1] , when describing theoretically the write and read photon detection probabilities in the presence of spin wave dephasing, one has to consider both the coherent and the incoherent emission processes. This can be described by the following equations: where p is the spin wave excitation probability, η w(r) is the write (read) photon total detection efficiency, p int r|w is the intrinsic readout efficiency, β w(r) is the fraction of solid angle corresponding to the write (read) photon collection mode, N s = p/β w , is the total number of created spin excitations, and ξ eg is the branching ratio corresponding to the read photon transition. Let's now consider the situation with multiple writing temporal modes and subsequent readout of a specific mode at the rephasing time of the corresponding spin wave. The read photon emission contributions from the rephased spin wave can be described by Eq. 1-3. However, in this situation one also has to consider the incoherent read photon emission from spin wave modes that are not rephased. The photon contributions to p r and p w,r from these dephased modes is: where N deph s = p(N m − 1)/β w is the total number of spin excitations generated by write pulses corresponding to modes different from the rephased one. Adding the contributions 4-5 to 2-3, we can write the expressions for the detected read-out efficiency (p r|w = p r,w /p w ) and the cross correlation function (g (2) w,r = p w,r /(p w p r ))as We can observe that increasing N m increases the incoherent therm in p r|w and decreases g (2) w,r . However this can be overcome by increasing the ratio β w /β r . In our experiment we obtain this by having an optical cavity resonant with the write photon but decoupled from the read photon mode. In such a situation the ratio β w /β r is equal to the write photon cavity enhancement factor 2F π (compare also simulations in Fig. 3-4) . Please note that experiments with cavities for both write and read process have been realized as well [2] , with the aim of improving the read-out efficiency. However, in this case the ratio β w /β r is unity, making temporally multimode operation impossible. For achieving higher retrieval efficiencies in the current setup, the optical depth needs to be improved by other means, for example by compressing the atoms during the MOT phase. For the following simulations, the model from the previous section is used. No dependence of retrieval efficiency on storage time was considered, i.e. assuming N m τ m τ mem . Here, τ m is the single-mode duration and τ mem the memory lifetime. For the given memory setup and parameters, Fig. 3 shows the scaling of cross-correlation as a function of mode number, plotted for different cavity enhancements. In red we show the current setup performance. As apparent from the simulation, for the multi-mode case substantial improvement is still possible by increasing the cavity's finesse, However, for the single-mode case only small improvement is expected. We observe that adding modes to the memory reduces quantum correlations due to increased noise. Given a w,r as a function of number of input modes, for different values of the cavity enhancement between 1 (no cavity) and 81, in steps of 10. In red the current setup with a cavity enhancement of 14. minimum threshold for the cross-corellation function, it is instructive to investigate up to how many modes the memory supports, still complying with this threshold. As a threshold we choose a value of 5.8 (minimum value necessary for violating Bell's inequality [3] ). For a given enhancement, Fig. 4 shows this maximum number as a function of cavity enhancement, plotted for different retrieval efficiencies. We find a linear behaviour on the cavity enhancement. Furthermore, we see that great improvement is still possible by increasing the retrieval efficiency of the memory towards unity. Max. mode number for g (2) w, r > 5.8 w,r > 5.8 vs. cavity enhancement, for different values of the retrieval efficiency between 0.4 (current setup) and unity, in steps of 0.15. In red the current setup with a retrieval efficiency of 0.4. Up to now, the cavity was employed solely during multi-mode operation. Now, we investigate the per-formance of the memory in single-mode operation, i.e. for the DLCZ storage protocol in the homogeneously broadened medium. In Fig. 5 we show measured crosscorrelation as a function of storage time. For the same excitation probability p, we compare the performance with and without cavity enhancement of the write photon generation process. In both cases, measured data is in good agreement with the expected behaviour (solid lines, computed from Eq. 7 with p, memory lifetime τ and cavity enhancement as stated in the figure caption). Two important findings can be deduced from this measurement. Firstly, already at time zero the performance of the cavity enhanced memory is superior to the one without enhancement. This is a consequence of the non-unity retrieval efficiency of our memory. The retrieval efficiency at zero storage time is limited by insufficient optical depth and re-absorption (motional or spurious magnetic dephasing mechanisms do not yet play a role, compare also Fig. 3 and Fig. 4 ). The gain (g (2) , c w,r − 1)/(g (2) w,r − 1), where g (2) , c w,r (g (2) w,r ) is the crosscorrelation function with (without) cavity, at zero storage time is 2.3. Secondly, the correlation decay versus storage time is much more apparent when the cavity is not employed. With cavity, (g (2) , c w,r −1) only drops by 15% between time zero and the 1/e memory lifetime τ ≈ 72µs. However, the same figure drops by 60% without cavity. This shows the noise reduction capability of the cavity and can be further enhanced by enhancing the finesse. These results demonstrate that cavity enhanced write emission is not only beneficial in multi-mode operation (as investigated in the main paper) but can also greatly improve the performance of the single-mode protocol. All considerations concerning possible improvements of the enhancement factor apply equally to the single-mode DLCZ protocol. w,r as a function of storage time for DLCZ storage protocol in homogeneously broadened medium. Blue (green) data is taken with (without) cavity enhancement. p ≈ 10% for both traces. Solid lines simulate expected behaviour, assuming a cavity enhancement of 14 for cavity enhanced emission and a 1/e memory lifetime of τ ≈ 72µs in both cases. The cavity was designed taking into account the experimental setup and the properties of the states we wanted to generate. Some of these design considerations are explained in this section. The first aspect is the cavity geometry. In the case of a linear cavity, write photons emitted into each of the two opposite directions defined by the optical mode of the cavity occupy the same spatial mode outside the cavity and will be detected. These two emission directions are linked to spin waves generated with different wavevector k sw = k W −k w . Half of the detected write photons correspond to disadvantageous spin waves with a larger wave vector k sw which experience a faster decoherence induced by atomic motion [4] . This can be solved by using a ring cavity, where emission into two opposite directions couples to two different spatial modes outside the cavity. In particular, we chose a triangular ring cavity geometry. An important design parameter is the outcoupling cavity mirror reflectivity R = 1 − T . Having a high reflectivity increases the finesse of the cavity where L are optical roundtrip losses present inside the cavity. This leads to a higher cavity enhancement of the writing. However, increasing the mirror reflectivity also decreases the photon escape efficiency η cav = T /(T +L) of the cavity. The scaling of F and η cav is quantified in Fig. 6 . In red, we also plot the expected rate gain for multi-mode cavity operation [5] , assuming N m 1. Allowing for the same multimode error in both operating conditions (with and without enhancement), the cavity enhanced memory would offer an up to 8.6-fold increase in coincidence count rate compared to multi-mode operation without cavity. As a compromise, we chose a reflectivity of 86% (grey dashed line, for H polarisation), corresponding to a measured cavity finesse of 22.2 and a calculated photon escape efficiency of 56%. Here, we assume a total intracavity roundtrip loss of 11%. Considering that the two MOT chamber windows already account for an ≈ 70% of these losses, implementing the cavity inside the vacuum chamber will greatly improve the memory performance. Assuming a reasonable roundtrip loss of 1% for a possible configuration inside the vacuum chamber and better optical elements and polarisation control (dashed lines in Fig. 6) , an up to 99-fold increase in coincidence count rate is within reach. Another design parameter is the cavity length. Having a shorter cavity leads to a larger free spectral range (FSR) and hence a broader cavity linewidth. Having a broader cavity linewidth allows for the generation of write photons with broader spectrum and hence shorter temporal duration. This means that the repetition rate of the experiment can be higher and more temporal modes can be fit within the memory lifetime. Therefore, the shorter the cavity, the better. However, due to technical considerations such as geometry of the vacuum chamber setup and spatial filtering of write and read photons with respect to write and read pulses, we choose a cavity length of ≈ 85cm. The measured FSR is 342MHz, corresponding to a cavity transmission linewidth of 15.4MHz (inserting the cavity inside the vacuum chamber would also allow for much shorter cavities). For application in a quantum repeater node, it is important to retrieve the stored spin wave on demand, in order to provide synchronisation with photons from neighbouring nodes. In our implementation, the retrieval does not happen immediately after requesting the photon. For example, if applied in a DLCZ type quantum repeater link, the gradient can only be reversed upon arrival of a herald from the intermediate measurement station, signalling successful entanglement generation at time τ . Upon gradient reversal at time τ + δt, the read photon is then retrieved at time T ret = 2(τ + δt). The read photon can be synchronized with a second read photon from another memory for entanglement swapping by choosing δt accordingly. While this requires the storage time of the memory to be twice as large as compared to immediate retrieval, the requirements on storage time are simultaneously relaxed for a multiplexed repeater. To achieve on-demand read-out without delay, we propose to null the magnetic field gradient after the last mode was stored in the memory. Doing so, the dephasing will be stopped and the atomic phase frozen. Upon an heralding signal, the gradient can be reversed and the spin-wave modes will rephase immediately.This technique could also be implemented using light shifts. As shown in Fig. 7 , we employ hyperfine transitions on the D2 line of 87 Rb. More specifically, by optical pumping a single Zeeman sublevel |g = |5 2 S 1/2 , F = 1, m F = 1 is populated, in the presence of a bias magnetic field aligned with the photon mode. Subsequently, the atoms are off-resonantly exited with σ + -polarised light. As we detect photons that are emitted along the field gradient axis only, just a single (σ + ) write photon transition is allowed for decay to |5 2 S 1/2 , F = 2 , heralding spin wave creation on |s = |5 2 S 1/2 , F = 2, m F = 1 . As indicated in Fig. 7 , this transition is magnetic-field sensitive, with ∆ω/B = 0.7 − (−0.7) MHz/G = 1.4 MHz/G. In order to achieve controlled dephasing and rephasing of the spin wave by means of a magnetic gradient field, this dependence is crucial (see Eq. 1 in the main paper). A magnetic field insensitive transition cannot be used for the multi-mode storage protocol. In Fig. 4(a) of the main paper, the gain in coincidence rate p w,r vs. number of modes was investigated. In contrast to the linear increase in spinwave -write photon generation probability p w , p w,r deviated from this linear increase for higher mode numbers. We identify two main effects for this degradation: magnetic field fluctuations and (temporal) uncertainty in feed forward read out. Spin wave coherence is limited by atomic motion and spurious magnetic gradient fields. As shown in Fig. 5 for the single-mode protocol, this coherence decay decreases the read-out efficiency when the storage time increases. The characteristic 1/e memory lifetime for this operation mode is τ ≈ 72µs. However, the multi-mode operation is subject to unstable field conditions due to the presence of additional gradient fields (and field reversal) for the controlled rephasing protocol. This affects the quality of optical pumping to |g and leads to faster efficiency decay. Moreover, the rephasing time T reph is determined by fulfilling T reph 0 ∆w j (B(t ))dt = 0. Drifts of the magnetic field strength along a single experimental cycle will lead to rephasing times that are not constant across this cycle. To counteract, we use a high voltage capacitor enabling a fast and stable field reversal. However, this does not allow for removing this gradient drift influence completely for arbitrary storage times, in our current configuration. While these effect also play a role in Fig. 3(a) , the feed forward readout Fig. 4(a) is further affected by the difficulty of reading out a rephased spin wave at its precise rephasing time. Only when reading out at the maximum of the rephasing peak of each mode, one can profit from maximum retrieval efficiency. However, this read out time is programmed beforehand for each mode based on calibration measurements. While the first modes show little jitter in its rephasing time, later modes are subject to greater fluctuations, for example by a change in drift of the above mentioned gradient strength. Reduction of Eddy currents or active field compensation could help mitigating this effect. In conclusion, additional to the efficiency decay in Fig. 5 for single-mode operation, in multi-mode operation field gradient variations and shifting rephasing times reduce the retrieval efficiency of higher modes above average. * Contact: lukas.heller@icfo.eu † Contact: pau.farrera@icfo.eu; Present address: Max-Planck-Institut fr Quantenoptik, Hans-Kopfermann-Strasse 1, 85748 Garching, Germany ‡ Present address: TOPTICA Projects GmbH