Skip to main content
KetQat

Appearance

Theorem · advanced

Matrix inversion is BQP-complete

Estimating a measurement on the solution of a sparse, well-conditioned linear system can simulate any polynomial-size quantum circuit; so no classical poly(kappa, log N) algorithm exists unless BPP = BQP, and kappa^(1-delta) scaling would imply BQP = PSPACE.

Peer-reviewed resultMachine-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.

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

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

Contributors

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

Review history

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

    Task definition and the three statements compared with Harrow-Hassidim-Lloyd, arXiv:0811.3171, Section 5 (Optimality), Theorem 4 and the definition of the matrix inversion task preceding it; the reduction parameters (O(1)-sparse, dimension O(2^n kappa), kappa = O(T), or O(T^2) for positive definite A) compared with the summary paragraph 'The complexity of matrix inversion' and eq. (A34) (kappa <= 2T). The O(kappa log(1/eps)) remark compared with the abstract of Costa et al., arXiv:2111.08152.

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 9e58508af3e8de0b. Source file knowledge/records/theorem/matrix-inversion-is-bqp-complete.md in the content repository (readable there once it is public).