Research Explained · Algorithms
Supervised Learning with Quantum-Enhanced Feature Spaces
Vojtěch Havlíček, Antonio D. Córcoles, Kristan Temme, Aram W. Harrow, Abhinav Kandala, Jerry M. Chow, and Jay M. Gambetta
IBM T. J. Watson Research Center; Massachusetts Institute of Technology · 2019 · Difficulty ★★★★☆
Reference
Havlíček, V., Córcoles, A. D., Temme, K., Harrow, A. W., Kandala, A., Chow, J. M., & Gambetta, J. M. (2019). Supervised learning with quantum-enhanced feature spaces. Nature, 567, 209-212. arXiv:1804.11326.
Preprint: arXiv:1804.11326
This page is an independent explanation. For exact wording, figures, and data, read the original paper.
The short version
IBM researchers propose and demonstrate two ways to use a quantum computer for classification: a variational classifier and a quantum kernel estimator. Both map data into a quantum state space, and the paper runs them on a two-qubit superconducting processor with synthetic data.
Key findings
- A quantum feature map takes a classical data point and encodes it into the state of a quantum register using a short circuit, creating features that may be hard to compute classically.
- In the kernel method, the quantum computer estimates the inner products between data points in this feature space, and a classical support vector machine does the rest.
- In the variational method, a parameterized circuit acts as the classifier and its parameters are trained to minimize classification error.
- The experiments on two qubits classified artificial data sets with high success rates, demonstrating the pipeline.
Background: why this paper was written
Classical machine learning uses kernels to handle data that cannot be separated by a straight line. A kernel is a function that measures the similarity between two data points, equal to the inner product of their images in some higher-dimensional feature space, and the support vector machine can work in that space without ever computing the images explicitly.
The IBM team, together with Aram Harrow at MIT, asked whether a quantum computer could provide feature spaces that classical computers cannot access. Quantum states live in a space whose dimension grows exponentially with the number of qubits, and a circuit that encodes data into such a state defines a feature map into that space. If computing the inner products of such states is hard classically, the kernel might be useful.
What the researchers did
The feature map used in the paper applies Hadamard gates to each qubit, then phase rotations that depend on the data values, followed by entangling operations and a second layer of Hadamards and data-dependent phases. The circuit has depth two in the feature-map layers and is related to a class of circuits called IQP circuits, for which there is evidence that classical simulation is hard. The authors conjecture that the resulting kernel is hard to compute classically for larger numbers of qubits.
In the kernel estimator, the kernel entry for two data points is computed by running the feature-map circuit for one point, followed by the inverse of the circuit for the other, and measuring the probability of obtaining the all-zeros outcome, which equals the squared overlap of the two feature states. The matrix of kernel values for all training pairs is passed to a standard support vector machine on a classical computer. In the variational classifier, the feature-map circuit is followed by a trainable circuit, and the measurement outcome gives the predicted label.
The experiments used two qubits of a superconducting processor and artificial data sets constructed so that classes were separable by the quantum feature map. The classifiers achieved high success rates, close to 100 percent for the variational method on the training and test sets, and the kernel estimator also separated the classes. The authors included an analysis of how noise affects the results and used a simple form of error mitigation.
Results
The paper demonstrated a complete quantum machine learning pipeline on hardware, for the first time with a kernel-based approach.
The data sets were synthetic and chosen to suit the feature map, so the experiment shows that the method works and not that it provides an advantage on real data.
The conjecture about classical hardness of the kernel was influential. Liu, Arunachalam, and Temme proved in 2021 a rigorous quantum advantage for a classification task built on the discrete logarithm problem, using a related kernel approach.
Key facts and numbers
| Item | Detail |
|---|---|
| Year and venue | 2019, Nature (preprint 2018) |
| Hardware | Two qubits of an IBM superconducting processor |
| Methods | Variational classifier and quantum kernel estimator |
| Feature map | Depth-two circuit related to IQP circuits, conjectured hard to simulate |
| Follow-up result | Rigorous advantage for a discrete-log-based task (Liu, Arunachalam, and Temme, 2021) |
Limitations and caveats
No evidence shows that the kernel in the paper helps on real data sets. Later benchmarks, including Huang and coauthors in 2021 and a large study by Bowles, Ahmed, and Schuld in 2024, found that classical models often match or exceed quantum ones.
Quantum kernels suffer from exponential concentration as the number of qubits grows, which makes kernel values nearly equal and hard to learn from, a problem described by Thanasilp and coauthors in 2022.
The number of kernel entries grows as the square of the training set size, and each entry needs many circuit runs, so the approach is expensive.
Why it matters
The paper established the quantum-kernel framework that dominates the study of quantum machine learning, including the concept that quantum models are kernel methods, and it provoked the research on the limits of such methods.
What happened next
Schuld and Killoran independently proposed quantum feature maps in a paper published at about the same time, and Schuld argued in 2021 that supervised quantum models are kernel methods, which framed the field.
Software libraries such as Qiskit Machine Learning and PennyLane include quantum kernels, and the question of which data have structure that quantum feature spaces can exploit remains open.
How to read the original paper
The paper is accessible, and the figures on the feature map and on the data sets help. The supplementary information contains the details of the circuits and the error analysis.
The quantum kernel estimation and quantum support vector machine pages on this site explain the kernel approach and its limits.
Original abstract (paraphrased)
Machine learning and quantum computing are two technologies that each have the potential to alter how computation is performed. The paper proposes and experimentally implements two quantum algorithms for supervised learning on a superconducting processor: a quantum variational classifier that uses a quantum processor to estimate a classifying function, and a quantum kernel estimator that estimates the kernel function and optimizes a classical support vector machine.
Frequently asked questions
What is a quantum feature map?
A circuit that encodes a classical data point into a quantum state, so that inner products between states define a kernel.
Does this prove quantum advantage in machine learning?
No. The data were synthetic, and later studies found that classical models often match quantum ones on real data.
What is the quantum kernel estimator?
A method that uses a quantum computer to compute the similarity between data points, then uses a classical support vector machine to classify them.
Keep exploring
- Algorithm: Quantum Kernel Estimation
- Algorithm: Quantum Support Vector Machine
- Algorithm: Quantum Anomaly Detection
- Hardware: IBM Heron (r1, r2, and r3)
- Dictionary: Quantum Machine Learning (QML)
- Dictionary: Variational Quantum Algorithm
- Dictionary: Hilbert Space
- Dictionary: Barren Plateau
- Industry: Quantum Computing for Finance
- Industry: Quantum Computing, AI, and Data Centers
Explanations on this page summarize published work for education (last reviewed September 30, 2026). Numbers are taken from the cited paper or from widely reported follow-up work, and later results may have updated or challenged them. Check the reference above before citing.