Quantum embeddings for machine learning
Seth Lloyd, Maria Schuld, Aroosa Ijaz, Josh Izaac, Nathan Killoran
TL;DR
The paper reframes quantum machine learning as metric learning in Hilbert space: inputs are embedded into quantum states, and the embedding is trained to maximize class separation under a chosen quantum distance. Once the embedding is optimized, the corresponding optimal measurement (Helstrom for trace distance or fidelity-based for Hilbert-Schmidt distance) is known, enabling potentially shallower, more hardware-friendly quantum classifiers. The authors formalize the HS-based training objective, connect it to MMD, and provide practical circuit constructions (SWAP/inversion tests) alongside numerical demonstrations in PennyLane. They also assess near-term hardware feasibility, arguing that high-dimensional quantum embeddings could be approachable on existing devices, though the existence and magnitude of quantum advantage remain open questions.
Abstract
Quantum classifiers are trainable quantum circuits used as machine learning models. The first part of the circuit implements a quantum feature map that encodes classical inputs into quantum states, embedding the data in a high-dimensional Hilbert space; the second part of the circuit executes a quantum measurement interpreted as the output of the model. Usually, the measurement is trained to distinguish quantum-embedded data. We propose to instead train the first part of the circuit -- the embedding -- with the objective of maximally separating data classes in Hilbert space, a strategy we call quantum metric learning. As a result, the measurement minimizing a linear classification loss is already known and depends on the metric used: for embeddings separating data using the l1 or trace distance, this is the Helstrom measurement, while for the l2 or Hilbert-Schmidt distance, it is a simple overlap measurement. This approach provides a powerful analytic framework for quantum machine learning and eliminates a major component in current models, freeing up more precious resources to best leverage the capabilities of near-term quantum information processors.
