Experimental realization of 105-qubit random access quantum memory

Random access memory is an indispensable device for classical information technology. Analog to this, for quantum information technology, it is desirable to have a random access quantum memory with many memory cells and programmable access to each cell. We report an experiment that realizes a random access quantum memory of 105 qubits carried by 210 memory cells in a macroscopic atomic ensemble. We demonstrate storage of optical qubits into these memory cells and their read out at programmable times by arbitrary orders with fidelities exceeding any classical bound. Experimental realization of a random access quantum memory with many memory cells and programmable control of its write-in and read out makes an important step for its application in quantum communication, networking, and computation.


INTRODUCTION
Classical random access memory, with its programmable access to many memory cells and site-independent access time, has found wide applications in information technologies. Similarly, for realization of quantum computational or communicational networks, it is desirable to have a random access quantum memory (RAQM) with the capability of storing many qubits, individual addressing of each qubit in the memory cell, and programmable write-in and read out of the qubit from the memory cell to a flying bus qubit with site-independent access time. [1][2][3][4][5][6][7][8][9][10] Such a device is useful for both quantum communication and computation. [1][2][3][4][5][6][7][8][9][10] It provides a key element for realization of long-distance quantum communication through the quantum repeater network. [1][2][3][4][5][6][7] The write-in and read-out operations require implementation of a good quantum interface between the bus qubits, typically carried by the photonic pulses, and the memory qubits, which are usually realized with the atomic spin states. A good quantum interface should be able to faithfully map quantum states between the memory qubits and the bus qubits. A convenient implementation of the quantum interface is based on the directional coupling of an ensemble of atoms with the forward propagating signal photon pulse induced by the collective enhancement effect. [2][3][4][5][6]11 A number of experiments have demonstrated this kind of quantum interfaces and their applications both in the atomic ensemble [11][12][13][14][15][16][17][18][19][20][21][22][23] and the solid-state spin ensemble with a lowtemperature crystal. [24][25][26][27][28][29] To scale up the capability of a quantum memory, which is important for its application, an efficient method is to use the memory multiplexing, based on the use of multiple spatial modes, 17,20 or temporal modes, 25,26,28,29 or angular directions 21 within a single atomic or solid-state ensemble. Through multiplexing of spatial modes, recent experiments have realized a dozen to hundreds of memory cells in a single atomic ensemble, however, write-in and read-out of external quantum signals have not been demonstrated yet. 17,20 With temporal multiplexing, a sequence of time-bin qubits have been stored into a solid-state ensemble, however, the whole pulse sequence needs to be read out together with a fixed order and interval between the pulses for lack of individual addressing. 26,28,29 It remains a challenge to demonstrate a RAQM with programmable and on-demand control to write-in and read-out of each individual quantum signals stored into the memory cells.
In this paper, we demonstrate a RAQM which can store 105 qubits in its 210 memory cells using the dual-rail representation of a qubit. A pair of memory cells stores the state of the input photonic qubit, which is carried by the two paths of a very weak coherent pulse. We have measured the fidelities and the efficiencies for the write-in, storage, and read-out operations for all the 105 pairs of memory cells. The fidelities, typically around or above 90%, are significantly higher than the classical bound and therefore confirm quantum storage. To demonstrate the key random access property, we show that different external optical qubits can be written into the multi-cell quantum memory, stored there simultaneously, and read out later ondemand by any desired order with the storage time individually controlled for each qubit. The fidelities for all the qubits still significantly exceed the classical bound with negligible crosstalk errors between them.

