Skip to main content
KetQat

Appearance

Topic · advanced

Quantum Linear Algebra

Quantum algorithms that prepare states proportional to solutions of linear systems - HHL with its exact assumptions and output model, improved solvers up to optimal kappa log(1/epsilon) scaling, the BQP-completeness that limits them, and what dequantization does and does not rule out.

ExpositionMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

Overview

Harrow, Hassidim and Lloyd (HHL, 2009) showed that a quantum computer can prepare a state proportional to the solution of a sparse, well-conditioned N×NN \times N linear system in time polynomial in log⁡N\log N and the condition number κ\kappa, where classical algorithms need time at least linear in NN to write the solution down. The result started the field of quantum linear algebra: algorithms that apply matrix functions such as A−1A^{-1}, e−iAte^{-iAt} or projections onto eigenspaces to quantum states.

The speed-up comes with conditions that decide whether it is real: the matrix must be accessible through an efficient oracle or block encoding, the right-hand side must be preparable as a quantum state, the condition number must be small, and the user must want a property of the solution state rather than the solution vector. Aaronson (2015) listed these caveats. When they hold for sparse matrices, the problem is BQP-complete, so no efficient classical algorithm is expected; when the input is a dense, low-rank matrix stored in a sampling data structure, classical dequantized algorithms match the quantum ones up to polynomial factors.

Intuition

In the eigenbasis of a Hermitian AA, inverting AA means dividing the component along each eigenvector by its eigenvalue. HHL does this without knowing the eigenbasis: phase estimation of eiAte^{iAt} writes each eigenvalue into a register next to its eigenvector component, a rotation conditioned on that register puts an amplitude proportional to 1/λ1/\lambda on a flag qubit, and undoing phase estimation leaves the flagged branch proportional to A−1∣b⟩A^{-1}\ket{b}. The price is paid twice in κ\kappa: eigenvalues as small as 1/κ1/\kappa must be resolved, and the flagged branch has probability as small as order 1/κ21/\kappa^2. Later algorithms remove one of the two factors by replacing phase estimation with polynomial approximations of 1/x1/x (QSVT) or with adiabatic paths, and by amplifying more cleverly.

Prerequisites

Quantum phase estimation, Hamiltonian simulation, amplitude amplification and block encodings.

Mathematical Definitions

DefinitionQuantum linear systems problemEstablished definition

Let N=2nN = 2^n, let A∈CN×NA \in \C^{N\times N} be invertible with ∥A∥≤1\lVert A\rVert \le 1 and condition number at most κ\kappa, that is, all singular values of AA lie in [1/κ,1][1/\kappa, 1], and let b⃗∈CN\vec b \in \C^N be nonzero. Write ∣b⟩=b⃗/∥b⃗∥\ket{b} = \vec b/\lVert\vec b\rVert and

∣x⟩=A−1∣b⟩∥A−1∣b⟩∥.\ket{x} = \frac{A^{-1}\ket{b}}{\lVert A^{-1}\ket{b}\rVert} .

Given

  • matrix access: an oracle for AA, either in the sparse model (for each row, the positions and values of its at most ss nonzero entries) or as a block encoding of AA with known normalisation, and
  • vector access: a unitary UbU_b with Ub∣0n⟩=∣b⟩U_b\ket{0^n} = \ket{b},

the quantum linear systems problem with precision ε\varepsilon is to output a state ρ\rho with 12∥ρ−∣x⟩⟨x∣∥1≤ε\tfrac12\lVert \rho - \ketbra{x}{x}\rVert_1 \le \varepsilon, with probability at least a constant (or to output a flag and such a state, with the flag indicating success). Complexity is counted in uses of the two oracles and in additional gates, as a function of NN, ss, κ\kappa and ε\varepsilon.

