Skip to main content

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

  • Article
  • Published:

A bucket-brigade quantum random access memory

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

Buy this article

39,95 €

Prices may be subject to local taxes which are calculated during checkout

Fig. 1: Experimental implementation of QRAM with a superconducting quantum processor.
Fig. 2: Experimental quantum teleportation and QRAM performances.
Fig. 3: Query fidelity values for the query addresses \(|0+\rangle\) and \(|1+\rangle\), averaged over 16 different classical data configurations.
Fig. 4: Error analysis of the three-layer bucket-brigade QRAM architecture.

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

  1. Gupta, S. & Zia, R. Quantum neural networks. J. Comput. Syst. Sci. 63, 355–383 (2001).

    Article  MathSciNet  Google Scholar 

  2. Rebentrost, P., Mohseni, M. & Lloyd, S. Quantum support vector machine for big data classification. Phys. Rev. Lett. 113, 130503 (2014).

    Article  ADS  Google Scholar 

  3. 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).

    Article  ADS  Google Scholar 

  4. Phalak, K., Li, J. & Ghosh, S. Trainable PQC-based QRAM for quantum storage. IEEE Access 11, 51892 (2023).

    Article  Google Scholar 

  5. Liu, J. et al. Towards provably efficient quantum algorithms for large-scale machine-learning models. Nat. Commun. 15, 434 (2024).

    Article  ADS  Google Scholar 

  6. Ciliberto, C. et al. Quantum machine learning: a classical perspective. Proc. R. Soc. A 474, 20170551 (2018).

    Article  ADS  MathSciNet  Google Scholar 

  7. 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).

    Article  Google Scholar 

  8. Babbush, R. et al. Encoding electronic spectra in quantum circuits with linear T complexity. Phys. Rev. X 8, 041015 (2018).

    Google Scholar 

  9. Childs, A. M., Leng, J., Li, T., Liu, J.-P. & Zhang, C. Quantum simulation of real-space dynamics. Quantum 6, 860 (2022).

    Article  Google Scholar 

  10. Mao, R., Tian, G. & Sun, X. Toward optimal circuit size for sparse quantum state preparation. Phys. Rev. A 110, 032439 (2024).

    Article  ADS  MathSciNet  Google Scholar 

  11. Feniou, C. et al. Sparse quantum state preparation for strongly correlated systems. J. Phys. Chem. Lett. 15, 3197 (2024).

    Article  Google Scholar 

  12. 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).

  13. Giovannetti, V., Lloyd, S. & Maccone, L. Quantum private queries. Phys. Rev. Lett. 100, 230502 (2008).

    Article  ADS  MathSciNet  Google Scholar 

  14. Wiebe, N., Braun, D. & Lloyd, S. Quantum algorithm for data fitting. Phys. Rev. Lett. 109, 050505 (2012).

    Article  ADS  Google Scholar 

  15. Lloyd, S., Garnerone, S. & Zanardi, P. Quantum algorithms for topological and geometric analysis of data. Nat. Commun. 7, 10138 (2016).

    Article  ADS  Google Scholar 

  16. Harrow, A. W., Hassidim, A. & Lloyd, S. Quantum algorithm for linear systems of equations. Phys. Rev. Lett. 103, 150502 (2009).

    Article  ADS  MathSciNet  Google Scholar 

  17. Aaronson, S. Read the fine print. Nat. Phys. 11, 291 (2015).

    Article  Google Scholar 

  18. Giovannetti, V., Lloyd, S. & Maccone, L. Quantum random access memory. Phys. Rev. Lett. 100, 160501 (2008).

    Article  ADS  MathSciNet  Google Scholar 

  19. Giovannetti, V., Lloyd, S. & Maccone, L. Architectures for a quantum random access memory. Phys. Rev. A 78, 052310 (2008).

    Article  ADS  Google Scholar 

  20. Matteo, O. D., Gheorghiu, V. & Mosca, M. Fault-tolerant resource estimation of quantum random-access memories. IEEE Trans. Quantum Eng. 1, 4500213 (2020).

    Article  Google Scholar 

  21. Hann, C. T., Lee, G., Girvin, S. & Jiang, L. Resilience of quantum random access memory to generic noise. PRX Quantum 2, 020311 (2021).

    Article  ADS  Google Scholar 

  22. Paler, A., Oumarou, O. & Basmadjian, R. Parallelizing the queries in a bucket-brigade quantum random access memory. Phys. Rev. A 102, 032608 (2020).

    Article  ADS  Google Scholar 

  23. 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).

  24. Hann, C. T. et al. Hardware-efficient quantum random access memory with hybrid quantum acoustic systems. Phys. Rev. Lett. 123, 250501 (2019).

    Article  ADS  Google Scholar 

  25. 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).

  26. 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).

    Article  ADS  Google Scholar 

  27. 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).

    Article  ADS  Google Scholar 

  28. Bugalho, L. et al. Resource-efficient simulation of noisy quantum circuits and application to network-enabled QRAM optimization. npj Quantum Inf. 9, 105 (2023).

    Article  ADS  Google Scholar 

  29. 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).

  30. 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).

    Article  ADS  Google Scholar 

  31. Wang, Z., Qiao, H., Cleland, A. N. & Jiang, L. Quantum random access memory with transmon-controlled phonon routing. Phys. Rev. Lett. 134.210601 (2024).

  32. Weiss, D., Puri, S. & Girvin, S. Quantum random access memory architectures using 3D superconducting cavities. PRX Quantum 5, 020312 (2024).

    Article  ADS  Google Scholar 

  33. Miao, C. et al. Implementation of a quantum addressable router using superconducting qubits. PRX Quantum 6, 040335 (2025).

    Article  ADS  Google Scholar 

  34. 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).

  35. Hu, X.-M., Guo, Y., Liu, B.-H., Li, C.-F. & Guo, G.-C. Progress in quantum teleportation. Nat. Rev. Phys. 5, 339 (2023).

    Article  Google Scholar 

  36. 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).

    Article  Google Scholar 

  37. 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).

  38. Arute, F. et al. Quantum supremacy using a programmable superconducting processor. Nature 574, 505 (2019).

    Article  ADS  Google Scholar 

  39. Boixo, S. et al. Characterizing quantum supremacy in near-term devices. Nat. Phys. 14, 595 (2018).

    Article  Google Scholar 

  40. 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).

  41. Acharya, R. et al. Quantum error correction below the surface code threshold. Nature 638, 920 (2025).

    Article  ADS  Google Scholar 

  42. Qiu, J. et al. Deterministic quantum state and gate teleportation between distant superconducting chips. Sci. Bull. 70, 351 (2025).

    Article  Google Scholar 

  43. Javadi-Abhari, A. et al. Quantum computing with Qiskit. Preprint at https://arxiv.org/abs/2405.08810 (2024).

  44. Van den Nest, M. Simulating quantum computers with probabilistic methods. Quant. Inf. Comp. 11, 784–812 (2011).

    MathSciNet  Google Scholar 

  45. 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).

Download references

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

Authors

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

Correspondence to Chao Song, Liqiang Lu, Zhen Wang or Jianwei Yin.

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\).

Source data

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.

Source data

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).

Source data

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.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Received:

  • Accepted:

  • Published:

  • Version of record:

  • Issue date:

  • DOI: https://doi.org/10.1038/s41567-026-03218-2

Search

Quick links

Nature Briefing

Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing