- Open Access
Randomized Adiabatic Quantum Linear Solver Algorithm with Optimal Complexity Scaling and Detailed Running Costs
PRX Quantum 6, 040373 – Published 29 December, 2025
DOI: https://doi.org/10.1103/1xkb-22cc
Abstract
Solving linear systems of equations is a fundamental problem with a wide variety of applications across many fields of science, and there is increasing effort to develop quantum linear solver algorithms. Subaşı et al. [Phys. Rev. Lett. 122, 060504 (2019)] proposed a randomized algorithm inspired by adiabatic quantum computing, based on a sequence of random Hamiltonian simulation steps, with suboptimal scaling in the condition number of the linear system and the target error . Here we go beyond these results in several ways. Firstly, using filtering [Lin and Tong, Quantum 4, 361 (2020)] and Poissonization techniques [Cunningham and Roland, ArXiv:2406.03972 (2024)], the algorithm complexity is improved to the optimal scaling —an exponential improvement in , and a shaving of a scaling factor in . Secondly, the algorithm is further modified to achieve constant factor improvements, which are vital as we progress towards hardware implementations on fault-tolerant devices. We introduce a cheaper randomized walk operator method replacing Hamiltonian simulation—which also removes the need for potentially challenging classical precomputations; randomized routines are sampled over optimized random variables; circuit constructions are improved. We obtain a closed formula rigorously upper bounding the expected number of times one needs to apply a block-encoding of the linear system matrix to output a quantum state encoding the solution to the linear system. The upper bound is at for Hermitian matrices.
Physics Subject Headings (PhySH)
Popular Summary
The task of solving high-dimensional linear equations is a ubiquitous problem that arises across numerous areas of science: from solving differential equations, to machine-learning, optimization, and statistics to name a few. We know rigorously that fault-tolerant quantum computers can provide exponential advantage over classical computers in the context of solving such linear equations. Moreover, in the coming decade it is widely expected that fault-tolerant devices will come online and are expected to find transformative impact.
In this context, our randomized algorithm provides a novel method to realize such quantum advantage for solving linear systems in a way that is both (a) optimally efficient in key properties (condition number and error tolerance) and (b) is built out of elementary methods and techniques suited to earlier implementations. In particular, we introduce a cheaper randomized walk operator method replacing Hamiltonian simulation, which also removes the need for potentially challenging classical precomputations.
We also provide a detailed analysis giving rigorous guarantees for the non asymptotic performance, making this algorithm readily deployable for resource estimates of high-impact use cases. Significantly, this places our work in a very small pool of optimal algorithms known for the fundamental task of solving linear equations, and showcases the competitiveness of randomized methods.
Article Text
References (44)
- D. W. Berry, A. M. Childs, A. Ostrander, and G. Wang, Quantum algorithm for linear differential equations with exponentially improved dependence on precision, Commun. Math. Phys. 356, 1057 (2017).
- A. M. Childs, J.-P. Liu, and A. Ostrander, High-precision quantum algorithms for partial differential equations, Quantum 5, 574 (2021).
- H. Krovi, Improved quantum algorithms for linear and nonlinear differential equations, Quantum 7, 913 (2023).
- D. W. Berry and P. Costa, Quantum algorithm for time-dependent differential equations using Dyson series, Quantum 8, 1369 (2024).
- A. Ameri, E. Ye, P. Cappellaro, H. Krovi, and N. F. Loureiro, in 2023 IEEE International Conference on Quantum Computing and Engineering (QCE) (IEEE, Bellevue, Washington, 2023), Vol. 2, p. 56.
- M. Bagherimehrab, K. Nakaji, N. Wiebe, and A. Aspuru-Guzik, Fast quantum algorithm for differential equations, ArXiv:2306.11802.
- J.-P. Liu, H. Ø. Kolden, H. K. Krovi, N. F. Loureiro, K. Trivisa, and A. M. Childs, Efficient quantum algorithm for dissipative nonlinear differential equations, Proc. Natl. Acad. Sci. 118, e2026805118 (2021).
- J.-P. Liu, D. An, D. Fang, J. Wang, G. H. Low, and S. Jordan, Efficient quantum algorithm for nonlinear reaction–diffusion equations and energy estimation, Commun. Math. Phys. 404, 963 (2023).
- S. Jin and N. Liu, Quantum algorithms for computing observables of nonlinear partial differential equations, Bull. Sci. Math. 194, 103457 (2024).
- A. Surana, A. Gnanasekaran, and T. Sahai, Carleman linearization based efficient quantum algorithm for higher order polynomial differential equations, ArXiv:2212.10775.
- P. Costa, P. Schleich, M. E. Morales, and D. W. Berry, Further improving quantum algorithms for nonlinear differential equations via higher-order methods and rescaling, npj Quantum Inf. 11, 141 (2025).
- H. Krovi, Quantum algorithms to simulate quadratic classical hamiltonians and optimal control, ArXiv:2404.07303.
- N. Wiebe, D. Braun, and S. Lloyd, Quantum algorithm for data fitting, Phys. Rev. Lett. 109, 050505 (2012).
- B. D. Clader, B. C. Jacobs, and C. R. Sprouse, Preconditioned quantum linear system algorithm, Phys. Rev. Lett. 110, 250504 (2013).
- P. Rebentrost, M. Mohseni, and S. Lloyd, Quantum support vector machine for big data classification, Phys. Rev. Lett. 113, 130503 (2014).
- J. Liu, M. Liu, J.-P. Liu, Z. Ye, Y. Wang, Y. Alexeev, J. Eisert, and L. Jiang, Towards provably efficient quantum algorithms for large-scale machine-learning models, Nat. Commun. 15, 434 (2024).
- A. M. Dalzell, B. D. Clader, G. Salton, M. Berta, C. Y.-Y. Lin, D. A. Bader, N. Stamatopoulos, M. J. Schuetz, F. G. Brandão, H. G. Katzgraber, et al., End-to-end resource analysis for quantum interior point methods and portfolio optimization, PRX Quantum 4, 040325 (2023).
- A. W. Harrow, A. Hassidim, and S. Lloyd, Quantum algorithm for linear systems of equations, Phys. Rev. Lett. 103, 150502 (2009).
- A. Ambainis, in STACS’12 (29th Symposium on Theoretical Aspects of Computer Science) (LIPIcs, Paris, France, 2012), Vol. 14, p. 636.
- A. M. Childs, R. Kothari, and R. D. Somma, Quantum algorithm for systems of linear equations with exponentially improved dependence on precision, SIAM J. Comput. 46, 1920 (2017).
- S. Chakraborty, A. Gilyén, and S. Jeffery, in Proceedings of the 46th International Colloquium on Automata, Languages, and Programming (ICALP 2019) (Schloss Dagstuhl – Leibniz-Zentrum für Informatik, Patras, Greece, 2019), p. 33:1.
- Y. Subaşı, R. D. Somma, and D. Orsucci, Quantum algorithms for systems of linear equations inspired by adiabatic quantum computing, Phys. Rev. Lett. 122, 060504 (2019).
- L. Lin and Y. Tong, Optimal polynomial based quantum eigenstate filtering with application to solving quantum linear systems, Quantum 4, 361 (2020).
- P. C. S. Costa, D. An, Y. R. Sanders, Y. Su, R. Babbush, and D. W. Berry, Optimal scaling quantum linear-systems solver via discrete adiabatic theorem, PRX Quantum 3, 040303 (2022).
- P. Costa, D. An, R. Babbush, and D. Berry, The discrete adiabatic quantum linear system solver has lower constant factors than the randomized adiabatic solver, Quantum 9, 1887 (2025).
- A. M. Dalzell, A shortcut to an optimal quantum linear system solver, ArXiv:2406.12086.
- G. H. Low and Y. Su, Quantum linear system algorithm with optimal queries to initial state preparation, ArXiv:2410.18178.
- M. E. Morales, L. Pira, P. Schleich, K. Koor, P. Costa, D. An, L. Lin, P. Rebentrost, and D. W. Berry, Quantum linear system solvers: A survey of algorithms and applications, ArXiv:2411.02522.
- J. Cunningham and J. Roland, Eigenpath traversal by Poisson-distributed phase randomisation, ArXiv:2406.03972.
- S. Boixo, E. Knill, and R. D. Somma, Eigenpath traversal by phase randomization, Quantum Inf. Comput. 9, 833 (2009).
- D. Poulin, A. Kitaev, D. S. Steiger, M. B. Hastings, and M. Troyer, Quantum algorithm for spectral measurement with a lower gate count, Phys. Rev. Lett. 121, 010501 (2018).
- A. Gilyén, Y. Su, G. H. Low, and N. Wiebe, in Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing (STOC 2019) (Phoenix, Arizona, 2019), p. 193, https://inspirehep.net/conferences/2736187.
- L. Lin, Lecture notes on quantum algorithms for scientific computation, ArXiv:2201.08309.
- D. Camps, L. Lin, R. Van Beeumen, and C. Yang, Explicit quantum circuits for block encodings of certain sparse matrices, SIAM J. Matrix Anal. Appl. 45, 801 (2024).
- C. Sünderhauf, E. Campbell, and J. Camps, Block-encoding structured matrices for data input in quantum computing, Quantum 8, 1226 (2024).
- Q. T. Nguyen, B. T. Kiani, and S. Lloyd, Block-encoding dense and full-rank kernels using hierarchical matrices: Applications in quantum numerical linear algebra, Quantum 6, 876 (2022).
- H. Li, H. Ni, and L. Ying, On efficient quantum block encoding of pseudo-differential operators, Quantum 7, 1031 (2023).
- Note that in Ref. [22] our is denoted by instead.
- H.-T. Chiang, G. Xu, and R. D. Somma, Improved bounds for eigenpath traversal, Phys. Rev. A 89, 012314 (2014).
- One could also consider jointly optimizing some combination of and , to put a penalty on excessive values of the variance.
- Y. R. Sanders, D. W. Berry, P. C. Costa, L. W. Tessler, N. Wiebe, C. Gidney, H. Neven, and R. Babbush, Compilation of fault-tolerant quantum heuristics for combinatorial optimization, PRX Quantum 1, 020312 (2020).
- D. Motlagh and N. Wiebe, Generalized quantum signal processing, PRX Quantum 5, 020368 (2024).
- S. Jansen, M.-B. Ruskai, and R. Seiler, Bounds for the adiabatic approximation with applications to quantum computation, J. Math. Phys. 48, 102111 (2007).
- J. Watrous, The Theory of Quantum Information (Cambridge University Press, Cambridge, United Kingdom, 2018).