The output is a quantum state: reading out all NN amplitudes needs Ω(N)\Omega(N) copies, so useful applications measure an observable ⟨x∣M∣x⟩\bra{x}M\ket{x} or sample from ∣x⟩\ket{x}. Hermitian AA can be assumed without loss of generality by passing to (0AA†0)\begin{pmatrix} 0 & A \\ A\dagg & 0\end{pmatrix}, as in Harrow, Hassidim and Lloyd. The formulation with explicit precision and oracle model follows Childs, Kothari and Somma, who state it for Hermitian AA with ∥A∥=1\lVert A\rVert = 1 in the sparse model and measure the error as ∥∣x~⟩−∣x⟩∥≤ε\lVert \ket{\tilde x} - \ket{x}\rVert \le \varepsilon, which implies the trace-distance bound above.

Theorems

TheoremExact eigenvalue inversion by post-selectionEstablished result

Let ∣b⟩\ket{b} be a unit vector and let RR be the controlled rotation ∣λ⟩∣0⟩↦∣λ⟩(1−C2/λ2 ∣0⟩+(C/λ)∣1⟩)\ket{\lambda}\ket{0} \mapsto \ket{\lambda}\big(\sqrt{1 - C^2/\lambda^2}\,\ket{0} + (C/\lambda)\ket{1}\big) on clock and flag registers. Apply EE, then RR, then E†E\dagg to ∣b⟩∣0⟩∣0⟩\ket{b}\ket{0}\ket{0} and measure the flag. Outcome 1 occurs with probability

p=C2 ∥A−1∣b⟩∥2  ≥  C2,p = C^{2}\,\big\lVert A^{-1}\ket{b}\big\rVert^{2} \;\ge\; C^{2},

and the post-measurement state of the system is exactly ∣x⟩=A−1∣b⟩/∥A−1∣b⟩∥\ket{x} = A^{-1}\ket{b}/\lVert A^{-1}\ket{b}\rVert, with the clock register returned to ∣0⟩\ket{0}. With C=1/κC = 1/\kappa, p≥1/κ2p \ge 1/\kappa^2, and amplitude amplification succeeds with O(1/p)=O(κ)O(1/\sqrt p) = O(\kappa) rounds.

The error analysis of Harrow, Hassidim and Lloyd shows how this ideal behaviour degrades when phase estimation is approximate; this record isolates the exact mechanism.

Holds when
  • AA is Hermitian with eigen-decomposition A=∑jλj∣uj⟩⟨uj∣A = \sum_j \lambda_j\ketbra{u_j}{u_j} and 1/κ≤∣λj∣≤11/\kappa \le \lvert\lambda_j\rvert \le 1.
  • Idealisation - a unitary EE (exact phase estimation) maps ∣uj⟩∣0⟩↦∣uj⟩∣λj⟩\ket{u_j}\ket{0} \mapsto \ket{u_j}\ket{\lambda_j} for every jj, with the clock register holding an exact binary label of λj\lambda_j.
  • 0<C≤1/κ0 < C \le 1/\kappa so that ∣C/λj∣≤1\lvert C/\lambda_j\rvert \le 1.
Proof · Proof of exact eigenvalue inversion by post-selection

Expand ∣b⟩=∑jβj∣uj⟩\ket{b} = \sum_j\beta_j\ket{u_j} with ∑j∣βj∣2=1\sum_j\lvert\beta_j\rvert^2 = 1. Registers are written in the order system, clock, flag.

After EE: ∑jβj∣uj⟩∣λj⟩∣0⟩\sum_j \beta_j\ket{u_j}\ket{\lambda_j}\ket{0}.

After RR: ∑jβj∣uj⟩∣λj⟩(1−C2/λj2 ∣0⟩+(C/λj)∣1⟩)\sum_j \beta_j\ket{u_j}\ket{\lambda_j}\big(\sqrt{1 - C^2/\lambda_j^2}\,\ket{0} + (C/\lambda_j)\ket{1}\big); the square root is real because ∣C/λj∣≤Cκ≤1\lvert C/\lambda_j\rvert \le C\kappa \le 1.

