Sign outOpen workspaceSign in

MethodLayer 1

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.

Takes

A block-encoding of A(t)A(t) with a normalization αAmaxtA(t)\alpha_A \ge \max_t \lVert A(t)\rVert, preparation unitaries for u0u_0 and bb, the evolution time TT, and an error tolerance ε\varepsilon.

Returns

A state proportional to u(T)u(T), or a history state, together with separately stated matrix-query and initial-state-query complexity.

Same contract as the slot it fills.

This one, drawn

Chebyshev spectral method, global collocationLinear multistep method, all-at-once encoding · 2 parts inside, openLinear multistep method, all-at-once encoding · 2 parts inside, openLinear multistep method, all-at-once encoding · 2 parts inside, open — click the line to close itChoose a time discretization or propagator approximation · 6 ways throughChoose a time discretization or propagator approximation · 6 ways through — click the line to open it hereQuantum linear solve · 5 ways throughQuantum linear solve · 5 ways through — click the line to open it hereTaylor propagator, all-at-once encoding · 2 parts insideTaylor propagator, all-at-once encoding · 2 parts inside — click the line to open it hereChebyshev spectral method, global collocation · 2 parts inside, openChebyshev spectral method, global collocation · 2 parts inside, openChebyshev spectral method, global collocation · 2 parts inside, open — click the line to close itChebyshev pseudospectral collocationQuantum linear solve · 5 ways throughQuantum linear solve · 5 ways through — click the line to open it hereDyson propagator, all-at-once encoding · 2 parts insideDyson propagator, all-at-once encoding · 2 parts inside — click the line to open it hereTime-marching with uniform singular value amplification · 2 parts insideTime-marching with uniform singular value amplification · 2 parts inside — click the line to open it hereLCHS — linear combination of Hamiltonian simulation · 3 parts insideLCHS — linear combination of Hamiltonian simulation · 3 parts inside — click the line to open it hereSchrödingerisation (linear PDEs as Schrödinger equations) · 3 parts insideSchrödingerisation (linear PDEs as Schrödinger equations) · 3 parts inside — click the line to open it hereLinear multistep method, all-at-once encoding · 2 parts inside, open — click the name to close itMultistep, all-at-onceChoose a time discretization or propagator approximation · 6 ways through — click the name to read about itDiscretize time or the propagatorQuantum linear solve · 5 ways through — click the name to read about itQuantum linear solveTaylor propagator, all-at-once encoding · 2 parts inside — click the name to read about itTaylor, all-at-onceChebyshev spectral method, global collocation · 2 parts inside, open — click the name to close itSpectral methodChebyshev pseudospectral collocation — click the name to read about itChebyshev collocationQuantum linear solve · 5 ways through — click the name to read about itQuantum linear solveDyson propagator, all-at-once encoding · 2 parts inside — click the name to read about itDyson, all-at-onceTime-marching with uniform singular value amplification · 2 parts inside — click the name to read about itTime-marchingLCHS — linear combination of Hamiltonian simulation · 3 parts inside — click the name to read about itLCHSSchrödingerisation (linear PDEs as Schrödinger equations) · 3 parts inside — click the name to read about itSchrödingerisationLinear ODE system — you start hereAnswer about the solution — you finish hereLinear system Ax = b — what one part hands to the nextLinear system Ax = b — 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 ODE system 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.

8 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 linear ODE du/dt = A(t)u + b(t)

    Given block-encoding access to A(t)A(t) and b(t)b(t) and a preparation unitary for u0u_0, output a normalized state ε\varepsilon-close to u(T)/u(T)u(T)/||u(T)||. Matrix-query and state-preparation-query counts are stated separately, because methods here differ in them independently.

When it applies

