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
Direct sampling in a measurement basis
Decompose into Pauli strings, rotate each into the computational basis with a layer of single-qubit Cliffords, sample bitstrings, and recombine the per-term averages linearly. No ancilla, no controlled operations, minimum added depth.
Open the full recordFills the slot: Estimate an observable
Applies when is given as a Pauli or fermionic-operator sum with an efficiently enumerable term count, and the extra single-qubit basis-change layer is affordable. Each shot destroys the state, so the preparation must be repeatable. There is no coherence-derived advantage available here: this is a strict method, and grouping commuting terms changes the constant, not the exponent.
A preparation routine with , or repeated copies of ; a description of ; a target additive error and a confidence . Coherent, controlled access to and is required by some methods here and by none of the sampling-based ones.
State you can prepare → Number with an error barmeasure each Pauli term, sum by weight
The observable is first written as a Pauli sum, with real coefficients. assumption: the decomposition must have a number of terms "polynomial in the size of the system", since every term is measured separately and the count is the bill. Then it is linearity and nothing else: , so the quantity is rebuilt from per-term averages weighted by the coefficients they came with. approximation: each is a sample mean over repeated preparations, not the expectation itself; reaching precision on a term of coefficient costs repetitions, so the coefficient enters twice — once as a weight and once as a sampling cost.
approximationassumption
A scalar estimate with a stated additive-error guarantee, plus the shot or query budget and the maximum circuit depth actually consumed.
- Prepare an input state runs O(1/ε²) shots, and one preparation per shot
Map to a state whose amplitudes are proportional to a specified vector , to within . The cost is set by which description of you hold, not by the algorithm that consumes it.
The loop closes through a measurement: every turn ends in a readout and starts from a fresh preparation. The price is a count of runs, not a depth. This is the loop that closes through a measurement, and the whole cost is in that fact. Each shot destroys the state, so the state-preparation circuit below is not run once and read many times — it is run again, in full, for every sample, and the samples needed grow as ε^-2. Grouping commuting terms changes the constant; it cannot change the exponent, because the exponent is what averaging independent classical outcomes costs. A method that keeps the loop coherent pays ε^-1 instead, which is the whole of the row below.
Within one evaluation of the trial state is fixed: iteration has prepared on qubits, parameterized by , and all terms of the Hamiltonian are estimated from that one state. What this method asks of the ingredient is therefore not one long-lived instance reused across those estimates but a fresh instantiation of the same for every shot: Peruzzo et al. note that the coherence time to make a single measurement after preparing the state is , and one projective measurement spends the instance. The per-term repetition cost recorded above compounds across the sum, and the paper estimates the cost of each function evaluation at calls to state-preparation, with the target precision and the largest Pauli coefficient. assumption: that count prices terms measured separately, each to the same precision ; with no grouping of commuting terms and no variance-weighted reallocation of shots.
assumption
given O as a Pauli or fermionic-operator sum with an efficiently
enumerable term count, a repeatable state preparation, and room for
the extra single-qubit basis-change layer, to a target error epsilon
decompose O into Pauli strings
for each Pauli string:
rotate it into the computational basis with a layer of single-qubit
Cliffords
sample bitstrings, and average the outcomes for this term
# no ancilla, no controlled operations, minimum added depth
# O(1/epsilon^2) shots in all, and one state preparation per shot: each
# shot destroys the state, so the preparation is not run once and read many
# times -- it is run again, in full, for every sample
recombine the per-term averages linearly
return the estimate of the expectation value of O
# a strict epsilon^-2 method: grouping commuting terms changes the
# constant, not the exponent, because the exponent is what averaging
# independent classical outcomes costs. There is no coherence-derived
# advantage available here -- Huggins et al. record the coherent endpoint of
# this layer at O(1/epsilon) state preparations for a single expectation
# value, and the shot-based averaging above is the epsilon^-2 endpoint
# Gonthier et al.'s resource analysis concludes that modern improvements
# including low-rank Hamiltonian factorization will not be sufficient to
# achieve practical quantum computational advantage for their molecular set
# or similar molecules, and points instead at operator estimation that
# leverages quantum coherence: a near-term chemistry advantage claim
# resting on shot-based readout has to answer that analysisHuggins et al. record the coherent endpoint of this layer: "Optimal strategies for estimating a single expectation value are known, requiring a number of state preparations that scales with the target error as ." Shot-based averaging as described here is the endpoint.
None found yet.
Gonthier et al.'s resource analysis of combustion energies of small organic molecules to chemical accuracy concludes that modern improvements including low-rank Hamiltonian factorization "will not be sufficient to achieve practical quantum computational advantage for our molecular set, or for similar molecules", and points instead at operator estimation that leverages quantum coherence. Any near-term chemistry advantage claim resting on shot-based readout has to answer that analysis.
The photonic HeH+ ground-state run
- A variational eigenvalue solver on a quantum processor
Alberto Peruzzo, Jarrod McClean, Peter Shadbolt, Man-Hong Yung, Xiao-Qi Zhou, Peter J. Love, Alán Aspuru-Guzik, Jeremy L. O'Brien · 2013
About
The experiment this readout layer came out of. Its stated motivation is that phase estimation "can efficiently find the eigenvalue of a given eigenvector but requires fully coherent evolution", where the approach demonstrated "greatly reduces the requirements for coherent evolution" — the trade this record's `conditions` states from the other side, as a strict shot cost. Published as Nature Communications 5:4213 (2014).
Methods
The algorithm was implemented by combining a small-scale photonic quantum processor with a conventional computer, with state preparation based on ansätze and classical optimization.
Data
None found yet.
Code
None found yet.
Results
The ground-state molecular energy of He-H+ was calculated to within chemical accuracy. The abstract states the accuracy in exactly those words and reports no numerical value, so none is quoted here.
- A variational eigenvalue solver on a quantum processor
None found yet.
References
- A variational eigenvalue solver on a quantum processor
Alberto Peruzzo, Jarrod McClean, Peter Shadbolt, Man-Hong Yung, Xiao-Qi Zhou, Peter J. Love, Alán Aspuru-Guzik, Jeremy L. O'Brien · 2013
- Measurements as a roadblock to near-term practical quantum advantage in chemistry: resource analysis
Jérôme F. Gonthier, Maxwell D. Radin, Corneliu Buda, Eric J. Doskocil, Clena M. Abuan, Jhonathan Romero · 2020
- Nearly Optimal Quantum Algorithm for Estimating Multiple Expectation Values
William J. Huggins, Kianna Wan, Jarrod McClean, Thomas E. O'Brien, Nathan Wiebe, Ryan Babbush · 2021
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.
15 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 — open · opened: what was inside is drawn in its place
- Choose a parameterised trial state — opens into 13 · a way across — click it to open it here
- Minimise the objective over the parameters — opens into 6 · a way across — click it to open it here
- Estimate an observable — opens into 4 · 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