After E†E\dagg, which acts on system and clock only and maps ∣uj⟩∣λj⟩\ket{u_j}\ket{\lambda_j} back to ∣uj⟩∣0⟩\ket{u_j}\ket{0} (as EE is unitary and maps ∣uj⟩∣0⟩\ket{u_j}\ket{0} to it):

(∑jβj1−C2/λj2 ∣uj⟩)∣0⟩∣0⟩  +  (∑jCβjλj∣uj⟩)∣0⟩∣1⟩.\Big(\sum_j \beta_j\sqrt{1 - C^2/\lambda_j^2}\,\ket{u_j}\Big)\ket{0}\ket{0} \;+\; \Big(\sum_j \frac{C\beta_j}{\lambda_j}\ket{u_j}\Big)\ket{0}\ket{1} .

The flag-one branch is C∑jβjλj−1∣uj⟩∣0⟩∣1⟩=C A−1∣b⟩⊗∣0⟩∣1⟩C\sum_j\beta_j\lambda_j^{-1}\ket{u_j}\ket{0}\ket{1} = C\,A^{-1}\ket{b}\otimes\ket{0}\ket{1}. Its squared norm is the probability of outcome 1, p=C2∥A−1∣b⟩∥2p = C^2\lVert A^{-1}\ket{b}\rVert^2, and the normalised post-measurement system state is A−1∣b⟩/∥A−1∣b⟩∥A^{-1}\ket{b}/\lVert A^{-1}\ket{b}\rVert with the clock in ∣0⟩\ket{0}. Since ∥A−1∣b⟩∥2=∑j∣βj∣2/λj2≥∑j∣βj∣2=1\lVert A^{-1}\ket{b}\rVert^2 = \sum_j\lvert\beta_j\rvert^2/\lambda_j^2 \ge \sum_j\lvert\beta_j\rvert^2 = 1 when every ∣λj∣≤1\lvert\lambda_j\rvert \le 1, p≥C2p \ge C^2. The number of amplitude-amplification rounds follows from the amplitude amplification theorem with a=pa = p: ⌊π/(4arcsin⁡p)⌋≤π/(4p)\lfloor\pi/(4\arcsin\sqrt p)\rfloor \le \pi/(4\sqrt p). This is the idealised core of the algorithm of Harrow, Hassidim and Lloyd.

TheoremMatrix inversion is BQP-completePeer-reviewed result

For the matrix inversion task in the assumptions:

  1. if a quantum algorithm solves it in time κ1−δ polylog⁡N\kappa^{1-\delta}\,\mathrm{poly}\log N for some δ>0\delta > 0, then BQP=PSPACE\mathsf{BQP} = \mathsf{PSPACE};
  2. no relativizing quantum algorithm (one that works with AA given by an oracle) runs in time κ1−δ polylog⁡N\kappa^{1-\delta}\,\mathrm{poly}\log N;
  3. if a classical algorithm solves it in time poly(κ,log⁡N)\mathrm{poly}(\kappa, \log N), then BPP=BQP\mathsf{BPP} = \mathsf{BQP}.

The reduction encodes an nn-qubit, TT-gate circuit UT⋯U1U_T\cdots U_1 into an O(1)O(1)-sparse matrix of dimension O(2nκ)O(2^n\kappa) whose inverse applied to ∣0⟩\ket{0} produces a history state containing the circuit output, with κ=O(T)\kappa = O(T) (or O(T2)O(T^2) if AA must be positive definite). Together with the HHL algorithm this makes the task BQP\mathsf{BQP}-complete. This is Theorem 4 of Harrow, Hassidim and Lloyd; later algorithms with cost O(κlog⁡(1/ε))O(\kappa\log(1/\varepsilon)) meet the linear-in-κ\kappa barrier.

