Sign outOpen workspaceSign in

SlotLayer 1

Quantum linear solve

Given access to a matrix AA and a unitary that prepares b>|b>, produce a flagged quantum state that is ε\varepsilon-close in l2l2 to the normalised A1bA^{-1}b. The deliverable is a state, not a classical vector.

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 A1\lVert A\rVert \le 1; and a target state error ε\varepsilon.

Returns

A flagged state ε\varepsilon-close in 2\ell_2 to A1b/A1bA^{-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.

This one, drawn

Quantum linear solveHHL: eigenvalue inversion by phase estimationQSVT matrix inversion · 3 parts inside, openQSVT matrix inversion · 3 parts inside, openQSVT matrix inversion · 3 parts inside, open — click the line to close itBlock-encode a matrix ×m · 4 ways throughBlock-encode a matrix ×m · 4 ways through — click the line to open it hereQuantum singular value transformation, an odd polynomial in 1/x · 2 parts insideQuantum singular value transformation, an odd polynomial in 1/x · 2 parts inside — click the line to open it hereQSVT matrix inversionChebyshev LCU inversionDiscrete adiabatic inversion · 3 parts insideDiscrete adiabatic inversion · 3 parts inside — click the line to open it hereEigenstate filtering inversion · 3 parts insideEigenstate filtering inversion · 3 parts inside — click the line to open it hereHHL: eigenvalue inversion by phase estimation — click the name to read about itHHLQSVT matrix inversion · 3 parts inside, open — click the name to close itQSVT matrix inversionBlock-encode a matrix ×m · 4 ways through — click the name to read about itBlock-encode a matrix ×mQuantum singular value transformation, an odd polynomial in 1/x · 2 parts inside — click the name to read about itQSVT, an odd polynomial in 1/xQSVT matrix inversion — click the name to read about itapply the assembled pseudoinverseChebyshev LCU inversion — click the name to read about itChebyshev LCU inversionDiscrete adiabatic inversion · 3 parts inside — click the name to read about itDiscrete adiabatic inversionEigenstate filtering inversion · 3 parts inside — click the name to read about itEigenstate filtering inversionLinear system Ax = b — you start hereSolution as a state — you finish hereBlock-encoding — what one part hands to the nextBlock-encoding of f(A) — what one part hands to the next

Drag to pan. Pinch, or hold ctrl and scroll, to zoom. Arrow keys pan, plus and minus zoom, zero resets the view.

From Linear system Ax = b to Solution as a state

A circle is an object you are holding. Each line between the two ends is one recorded way through this slot; where a way is built from smaller slots, those are its own lines. Circles are named on hover, and each one is a link.

4 lines here have ways through that this figure does not open. The map opens them in place. See it on the map

Why this is a layer

Callers above — differential equations, regression, finite-element methods — need exactly this contract and are indifferent to how it is met. The routes below are not interchangeable in their assumptions: some require sparse entry oracles, some need only eiAte^{-iAt}, some use no amplitude amplification at all, and their costs differ by up to a full factor of κ\kappa. κ\kappa itself is an input here; nothing in this layer estimates it for you.

Ways to do this

5 methods recorded

  • HHL: eigenvalue inversion by phase estimation

    Prepare b>|b>, run phase estimation against eiAte^{-iAt} to write eigenvalue estimates into an ancilla register, apply a controlled rotation with amplitude proportional to 1/λ~1/λ̃, uncompute the estimation and post-select on the rotation ancilla. The success amplitude is about 1/κ1/κ, so the procedure is amplified O(κ)O(κ) times.

  • QSVT matrix inversion

    Block-encode AA, apply the quantum singular value transformation with an odd polynomial approximating a scaled 1/x1/x away from the origin, then amplify. Because it acts on singular values, AA need not be Hermitian or sparse — only block-encodable.

  • Chebyshev LCU inversion

    Expand an approximation of 1/x1/x in Chebyshev polynomials and implement that expansion directly through the quantum walk associated with a sparse AA, rather than through Hamiltonian simulation. Phase estimation is never used, which is what removes the poly(1/ε)\mathrm{poly}(1/\varepsilon) bottleneck.

  • Discrete adiabatic inversion

    Encode the solution as the null eigenstate of a Hamiltonian path built from AA and b>|b>, follow that path with a sequence of qubitization walk operators to fixed precision, then finish with an eigenstate filter implemented as a linear combination of walk operators rather than by quantum signal processing. Costa and co-authors prove an adiabatic theorem for intrinsically discrete-time evolutions, which removes the residual log(κ)\log(κ) that continuous adiabatic treatments carried.

  • Eigenstate filtering inversion

    Construct the minimax-optimal polynomial that is 1 at a target eigenvalue and uniformly small outside a spectral gap, and apply it through quantum signal processing. For a linear system x>|x> is the null eigenstate of a Hamiltonian built from AA and b>|b>, so one application of the filter solves it once a starting state with non-trivial overlap is supplied.

Routes that skip this layer

These do not fill the slot. They replace the span it belongs to, so this layer is not on their path at all.

  • Quantum simulation of the KvN representation

    Because the Koopman-von Neumann generator is Hermitian and its propagator unitary, the lifted evolution can be run by Hamiltonian simulation directly. No linear system is assembled and no linear solver is called.

  • Time-marching with uniform singular value amplification

    Propagate the solution one step at a time and defeat the exponentially vanishing success probability by repeatedly invoking uniform singular value amplification, improved further by a compression gadget lemma. Fang, Lin and Tong present it explicitly as a design path alternative to solvers based on quantum linear systems algorithms.

  • LCHS — linear combination of Hamiltonian simulation

    Express a general non-unitary evolution operator as a linear combination of unitary evolution operators, each of which solves a Hamiltonian simulation problem, rather than converting the problem into a dilated linear system. An, Liu and Lin state that the method can achieve optimal cost in terms of state preparation.

  • LCHS with the improved kernel a narrower version of LCHS — linear combination of Hamiltonian simulation

    A family of identities expressing non-unitary evolution as a linear combination of unitary evolutions, built on the kernel f(z)=1/(Cβe(1+iz)β)f(z) = 1/(C_β e^{(1+iz)^β}) with β(0,1)β ∈ (0,1) and Cβ=2πe2βC_β = 2π e^{-2^β}. The kernel decays at a near-exponential rate eckβe^{-c|k|^β}, replacing the original Cauchy kernel's quadratic decay and exponentially enhancing accuracy.

  • Schrödingerisation (linear PDEs as Schrödinger equations)

    A simple change of variable — the warped phase transformation, which introduces one extra variable — recasts any linear PDE or ODE system into a system of Schrödinger equations in real time, which ordinary Hamiltonian simulation then runs. The original solution is recovered from the auxiliary dimension.

This is a step inside

  • Quantum Carleman linearization algorithm

    Carleman-linearize the quadratic ODE, discretize with forward Euler, assemble the whole history into one large sparse linear system, and solve that system with a quantum linear system algorithm. This is the route that made dissipative nonlinear ODEs tractable in evolution time.

  • Linear multistep method, all-at-once encoding

    The first quantum algorithm for general linear ODEs. Discretize with a high-order linear multistep method, lay every time step out at once against a clock register so that one state jtjxj\sum_j |t_j\rangle|x_j\rangle holds the whole history, and solve the resulting sparse linear system with a quantum linear system algorithm. Going high-order is what buys the Δt\Delta t scaling: plain Euler costs at least O(Δt4)O(\Delta t^4) here.

  • Taylor propagator, all-at-once encoding

    Encode a truncated Taylor series of the propagator into a single sparse linear system approximating the whole evolution, then solve it with a quantum linear system algorithm. This is what brought the precision dependence down to polynomial in log(1/ε)\log(1/\varepsilon).

  • Chebyshev spectral method, global collocation

    The route that brought poly(log(1/ε))\mathrm{poly}(\log(1/\varepsilon)) precision to linear ODEs with **time-dependent** coefficients, which is what its abstract says was missing: "no such algorithm was previously known for differential equations with time-dependent coefficients". It does it by not stepping. The solution is approximated globally by a truncated Chebyshev series, the coefficients are fixed by collocating the differential equation at Chebyshev nodes, and the resulting sparse system goes to a high-precision quantum linear system algorithm. The exponential precision is bought by smoothness rather than by the solver: it is the CC^{\infty} convergence of the Chebyshev series that makes the series length logarithmic in 1/ε1/\varepsilon.

  • Krovi's reanalysis of the all-at-once encoding a narrower version of Taylor propagator, all-at-once encoding

    Reanalyses the all-at-once propagator encoding and shows that the norm of the matrix exponential, rather than the eigenvector condition number, characterizes the run time. It still forms a global linear system and still calls a quantum linear solver.

  • Dyson propagator, all-at-once encoding

    Encode the Dyson series in a system of linear equations and solve it via the optimal quantum linear equation solver, extending the all-at-once approach to genuinely time-dependent generators.

In the Atlas

No record in the Atlas covers this yet. The catalogue is circuits and primitives; this part of the literature is not in it.