HomeQuantum ComputingHHL Algorithm: Quantum Linear System Solver

HHL Algorithm: Quantum Linear System Solver

Interactive 3D simulation of the HHL quantum algorithm: watch phase-estimation clocks read out eigenvalues, an ancilla qubit rotate for inversion, and Ax=b get solved via post-selected measurement.

Quantum Computing3DAdvanced60 FPS📱 Mobile-adapted⇄ 2D version
quantum-computing-algorithms ↗ Open standalone

The Harrow–Hassidim–Lloyd (HHL) algorithm solves the linear system Ax = b exponentially faster than classical Gaussian elimination for sparse, well-conditioned Hermitian matrices — by encoding b's eigenbasis weights into quantum amplitudes, reading each eigenvalue through phase estimation, and inverting it with a controlled ancilla rotation. This simulation lets you tune a 3-eigenvalue matrix A and an input vector b, watch each eigenmode's phase-estimation clock spin at a rate set by its eigenvalue, and see the ancilla's success probability and the resulting solution vector x update live — including the condition-number blowup that makes near-singular matrices brutal for HHL in practice.

⚙ Under the hood

Tune a 3-eigenvalue Hermitian matrix and an input vector to watch the HHL quantum algorithm read eigenvalues via phase-estimation clocks, rotate an ancilla qubit for inversion, and solve Ax=b live.

quantum computingHHL algorithmlinear algebraphase estimationquantum algorithms

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)