← Atlas

Algorithms · Quantum linear algebra

HHL linear-systems reference

A linear-algebra reference that forces the catalog to show input loading, conditioning, and output observability.

Strong empiricalUpdated

Open on the mapView frozen graph

|b⟩phase registersolution ancillaStep 1 of 3 · QPE(A) · on |b⟩, phase registerQPE(A)Step 2 of 3 · λ⁻¹ · on phase register, solution ancillaλ⁻¹Step 3 of 3 · Uncompute · on |b⟩, phase registerUncompute

3 steps across 3 wires. Hover a step, or press play to go through them in order.

Expected outcomes

  • Observable of x70%
  • Steps3
  • Wires3
  • InputSparse A, |b⟩
  • Output|x⟩ state
  • RiskReadout cost
  • Papers1

A part this method uses, worked through

This page says quantum phase estimation — here is a concrete, runnable instance of it.

Phase estimation of P(3*pi/4)

3 counting qubits estimating the phase of P(3π/4), which is 2π·3/8 exactly: a phase 3-bit QPE can represent exactly.

q0q1q2q3XHadamard layer(3)Controlled phase powers(3)QFT inverse(3)

Where it ends up

  • 1011100%

The counting register reads 011 = 3 with probability 1: angle/(2π) = 3/8, recovered exactly.

One of its steps changes only phase: the outcome probabilities stay put while the state does not.

Open this part in Studio

Where this sits

This record is named by the layer graph at:

  • HHL: eigenvalue inversion by phase estimation Method

    Takes An access model for AA — sparse row/column entry oracles, or a block-encoding; a unitary preparing ∣b⟩\lvert b\rangle; a known upper bound κ\kappa on the condition number; the normalisation ∥A∥≤1\lVert A\rVert \le 1; and a target state error ε\varepsilon. Returns A flagged state ε\varepsilon-close in ℓ2\ell_2 to A−1∣b⟩/∥A−1∣b⟩∥A^{-1}\lvert b\rangle/\lVert A^{-1}\lvert b\rangle\rVert. It does not return ∥x∥\lVert x\rVert, any entry of xx, or any classical functional of xx — those cost extra and are decided a layer above.

Related entries

References

Strong empirical
  • Community submission
  • Verified by construction
  • Peer-reviewed paper
Method
A two-dimensional Hermitian system is represented as a phase-estimation plus controlled-rotation reference.
Result
Reviewable algorithm sketch · output readout and condition-number costs remain explicit.
Caveat
HHL outputs a quantum state proportional to the solution; extracting all vector components can remove the theoretical benefit.
Quantum algorithm for linear systems of equations ↗
Kind
curated reference
Reviewed by
LeonaQ literature curation pass
License
Public bibliographic link; code is an original reference sketch
linear systemsPDEfinancecondition number
  • PDE and computational fluid dynamics observables
  • Risk and portfolio linear algebra
  • Finite-element and inverse-problem prototypes

Atlas stars stay in the public catalog. Saving this entry to your workspace starts an unstarred private copy.