Holds when
  • Matrix inversion task: input an O(1)-sparse Hermitian N×NN \times N matrix AA with κ−1I≤A≤I\kappa^{-1} I \le A \le I, given by an oracle or a poly(log N)-time row computation; output a bit equal to 1 with probability ⟨x∣M∣x⟩±ϵ\bra{x}M\ket{x} \pm \epsilon for a fixed constant ϵ\epsilon, where ∣x⟩∝A−1∣0⟩\ket{x} \propto A^{-1}\ket{0} and MM measures the first qubit.
TheoremPseudoinverse by singular value transformationPeer-reviewed result

Let Π0,≥δ\Pi_{0,\ge\delta} be the projector onto the span of the right singular vectors of AA with singular value 00 or at least δ\delta, and Π~0,≥δ\tilde\Pi_{0,\ge\delta} the analogous projector for the left singular vectors. There is m=O(1δlog⁡1ε)m = O\big(\tfrac{1}{\delta}\log\tfrac{1}{\varepsilon}\big) and an efficiently computable Φ∈Rm\Phi \in \R^m such that

∥Π0,≥δ (block of UΦ) Π~0,≥δ−δ2 A+ Π~0,≥δ∥≤ε,\Big\lVert \Pi_{0,\ge\delta}\, \big(\text{block of } U_\Phi\big)\, \tilde\Pi_{0,\ge\delta} - \frac{\delta}{2}\, A^{+}\, \tilde\Pi_{0,\ge\delta} \Big\rVert \le \varepsilon ,

where A+A^{+} is the Moore–Penrose pseudoinverse and "block of UΦU_\Phi" is the real-part combination of the QSVT theorem (one extra ancilla, measured in ∣+⟩\ket{+}). The circuit uses UU and U†U\dagg a total of mm times. The polynomial behind it is an odd polynomial of degree O(log⁡(1/ε)/δ)O(\log(1/\varepsilon)/\delta) that approximates δ/(2x)\delta/(2x) for ∣x∣≥δ\lvert x\rvert \ge \delta and is bounded by 1 on [−1,1][-1,1]. For an invertible AA with condition number κ\kappa and ∥A∥≤1\lVert A\rVert \le 1, taking δ=1/κ\delta = 1/\kappa gives a block encoding of A−1/(2κ)A^{-1}/(2\kappa) with O(κlog⁡(1/ε))O(\kappa\log(1/\varepsilon)) uses of UU.

This is Theorem 41 of Gilyén, Su, Low and Wiebe.

Holds when
  • UU, Π\Pi, Π~\tilde\Pi as in the QSVT theorem, A=Π~UΠA = \tilde\Pi U\Pi, and 0<ε≤δ≤1/20 < \varepsilon \le \delta \le 1/2.
  • The guarantee holds on the subspaces spanned by right singular vectors with singular value 00 or at least δ\delta (and the corresponding left ones); singular values in (0,δ)(0, \delta) are not controlled.
TheoremDequantized singular value transformation for low-rank matricesPeer-reviewed result

Under the assumptions, for a matrix AA, a vector b⃗\vec b and a suitable function ff applied to singular values, there is a classical algorithm that outputs a description of a vector close to f(SV)(A)b⃗f^{(SV)}(A)\vec b which supports sampling and entry queries, in time polynomial in the stable-rank-type ratios, the inverse precision and the parameters of ff, and independent of the dimension apart from the cost of the sampling operations (Chia, Gilyén, Li, Lin, Tang and Wang). The framework recovers and often improves earlier dequantizations: recommendation systems (Tang, STOC 2019), low-rank regression and matrix inversion (Gilyén, Lloyd and Tang, preprint), and principal component analysis and nearest-centroid clustering (Tang, PRL 2021), and adds low-rank Hamiltonian simulation and discriminant analysis.

The classical algorithms are polynomially slower than the quantum ones, so polynomial quantum speed-ups may remain. The results say nothing about sparse, full-rank, well-conditioned matrices, the regime of the BQP-complete linear-systems problem.

