[Paper Review] Quantum algorithm for solving linear systems of equations
This paper presents a quantum algorithm that solves linear systems of equations exponentially faster than classical methods when estimating expectation values of operators on the solution vector. By leveraging quantum phase estimation and Hamiltonian simulation, the algorithm achieves a runtime of poly(log N, κ), offering exponential speedup over classical O(N√κ) methods for sparse matrices with low condition number κ.
Solving linear systems of equations is a common problem that arises both on its own and as a subroutine in more complex problems: given a matrix A and a vector b, find a vector x such that Ax=b. We consider the case where one doesn't need to know the solution x itself, but rather an approximation of the expectation value of some operator associated with x, e.g., x'Mx for some matrix M. In this case, when A is sparse, N by N and has condition number kappa, classical algorithms can find x and estimate x'Mx in O(N sqrt(kappa)) time. Here, we exhibit a quantum algorithm for this task that runs in poly(log N, kappa) time, an exponential improvement over the best classical algorithm.
Motivation & Objective
- To develop a quantum algorithm that efficiently estimates expectation values of operators on the solution vector of a linear system Ax = b.
- To achieve exponential speedup over classical algorithms for solving large, sparse linear systems with low condition number.
- To enable practical quantum advantage in applications where only partial information about the solution vector is needed, such as in machine learning or optimization.
- To formalize the limits of quantum speedup by proving lower bounds on error and runtime for matrix inversion estimation problems.
Proposed method
- Represent the input vector b as a quantum state |b⟩ using amplitude encoding.
- Apply Hamiltonian simulation to evolve |b⟩ under the unitary e^{iAt} for a superposition of time intervals.
- Use quantum phase estimation to project |b⟩ into the eigenbasis of A and estimate the eigenvalues λj.
- Apply a controlled rotation that maps |λj⟩ to |λj⟩ with amplitude proportional to λj^{-1}, effectively implementing A^{-1}.
- Uncompute the eigenvalue register and measure the resulting state |x⟩ = A^{-1}|b⟩ to estimate ⟨x|M|x⟩ via quantum measurement.
- Use amplitude estimation to achieve high-precision estimation of the expectation value ⟨x|M|x⟩ with controlled error.
Experimental results
Research questions
- RQ1Can a quantum algorithm estimate the expectation value ⟨x|M|x⟩ for a solution x of Ax = b faster than classical methods?
- RQ2What is the optimal quantum runtime for estimating such expectation values, and how does it scale with N, κ, and ε?
- RQ3Can the algorithm be made robust to ill-conditioned matrices, and what are the limitations in such cases?
- RQ4Are there fundamental limits to the error dependence of quantum matrix inversion algorithms?
- RQ5Does the quantum speedup for matrix inversion imply stronger complexity-theoretic consequences, such as BQP = PP?
Key findings
- The algorithm achieves a runtime of Õ(log N ⋅ κ² ⋅ s² / ε³) for estimating ⟨x|M|x⟩ to additive error ε, representing an exponential speedup over classical O(N√κ) methods when κ and 1/ε are polylogarithmic in N.
- For sparse, well-conditioned matrices, the algorithm runs in poly(log N, κ) time, making it exponentially faster than classical algorithms in the size N of the system.
- The algorithm's error dependence on ε cannot be improved beyond poly(1/ε) without implying BQP = PP, a strong complexity-theoretic consequence.
- A relativized lower bound shows that no quantum algorithm can solve the matrix inversion estimation problem in time N^α ⋅ poly(κ)/ε^β unless α + β ≥ 1, indicating inherent limits on error scaling.
- The algorithm can be adapted to handle non-Hermitian and non-invertible matrices via regularization and preconditioning techniques, though with increased runtime.
- The method enables efficient estimation of various features of the solution vector, such as normalization, weighted sums, and moments, without full state tomography.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.