← Atlas

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

View frozen graph

features xfeatures ykernel measurementStep 1 of 3 · U(x) · on features xU(x)Step 2 of 3 · U†(y) · on features x, features yU†(y)Step 3 of 3 · ⟨0| · on features y⟨0|

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
Native
quantum_kernel.py
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 = kernel

This returns a toy overlap estimate; training and held-out evaluation are intentionally separate from the circuit record.

References

Strong empirical
  • Community submission
  • Small-instance agreement
  • Invariant & structural checks
  • Peer-reviewed paper
Method
A fidelity-style kernel is checked for symmetry and positive-semidefinite tolerance on a small dataset.
Result
Pass for the toy matrix · classifier quality depends on data encoding and kernel choice.
Caveat
Quantum feature maps do not automatically outperform a tuned classical kernel or remove data-loading costs.
Quantum classifier with tailored quantum kernel ↗
Kind
curated reference
Reviewed by
LeonaQ literature curation pass
License
Public bibliographic link; code is an original reference implementation
machine learningkernelclassificationfeature map
  • High-energy physics classification
  • Small-data materials or sensor classification
  • Feature-map and kernel research

Atlas stars stay in the public catalog. Saving this entry to your workspace starts an unstarred private copy.