Abstract
Quantum random access memory (QRAM) enables efficient access to classical data for quantum computers and is a prerequisite for many quantum algorithms in achieving quantum speed-up. Despite various proposals, there have not been many experimental realizations of QRAM. Here we use a superconducting quantum processor to implement a circuit-based bucket-brigade QRAM, which uses a binary tree of quantum routers to enable efficient addressing of the stored information. To facilitate the experimental implementation, we introduce an efficient gate decomposition scheme for quantum routers, which effectively reduces the depth of the QRAM circuit compared with the conventional controlled-SWAP implementation. We further propose an error mitigation method to improve the query fidelity of the QRAM. With these techniques, we are able to experimentally implement the QRAM architectures for addressing four and eight classical bits, achieving query fidelities up to 0.809 ± 0.025 and 0.604 ± 0.005, respectively. Additionally, we study the error propagation mechanism and the scalability of our QRAM implementation, which provides experimental evidence for the noise resilience of the bucket-brigade architecture. Our results highlight the potential of superconducting quantum processors for realizing a scalable QRAM architecture.
This is a preview of subscription content, access via your institution
Access options
Access Nature and 54 other Nature Portfolio journals
Get Nature+, our best-value online-access subscription
27,99 € / 30 days
cancel any time
Subscribe to this journal
Receive 12 print issues and online access
261,46 € per year
only 21,79 € per issue
Buy this article
- Purchase on SpringerLink
- Instant access to the full article PDF.
39,95 €
Prices may be subject to local taxes which are calculated during checkout




