Abstract
Gaussian boson sampling is a form of non-universal quantum computing that has been considered a promising candidate for showing experimental quantum advantage. While there is evidence that noiseless Gaussian boson sampling is hard to efficiently simulate using a classical computer, current Gaussian boson sampling experiments inevitably suffer from high photon loss rates and other noise sources. Nevertheless, they are currently claimed to be hard to classically simulate. Here we present a classical tensor-network algorithm that simulates Gaussian boson sampling and whose complexity can be significantly reduced when the photon loss rate is high. Our algorithm enables us to simulate the largest-scale Gaussian boson sampling experiment so far using relatively modest computational resources. We exhibit evidence that our classical sampler can simulate the ideal distribution better than the experiment can, which calls into question the claims of experimental quantum advantage.
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
$32.99 / 30 days
cancel any time
Subscribe to this journal
Receive 12 print issues and online access
$259.00 per year
only $21.58 per issue
Buy this article
- Purchase on SpringerLink
- Instant access to the full article PDF.
USD 39.95
Prices may be subject to local taxes which are calculated during checkout




Similar content being viewed by others
Data availability
Samples generated from our method can be found via Open Science Framework at https://doi.org/10.17605/OSF.IO/49TRH. Source data are provided with this paper.
Code availability
Code for our numerical simulation and data analysis can be found via Zenodo at https://doi.org/10.5281/zenodo.7992736.
References
Arute, F. et al. Quantum supremacy using a programmable superconducting processor. Nature 574, 505–510 (2019).
Wu, Y. et al. Strong quantum computational advantage using a superconducting quantum processor. Phys. Rev. Lett. 127, 180501 (2021).
Morvan, A. et al. Phase transition in random circuit sampling. Preprint at https://doi.org/10.48550/arXiv.2304.11119 (2023).
Zhong, H.-S. et al. Quantum computational advantage using photons. Science 370, 1460–1463 (2020).
Zhong, H.-S. et al. Phase-programmable Gaussian boson sampling using stimulated squeezed light. Phys. Rev. Lett. 127, 180502 (2021).
Madsen, L. S. et al. Quantum computational advantage with a programmable photonic processor. Nature 606, 75–81 (2022).
Deng, Y.-H. et al. Gaussian boson sampling with pseudo-photon-number-resolving detectors and quantum computational advantage. Phys. Rev. Lett. 131, 150601 (2023).
Bernstein, E. & Vazirani, U. Quantum complexity theory. SIAM J. Comput. 26, 1411–1473 (1997).
Aaronson, S. & Arkhipov, A. The computational complexity of linear optics. In Proc. of the 43rd Annual ACM Symposium on Theory of Computing 333–342 (2011).
Hamilton, C. S. et al. Gaussian boson sampling. Phys. Rev. Lett. 119, 170501 (2017).
Boixo, S. et al. Characterizing quantum supremacy in near-term devices. Nat. Phys. 14, 595–600 (2018).
Bouland, A., Fefferman, B., Nirkhe, C. & Vazirani, U. On the complexity and verification of quantum random circuit sampling. Nat. Phys. 15, 159–163 (2019).
Deshpande, A. et al. Quantum computational advantage via high-dimensional Gaussian boson sampling. Sci. Adv. 8, eabi7894 (2022).
Aharonov, D., Ben-Or, M., Impagliazzo, R. & Nisan, N. Limitations of noisy reversible computation. Preprint at https://doi.org/10.48550/arXiv.quant-ph/9611028 (1996).
Kalai, G. & Kindler, G. Gaussian noise sensitivity and bosonsampling. Preprint at https://doi.org/10.48550/arXiv.1409.3093 (2014).
Bremner, M. J., Montanaro, A. & Shepherd, D. J. Achieving quantum supremacy with sparse and noisy commuting quantum computations. Quantum 1, 8 (2017).
Gao, X. & Duan, L. Efficient classical simulation of noisy quantum computation. Preprint at https://doi.org/10.48550/arXiv.1810.03176 (2018).
Oszmaniec, M. & Brod, D. J. Classical simulation of photonic linear optics with lost particles. New J. Phys. 20, 092002 (2018).
García-Patrón, R., Renema, J. J. & Shchesnovich, V. Simulating boson sampling in lossy architectures. Quantum 3, 169 (2019).
Noh, K., Jiang, L. & Fefferman, B. Efficient classical simulation of noisy random quantum circuits in one dimension. Quantum 4, 318 (2020).
Qi, H., Brod, D. J., Quesada, N. & García-Patrón, R. Regimes of classical simulability for noisy Gaussian boson sampling. Phys. Rev. Lett. 124, 100502 (2020).
Oh, C., Noh, K., Fefferman, B. & Jiang, L. Classical simulation of lossy boson sampling using matrix product operators. Phys. Rev. A 104, 022407 (2021).
Deshpande, A. et al. Tight bounds on the convergence of noisy random circuits to the uniform distribution. PRX Quantum 3, 040329 (2022).
Aharonov, D., Gao, X., Landau, Z., Liu, Y. & Vazirani, U. A polynomial-time classical algorithm for noisy random circuit sampling. In Proc. of the 55th Annual ACM Symposium on Theory of Computing 945–957 (2023).
Oh, C., Jiang, L. & Fefferman, B. On classical simulation algorithms for noisy boson sampling. Preprint at https://doi.org/10.48550/arXiv.2301.11532 (2023).
Hangleiter, D. & Eisert, J. Computational advantage of quantum random sampling. Rev. Modern Phys. 95, 035001 (2023).
Martínez-Cifuentes, J., Fonseca-Romero, K. & Quesada, N. Classical models may be a better explanation of the Jiuzhang 1.0 Gaussian boson sampler than its targeted squeezed light model. Quantum 7, 1076 (2023).
Villalonga, B. et al. Efficient approximation of experimental Gaussian boson sampling. Preprint at https://doi.org/10.48550/arXiv.2109.11525 (2021).
Bulmer, J. F. et al. The boundary for quantum advantage in Gaussian boson sampling. Sci. Adv. 8, eabl9236 (2022).
Quesada, N. et al. Quadratic speed-up for simulating Gaussian boson sampling. PRX Quantum 3, 010306 (2022).
Serafini, A. Quantum Continuous Variables: A Primer of Theoretical Methods (CRC Press, 2017).
Cirac, J. I., Perez-Garcia, D., Schuch, N. & Verstraete, F. Matrix product states and projected entangled pair states: concepts, symmetries, theorems. Rev. Modern Phys. 93, 045003 (2021).
Vidal, G. Efficient classical simulation of slightly entangled quantum computations. Phys. Rev. Lett. 91, 147902 (2003).
Liu, M., Oh, C., Liu, J., Jiang, L. & Alexeev, Y. Simulating lossy Gaussian boson sampling with matrix-product operators. Phys. Rev. A 108, 052604 (2023).
Quesada, N. Franck–Condon factors by counting perfect matchings of graphs with loops. J. Chem. Phys. 150, 164113 (2019).
Oh, C., Lim, Y., Wong, Y., Fefferman, B. & Jiang, L. Quantum-inspired classical algorithms for molecular vibronic spectra. Nat. Phys. 20, 225–227 (2024).
Verstraete, F. & Cirac, J. I. Matrix product states represent ground states faithfully. Phys. Rev. B 73, 094423 (2006).
Schuch, N., Wolf, M. M., Verstraete, F. & Cirac, J. I. Entropy scaling and simulability by matrix product states. Phys. Rev. Lett. 100, 030504 (2008).
Oh, C., Lim, Y., Fefferman, B. & Jiang, L. Classical simulation of boson sampling based on graph structure. Phys. Rev. Lett. 128, 190501 (2022).
Qi, H. et al. Efficient sampling from shallow Gaussian quantum-optical circuits with local interactions. Phys. Rev. A 105, 052412 (2022).
Quesada, N. et al. Simulating realistic non-Gaussian state preparation. Phys. Rev. A 100, 022341 (2019).
Su, D., Myers, C. R. & Sabapathy, K. K. Conversion of Gaussian states to non-Gaussian states using photon-number-resolving detectors. Phys. Rev. A 100, 052301 (2019).
Ferraro, A., Olivares, S. & Paris, M. G. Gaussian states in continuous variable quantum information. Preprint at https://doi.org/10.48550/arXiv.quant-ph/0503237 (2005).
Weedbrook, C. et al. Gaussian quantum information. Rev. Modern Phys. 84, 621 (2012).
Botero, A. & Reznik, B. Modewise entanglement of Gaussian states. Phys. Rev. A 67, 052311 (2003).
Gao, X. et al. Limitations of linear cross-entropy as a measure for quantum advantage. PRX Quantum 5, 010334 (2024).
Aaronson, S. & Chen, L. Complexity-theoretic foundations of quantum supremacy experiments. Preprint at https://doi.org/10.48550/arXiv.1612.05903 (2016).
Aaronson, S. & Gunn, S. On the classical hardness of spoofing linear cross-entropy benchmarking. Preprint at https://doi.org/10.48550/arXiv.1910.12085 (2019).
Ware, B. et al. A sharp phase transition in linear cross-entropy benchmarking. Preprint at https://doi.org/10.48550/arXiv.2305.04954 (2023).
Phillips, D. et al. Benchmarking of Gaussian boson sampling using two-point correlators. Phys. Rev. A 99, 023836 (2019).
Oh, C., Jiang, L. & Fefferman, B. Spoofing cross-entropy measure in boson sampling. Phys. Rev. Lett. 131, 010401 (2023).
Aaronson, S. Gaussian BosonSampling, higher-order correlations and spoofing: an update. https://scottaaronson.blog/?p=5868 (2021).
Gupt, B., Izaac, J. & Quesada, N. The Walrus: a library for the calculation of hafnians, Hermite polynomials and Gaussian boson sampling. J. Open Source Softw. 4, 1705 (2019).
Killoran, N. et al. Strawberry fields: a software platform for photonic quantum computing. Quantum 3, 129 (2019).
Acknowledgements
We thank Y.-H. Deng and C.-Y. Lu for providing the dataset of the Jiuzhang3.0 experiment and for interesting and fruitful discussions. We thank N. Quesada and J. Bulmer for helpful discussions. This research used the resources of the Argonne Leadership Computing Facility, which is a US Department of Energy (DOE) Office of Science User Facility supported under contract DE-AC02-06CH11357. We are also grateful for the support of the University of Chicago Research Computing Center for assistance with the numerical simulations reported in this paper. We acknowledge The Walrus Python library for the open source of GBS algorithms53 and the Strawberry Fields library54. M.L. acknowledges support from DOE Q-NEXT. Y.A. acknowledges support from the US Department of Energy Office of Science under contract DE-AC02-06CH11357 at Argonne National Laboratory and Defense Advanced Research Projects Agency (DARPA) under contract no. HR001120C0068. B.F. acknowledges support from AFOSR (FA9550-21-1-0008). This material is based upon work partially supported by the National Science Foundation under grant CCF-2044923 (CAREER) and by the US Department of Energy, Office of Science, National Quantum Information Science Research Centers (Q-NEXT), as well as by DOE QuantISED grant DE-SC0020360. L.J. acknowledges support from the ARO (W911NF-23-1-0077), ARO MURI (W911NF-21-1-0325), AFOSR MURI (FA9550-19-1-0399, FA9550-21-1-0209 and FA9550-23-1-0338), NSF (OMA-1936118, ERC-1941583, OMA-2137642, OSI-2326767 and CCF-2312755) and NTT Research, Packard Foundation (2020-71479).
Author information
Authors and Affiliations
Contributions
C.O. and M.L. developed the theory, implemented the numerical experiments and wrote the paper. Y.A., B.F. and L.J. directed the research and developed the theory. All authors edited the paper.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Peer review
Peer review information
Nature Physics thanks the anonymous reviewers 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 Characteristics of the squeezed state Vp from the decomposition for single-mode cases.
(a) Relation between the actual squeezing parameter s and the input squeezing r for different transmission rate η. (b) Ratio of the actual squeezed photons to the total photons of the output state V. (c) and (d) Actual squeezing parameter and squeezed photon numbers when the input squeezing parameter is infinite. The dots represent the Borealis, Jiuzhang2.0, and Jiuzhang3.0’s circuit’s transmission rate and their largest actual squeezing and squeezed photons, assuming that infinite input squeezing is used.
Extended Data Fig. 2 Bipartite decomposition of GBS circuit for entanglement analysis.
(a) Any pure output state of a GBS circuit can be decomposed as (b) the product of two-mode squeezed vacuum (TMSV) states followed by local Gaussian unitary operations. (c) Thus, after tracing out the other system, each local system can be described by the product of thermal states followed by Gaussian unitary operation. The Gaussian unitary operations for each system are different in general.
Extended Data Fig. 3 Small-size experiment simulation results.
(a)(b) Example output probability distributions. (c) TVD and (d) XEB for different photon number sectors. Here, for the TVD we used the empirically obtained probability distribution with 1 million samples for each sector, and we used 10,000 samples for XEB for each sector. They clearly show the agreement between the XEB and TVD. The error bars are the standard deviation obtained by 1,000 bootstrapping resamples.
Extended Data Fig. 4 Simulation results of Borealis M = 72 case with the MPS algorithm.
(a) XEB; (b) two-point correlation with different bond dimensions χ = 120, 160, 200, 240. For the two-point correlation function calculation, we have used 1 million samples for all cases. The inset of (a) represents the total photon number distribution, and the shaded region is the sectors we used for XEB. The error bars are the standard deviation obtained by 1,000 bootstrapping resamples.
Supplementary information
Supplementary Information
Supplementary Sections 1–9 and Supplementary Figs. 1–4.
Supplementary Data
Source data for supplementary figures.
Source data
Source Data Fig. 2
Source data.
Source Data Fig. 3
Source data.
Source Data Fig. 4
Source data.
Source Data Extended Data Fig. 1
Source data.
Source Data Extended Data Fig. 3
Source data.
Source Data Extended Data Fig. 4
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
Oh, C., Liu, M., Alexeev, Y. et al. Classical algorithm for simulating experimental Gaussian boson sampling. Nat. Phys. 20, 1461–1468 (2024). https://doi.org/10.1038/s41567-024-02535-8
Received:
Accepted:
Published:
Version of record:
Issue date:
DOI: https://doi.org/10.1038/s41567-024-02535-8
This article is cited by
-
Topological rejection of noise by quantum skyrmions
Nature Communications (2025)
-
Efficient classical sampling from Gaussian boson sampling distributions on unweighted graphs
Nature Communications (2025)
-
Classical simulability of constant-depth linear-optical circuits with noise
npj Quantum Information (2025)
-
A complexity transition in displaced Gaussian Boson sampling
npj Quantum Information (2025)
-
Tensor networks for quantum computing
Nature Reviews Physics (2025)