**Problem 1** fixes the access model and one smoothness assumption before any theorem runs: A(t)Cd×dA(t) \in \mathbb{C}^{d\times d} is ss-sparse for every t[0,T]t \in [0,T], and "we assume that Aij,fiC(0,T)A_{ij}, f_i \in C^{\infty}(0,T) for all i,j[d]i,j \in [d]". Everything is reached through oracles — one computing "the locations and values of the nonzero entries of A(t)A(t)" in a given row or column, and oracles preparing γ|\gamma\rangle and f(t)|f(t)\rangle that "also compute γ\|\gamma\| and f(t)\|f(t)\|" — and the deliverable is a quantum state, "a quantum state ε\varepsilon-close to x(T)|x(T)\rangle", never an explicit vector. **Theorem 1** adds the spectral hypothesis: "A(t)A(t) can be diagonalized as A(t)=V(t)Λ(t)V1(t)A(t) = V(t)\Lambda(t)V^{-1}(t) where Λ(t)=diag(λ1(t),,λd(t))\Lambda(t) = \mathrm{diag}(\lambda_1(t),\ldots,\lambda_d(t)) with Re(λi(t))0\mathrm{Re}(\lambda_i(t)) \leq 0 for each i[d]0i \in [d]_0 and t[0,T]t \in [0,T]". The paper gives the reason and the comparison in one breath: the non-positive real parts are required "so that the solution cannot grow exponentially", and this "is essentially the same as in the time-independent case considered in [10] and improves upon the analogous condition in [5] (which requires an additional stability condition)" — [5] being Berry's multistep route on this same slot, whose A(α)A(\alpha)-stability is the extra condition being improved upon. **The hypothesis the abstract does not carry is smoothness of the solution, and the headline rests on it.** Section 2: "if the solution is in CC^{\infty}, the spectral method approximates the solution to within ε\varepsilon using only n=poly(log(1/ε))n = \mathrm{poly}(\log(1/\varepsilon)) terms in the Chebyshev series", whereas "for a solution in Cr+1C^{r+1}, the spectral method approximates the solution with n=poly(1/ε)n = \mathrm{poly}(1/\varepsilon)". The Discussion lists it as an open problem rather than a technicality: "our algorithm must assume that the solution is smooth. If the solution is in CrC^r, the solution error is O(1/nr2)O(1/n^{r-2}) by Lemma 1. Can we improve the complexity to poly(log(1/ε))\mathrm{poly}(\log(1/\varepsilon)) under such weaker smoothness assumptions?" Diagonalisability is the softer of the two hypotheses and the paper says so: "our algorithm can produce approximate solutions for non-diagonalizable A(t)A(t), although the dependence on ε\varepsilon degrades to poly(1/ε)\mathrm{poly}(1/\varepsilon)".

Requires

Every step this method names moves its route along, so there is nothing it needs alongside them.

Example

Read in full: arXiv:1901.00961, the only paper this record cites, reports no run of the method. There is no figure, no table, no computed value, no dataset, no simulator and no hardware anywhere in it — the word "simulation" occurs only in the sense of Hamiltonian simulation and in reference titles. Its ten sections are a construction and its analysis end to end: the spectral method, the linear system, the solution error, the condition number, the success probability, state preparation, the main result and the boundary value problem. Appendix B, "An example of the quantum spectral method", is a structural display and not a run — d=1d = 1, m=3m = 3, n=2n = 2, p=1p = 1, with A(t)A(t), f(t)f(t) and γ\gamma left symbolic. So there is no run to transcribe here, and no nearby numerics to point at instead.

given  oracles for A(t) (s-sparse), f(t), gamma; horizon T; error budget e

choose m so that  ||A||*T / (2*m) <= 1
    # NOT an accuracy choice. Rescaling [0,T] onto [-1,1] sends A -> -(T/2)A,
    # which 'can dramatically increase the spectral norm'; subdividing avoids it
divide [0,T] into [0,G_1], [G_1,G_2], ... , [G_{m-1},T]
    map each [G_h, G_{h+1}] onto [-1,1] by K_h, with K_h(G_h)=1, K_h(G_{h+1})=-1

choose the series length n from Eq. (8.6)
    n = (e/2) * max( floor(log(Omega)/log(log(Omega))),
                     floor(log(omega)/log(log(omega))) )
    Omega = g'*e*m*(1+eps)/(g*eps),   omega = (g'/||gamma||)*(m+1)
    # poly-logarithmic in 1/eps only because the solution is assumed C^infinity

for each subinterval, hand the layer above's collocation to this one:
    build the rows of  (L_1 + L_2(A_h)) |X> = |B_h>
    L_3 carries the coefficients c_{i,l}(G_{h+1}) into the next block
        as its initial condition
