NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Experimental Quantum Embedding for Machine Learning

Ilaria Gianani, Ivana Mastroserio, Lorenzo Buffoni, Natalia Bruno, Ludovica Donati, Valeria Cimini, Marco Barbieri, F. S. Cataliotti, Filippo Caruso

TL;DR

Researchers have successfully demonstrated "quantum embedding"—a technique that maps classical data into the high-dimensional Hilbert space of quantum states to make complex classification tasks easier. By testing the protocol across three radically different hardware platforms (ultra-cold atoms, photons, and superconducting qubits), the team proved that quantum-enhanced machine learning is not only feasible but robust against the unique noise profiles of different physical systems.

What Problem Does This Paper Address?

In classical machine learning, classifying "big data" often requires finding a boundary between different categories. If the data is simple, a straight line (a linear separator) works. However, real-world data is usually a tangled mess that requires complex, computationally expensive non-linear boundaries.

A common trick in classical ML is to map data into a higher-dimensional space where a linear separator can work (the "kernel trick"). This paper explores the quantum version of that idea: using the naturally vast "Hilbert space" of quantum bits (qubits) as the feature space. While theoretically proposed by Lloyd et al. in 2020, the practical challenge remained: Can we actually implement this on real, noisy quantum hardware, and does the choice of physical platform (light vs. atoms vs. circuits) matter?

Methods

The authors employed a hybrid quantum-classical approach to perform binary classification:

  1. Quantum Feature Map: They designed a quantum circuit $\Phi(x, \theta)$ that takes a classical data point $x$ and a set of tunable parameters $\theta$ to produce a quantum state $|x\rangle$.
  2. Off-line Optimization: Using the Pennylane and TensorFlow libraries, they trained the parameters $\theta$ on a classical computer. The goal was to minimize a cost function based on the Hilbert-Schmidt norm, effectively "pushing" quantum states of different classes as far apart as possible on the Bloch sphere while huddling states of the same class together.
  3. Experimental Implementation: Once optimized, the "recipe" was deployed on three distinct platforms:
  4. Atomic: A Bose-Einstein Condensate (BEC) of $^{87}$Rb atoms, where rotations were controlled via microwave pulses.
  5. Photonic: Single photons where data was encoded in polarization using a sequence of quarter- and half-wave plates.
  6. Superconducting: The Rigetti Aspen-8 processor, accessed via the cloud, using standard quantum logic gates.

Datasets

The study used a synthetic 1D classical dataset consisting of 10 scalar values $\phi$ in the interval $[-\pi, \pi]$.

  • The Twist: The data was specifically chosen to be non-linearly separable in its original form (the two classes were interleaved).
  • Training: 1000 points were used for the initial classical simulation/optimization.
  • Validation: 10 specific test points were used to benchmark the experimental performance across the three platforms.

Key Insights and Ideas

  • The "Aha" Moment on Separability: Before "learning," the quantum states representing the data were scattered randomly across the Bloch sphere. After optimization, the states clustered into two distinct, diametrically opposed groups, allowing a simple "linear" cut through the sphere to classify them perfectly.
  • Hardware Agnosticism: The most striking finding is that the protocol is "platform-independent." Whether using the internal energy levels of an atom or the polarization of a photon, the underlying mathematical mapping to Hilbert space remains valid.
  • Complementarity: The authors noted that while the Rigetti platform was the easiest to access (cloud-based, 5-minute runtime), the "ad-hoc" lab setups (photons/atoms) allowed for more fine-grained control over the physical pulses and rotations.

Key Results

  • High Fidelity: The experimental results matched theoretical predictions with impressive accuracy. The fidelity (a measure of how close the experimental state is to the ideal state) was > 0.99 for the atomic platform and > 0.96 for the photonic platform.
  • Gram Matrix Visualization: The researchers used "Gram matrices" (showing the overlap between all pairs of data points) to visualize success. Post-learning matrices showed clear "block" structures, indicating that the hardware successfully grouped similar data and separated different classes.
  • Embedding Capacity: The authors derived a theoretical bound for a single qubit's capacity. They estimated that with current experimental noise levels (fidelity $\sim 0.9$), a single qubit can reliably embed and distinguish roughly 20 distinct data points.

Limitations and Future Work

  • Scalability: This study focused on a single-qubit embedder. While a great proof-of-concept, real-world big data will require multi-qubit systems to handle higher-dimensional classical inputs.
  • Noise Sensitivity: While the protocol worked, the Rigetti results were "sensibly noisier" than the custom lab setups, highlighting the ongoing challenge of error mitigation in NISQ (Noisy Intermediate-Scale Quantum) devices.
  • Hybrid Architectures: The authors suggest the future lies in hybrid quantum technologies—for example, using photons for data transmission and atoms or superconducting circuits for storage and processing within the same machine learning pipeline.

Summary updated

BibTeX
@inproceedings{gianani2022experimental,
  author = {Ilaria Gianani and Ivana Mastroserio and Lorenzo Buffoni and Natalia Bruno and Ludovica Donati and Valeria Cimini and Marco Barbieri and F. S. Cataliotti and Filippo Caruso},
  title = {{Experimental Quantum Embedding for Machine Learning}},
  booktitle = {Advanced},
  year = {2022},
  doi = {10.1002/qute.202100140},
}
Figure