Holds when
  • Sample-and-query access: the classical algorithm can query entries of AA and b⃗\vec b and draw row indices with probability proportional to squared row norms, and entries within a row proportionally to their squared magnitudes, together with the norms involved - the classical counterpart of QRAM-based state preparation.
  • The matrix is close to low rank (its Frobenius norm is not much larger than its operator norm), and the function applied to the singular values is smooth enough; running times are polynomial in these ratios and in the inverse precision.
  • Outputs are samples from, and query access to, the result vector, matching what the quantum algorithm provides.

Worked Examples

A two-by-two system with exact eigenvalues

Let A=(5/83/83/85/8)A = \begin{pmatrix} 5/8 & 3/8 \\ 3/8 & 5/8\end{pmatrix}, with eigenvalues 11 (eigenvector ∣+⟩\ket{+}) and 1/41/4 (eigenvector ∣−⟩\ket{-}), so κ=4\kappa = 4, and let ∣b⟩=∣0⟩=(∣+⟩+∣−⟩)/2\ket{b} = \ket{0} = (\ket{+} + \ket{-})/\sqrt2. Directly, A−1=(5/2−3/2−3/25/2)A^{-1} = \begin{pmatrix} 5/2 & -3/2 \\ -3/2 & 5/2\end{pmatrix} and A−1∣0⟩=(5∣0⟩−3∣1⟩)/2A^{-1}\ket{0} = (5\ket{0} - 3\ket{1})/2, of squared norm 34/4=8.534/4 = 8.5.

In HHL, take t0=πt_0 = \pi: eiAt0e^{iAt_0} has eigenphases λ/2\lambda/2, that is 1/21/2 and 1/81/8, which three clock qubits represent exactly, so phase estimation is exact and the ideal analysis applies. With C=1/κ=1/4C = 1/\kappa = 1/4, the flag branch has amplitudes Cβj/λjC\beta_j/\lambda_j: 14⋅12\tfrac14\cdot\tfrac{1}{\sqrt2} on ∣+⟩\ket{+} and 14⋅4⋅12=12\tfrac14\cdot 4\cdot\tfrac{1}{\sqrt2} = \tfrac{1}{\sqrt2} on ∣−⟩\ket{-}. The success probability is p=132+12=0.53125=C2⋅8.5p = \tfrac{1}{32} + \tfrac12 = 0.53125 = C^2 \cdot 8.5, and the post-selected state is (∣+⟩+4∣−⟩)/17=(5∣0⟩−3∣1⟩)/34(\ket{+} + 4\ket{-})/\sqrt{17} = (5\ket{0} - 3\ket{1})/\sqrt{34}, the normalised solution. A measurement in the computational basis then returns 0 with probability 25/34≈0.73525/34 \approx 0.735: one number about x⃗\vec x, which is the kind of output the algorithm provides.

Algorithms and Implementations

AlgorithmHHL algorithmPeer-reviewed result

Write ∣b⟩=∑jβj∣uj⟩\ket{b} = \sum_j \beta_j\ket{u_j} in the eigenbasis of AA, A∣uj⟩=λj∣uj⟩A\ket{u_j} = \lambda_j\ket{u_j}, so that A−1∣b⟩=∑jβjλj−1∣uj⟩A^{-1}\ket{b} = \sum_j \beta_j\lambda_j^{-1}\ket{u_j}.

Procedure.

  1. Prepare ∣b⟩\ket{b} in the system register.
  2. Run phase estimation of the unitary eiAt0e^{iAt_0} (by Hamiltonian simulation) into a clock register, approximately producing ∑jβj∣uj⟩∣λ~j⟩\sum_j \beta_j\ket{u_j}\ket{\tilde\lambda_j} with λ~j≈λj\tilde\lambda_j \approx \lambda_j.
  3. Controlled on ∣λ~j⟩\ket{\tilde\lambda_j}, rotate an ancilla: ∣0⟩↦1−C2/λ~j2 ∣0⟩+(C/λ~j)∣1⟩\ket{0} \mapsto \sqrt{1 - C^2/\tilde\lambda_j^2}\,\ket{0} + (C/\tilde\lambda_j)\ket{1} with C=O(1/κ)C = O(1/\kappa).
  4. Undo phase estimation to clear the clock register.
  5. Measure the ancilla; on outcome 1 the system holds (approximately) ∑jβj(C/λj)∣uj⟩∝A−1∣b⟩\sum_j \beta_j (C/\lambda_j)\ket{u_j} \propto A^{-1}\ket{b}. Repeat, or use amplitude amplification, until success.