Similar content being viewed by others
Data availability
The data presented in the figures and that support the other findings of this study are publicly available via Zenodo at https://doi.org/10.5281/zenodo.18408759 (ref. 45.) Source data are provided with this paper.
Code availability
The data analysis and numerical simulation codes for this study are publicly available via Zenodo at https://doi.org/10.5281/zenodo.18408759 (ref. 45).
References
Gupta, S. & Zia, R. Quantum neural networks. J. Comput. Syst. Sci. 63, 355–383 (2001).
Rebentrost, P., Mohseni, M. & Lloyd, S. Quantum support vector machine for big data classification. Phys. Rev. Lett. 113, 130503 (2014).
Bang, J., Dutta, A., Lee, S.-W. & Kim, J. Optimal usage of quantum random access memory in quantum machine learning. Phys. Rev. A 99, 012326 (2019).
Phalak, K., Li, J. & Ghosh, S. Trainable PQC-based QRAM for quantum storage. IEEE Access 11, 51892 (2023).
Liu, J. et al. Towards provably efficient quantum algorithms for large-scale machine-learning models. Nat. Commun. 15, 434 (2024).
Ciliberto, C. et al. Quantum machine learning: a classical perspective. Proc. R. Soc. A 474, 20170551 (2018).
Berry, D. W., Gidney, C., Motta, M., McClean, J. R. & Babbush, R. Qubitization of arbitrary basis quantum chemistry leveraging sparsity and low rank factorization. Quantum 3, 208 (2019).
Babbush, R. et al. Encoding electronic spectra in quantum circuits with linear T complexity. Phys. Rev. X 8, 041015 (2018).
Childs, A. M., Leng, J., Li, T., Liu, J.-P. & Zhang, C. Quantum simulation of real-space dynamics. Quantum 6, 860 (2022).
Mao, R., Tian, G. & Sun, X. Toward optimal circuit size for sparse quantum state preparation. Phys. Rev. A 110, 032439 (2024).
Feniou, C. et al. Sparse quantum state preparation for strongly correlated systems. J. Phys. Chem. Lett. 15, 3197 (2024).
Grover, L. K. A fast quantum mechanical algorithm for database search. In Proc. Twenty-Eighth Annual ACM Symposium on Theory of Computing STOC ’96 (ed Miller, G. L.) 212–219 (ACM, 1996).
Giovannetti, V., Lloyd, S. & Maccone, L. Quantum private queries. Phys. Rev. Lett. 100, 230502 (2008).
Wiebe, N., Braun, D. & Lloyd, S. Quantum algorithm for data fitting. Phys. Rev. Lett. 109, 050505 (2012).
Lloyd, S., Garnerone, S. & Zanardi, P. Quantum algorithms for topological and geometric analysis of data. Nat. Commun. 7, 10138 (2016).
Harrow, A. W., Hassidim, A. & Lloyd, S. Quantum algorithm for linear systems of equations. Phys. Rev. Lett. 103, 150502 (2009).
Aaronson, S. Read the fine print. Nat. Phys. 11, 291 (2015).
Giovannetti, V., Lloyd, S. & Maccone, L. Quantum random access memory. Phys. Rev. Lett. 100, 160501 (2008).
Giovannetti, V., Lloyd, S. & Maccone, L. Architectures for a quantum random access memory. Phys. Rev. A 78, 052310 (2008).
Matteo, O. D., Gheorghiu, V. & Mosca, M. Fault-tolerant resource estimation of quantum random-access memories. IEEE Trans. Quantum Eng. 1, 4500213 (2020).
Hann, C. T., Lee, G., Girvin, S. & Jiang, L. Resilience of quantum random access memory to generic noise. PRX Quantum 2, 020311 (2021).
Paler, A., Oumarou, O. & Basmadjian, R. Parallelizing the queries in a bucket-brigade quantum random access memory. Phys. Rev. A 102, 032608 (2020).
Xu, S., Hann, C. T., Foxman, B., Girvin, S. M. & Ding, Y. Systems architecture for quantum random access memory. In Proc. MICRO ’23 (ed Kobayashi, H.) 526–538 (ACM, 2023).
Hann, C. T. et al. Hardware-efficient quantum random access memory with hybrid quantum acoustic systems. Phys. Rev. Lett. 123, 250501 (2019).
Chen, Z.-Y. et al. Efficient and error-resilient data access protocols for a limited-sized quantum random access memory. Preprint at https://arxiv.org/abs/2303.05207 (2023).
Wang, Y., Alexeev, Y., Jiang, L., Chong, F. T. & Liu, J. Fundamental causal bounds of quantum random access memories. npj Quantum Inf. 10, 71 (2024).
Arunachalam, S., Gheorghiu, V., Jochym-O’Connor, T., Mosca, M. & Srinivasan, P. V. On the robustness of bucket brigade quantum RAM. New J. Phys. 17, 123010 (2015).
Bugalho, L. et al. Resource-efficient simulation of noisy quantum circuits and application to network-enabled QRAM optimization. npj Quantum Inf. 9, 105 (2023).
Xu, S., Lu, A. & Ding, Y. Fat-tree QRAM: a high-bandwidth shared quantum random access memory for parallel queries. In Proc. 30th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Vol. 2 (eds Bulitko, V. & Storandt, S.) 390–406 (ACM, 2025).
Chen, K. C., Dai, W., Errando-Herranz, C., Lloyd, S. & Englund, D. Scalable and high-fidelity quantum random access memory in spin-photon networks. PRX Quantum 2, 030319 (2021).
Wang, Z., Qiao, H., Cleland, A. N. & Jiang, L. Quantum random access memory with transmon-controlled phonon routing. Phys. Rev. Lett. 134.210601 (2024).
Weiss, D., Puri, S. & Girvin, S. Quantum random access memory architectures using 3D superconducting cavities. PRX Quantum 5, 020312 (2024).
Miao, C. et al. Implementation of a quantum addressable router using superconducting qubits. PRX Quantum 6, 040335 (2025).
Zhang, S. et al. Demonstrating coherent quantum routers for bucket-brigade quantum random access memory on a superconducting processor. Preprint at https://arxiv.org/abs/2505.13958 (2025).
Hu, X.-M., Guo, Y., Liu, B.-H., Li, C.-F. & Guo, G.-C. Progress in quantum teleportation. Nat. Rev. Phys. 5, 339 (2023).
Cruz, P. M. Q. & Murta, B. Shallow unitary decompositions of quantum Fredkin and Toffoli gates for connectivity-aware equivalent circuit averaging. APL Quantum 1, 016105 (2024).
Botea, A., Kishimoto, A. & Marinescu, R. On the complexity of quantum circuit compilation. In Proc. 11th Annual Symposium on Combinatorial Search, Vol. 9 (eds Sampson, A., Kim, M. & Rossbach, C. J.) 138–142 (AAAI, 2018).
Arute, F. et al. Quantum supremacy using a programmable superconducting processor. Nature 574, 505 (2019).
Boixo, S. et al. Characterizing quantum supremacy in near-term devices. Nat. Phys. 14, 595 (2018).
Paler, A., Devitt, S., Nemoto, K. & Polian, I. Software-based Pauli tracking in fault-tolerant quantum circuits. In 2014 Design, Automation & Test in Europe Conference & Exhibition (DATE) (eds Tahoori, M. & Ottavi, M.) https://doi.org/10.7873/DATE.2014.137 (IEEE, 2014).
Acharya, R. et al. Quantum error correction below the surface code threshold. Nature 638, 920 (2025).
Qiu, J. et al. Deterministic quantum state and gate teleportation between distant superconducting chips. Sci. Bull. 70, 351 (2025).
Javadi-Abhari, A. et al. Quantum computing with Qiskit. Preprint at https://arxiv.org/abs/2405.08810 (2024).
Van den Nest, M. Simulating quantum computers with probabilistic methods. Quant. Inf. Comp. 11, 784–812 (2011).
Shen, F., Ji, Y. & Xiang, D. Source data and simulation code for ‘a bucket- bridge quantum random access memory’. Zenodo https://doi.org/10.5281/zenodo.18408759 (2026).
Acknowledgements
We thank H. Wang for supporting the device and the experimental platform on which the experiment was carried out. The device was fabricated at the Micro-Nano Fabrication Center of Zhejiang University. We acknowledge support from the National Key Research and Development Program of China (Grant No. 2023YFB4502600), the Zhejiang Provincial Natural Science Foundation of China (Grant Nos. LR25F020002, LR24A040002 and LDQ23A040001), the National Natural Science Foundation of China (Grant Nos. 12174342, 12274368, 12274367, 12322414, 12404570, 12404574 and 92365301).
Author information
Authors and Affiliations
Contributions
C.S., L.L., Z.W. and J. Yin conceived the project. F.S. conducted the experiments under the supervision of C.S. Y.J. designed the experimental circuits and performed the theoretical analyses under the supervision of C.S. Y.J., F.S. and D.X. performed the simulations and analysed the experimental data under the supervision of C.S. and L.L. H.L. fabricated the device. C.S., Z.W., Q.G., H.L., P.Z., Y.W., K.W., C.Z., A.Z., Y.Z., Y.G., Z.C., G.L., J. Yang and Y.H. contributed to the experimental set-up. Y.J., F.S., D.X., L.L. and C.S. wrote the paper with input from all authors. All authors discussed the results and contributed to the final version of the paper.
Corresponding authors
Ethics declarations
Competing interests
The authors declare no competing interests.
Peer review
Peer review information
Nature Physics thanks Connor Hann, Sébastien Léger and Hong Qiao for their contribution to the peer review of this work.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Extended data
Extended Data Fig. 1 Illustration of the query process of two-layer QRAM.
which provides a detailed explanation of Fig. 1d, elucidating the role of each physical qubit in every phase and the operations performed. Address preparation:The initial address state is prepared on the two address register qubits, a0 and a1. Address loading:The qubit originally holding a0 is reassigned as the router address qubit A. A quantum routing operation is then applied to load the information from a1 into the second-layer router address qubits A0 and A1. Finally, a SWAP gate moves A to the qubit originally occupied by a1. Data loading:The router data qubit D is initialized to \(|+\rangle\) to enable phase encoding during data writing. Its state is then loaded into the second-layer router data qubits D0 and D1 via a quantum routing operation. Data writing:Classical bits are encoded by selectively applying or omitting the quantum gates inside the dashed squares, depending on the bit value (1 or 0). Data retrieval:The quantum state is retrieved from D0 and D1 back to D via quantum routing. A Hadamard gate is applied to D to return the state to the computational basis. Quantum teleportation is then used to transfer the state from D to the data register qubit d. Address retrieval: A is swapped back to the qubit originally holding a0. The address information in A0 and A1 is then retrieved back to the qubit initially holding a1 via a quantum routing operation. Error mitigation and quantum state tomography (QST): QST is applied to a0, a1, and d, with the tomography operation on d reinterpreted via Pauli tracking (see Methods). Router qubits are also measured for post-selection error mitigation.
Extended Data Fig. 2 The proportion of valid results after error mitigation in the two-layer bucket-brigade QRAM.
In all figures, the proportion values represent the average value of the proportion of valid results across the 16 classical data configurations, with the error bar representing their standard deviation. a, The proportion of valid results after error mitigation for a two-layer bucket brigade QRAM under varying query addresses. b, The proportion of valid results for different error mitigation strategies under query addresses \(|0+\rangle\) and \(|1+\rangle\).
Extended Data Fig. 3 Experimental construction of the three-layer bucket-brigade QRAM.
a, Schematic of the three-layer bucket-brigade QRAM, which can query eight classical data bits, labeled from x000 to x111, according to the query address. b, Device layout for implementing the three-layer bucket-brigade QRAM. Physical qubits are labeled according to their assigned roles during operational phases from address loading to address retrieval. c, Quantum circuit for the error scaling experiment of the three-layer QRAM. As in the two-layer QRAM case, the router address qubit (A), router data qubit (D), and one ancilla qubit are reused as the address register a0, a1, and a2 at the beginning and end of the experiment. Instead of using quantum teleportation, here the data bus is directly transferred from the router data qubit D to the data register qubit d via two SWAP gates at the end of the data retrieval phase. a, Schematic of the three-layer bucket-brigade QRAM, which can query eight classical data bits, labeled from x000 to x111, according to the query address. b, Device layout for implementing the three-layer bucket-brigade QRAM. Physical qubits are labeled according to their assigned roles during operational phases from address loading to address retrieval. c, Quantum circuit for the error scaling experiment of the three-layer QRAM. As in the two-layer QRAM case, the router address qubit (A), router data qubit (D), and one ancilla qubit are reused as the address register a0, a1, and a2 at the beginning and end of the experiment. Instead of using quantum teleportation, here the data bus is directly transferred from the router data qubit D to the data register qubit d via two SWAP gates at the end of the data retrieval phase.
Extended Data Fig. 4 Error budget for the three-layer QRAM query infidelity.
The results are obtained via numerical simulations with address state \(|00+\rangle\) and the classic configuration 01010101. The percentage in parentheses represents the proportion of this error component in the total error. CZ: CZ gate depolarizing error, excluding the decoherence error during CZ gates; 1Q: Single-qubit gate depolarizing error, excluding the decoherence error during single-qubit gates; T1: Qubit energy relaxation error; Tφ: Qubit dephasing error. See Supplementary Information for details on the error budget analysis.
Extended Data Fig. 5 Simulated query infidelity versus two-qubit gate error rate.
The simulation data are fitted to 1 − F = A × pα, where F is the query fidelity and p is the two-qubit gate error rate. Only data points with infidelity below 0.1 are included in the fit. Experimental results for both two- and three-layer QRAM at p = 3.8 × 10−3 are marked by pentagrams. The discrepancy between the experimental and numerical results is mainly due to the over-simplification of the error models employed in the numerical simulation (see Method).
Supplementary information
Supplementary Information (download PDF )
Supplementary Figs. 1–12, Discussion and Tables I–III.
Supplementary Data 1 (download ZIP )
Source data for supplementary figures.
Source data
Source Data Fig. 1 (download XLSX )
Simulation source data.
Source Data Fig. 2 (download XLSX )
Statistical source data and simulation source data.
Source Data Fig. 3 (download XLSX )
Statistical source data.
Source Data Fig. 4 (download XLSX )
Statistical source data and simulation source data.
Source Data Extended Data Fig. 2 (download XLSX )
Statistical source data.
Source Data Extended Data Fig. 4 (download XLSX )
Statistical source data.
Source Data Extended Data Fig. 5 (download XLSX )
Statistical source data.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
About this article
Cite this article
Shen, F., Ji, Y., Xiang, D. et al. A bucket-brigade quantum random access memory. Nat. Phys. 22, 745–750 (2026). https://doi.org/10.1038/s41567-026-03218-2
Received:
Accepted:
Published:
Version of record:
Issue date:
DOI: https://doi.org/10.1038/s41567-026-03218-2