Experimental setup
Our experimental setup is illustrated in Fig. 1. The macroscopic atomic ensemble is realized with a cloud of 87 Rb atoms trapped and cooled down by a magneto-optical trap (MOT) (see Supplementary Note 1). We divide this macroscopic ensemble into a two-dimensional (2D) array of 15 × 14 micro-ensembles. Each micro-ensemble is individually addressed through a pair of crossed acoustic-optical deflectors (AODs) inserted into the paths of the control beam, the input probe beam, and the output probe beam (see the Methods section). The AODs provide a convenient device for multiplexing and de-multiplexing of many different optical paths, which have been used recently to control neutral atoms 17,20,30 , as well as trapped ions. 31 The relative phases between those 210 different optical paths are intrinsically stable as the beams along different paths go through the same optical devices.
The atoms in the whole ensemble are initially prepared to the state |g〉 ≡ |5S 1/2 , F = 1〉 through optical pumping and the MOT is turned off right before the quantum memory experiment. For each micro-ensemble, the probe and the control beams are interacting through the electromagnetically-induced transparency (EIT) configuration shown in Fig. 1, 11 where an incoming photon in the probe beam is converted by the control beam (the write pulse) to a collective spin wave excitation in the level |s〉 ≡ | 5S 1/2 , F = 2〉 through the excited state |e〉 ≡ |5P 1/2 , F′ = 2〉. The write pulse is then shut off. After a programmable storage time in the quantum memory, the excitation in the spin wave mode is converted back to an optical excitation in the output probe beam by shining another pulse (the read pulse) along the control beam direction.
Characterization of storage fidelities for every memory cells The input qubit state is carried by two optical paths U j i and D j i of a photon, and any superposition state c 0 U j i þ c 1 D j i with arbitrary coefficients c 0 , c 1 can be generated and controlled through the input AODs. The input signal is carried by a very weak coherent pulse with the mean photon number n ' 0:5. In our proof-ofconcept experiment, the input state for the atomic memory is prepared by the write AODs as illustrated in Fig. 1a. This pair of AODs can split the weak coherent signal into arbitrary superpositions along two different optical paths, and the single-photon component of this weak signal represents the effective qubit state, with the qubit information carried by the superposition coefficients along the different optical paths. Note that the input qubit state, prepared by the write AODs, remains unknown to the atomic ensemble which acts as the multiplexed quantum memory in this experiment. This dual-rail encoding of qubit is same as the path or polarization qubit used in many optical quantum information experiments, where the single-photon component of a very weak coherent state carries the qubit state and is selected out by the single-photon detectors afterwards.
Similar to other optical quantum information experiments, 2-6 we use two quantities-conditional fidelity and efficiency-to  Fig. 1 Experimental setup for realization of a multiplexed random access quantum memory with a macroscopic atomic ensemble. a We use two-dimensional (2D) AODs to control the multiplexing of control and probe beams which are coupled to a macroscopic atomic ensemble under the EIT configuration. The qubit state of the probe photon is stored into a pair of memory cells using the dual-rail representation and later retrieved for read out after a controllable storage time. Through programming the AODs, we individually address and control a 2D array of 15 × 14 atomic memory cells (for clarity only 3 × 5 cells are shown in the figure), which can store 105 optical qubits. The lens, set in a 4fconfiguration, are used to focus the beams as well as to map different angles of the deflected beams after the AODs to different microensembles in the 2D array. We use a Fabry-Perot cavity (etalon) in the path of the retrieved photon for frequency filtering of the leaked control light. The write AODs prepares the input state for the atomic memory, where the optical qubit is carried by superposition of different optical paths. This input state, unknown to the atomic memory, is stored into the multi-cell atomic ensemble. After a controllable storage time, this state is mapped out to the optical state carried by different optical paths (on the left side of the atomic ensemble) and verified in complementary qubit bases by a combination of the read AODs and the SPCM (single-photon counting module). b Zoom-in of the beam configuration at two memory cells denoted as U and D for qubit storage. c Histogram of the time-resolved photon counts for the transmitted probe light registered by the single-photon detector. The solid (dashed) green curves represent, respectively, the probe pulse with (without) the MOT atoms, and their difference corresponds to the stored photon component. The red curve represents the retrieved photon pulse after a controllable storage time. d The energy levels of the 87 Rb atoms coupled to the control and the probe beams through the EIT configuration, characterize the imperfections of a quantum memory. The conditional fidelity characterizes how well the qubit state is preserved when a photon is registered on the output channel after its storage in the quantum memory. 32 The (intrinsic) efficiency characterizes the success probability of a stored photon reappeared in the output single-mode fiber after a certain storage time. For application of quantum memory in quantum information protocols, such as for implementation of quantum repeaters, [1][2][3]6 the conditional fidelity is typically the most important figure-ofmerit as it determines the fidelity of the overall protocol and characterizes whether one can enter the quantum region by beating the classical bound. The efficiency influences the overall success probability of the quantum information protocol. For the quantum repeater protocol based on the DLCZ (Duan-Lukin-Cirac-Zoller) scheme, 2,3,6 the scaling of required resources remains polynomial at any finite efficiency, but the scaling exponent gets significantly less when one increases the efficiency. For quantum memory experiments, one needs to first achieve a high enough conditional fidelity to prove that the system enters the quantum storage region by beating the classical bound and then improve the efficiency as much as one can.
The input optical qubit is stored into a pair of neighboring micro-ensembles through the EIT process and then retrieved after a programmable storage time by controlling the write/read pulses in the corresponding paths. The write/read pulses are delivered to different paths through the control AODs. Our atomic quantum memory with a 2D array of 15 × 14 memory cells has the capability to store 105 optical qubits as shown in Fig. 2a. First, we measure the storage fidelity for each pair of the memory cells one by one by inputting an optical qubit and then retrieving it for read out after a storage time of 1.38 μs. The output qubit state is measured through quantum state tomography 33 by using the output AODs to choose the complementary detection bases. The experimentally reconstructed density operator ρ o is compared with the input state Ψ in j i prepared by the input AODs to get the storage fidelity F ¼ hΨ in jρ o Ψ in j i. For each pair of the memory cells, we measure the storage fidelity F under six complementary input states , and the results are shown in Fig. 2b for all the 105 pairs of memory cells. The averaged conditional fidelity F, from the above six measurements with equal weight, is shown in Fig. 2c. For a single-photon input state, the classical bound (maximum value) for the conditional storage fidelity F is 2/3 (see the Supplement). When we consider the contribution of small multi-photon components in the weak coherent pulse (with n ' 0:5), the classical bound is raised to 68.8% (see Supplementary Note 2 and 27,29,34 ). Our measured conditional fidelities F for those 105 pairs of memory cells are above or around 90%. The average of the conditional fidelities over the 105 pairs is (94.45 ± 0.06)%. The standard deviations of these measurements are shown in the Supplementary Note 3. The measured conditional fidelities for all the memory cells significantly exceed the classical bound by more than four standard deviations.

Characterization of storage efficiencies and efficiency-dependent classical bounds
We then measure the efficiency of the photon storage in each memory cell. The measurement is done by directing the weak coherent pulse (with n ' 0:5) to each memory cell and then detect the probability of the stored photon going to the output single-mode fiber after a storage time of 1.38 μs. The detection is scanned over all the memory cells by controlling the optical paths with the set of input and output AODs. The results are shown in Fig. 3a. The efficiency ranges from 18% for the middle memory cells to about 2% for the edge memory cells. The major contributor to this inefficiency is the limited optical depth of the atomic cloud, which is about five at the center of the array and decreases to below one at the edge. According to theory, the intrinsic efficiency can be significantly improved with moderate increase of the optical depth. 35 Very recent experiments have demonstrated impressively high intrinsic efficiencies for both strong classical pulse 22 and weak coherent pulse. 23 This is achieved by a significant increase of the optical depth of the atomic ensemble through use of elongated 2D (tow-dimensional) MOT or compressed MOT. As the 2D or compressed MOT has a small cross section, it is not straightforward to extend the techniques in those experiment to allow the spatial multiplexing for realization of multi-cell quantum memories. However, those experiments, 22,23 together with the theoretical calculation in ref. 35 , demonstrates that a large improvement in the intrinsic efficiency is possible by a reasonable increase of the optical depth of the atomic cloud. To have a larger optical depth and at the same time a larger cross section for spatial multiplexing, one way is to prepare a larger MOT by loading of pre-cooled atoms into the memory MOT, using the double MOT structure or an additional Zeeman slower. Alternatively, we can also try to decrease the waist diameters of the control/probe beams so that each memory cell takes a smaller cross section in the whole atomic ensemble. Eventually, it would be desirable to load the atoms into 2D arrays of far-off-resonance optical traps to increase the memory time as well as to make the optical depth more homogeneous for all the memory cells. When we take into account the contribution of the inefficiency of the quantum storage, the classical bound for the conditional storage fidelity will be increased. 27 In Fig. 3b,  Demonstration of random access quantum storage Now we demonstrate the random access feature of this quantum memory. By programming the AODs to control the optical paths, we can write multiple photonic qubits into any of those memory cells and read them out later on-demand by an arbitrary order. To experimentally verify this, we store three qubits into three pairs of memory cells shown in Fig. 4a, in the order of qubits 1-2-3. After a controllable storage time, we read out these qubits in a programmable way by three different orders. The control sequences for the write-in and read out process are shown in Fig. 4b and can be fully programed. In Fig. 4c, we show the storage fidelity measured through quantum state tomography, the retrieval efficiency, and the storage time for each qubit, with three different read out orders of qubits 1-2-3, 3-2-1, and 2-1-3. All the fidelities exceed the corresponding classical bounds, even after taking into account of the multi-photon components and the storage inefficiencies. The above control methods for three qubits can be similarly applied for simultaneous storage of more qubits and programing of their read out patterns. The current experiment is mainly limited by the memory time in the atomic ensemble, which is about 27.8 μs (1/e decay time), caused by the thermal

DISCUSSION
Our experiment realizes a multiplexed random access quantum memory with 210 memory cells that can store 105 optical qubits. We demonstrate programmable storage and read out of individual qubits in the memory cells with the access time and the read out order fully controllable and independent of the physical location of the cells. This random access feature, together with the large capacity for storing optical qubits in a single macroscopic ensemble, opens up an interesting perspective for applications. For instance, it could be useful for realization of multiplexed quantum repeater networks towards long-distance communication and quantum internet 1-7 or for optical quantum information processing and computation that requires the memory components. [8][9][10] The random access control technique may also find applications in other quantum information systems that require individual addressing and programmable control. 31 In this experiment, we focus on the proof-of-principle demonstration, where the input state, although remaining unknown to the atomic quantum memory, is prepared by the write AODs in the same experimental setup. For future applications, it would be important to store the input state free-propagating from the outside into this random access quantum memory as well. Depending on the type of the optical qubits coming from the outside, this could be done by the AODs or other linear optical devices. For instance, if the input qubit is carried by the time bins of optical pulses, we can program the AODs to split different time bins into different optical paths in our dual-rail representation so that they can be stored into the corresponding multiplexed atomic memory cells. If the input state is carried by different polarizations of an optical pulse, we can first use a polarizing beam splitter to split them into different paths and then use AODs in those paths for spatial multiplexing. Preparation of different types of optical qubits from the outside, possibly by another atomic ensemble, and demonstration of their storage and control inside the random access quantum memory is an interesting future direction.

Multiplexing and de-multiplexing of optical circuits
Crossed AODs are used in this experiment to control the deflection angles of the laser beam in orthogonal directions by adjusting the radio-frequency (RF) signal inputs to the AODs. We place a pair of AODs in the paths of the control and the write/read probe beams to implement the multiplexing and demultiplexing optical circuits. Two lenses with 20 mm focal length are inserted at the middle point between the atomic ensemble and the write/read AODs, arranged into a 4f-configuration (see Fig. 1 of the main text. The distance between the atomic ensemble and each side AODs is 2f, where f is the lens focal length). With the 4f-configuration, the laser beams deflected to different angles by the AODs are focused on different corresponding positions of the atomic cloud, enabling individual addressing of each micro-ensemble. The retrieved photon has components coming along different optical paths with   Fig. 4 Demonstration of the random access feature for the multi-cell quantum memory. a The positions of the three pairs of memory cells in the 2D array that we choose in this demonstration. b The time sequences for the control pulse, the probe pulse, the radio-frequency (RF) signals that drive the control AODs, the write AODs, and the read AODs. Different heights of the RF signals mean that the corresponding AODs choose different pairs of memory cells for individual addressing and control. c The measured state fidelities of the three qubits stored into the corresponding atomic memory cells and read out by different orders after individually controllable storage times. The qubits are written in by the order 1-2-3 and read out by three different orders 1-2-3, 3-2-1, and 2-1-3. The error bars denote one standard deviation of the corresponding measured values. The solid (dashed) black lines on the measured average fidelities denote the classical bounds on the fidelity with (without) the contribution of the multi-photon component in the input weak coherent pulse. The red solid lines denote the corresponding classical bound by further taking into the contribution of the limited retrieval efficiency stabilized phase difference. We fine tune the directions and positions of the pair of AODs to maintain good interference between different paths for detection in the superposition bases. Only multiplexing AODs are required in the path of the control beam, with no need of de-multiplexing, as shown in Fig. 1. The phase differences between different optical paths are intrinsically stable because the deflected beams go through the same apparatus.
No matter which memory cell is addressed in the atomic cloud, the probe beam is required to be coupled into the single-mode fiber at the other side of the atoms for detection of the transmission through all the optical elements. In our experiment, through fine adjustment of the directions and positions of the pair of AODs and lens, we achieve over 65% coupling efficiency for all the 210 optical paths addressing the corresponding memory cells.
We generate the RF signal inputs to the AODs by two arbitrary waveform generators (AWG, Tektronix 5014C). We use three channels of each AWG in our experiment. One of the AWG supplies the RF signals for the control, the write, and the read AODs in the X direction, and the other supplies the RF signals of these AODs in the Y direction. The phase differences between the three analog channels of each AWG are precisely controlled. To address one micro-ensemble, the control beam, and the write and the read probe beams need all to be pointed to the same position of the atomic cloud by adjusting the corresponding RF signal frequencies to control the deflection angles. To address different micro-ensembles, we then scan the frequency of the RF signals for the crossed AODs from 98.8 MHz to 107.2 MHz in step of 0.6 MHz in the X direction, and from 98.8 MHz to 106.6 MHz in step of 0.6 MHz in the Y direction, with the deflected beams pointing to the 15 × 14 atomic memory cells. The retrieved photons are collected by the de-multiplexing circuit and then coupled into the single-mode fiber for detection by a single-photon counter. By programming the AWG to generate arbitrary RF electric signals and their superpositions for the AOD inputs, we can direct the deflected light beams to any paths or their superpositions. 20

DATA AVAILABILITY
The data that support the findings of this study are available from the authors upon request.