Cost. With t0=O(κ/ε)t_0 = O(\kappa/\varepsilon) the eigenvalue estimates are accurate enough for output error ε\varepsilon; the success probability is Ω(1/κ2)\Omega(1/\kappa^2) and amplitude amplification needs O(κ)O(\kappa) rounds. Harrow, Hassidim and Lloyd state a total running time of O~(κTB+log⁡(N) s2κ2/ε)\tilde O\big(\kappa T_B + \log(N)\, s^2\kappa^2/\varepsilon\big), where O~\tilde O suppresses more slowly growing factors.

Output. A state close to ∣x⟩\ket{x}, from which expectation values ⟨x∣M∣x⟩\bra{x}M\ket{x} are estimated by repetition; the paper frames the task this way and compares with classical algorithms that find x⃗\vec x and estimate x⃗†Mx⃗\vec x^\dagger M\vec x in time O~(Nκ)\tilde O(N\sqrt\kappa) for sparse systems. Non-Hermitian AA is handled by the Hermitian dilation, and ill-conditioned parts of the spectrum can be filtered out with a flag qubit (also discussed in the paper).

Holds when
  • AA is Hermitian, ss-sparse with efficiently computable entries, and its eigenvalues satisfy 1/κ≤∣λ∣≤11/\kappa \le \lvert\lambda\rvert \le 1.
  • A unitary preparing ∣b⟩\ket{b} in time TBT_B is available.

Improved solvers

Year Method Cost for the QLSP Source
2009 phase estimation + post-selection (HHL) O~(log⁡(N) s2κ2/ε)\tilde O(\log(N)\,s^2\kappa^2/\varepsilon) Harrow, Hassidim, Lloyd
2012 variable-time amplitude amplification κ\kappa-dependence O(κlog⁡3κ)O(\kappa\log^3\kappa) (times log⁡N\log N) Ambainis
2017 Fourier or Chebyshev series via LCU polynomial in log⁡(1/ε)\log(1/\varepsilon), similar dependence on other parameters Childs, Kothari, Somma
2019 randomized adiabatic evolution O(κlog⁡(κ)/ε)O(\kappa\log(\kappa)/\varepsilon) Subaşı, Somma, Orsucci
2019 QSVT pseudoinverse (block encoding) O(κlog⁡(1/ε))O(\kappa\log(1/\varepsilon)) per application of A−1/(2κ)A^{-1}/(2\kappa) Gilyén et al.
2020 adiabatic or Zeno path + eigenstate filtering O~(dκlog⁡(1/ε))\tilde O(d\kappa\log(1/\varepsilon)) queries, dd-sparse Lin and Tong
2022 time-optimal adiabatic schedule O(κ polylog⁡(κ/ε))O(\kappa\,\mathrm{poly}\log(\kappa/\varepsilon)) An and Lin
2022 discrete adiabatic theorem + filtering O(κlog⁡(1/ε))O(\kappa\log(1/\varepsilon)), optimal Costa et al.
2024 (preprint) kernel reflection, no adiabatic theorem O(κlog⁡(1/ε))O(\kappa\log(1/\varepsilon)), explicit bound 56κ+1.05κln⁡(1/ε)+o(κ)56\kappa + 1.05\kappa\ln(1/\varepsilon) + o(\kappa) Dalzell

