HHL

HHL — Quantum Linear Systems

Cryptography & Number Theory

The Harrow-Hassidim-Lloyd algorithm (2009) prepares a quantum state proportional to the solution of a linear system Ax = b, in time polylog(N) for sparse, well-conditioned matrices — an exponential improvement in dimension over classical solvers. The caveats are famous: b must be loaded efficiently, A must be sparse with small condition number kappa, and the output is a quantum state — reading all N components costs O(N), destroying the speedup. It is best understood as a subroutine inside larger quantum pipelines.

Key factRuntime scales as ~O(kappa^2 log N / epsilon) in favourable regimes; cost grows steeply with condition number kappa and precision demands.
Leader lensThe most caveated speedup in the field. HHL is real mathematics and, a decade and a half on, still has no production application — treat it as a building block with strict conditions.