Where advantage could come from
Every lesson in this track has ended with a caution. This last one collects the cautions and the reasons for hope into one picture. The aim is that you can read a headline about quantum machine learning and know which questions to ask.
The short version: there is no demonstrated quantum advantage on a practical learning problem with classical data. There are rigorous advantages on carefully constructed problems, and a strong case for an advantage when the data is itself quantum. The details matter, so here they are.
What an advantage would be
Section titled “What an advantage would be”“Quantum advantage in machine learning” can mean three different things.
- Speed. The quantum method reaches the same answer in less time.
- Data. The quantum method needs fewer examples or fewer experiments to learn the same thing.
- Quality. The quantum model predicts better than any classical model that could feasibly be trained.
Whichever is meant, the comparison has to be against the best classical method, not a convenient one, and it has to count every cost: loading the data, reading out the answer, and repeating the circuit enough times to beat shot noise.
Speedups with fine print
Section titled “Speedups with fine print”The first wave of optimism came from linear algebra. In 2009 Harrow, Hassidim and Lloyd gave a quantum algorithm, known as HHL, for systems of linear equations . For an system its running time grows like a power of , where classical methods need time at least proportional to . Since much of machine learning is linear algebra, a series of proposals followed: quantum versions of principal component analysis, support vector machines, recommendation systems and more, each promising an exponential speedup.
The speedup holds only under conditions, which Scott Aaronson summarised in 2015 under the title “Read the fine print”.
- Input. The vector must be available as a quantum state . This is the amplitude-encoding problem from Encoding data. For general data it costs about operations, unless a quantum RAM exists.
- The matrix. must be sparse, or have some other structure that makes it cheap to simulate, and it must be well conditioned. The running time grows with the condition number, which for many real problems itself grows with .
- Output. The algorithm produces the state , not the list of numbers . A quantum state of qubits yields only a little information per measurement, so you can estimate a summary, such as one overlap or one average, but not read out the solution.
Each condition can be met in some settings. A proposal has an exponential speedup only if all three are met together, for a problem someone wants solved.
HHL has produced a 20-qubit state encoding a solution with about a million entries. How many times must the algorithm be run to learn every entry?
Each run yields about 20 bits, and a million numbers cannot be reconstructed from fewer than roughly a million runs. The exponential speedup survives only if a small summary of is all that is needed.
Dequantization
Section titled “Dequantization”The input condition turned out to hide more than it seemed to. Several of the proposed algorithms assumed a quantum RAM holding the data in a form that allows a particular state to be prepared quickly. In 2018 Ewin Tang, then an undergraduate, asked what a classical algorithm could do with the comparable kind of access: being able to sample entries of the data with probability proportional to their squared size. The answer, for the recommendation-system algorithm that had been a leading candidate for exponential speedup, was that a classical algorithm does almost as well. The gap shrank from exponential to polynomial.
The method was then extended, by Tang and others, to principal component analysis, low-rank linear systems, clustering and related tasks. This line of work is called dequantization. What it showed is that in those algorithms much of the apparent power came from the assumption about data access, combined with the data being approximately low-rank, and not from quantum mechanics.
Two qualifications keep this from being the end of the story. The dequantized algorithms have running times with high powers in them, so a polynomial quantum speedup may remain in those cases. And HHL itself, for sparse matrices of high rank, has not been dequantized and is not expected to be: it can perform any quantum computation. What is missing there is a practical learning problem of that form that also satisfies the fine print.
Variational models: squeezed from two sides
Section titled “Variational models: squeezed from two sides”Variational models avoid the data-loading problem by using small encodings. This track has met three limits on them.
- Expressive models are hard to train. Unstructured circuits on many qubits have barren plateaus, and expressive feature maps give kernels that concentrate.
- Trainable models tend to be simulable. The structured circuits known to avoid plateaus mostly stay in parts of state space that classical computers can handle.
- Simple models have classical stand-ins. A model whose output is a Fourier series with few terms can be matched by fitting that series classically.
None of these is a proof that no useful variational model exists. Together they mark out a narrow target: a model structured enough to train, whose structure nevertheless resists classical simulation, applied to data that suits it. Nobody has shown such a model on a practical problem, and nobody has shown it to be impossible.
A further point is easy to miss. Classical models get to use the data too. In 2021 Huang and co-workers showed that a classical learner given training examples can sometimes predict the outputs of a quantum model that would be hard to compute from scratch. A circuit being hard to simulate does not, by itself, make the function it computes hard to learn.
A paper shows that the circuit used in its quantum classifier is hard to simulate classically. Does that establish a quantum advantage for the classifier?
Hardness of simulation is necessary for an advantage but far from sufficient. Usefulness, trainability and the power of classical learning from data all have to be dealt with separately.
Advantages that are proven
Section titled “Advantages that are proven”There are learning problems on which a quantum advantage has been proved, end to end, with classical data.
The clearest is the one from Quantum kernels. Liu, Arunachalam and Temme built a classification problem in which the labels depend on the discrete logarithm of the input. A quantum kernel method learns it. No efficient classical algorithm can do noticeably better than guessing, unless discrete logarithms are easy classically, which would also break much of today’s cryptography. The proof covers training, noise from finite shots and all.
The limitation is where the power comes from. The feature map is built from the same ingredients as Shor’s algorithm, and the dataset was constructed so that this is exactly what is needed. The result settles a question of principle: quantum learners can be exponentially better than classical ones on some classical data. It does not tell us that images, text, or measurements from a laboratory have hidden structure of this kind. Most researchers suspect that ordinary data does not.
Quantum data
Section titled “Quantum data”The strongest case for quantum machine learning is one in which the data never was classical.
Suppose the thing you want to learn about is a quantum system: a material, a molecule, the output of a quantum sensor or of another quantum computer. The conventional approach measures each copy of the state, writes down the classical outcome, and analyses the record. A quantum learner can do something else. It can store copies in quantum memory and process several of them together before measuring.
Huang, Preskill and collaborators proved that for certain tasks of this kind, such as predicting properties of an unknown state or identifying a symmetry of an unknown process, the joint approach needs exponentially fewer experiments than any strategy that measures copies one at a time. In 2022 the effect was demonstrated on a superconducting processor with a few dozen qubits.
Three features make this different from everything above.
- There is no loading problem. The data arrives as quantum states.
- The advantage is in the number of experiments, and it is proved from information theory, with no assumption about what classical computers cannot do.
- It survives a moderate amount of noise, which is why it could be shown on current hardware.
The open question is how many problems of scientific interest have this form. It is an active area, and a plausible first home for useful quantum learning.
For which of these tasks is the evidence for a quantum advantage in learning strongest today?
The first three involve large classical datasets, where loading costs and strong classical methods stand in the way. For quantum data there is a proven advantage in the number of experiments needed, and it has been demonstrated on hardware.
How to read a claim
Section titled “How to read a claim”When you meet a claim of quantum advantage in machine learning, these five questions sort most of them.
- Is the whole pipeline counted? Look for the cost of loading the data and of reading out the result, including the number of shots.
- What is the classical baseline? It should include the best known methods, any dequantized algorithm for the task, and simulation of the quantum circuit itself by classical techniques.
- Is it about scaling or about one instance? A small experiment that matches a classical model shows the hardware works. An advantage is a statement about how costs grow.
- How large is the speedup? Error correction multiplies the cost of every quantum gate by a large factor. Analyses of this overhead suggest that a quadratic speedup is unlikely to pay off in practice in the early generations of fault-tolerant machines. Larger speedups are a different matter.
- Does anyone need the problem solved? A constructed problem can establish a principle. It is not the same as an application.
A claim that answers all five well would be important news. As of this writing there is none for classical data.
Summing up
Section titled “Summing up”| Approach | Status |
|---|---|
| Exponential speedups for linear algebra on classical data | Depend on fast data loading and limited readout; several removed by dequantization |
| Variational models on classical data | No demonstrated advantage; caught between trainability and classical simulability |
| Quantum kernels | Advantage proved for a constructed problem; none shown on natural data |
| Learning from quantum data | Exponential advantage in number of experiments, proved and demonstrated at small scale |
| VQE and QAOA | Run on small problems; no practical advantage shown |
It would be wrong to read this as a verdict that the field has failed. More than fifteen years of work have replaced vague hope with a fairly exact map of where an advantage cannot be and where it might be, and several of the negative results gave classical computing new algorithms along the way. The honest position is that the question is open, and narrower than it used to be.
Where to go next
Section titled “Where to go next”That completes the Quantum Machine Learning track. Two other tracks supply ideas this one leaned on:
- Quantum Algorithms covers phase estimation and Shor’s algorithm, the sources of the speedups that are not in doubt.
- Quantum Error Correction explains the overhead that any large quantum computation, learning included, will have to pay.
Remember it
Section titled “Remember it”What are the three pieces of fine print on HHL-style exponential speedups?
The input must be loaded as a quantum state, the matrix must be sparse (or similarly structured) and well conditioned, and the output is a quantum state from which only a summary can be read.
What is dequantization?
Showing that a classical algorithm, given sampling access to the data comparable to what the quantum algorithm assumed, does nearly as well. Tang's 2018 result for recommendation systems was the first.
Why are variational models on classical data squeezed from two sides?
Very expressive circuits are untrainable because of barren plateaus, and circuits structured enough to train are often classically simulable.
Is there any learning problem with classical data where a quantum advantage is proved?
Yes: a classification problem built on the discrete logarithm, solved by a quantum kernel. The data is constructed for the purpose, so it shows what is possible in principle.
Where is the evidence for quantum advantage in learning strongest?
Learning from quantum data. Processing several copies of a state together in quantum memory can need exponentially fewer experiments than measuring them one at a time.
Name three questions to ask of any claimed quantum advantage in machine learning.
Is the whole pipeline counted, including data loading and readout? Is the classical baseline the best available? Is the claim about scaling, on a problem someone needs solved?