Case Study: Learning on Quantum Data — Where QML's Argument Is Strongest
Executive Summary
Nearly every criticism of quantum machine learning traces to one root cause: the data is classical, and getting it into a quantum computer costs more than the quantum computer saves. That criticism dissolves completely when the data is already quantum.
This case study examines the setting where QML's argument is strongest — learning to classify phases of matter directly from quantum states produced by a simulator or experiment, without ever writing down a classical description. It works through why the classical baseline is exponentially expensive here, what the quantum protocol costs, and what remains unresolved.
Skills applied
- Distinguishing quantum-data from classical-data learning tasks (§21.16).
- Analyzing why classical shadows change the cost calculus.
- Evaluating sample-complexity separations rather than time-complexity claims.
- Identifying which experimental settings are realistic.
Phase 1: The task
Given a many-body quantum state $|\psi\rangle$ prepared by a device — the ground state of a Hamiltonian with unknown parameters — decide which phase of matter it belongs to: ordered, disordered, or topological.
This is a real and difficult problem. Phase boundaries in strongly correlated systems are frequently unknown, order parameters are sometimes unknown even in principle (topological phases have no local order parameter), and identifying them is a central task of condensed-matter physics.
Crucially: the input is a quantum state, not a data file. It arrives from a cold-atom simulator, a superconducting processor, or a quantum simulation — already in the register.
Phase 2: Why the classical baseline is expensive
To classify the state classically you must first describe it classically. Full state tomography of an $n$-qubit state requires
$$O(4^n) \text{ measurements}$$
For $n = 50$ that is $10^{30}$ measurements — not a large number, an impossible one.
Classical shadows (Huang, Kueng, Preskill) improve this dramatically: randomized measurements let you predict $M$ arbitrary observables from $O(\log M / \varepsilon^2)$ samples, independent of system size for local observables. This is a major result and it substantially narrows the gap the quantum protocol must beat.
But shadows predict chosen observables efficiently. If the discriminating feature is a nonlocal or unknown observable — precisely the situation for topological phases, which have no local order parameter — you must either know what to measure in advance or pay exponentially to search.
The setup. Classical methods need either a known order parameter or exponential resources. Topological phases supply neither.
Phase 3: The quantum protocol
Process the state directly with a variational circuit and measure a single output qubit:
|ψ⟩ ──┤ ├── ...
│ V(θ) │
├─ ├── measure → phase label
Training: prepare states at known parameter values (deep in each phase, where the label is unambiguous), optimize $V(\theta)$ to classify them, then apply the trained circuit to states near the unknown boundary.
What is avoided: no state description is ever produced. The state is consumed directly by the classifier. There is no encoding step, no QRAM, no $O(2^n)$ loading — the objection that sinks classical-data QML does not arise.
Phase 4: The cost comparison
| Quantity | Classical (shadows) | Quantum classifier |
|---|---|---|
| State copies needed | $O(\log M/\varepsilon^2)$ per observable set | $O(1/\varepsilon^2)$ per training example |
| Requires known order parameter | Yes, or exponential search | No — learned from labelled examples |
| Handles nonlocal order | Poorly | Naturally |
| Circuit depth | None (measurement only) | Moderate variational circuit |
| Noise sensitivity | Low | High |
The genuine separation is in sample complexity for learning tasks where the relevant observable is unknown. There are proven exponential separations in this setting: Huang et al. established tasks where any classical algorithm using measurement data on $|\psi\rangle$ needs exponentially many copies, while a quantum algorithm with coherent access to two copies needs polynomially many.
That last detail matters and is often skipped: the separation typically requires coherent access to multiple copies simultaneously — entangling operations across two copies of $|\psi\rangle$ held in the register at once. That is a demanding experimental requirement, and it doubles the qubit count.
Phase 5: What is actually demonstrated so far
Being precise about the state of the evidence:
Demonstrated: small-scale phase classification on simulated and hardware-prepared states, typically 10–20 qubits, where classical methods also work. Proven sample-complexity separations for contrived-but-rigorous learning tasks. Successful learning of properties of physical processes from probe states.
Not demonstrated: classification of a phase diagram that classical methods could not resolve. Any result at a scale where the classical baseline genuinely fails.
The honest position: quantum data is where QML's theoretical arguments are sound and where the classical objections do not apply. It has not yet produced a result classical methods could not match, and the demonstrations are at scales where they can.
Phase 6: Why this matters strategically
The distinction between quantum-data and classical-data QML is the single most useful filter for evaluating proposals in the field.
Classical data — images, financial time series, text, tabular data. Loading dominates; dequantization results apply; classical ML is extraordinarily strong. Prognosis: poor, and the burden of proof should be heavy.
Quantum data — states from simulators, sensors, experiments, or other quantum processes. No loading cost; classical description is exponentially expensive; proven separations exist. Prognosis: the most defensible near-to-medium-term application of learning methods on quantum hardware.
This mirrors the conclusion from quantum simulation (Chapter 17): quantum computers are most defensibly applied to quantum problems. The pattern is not a coincidence — it is the same argument. Native quantum input avoids the input bottleneck, and a genuinely quantum baseline avoids the classical-algorithms-are-very-good problem.
Discussion Questions
- Why does the data-loading objection vanish for quantum data? Be precise about what changes.
- Classical shadows narrowed the gap considerably. Where do they still fail, and why are topological phases the canonical example?
- The proven separations require coherent access to two copies. What experimental capability does that demand?
- Apply the classical-versus-quantum-data filter to three QML proposals you have encountered.
Your Turn: Extensions
- Simulate a transverse-field Ising chain across its critical point and train a small variational classifier on the resulting states.
- Implement classical shadows for the same states and compare sample counts for a local order parameter.
- Read the Huang–Kueng–Preskill separation result and identify exactly where two-copy access is used.
- Construct a task where the discriminating observable is nonlocal and quantify the classical search cost.
Key Takeaways
- The data-loading bottleneck that defeats classical-data QML does not exist for quantum data — the state is already in the register.
- Classical shadows make many quantum-learning tasks classically tractable, so the quantum advantage must be argued against shadows, not against full tomography.
- Proven exponential sample-complexity separations exist for learning tasks with unknown or nonlocal observables, typically requiring coherent two-copy access.
- Topological phases are the canonical hard case: no local order parameter means classical methods cannot know what to measure.
- The classical-data/quantum-data distinction is the most useful filter for QML proposals, and it mirrors the same conclusion reached for simulation.