Costs are as stated in each source, in that source's access model (sparse oracle or block encoding with normalisation absorbed into κ\kappa). The linear dependence on κ\kappa cannot be improved for relativizing algorithms, and κ1−δ\kappa^{1-\delta} scaling would imply BQP=PSPACE\mathsf{BQP} = \mathsf{PSPACE} (HHL, Theorem 4).

Applications

Proposals include estimating properties of solutions of discretised differential equations, least-squares fitting (dequantized in the low-rank case by Gilyén, Lloyd and Tang), and quantum machine learning tasks such as recommendation systems (Kerenidis and Prakash, 2017). Each must be checked against the caveats below; the recommendation-system speed-up, for example, was dequantized by Tang (2019).

Limitations and Common Pitfalls

  • Input loading. Preparing ∣b⟩\ket{b} for arbitrary classical data and providing oracle access to a dense AA require a quantum random-access memory or equivalent; if loading costs Ω(N)\Omega(N), the exponential speed-up disappears (Aaronson).
  • Output model. The algorithm outputs ∣x⟩\ket{x}, not x⃗\vec x. Reading out all entries costs at least order NN repetitions; only global properties such as ⟨x∣M∣x⟩\bra{x}M\ket{x} come cheaply.
  • Condition number. Cost grows at least linearly in κ\kappa, so an application whose condition number grows with the problem size (as it does for many discretised differential equations when the grid is refined) can lose most of the advantage.
  • Dequantization covers low rank, not sparsity. Quantum-inspired classical algorithms (Chia et al.) remove exponential speed-ups for close-to-low-rank matrices in the sampling input model, but not for sparse, high-rank, well-conditioned matrices given by efficient oracles, where the problem is BQP-complete.
  • Compare with the right classical baseline. Harrow, Hassidim and Lloyd compare with classical algorithms that solve sparse systems and estimate x⃗†Mx⃗\vec x^\dagger M\vec x in time O~(Nκ)\tilde O(N\sqrt\kappa); a fair comparison fixes the same output (a sample or an expectation value) and the same input model.

State of the Art

As of 2026-11, the optimal query complexity O(κlog⁡(1/ε))O(\kappa\log(1/\varepsilon)) for the quantum linear systems problem is achieved by the discrete-adiabatic solver of Costa et al. (PRX Quantum 2022), and a simpler solver with the same scaling and explicit constants is given in a 2024 preprint by Dalzell. The dequantization line (Tang; Chia et al., STOC 2020) established that the low-rank QRAM setting does not yield exponential speed-ups.

Quantum singular value transformation, quantum machine learning, quantum complexity theory, and the lesson Complexity and advantage.