assemble one system  L |X> = |B>          # Eq. (3.12)
    L is (m+p+1)*d*(n+1) square, with O(n*s) nonzeros per row
    pad the final state p = O(m) = O(||A||*T) times via L_4, L_5

hand L |X> = |B> to the layer below          # the high-precision QLSA

measure the first and third registers
    keep outcomes in S = {m, m+1, ... , m+p}
    # success probability (p+1)(n+1) / (pi*m*q^2 + (p+1)(n+1)) by Lemma 5
amplitude-amplify O(q/sqrt(n)) times to reach success probability Omega(1)

return the second register: a state e-close to x(T)/||x(T)||

Cost, as the source states it

**Theorem 1**, the main result: O(κVsATqpoly(log(κVsAgT/εg)))O(\kappa_V s \|A\| T q\,\mathrm{poly}(\log(\kappa_V s \|A\| g' T/\varepsilon g))) queries to the oracles OA(h,l)O_A(h,l), OxO_x and Of(h,l)O_f(h,l), with a gate complexity "larger than the query complexity by a factor of poly(log(κVdsAgT/ε))\mathrm{poly}(\log(\kappa_V d s \|A\| g' T/\varepsilon))". Eq. (8.2) names every parameter rather than leaving them to a reader: A:=maxt[0,T]A(t)\|A\| := \max_{t\in[0,T]}\|A(t)\|; κV:=maxtκV(t)\kappa_V := \max_t \kappa_V(t), where κV(t)\kappa_V(t) is the condition number of the eigenvector matrix V(t)V(t); g:=x^(T)g := \|\hat{x}(T)\|; g:=maxt[0,T]maxnNx^(n+1)(t)g' := \max_{t\in[0,T]}\max_{n\in\mathbb{N}}\|\hat{x}^{(n+1)}(t)\|; and q:=maxt[0,T]x^(t)/x(T)q := \max_{t\in[0,T]}\|\hat{x}(t)\|/\|x(T)\|. **Corollary 1** specialises to time-independent equations, replacing gg' by γ+2τf\|\gamma\| + 2\tau\|f\|: O(κVsATqpoly(log(κVsγAfT/εg)))O(\kappa_V s\|A\|Tq\,\mathrm{poly}(\log(\kappa_V s\gamma\|A\|\|f\|T/\varepsilon g))). **The boundary value problem is much worse in the horizon** — Theorem 2 gives O(κVsA4T4qpoly(log(κVsAgT/εg)))O(\kappa_V s\|A\|^{4}T^{4}q\,\mathrm{poly}(\log(\kappa_V s\|A\|g'T/\varepsilon g))), a fourth power where the initial value problem has a first. Two of these parameters carry the paper's own warnings and neither is decoration. Of gg': "in general, gg' could be unbounded above as nn \to \infty", and removing it is left open — "the query complexity of Hamiltonian simulation is independent of that parameter. Can we develop quantum algorithms for general differential equations with query complexity independent of gg'?" Of qq, which "characterizes the decay of the final state relative to the initial state": "it is unlikely that the dependence on qq can be significantly improved, since renormalization of the state effectively implements postselection and an efficient procedure for performing this would have the unlikely consequence BQP=PP\mathsf{BQP} = \mathsf{PP}". The horizon dependence, by contrast, is close to the floor: "our algorithm has nearly optimal dependence on TT, scaling as O(Tpoly(logT))O(T\,\mathrm{poly}(\log T))", against the no-fast-forwarding bound that "the complexity must be at least linear in TT".

Implementations

  • The global Chebyshev linear system $L|X\rangle = |B\rangle$ (sections 2 and 3)

    Why a global approximation, in the paper's own order. Section 1 sets out the obstacle first: "most of the aforementioned algorithms use a local approximation: they discretize the differential equations into small time intervals", and even at high order "when solving an equation over the interval [0,T][0,T], the number of iterations is T/h=Θ(ε1/k)T/h = \Theta(\varepsilon^{-1/k}) for fixed kk, giving a total complexity that is poly(1/ε)\mathrm{poly}(1/\varepsilon) even using high-precision methods for the QLSA or Hamiltonian simulation". Two escapes already existed and both need structure the general case does not have: "when A(t)A(t) is anti-Hermitian and f(t)=0f(t) = 0, we can directly apply Hamiltonian simulation; if AA and ff are time-independent, then [10] uses a Taylor series to achieve complexity poly(log(1/ε))\mathrm{poly}(\log(1/\varepsilon)). However, the case of general time-dependent linear ODEs had remained elusive." Section 2's answer is the one this record is about: represent the components "as linear combinations of basis functions ϕj(t)\phi_j(t) expressing the time dependence", so that no step count stands between the horizon and the error.

    The approximation is Eq. (2.1), xi(t)=k=0nci,kTk(t)x_i(t) = \sum_{k=0}^{n}c_{i,k}T_k(t), and the coefficients "are determined by demanding that x(t)x(t) satisfies the ODE and initial conditions at a set of interpolation nodes {tl}l=0n\{t_l\}_{l=0}^{n} (with 1=t0>t1>>tn=11 = t_0 > t_1 > \cdots > t_n = -1), where x(t0)x(t_0) and x(tn)x(t_n) are the initial and final states" — Eq. (2.2) and Eq. (2.3). The nodes are Chebyshev-Gauss-Lobatto, tl=cos(lπ/n)t_l = \cos(l\pi/n), "since these nodes achieve the highest convergence rate among all schemes with the same number of nodes", and because "these nodes also have the convenient property that Tk(tl)=cos(klπ/n)T_k(t_l) = \cos(kl\pi/n)". Differentiation stays inside the basis: from 2Tk(t)=Tk+1(t)/(k+1)Tk1(t)/(k1)2T_k(t) = T'_{k+1}(t)/(k+1) - T'_{k-1}(t)/(k-1) comes the upper-triangular matrix DnD_n of Eq. (2.8), [Dn]kj=2j/σk[D_n]_{kj} = 2j/\sigma_k for k+jk+j odd and j>kj > k, with σ0=2\sigma_0 = 2 and σk=1\sigma_k = 1 otherwise, giving Eq. (2.10). Section 3 assembles this into LX=BL|X\rangle = |B\rangle, Eq. (3.12), over mm rescaled subintervals with initial conditions chained by xh(1)=xh1(1)x_h(1) = x_{h-1}(-1), and pads the final state (p+1)(n+1)(p+1)(n+1) times through L4L_4 and L5L_5 so the readout succeeds with constant probability. **The subdivision is the part most easily mistaken for a step count.** It is not chosen against the error budget at all: rescaling [0,T][0,T] onto [1,1][-1,1] sends A(T/2)AA \mapsto -(T/2)A, "which can dramatically increase the spectral norm", so the subintervals are sized by Eq. (3.8), τh2/maxt[Γh,Γh+1]A(t)\tau_h \leq 2/\max_{t\in[\Gamma_h,\Gamma_{h+1}]}\|A(t)\|. The error is controlled by nn, and nn is logarithmic in 1/ε1/\varepsilon by Lemma 2.

    No dataset and no instantiated matrix. A(t)A(t), f(t)f(t) and γ\gamma stay symbolic throughout and are reached only through oracles, exactly as on `berry-multistep`. The sole concrete display is Appendix B, "An example of the quantum spectral method", which fixes d=1d = 1, m=3m = 3, n=2n = 2 and p=1p = 1 and writes out the resulting block structure of LL — drawn to make that structure legible, with A(t)A(t) and f(t)f(t) still symbolic and no value computed. The quantitative choices the construction itself fixes are the node set tl=cos(lπ/n)t_l = \cos(l\pi/n), the subinterval bound τh2/maxtA(t)\tau_h \leq 2/\max_t\|A(t)\|, and p=O(m)=O(AT)p = O(m) = O(\|A\|T).

What it needs

  1. Choose a time discretization or propagator approximation 6 methods

    Reduce continuous evolution over [0,T][0,T] 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.

  2. Quantum linear solve 5 methods

    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.

Other ways to fill the same slot

Different approaches

  • 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).

  • 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.

  • 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.

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