Algorithms · Quantum machine learning
Quantum kernel support-vector classifier
A quantum feature-map record paired with a classical SVM so model quality and data costs stay visible.
Strong empiricalUpdated
3 steps across 3 wires. Hover a step, or press play to go through them in order.
Expected outcomes
- K(x,y)63%
- Steps3
- Wires3
- Quantum roleKernel estimate
- Classical roleSVM optimizer
- Main metricHeld-out score
- Papers2
Quantum kernels use a circuit to map inputs into a feature space and estimate similarities, then hand the kernel matrix to a classical learner. The meaningful benchmark is end-to-end predictive performance and cost.
TakesNothingWhat joins here
No input port at this edge: the record publishes no gate sequence and no register, so there is nothing here to read one off — and unlike a declared hole, nothing has been recorded about what belongs here.
Nothing in the Atlas meets this end.
ReturnsNothingWhat joins here
No output port at this edge: the record publishes no gate sequence and no register, so there is nothing here to read one off — and unlike a declared hole, nothing has been recorded about what belongs here.
Nothing in the Atlas meets this end.
This record publishes no gate sequence and no register, so there is nothing here to read an interface off. Absent rather than empty. See all 152 →
A quantum kernel maps a classical input to a quantum state via a feature-map circuit , and defines a kernel via the state overlap . The circuit estimates by applying then and measuring the probability of returning to : , so each entry of the kernel matrix costs repeated circuit shots rather than a closed-form evaluation. The resulting Gram matrix is handed to a standard classical SVM, which still performs the convex optimization over Lagrange multipliers — the quantum circuit only changes the feature map, not the learning algorithm. This record checks that is symmetric and numerically positive-semidefinite (within tolerance) on a small dataset; as its own caveat states, whether a given feature map's kernel actually separates a dataset better than a tuned classical kernel is a separate, data-dependent question this toy check does not answer.
TakesNothingWhat joins here
No input port at this edge: the record publishes no gate sequence and no register, so there is nothing here to read one off — and unlike a declared hole, nothing has been recorded about what belongs here.
Nothing in the Atlas meets this end.
ReturnsNothingWhat joins here
No output port at this edge: the record publishes no gate sequence and no register, so there is nothing here to read one off — and unlike a declared hole, nothing has been recorded about what belongs here.
Nothing in the Atlas meets this end.
This record publishes no gate sequence and no register, so there is nothing here to read an interface off. Absent rather than empty. See all 152 →
- Quantum role
- Kernel estimate
- Classical role
- SVM optimizer
- Main metric
- Held-out score
- Input
- Encoded feature vector
- Output
- Kernel matrix
- Baseline
- RBF / polynomial SVM
U(x)on features xU†(y)on features x, features y⟨0|on features y
Quantum vs classical
Classical baseline
Tuned RBF, polynomial, linear, random-feature, or deep-kernel SVMs with the same train/test split.
Quantum claim
A quantum feature map may define a useful kernel for a dataset; it does not imply universal classification advantage.
How to compare
Report data encoding, kernel-estimation shots, matrix conditioning, training time, test metrics, and classical hyperparameter budget.
Nobody has reviewed this record for gaps yet.
import pennylane as qml
from pennylane import numpy as np
dev = qml.device("default.qubit", wires=2)
def feature_map(x):
qml.AngleEmbedding(x, wires=[0, 1])
@qml.qnode(dev)
def kernel(x, y):
feature_map(x)
qml.adjoint(feature_map)(y)
return qml.probs(wires=[0, 1])[0]
FINAL_CIRCUIT = kernelThis returns a toy overlap estimate; training and held-out evaluation are intentionally separate from the circuit record.
Related entries
- Variational quantum eigensolver for ground-state energy
Algorithms
- Hadamard gate
Gates
- Bell state measurement
Basic circuits
References
- Quantum classifier with tailored quantum kernel
Carsten Blank, Daniel K. Park, June-Koo Kevin Rhee, Francesco Petruccione · 2019
Connects quantum-state fidelity kernels to a classifier and discusses a hardware demonstration.
- Application of Quantum Machine Learning using the Quantum Kernel Algorithm on High Energy Physics Analysis at the LHC
Sau Lan Wu, Shaojun Sun, Wen Guan, Chen Zhou, Jay Chan, Chi Lung Cheng, Tuan Pham, Yan Qian, Alex Zeng Wang, Rui Zhang, Miron Livny, Jennifer Glick, Panagiotis Kl. Barkoutsos, Stefan Woerner, Ivano Tavernelli, Federico Carminati, Alberto Di Meglio, Andy C. Y. Li, Joseph Lykken, Panagiotis Spentzouris, Samuel Yen-Chi Chen, Shinjae Yoo, Tzu-Chieh Wei · 2021
A domain application that reports quantum-kernel performance alongside classical counterparts.