About this map
Sections
What this is
Quantum algorithms are not written from scratch. They are assembled from a small number of reusable steps, and almost every published method is a different route through the same handful of them.
This is a map of those routes. Circles are the things an algorithm can be holding. Lines are the steps that carry you from one to the next. A method is a path across.
Nothing here is generated. Every line was read out of a paper and checked against it.
How to read it
- Something you can hold — a state, a matrix, a circuit, an answer.
- The same, in the middle of a step you have opened.
- A step. Someone has published a way through it.
- A step whose way through has not been pinned to one method.
- A step nothing published fills yet.
- A step you have opened. What is drawn inside it is how it was done.
- There is a record in the repository for this one.
How to move around
- Two fingers move the map. Pinch to zoom, or hold ctrl and scroll.
- Click a step to open it in place — everything else stays where it is.
- Click a name to read the full record without leaving the map.
- Arrow keys move, plus and minus zoom, zero puts it back.
What a line is claiming
A solid line means a paper puts those two steps together and we have the citation. A long-dashed line means the route is recorded but no single method has been named for that step. A short-dashed line means nothing published fills it — the step is real, the way through is not written yet.
A count after a step's name — ×T/h, ×O(κ) — means the route walks that step that many times rather than once. It is the source's own symbol, and the card says what it stands for and what one turn costs. A step with no count is a step no source we read said is repeated, which is not the same as one taken once.
A line drawn nested under another, on the soft shaded band behind it, is a narrower version of the line above it: the same construction, re-analysed or re-tuned, filling the same step. It is why two lines can draw the identical interior and still be two entries. Lines outside the band are alternatives to their neighbours, not versions of them.
The map does not hide the gaps. An empty step is drawn as an empty step.
What is not here yet
The map covers the algorithm literature. The repository covers circuits and primitives. They overlap less than you would expect, and where a method has no record we say so on its page rather than leaving the space blank.
Where something named here does have a record, its name links straight to it.
Method
Chebyshev spectral method, global collocation
The route that brought 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 convergence of the Chebyshev series that makes the series length logarithmic in .
Open the full recordFills the slot: Solve a linear ODE du/dt = A(t)u + b(t)Expand it here — a map of just this
**Problem 1** fixes the access model and one smoothness assumption before any theorem runs: is -sparse for every , and "we assume that for all ". Everything is reached through oracles — one computing "the locations and values of the nonzero entries of " in a given row or column, and oracles preparing and that "also compute and " — and the deliverable is a quantum state, "a quantum state -close to ", never an explicit vector. **Theorem 1** adds the spectral hypothesis: " can be diagonalized as where with for each and ". 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 -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 , the spectral method approximates the solution to within using only terms in the Chebyshev series", whereas "for a solution in , the spectral method approximates the solution with ". 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 , the solution error is by Lemma 1. Can we improve the complexity to 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 , although the dependence on degrades to ".
A block-encoding of with a normalization , preparation unitaries for and , the evolution time , and an error tolerance .
Linear ODE system → Linear system Ax = bChoose a time discretization or propagator approximation
What crosses here is a whole interval at once. The approximation is Eq. (2.1), with the undetermined, and what determines them is Eq. (2.2) — the demand that at the Chebyshev-Gauss-Lobatto nodes — together with . The derivative stays in the basis through the differentiation matrix of Eq. (2.8), for odd and , which comes from the Chebyshev identity ; Eq. (2.10) is the resulting system. approximation: Lemma 2, the bound , is what makes logarithmic in ; under Lemma 1's weaker hypothesis the same construction needs and the headline is gone. assumption: The solution is smooth. The Discussion states this as a limitation and an open problem — "our algorithm must assume that the solution is smooth" — not as a formality. **The interval is subdivided even so, and the reason is a norm rather than an error.** Rescaling onto sends , "which can dramatically increase the spectral norm. To avoid this phenomenon, we divide the interval into subintervals" , each rescaled by , with by Eq. (3.8) — so is chosen to make . Global on each piece, pieced together across of them.
approximationassumption
Linear system Ax = b → Solution as a stateQuantum linear solve
The assembled system is of Eq. (3.12), and it goes to "the high-precision QLSA" of Childs, Kothari and Somma. assumption: The condition number that matters is the assembled system's, not 's. Lemma 4: , which under the chosen parameters is — so the number of subintervals, the padding and the series length all enter the solve directly, and enters in place of any conditioning of itself. is an -square matrix "with nonzero entries in any row or column", so the series length also multiplies the sparsity the solver sees. approximation: The two error budgets are tied through Eq. (8.11): gives , and is chosen by Eq. (8.6) from to make that hold. **The readout is a measurement on a padded register and the padding is what makes it cheap.** The first and third registers are measured, an outcome in is kept, and Lemma 5 puts that probability at . Choosing then gives success probability with repetitions of amplitude amplification — which is where the factor in the cost comes from.
approximationassumption
A state proportional to , or a history state, together with separately stated matrix-query and initial-state-query complexity.
None found yet.
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 — , , , , with , and 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)||**Theorem 1**, the main result: queries to the oracles , and , with a gate complexity "larger than the query complexity by a factor of ". Eq. (8.2) names every parameter rather than leaving them to a reader: ; , where is the condition number of the eigenvector matrix ; ; ; and . **Corollary 1** specialises to time-independent equations, replacing by : . **The boundary value problem is much worse in the horizon** — Theorem 2 gives , 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 : "in general, could be unbounded above as ", 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 ?" Of , which "characterizes the decay of the final state relative to the initial state": "it is unlikely that the dependence on can be significantly improved, since renormalization of the state effectively implements postselection and an efficient procedure for performing this would have the unlikely consequence ". The horizon dependence, by contrast, is close to the floor: "our algorithm has nearly optimal dependence on , scaling as ", against the no-fast-forwarding bound that "the complexity must be at least linear in ".
None found yet.
None found yet.
The global Chebyshev linear system $L|X\rangle = |B\rangle$ (sections 2 and 3)
- Quantum spectral methods for differential equations
Andrew M. Childs, Jin-Peng Liu · 2019
About
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 , the number of iterations is for fixed , giving a total complexity that is 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 is anti-Hermitian and , we can directly apply Hamiltonian simulation; if and are time-independent, then [10] uses a Taylor series to achieve complexity . 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 expressing the time dependence", so that no step count stands between the horizon and the error.
Methods
The approximation is Eq. (2.1), , and the coefficients "are determined by demanding that satisfies the ODE and initial conditions at a set of interpolation nodes (with ), where and are the initial and final states" — Eq. (2.2) and Eq. (2.3). The nodes are Chebyshev-Gauss-Lobatto, , "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 ". Differentiation stays inside the basis: from comes the upper-triangular matrix of Eq. (2.8), for odd and , with and otherwise, giving Eq. (2.10). Section 3 assembles this into , Eq. (3.12), over rescaled subintervals with initial conditions chained by , and pads the final state times through and 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 onto sends , "which can dramatically increase the spectral norm", so the subintervals are sized by Eq. (3.8), . The error is controlled by , and is logarithmic in by Lemma 2.
Data
No dataset and no instantiated matrix. , and 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 , , and and writes out the resulting block structure of — drawn to make that structure legible, with and still symbolic and no value computed. The quantitative choices the construction itself fixes are the node set , the subinterval bound , and .
Code
None found yet.
Results
None found yet.
- Quantum spectral methods for differential equations
None found yet.
References
- Quantum spectral methods for differential equations
Andrew M. Childs, Jin-Peng Liu · 2019
Where the routes meet
11 problems nothing else needs — the places a reader arrives. Open a line to see what is recorded inside it, or click its name to go there.
13 lines have something recorded inside that you have not opened.
Of the routes that have been taken apart, 15 are built entirely from named slots, 15 hand off part of the work and finish the rest themselves, and 20 are one undivided act. None of the three is a defect; they are different things to reuse.
Every line on this figure, in words
The lines on this figure
Solve a nonlinear ODE dy/dt = F(y)
- Embed a nonlinear system into a linear one — opens into 6 · a way across — click it to open it here
- Solve a linear ODE du/dt = A(t)u + b(t) — opens into 9 · a way across — click it to open it here
- Choose a time discretization or propagator approximation → Quantum linear solve — open
- Choose a time discretization or propagator approximation — opens into 6 · a way across — click it to open it here
- Quantum linear solve — opens into 5 · a way across — click it to open it here
- Simulate Hamiltonian evolution → Estimate an observable — open
- Simulate Hamiltonian evolution — opens into 3 · a way across — click it to open it here
- Estimate an observable — opens into 4 · a way across — click it to open it here
Estimate an excited-state energy
- Variational quantum deflation — opens into 3 · a way across — click it to open it here
- Subspace-search variational eigensolver — opens into 3 · a way across — click it to open it here
- Quantum subspace expansion
- Quantum equation of motion
- Folded-spectrum variational eigensolver — opens into 3 · a way across — click it to open it here
- Penalty-constrained variational eigensolver — opens into 3 · a way across — click it to open it here
- Multistate contracted variational eigensolver — opens into 3 · a way across — click it to open it here
Every step you can open
1 of these have an object recorded in the middle; the rest open into the methods that fill them.
- Solve a nonlinear ODE dy/dt = F(y)
- Replace a spatial domain with a finite grid
- Discretize a PDE into one linear system
- Embed a nonlinear system into a linear one
- Solve a linear ODE du/dt = A(t)u + b(t)
- Recast a non-Hermitian generator as Hamiltonian evolution
- Choose a time discretization or propagator approximation
- Quantum linear solve
- Matrix function
- QSP phase factors
- Polynomial approximation
- Block-encode a matrix
- Prepare an input state
- Amplify a success branch
- Simulate Hamiltonian evolution
- Estimate an observable
- Compile a circuit to a specific device
- Satisfy the hardware connectivity constraint
- Approximate a continuous rotation in a discrete gate set
- Recover a noiseless expectation value by post-processing
- Build logical qubits at a target logical error rate
- Estimate a Hamiltonian's ground-state energy
- Choose a parameterised trial state
- Minimise the objective over the parameters
- Estimate an excited-state energy
- Measure what the machine can actually do
- Recover the period of a periodic function
- Estimate the eigenphase of a unitary
- Find the item a check accepts
- Walk a graph to the vertex you want
- Search a cost Hamiltonian for the assignment it minimises
What is on this map, counted
What is here, counted
147 nodes — 31 slots and 116 methods.
76 of the 147 link to a record in the Atlas, between them naming 89 records. The rest name papers and nothing else: this graph describes work the catalogue has not got yet, and the nodes with no record are the list of what a corpus pass has to go and read.
0 slots have no method recorded, and 32 methods have not been taken apart. Both are shown as what they are rather than left blank.
Every claim here rests on a source. This graph cites 140 papers; they and the 172 the Atlas cites alone are registered in one place, with what each reports and everywhere it is cited from. Papers