Part of
Mentioned in

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. Aram W. Harrow, Avinatan Hassidim, Seth Lloyd (2009). Quantum algorithm for linear systems of equations. Physical Review Letters 103, 150502. doi:10.1103/PhysRevLett.103.150502arXiv:0811.3171
  2. Andris Ambainis (2012). Variable time amplitude amplification and quantum algorithms for linear algebra problems. 29th International Symposium on Theoretical Aspects of Computer Science (STACS 2012), LIPIcs 14, 636-647. doi:10.4230/LIPIcs.STACS.2012.636arXiv:1010.4458
  3. Andrew M. Childs, Robin Kothari, Rolando D. Somma (2017). Quantum algorithm for systems of linear equations with exponentially improved dependence on precision. SIAM Journal on Computing 46(6), 1920-1950. doi:10.1137/16M1087072arXiv:1511.02306
  4. Yiğit Subaşı, Rolando D. Somma, Davide Orsucci (2019). Quantum algorithms for systems of linear equations inspired by adiabatic quantum computing. Physical Review Letters 122, 060504. doi:10.1103/PhysRevLett.122.060504arXiv:1805.10549
  5. Dong An, Lin Lin (2022). Quantum linear system solver based on time-optimal adiabatic quantum computing and quantum approximate optimization algorithm. ACM Transactions on Quantum Computing 3(2), 1-28. doi:10.1145/3498331arXiv:1909.05500
  6. Lin Lin, Yu Tong (2020). Optimal polynomial based quantum eigenstate filtering with application to solving quantum linear systems. Quantum 4, 361. doi:10.22331/q-2020-11-11-361arXiv:1910.14596
  7. Pedro C. S. Costa, Dong An, Yuval R. Sanders, … Dominic W. Berry (2022). Optimal scaling quantum linear-systems solver via discrete adiabatic theorem. PRX Quantum 3, 040303. doi:10.1103/PRXQuantum.3.040303arXiv:2111.08152
  8. Alexander M. Dalzell (2024). A shortcut to an optimal quantum linear system solver. arXiv:2406.12086
  9. András Gilyén, Yuan Su, Guang Hao Low, Nathan Wiebe (2019). Quantum singular value transformation and beyond: exponential improvements for quantum matrix arithmetics. Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing (STOC 2019), 193-204. doi:10.1145/3313276.3316366arXiv:1806.01838
  10. Scott Aaronson (2015). Read the fine print. Nature Physics 11, 291-293. doi:10.1038/nphys3272
  11. Iordanis Kerenidis, Anupam Prakash (2017). Quantum recommendation systems. 8th Innovations in Theoretical Computer Science Conference (ITCS 2017), LIPIcs 67, 49:1-49:21. doi:10.4230/LIPIcs.ITCS.2017.49arXiv:1603.08675
  12. Ewin Tang (2019). A quantum-inspired classical algorithm for recommendation systems. Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing (STOC 2019). doi:10.1145/3313276.3316310arXiv:1807.04271
  13. Nai-Hui Chia, András Gilyén, Tongyang Li, … Chunhao Wang (2020). Sampling-based sublinear low-rank matrix arithmetic framework for dequantizing quantum machine learning. Proceedings of the 52nd Annual ACM SIGACT Symposium on Theory of Computing (STOC 2020). doi:10.1145/3357713.3384314arXiv:1910.06151
  14. András Gilyén, Seth Lloyd, Ewin Tang (2018). Quantum-inspired low-rank stochastic regression with logarithmic dependence on the dimension. arXiv:1811.04909
  15. Ewin Tang (2021). Quantum principal component analysis only achieves an exponential speedup because of its state preparation assumptions. Physical Review Letters 127, 060503. doi:10.1103/PhysRevLett.127.060503arXiv:1811.00414

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass with notes · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Topic body only (embedded records carry their own states). Recomputed the 2x2 worked example (eigenvalues 1 and 1/4, A^{-1}|0> = (5,-3)/2, t0 = pi giving phases 1/2 and 1/8, p = 0.53125 = C^2 * 8.5, post-selected state (5|0> - 3|1>)/sqrt 34, 25/34). Solver table compared with abstracts: HHL arXiv:0811.3171; Ambainis arXiv:1010.4458 (kappa log^3 kappa log N); Childs–Kothari–Somma arXiv:1511.02306; Subasi–Somma–Orsucci arXiv:1805.10549 (kappa log kappa / eps); Lin–Tong arXiv:1910.14596 (O~(d kappa log 1/eps)); An–Lin arXiv:1909.05500 (kappa poly log(kappa/eps)); Costa et al. arXiv:2111.08152 (O(kappa log 1/eps), optimal); Dalzell arXiv:2406.12086 (56 kappa + 1.05 kappa ln(1/eps) + o(kappa)). Lower bounds compared with HHL Theorem 4 (kappa^{1-delta} implies BQP = PSPACE; no relativizing kappa^{1-delta} algorithm); dequantization claims with Chia et al. arXiv:1910.06151 abstract.

    The classical baseline was written O(N sqrt(kappa)); HHL state O~(N sqrt(kappa)). Changed to O~.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
  2. 2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10

Current revision 9a96beb66a3cc2c6. Source file knowledge/records/topic/quantum-linear-algebra.md in the content repository (readable there once it is public).