MethodLayer 0
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.
Access oracles for the components of (for example a linear part , a quadratic part , a forcing term ), a preparation unitary for , the evolution time , and an error tolerance .
A normalized state -close to , a history state over , or an estimate of an observable of the solution.
Same contract as the slot it fills.
This one, drawn
From Nonlinear initial-value problem to Answer about the solution
A circle is an object you are holding. This method is drawn heavier, opened into its own steps; the other lines between the same two ends are the alternatives recorded for the same slot. 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
What it fills
- Solve a nonlinear ODE dy/dt = F(y)
Given access to a nonlinear vector field — in practice quadratic or polynomial — and a preparation unitary for the initial state, produce a quantum state proportional to or an estimate of an observable of it. Quantum time evolution is linear, so no quantum primitive acts on this contract directly.
When it applies
Requires with , diagonalizable with , and sparse access to , and . Theorem 1 additionally assumes and normalizes so that . Exponential decay of the solution precludes efficiency because it inflates , so the useful regime is driven equations that avoid decay despite the dissipation. Krovi's later analysis relaxes the hypothesis on the dissipative matrix: it handles any sparse, invertible matrix with a negative log-norm, including non-diagonalizable ones, where Liu et al. and Xue et al. additionally require normality.
Requires
Every step this method names moves its route along, so there is nothing it needs alongside them.
Example
given quadratic ODE du/dt = F_2 u^(x)2 + F_1 u + F_0(t), u(0) = u_in (Problem 1)
F_2, F_1, F_0 s-sparse; F_1 diagonalizable with
Re(lambda_n) <= ... <= Re(lambda_1) < 0
sparse-access oracles O_F2, O_F1, O_F0; O_x : |00...0> -> |u_in>
known ||u_in||, Re(lambda_1), ||F_2||, ||F_1||, ||F_0(t)||, ||F_0||, ||F_0'||
horizon T, error tolerance eps <= 1, and g = ||u(T)||, q = ||u_in||/||u(T)||
requires R = (1/|Re(lambda_1)|) (||u_in|| ||F_2|| + ||F_0||/||u_in||) < 1,
and ||F_0|| <= ||F_2||
# R >= sqrt(2): the same paper proves the general quadratic ODE problem
# intractable there -- any quantum algorithm has worst-case complexity
# exponential in T. 1 <= R < sqrt(2) is left open.
# exponential decay of the solution precludes efficiency because it inflates q,
# so the useful regime is driven equations that avoid decay despite dissipation
# --- rescale first: R is invariant, and this buys the two normalisations used below
gamma = 1 / sqrt(||u_in|| r_+),
r_+ = (-Re(lambda_1) + sqrt(Re(lambda_1)^2 - 4 ||F_2|| ||F_0||)) / (2 ||F_2||)
u <- gamma u # gives ||u_in|| < 1 and ||F_2|| + ||F_0|| < |Re(lambda_1)|
set delta = g eps / (1 + eps) # <= g/2; split half here, half at Euler
# --- nonlinear-linear-embedding, via carleman-linearization -------------------
N = ceil( log(2 T ||F_2|| / delta) / log(1/||u_in||) )
# half the budget: ||u(T) - yhat_1(T)|| <= delta/2 by Lemma 2
lift yhat_j = u^(x)j, yhat_in = [u_in; u_in^(x)2; ...; u_in^(x)N]
build dyhat/dt = A(t) yhat + b(t), b(t) = [F_0(t); 0; ...; 0]
A(t) tri-diagonal in blocks:
A^j_{j+1} = F_2 (x) I^(x)(j-1) + ... + I^(x)(j-1) (x) F_2
A^j_j the same sum built from F_1
A^j_{j-1} the same sum built from F_0(t)
# the lift itself is exact; all of the error comes from the truncation at N
# A is (3Ns)-sparse; dimension Delta = n + n^2 + ... + n^N = O(n^N)
# --- time-discretization, via forward-euler ----------------------------------
h = min{ g eps / (12 N^2.5 T [(||F_2||+||F_1||+||F_0||)^2 + ||F_0'||]), # other half
1 / (N ||F_1||),
2 (|Re(lambda_1)| - ||F_2|| - ||F_0||)
/ (N (|Re(lambda_1)|^2 - (||F_2||+||F_0||)^2 + ||F_1||^2)) }
# h <= 1/(N ||F_1||) alone suffices when the eigenvalues of F_1 are all real
# the last two entries are what ensure ||I + Ah|| <= 1, which Lemma 3's
# linear-in-T error bound and Lemma 4's condition number both rest on
m = p = ceil(T / h)
# explicit: each step's recurrence is evaluated, never solved
# y^{k+1} = [I + A(kh)h] y^k + b(kh), y^0 = y_in = yhat_in
# and all y^k are held equal for k = m+1 ... m+p (the padding steps)
assemble the banded all-at-once system L|Y> = |B> over all m+p+1 blocks:
row 0 : y^0 = y_in
row k : y^k - [I + A((k-1)h)h] y^{k-1} = b((k-1)h) 1 <= k <= m
row k : y^k - y^{k-1} = 0 m < k <= m+p
# (m+p+1)Delta x (m+p+1)Delta, lower triangular, O(Ns) nonzeros per row or
# column, condition number at most 3(m+p+1) (Lemma 4)
# --- own work: prepare the right-hand side -----------------------------------
embed y_in into z_in = [u_in (x) v_0^{N-1}; ...; u_in^(x)N] # tensor structure
prepare |B> from ||z_in|| |0>|z_in> and ||b((k-1)h)|| |k>|b((k-1)h)>, k = 1..m,
over the normalising factor B_m
# O(N) queries to O_x and O(m) queries to O_F0 (Lemma 5)
# --- quantum-linear-solve ----------------------------------------------------
solve L|Y> = |B> with the high-precision QLSA of Childs, Kothari and Somma
# this route reduces to a quantum linear solve; it does not remove that layer.
# the whole horizon is handed down once, not one solve per time step
# the QLSA's own error is the third contribution and is bounded separately,
# at poly(log(1/eps)) cost
# --- own work: extract the answer --------------------------------------------
measure k and accept iff k lies in {m, m+1, ..., m+p}
# those p+1 blocks all hold y_1^m, the state at time T, up to normalisation
# one round succeeds with probability >= (p+1)/(9(m+p+1) N q^2) = Omega(1/N q^2)
repeat coherently: O(sqrt(N) q) rounds of amplitude amplification give Omega(1)
return y_1^m / ||y_1^m|| -- a state eps-close to u(T)/||u(T)||, with a flag
indicating success
# end-to-end cost, under R < 1:
# T^2 q poly(log T, log n, log 1/eps) / eps (Theorem 1)Cost, as the source states it
, where is the evolution time, the allowed error, the dimension and measures decay of the solution — stated in the abstract under the assumption .
Implementations
Nobody has written one up yet. That is a gap in this record, not a statement that the method has never been run — the paper register already records, per paper, which sources report numerics or a hardware run.
Where the claim is contested
The same paper proves the general quadratic ODE problem is intractable for R ≥ √2: any quantum algorithm then has worst-case complexity exponential in . Penuel et al. cost out end to end a neighbouring Carleman-linearized lattice Boltzmann workflow — same lift, a different time discretization and a different linear solver — for drag on a sphere, and find (logical qubits)×(T-gates) ranging from 10^21 to 10^39 over Reynolds numbers 10^1 to 10^8, with quantum resource scaling O(Re^2.68) against classical direct numerical simulation at O(Re^3): in their words, no exponential quantum advantage. They attribute that to explicit time-evolution of nonlinear differential equations subject to the CFL condition or a similar condition linking time step to grid spacing, not to one implementation.
What it needs
- Embed a nonlinear system into a linear one 6 methods
Given a nonlinear vector field , produce a (truncated) linear generator on a lifted space, a lift of the initial condition into that space, and a decoding of the target quantity, such that linear evolution reproduces the nonlinear dynamics to accuracy . The truncation or lift parameter fixes both the accuracy and the dimension.
- Choose a time discretization or propagator approximation 6 methods
Reduce continuous evolution over to a finite algebraic object — a banded linear system, a product of step propagators, or a spectral coefficient system — with a stated truncation error. When a linear system is formed, a conditioning bound is stated with it.
- Quantum linear solve 5 methods
Given access to a matrix and a unitary that prepares , produce a flagged quantum state that is -close in to the normalised . The deliverable is a state, not a classical vector.
Other ways to fill the same slot
Different approaches
- 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.
- Level-set method for observables of nonlinear PDEs
Use the exact level-set mapping to a linear PDE, solve the linear problem quantumly, and compute physical observables from it. For sets of initial data the cost does not grow with .
- Homotopy-perturbation series, embedded as a linear ODE
Embed the homotopy-perturbation series into a finite-dimensional linear ODE system and solve that with a quantum linear-ODE algorithm, obtaining a state -close to the normalized exact solution with success probability.
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.
Sources
- Efficient quantum algorithm for dissipative nonlinear differential equations↗
- Improved quantum algorithms for linear and nonlinear differential equations↗
- Detailed assessment of calculating drag force with quantum computers: Explicit time-evolution precludes exponential advantage for nonlinear differential equations↗