Research
Supervised Learning with Quantum Hamiltonian Embeddings
Overview Research area: Quantum machine learning, specifically supervised classification with quantum models that can be trained and run on near-term quantum processors. Technical level: Advanced. The

- arXiv
- 2610.26833
- Published
- 2026-10-19
- Authors
- Riccardo Molteni, Minjun Jeon, Paolo Braccia, Abhinav Deshpande, Vedran Dunjko, Liang Jiang, Su-un Lee, Swarnadeep Majumder, Javier Robledo Moreno, Parthasarathy Suryanarayanan, Kunal Sharma
AI summary
Overview
- Research area: Quantum machine learning, specifically supervised classification with quantum models that can be trained and run on near-term quantum processors.
- Technical level: Advanced. The paper combines quantum algorithm design, statistical learning theory (generalization bounds, covering numbers, matrix Hoeffding inequalities), barren-plateau analysis, and complexity/cryptographic arguments, alongside hardware experiments. The core construction is graspable at an intermediate level, but the guarantees require a theory background.
- Scope (one sentence): The paper introduces "quantum Hamiltonian embeddings," a supervised learning framework in which an entire training set is compiled into a single parameterized Hamiltonian whose ground state defines the classifier, and it supports this with gradient-estimation methods, generalization and hardness results, and a demonstration on IBM Heron processors with up to 50 qubits on binary Fashion-MNIST.
What This Paper Is About
Quantum machine learning needs models that are simultaneously trainable, provably generalizing, hard to simulate classically, and runnable at scale on real hardware; the authors argue that parameterized quantum circuits struggle to satisfy all of these at once, since shallow circuits are often classically simulable while deep ones suffer barren plateaus. Their proposal reframes classification as an energy-minimization problem: each labeled training point becomes a term in a data-dependent Hamiltonian, and training adjusts the encoding parameters to push that Hamiltonian's ground-state energy down. The label of a new input is then read out from the expectation value of an appropriately "dressed" observable on the learned ground state, which can be evaluated either quantumly or, in suitable regimes, classically.
Key Contributions
-
The Hamiltonian embedding framework. A complete supervised classification scheme in which each training example $(x_\ell, y_\ell)$ contributes a term $H_{z_\ell}(\alpha) = U^\dagger(x_\ell,\alpha) O(y_\ell) U(x_\ell,\alpha)$, with the dataset Hamiltonian $H_{\mathcal{T}}(\alpha) = I - \frac{1}{N}\sum_\ell H_{z_\ell}(\alpha)$; the ground state $|\psi_{\mathcal{T},\alpha}\rangle$ of the optimized Hamiltonian defines the classifier via $P(x',y) = \mathrm{Tr}[O(y)U(x',\alpha)|\psi\rangle\langle\psi|U^\dagger(x',\alpha)]$, with training and inference specified as explicit algorithms.
-
Efficient training and a barren-plateau-free regime. The authors show the loss gradients can be written as expectation values and estimated with a parameter-shift rule (exploiting gates of the form $e^{-i\theta P/2}$ with $P^2=I$), and prove that for a general family of shallow local encoding unitaries the model avoids barren plateaus for a relevant subset of parameters.
-
Generalization guarantees and universality. Using matrix Hoeffding inequalities and covering-number arguments, they prove that a sufficiently low training energy implies generalization to unseen inputs, with the required dataset size scaling linearly (up to logarithmic factors) in the number of qubits and variational parameters. They also give a construction showing the framework is a universal approximator for measurable binary target functions under the uniform input distribution, using finitely many qubits and constant-depth encodings with local observables.
-
Provable classical hardness and an inductive-bias advantage. Under standard cryptographic assumptions, they identify structured learning problems whose relevant ground states are efficiently approximable on a quantum computer yet remain classically hard; and they exhibit a task where the physical constraints of the learned ground state act as a useful inductive bias, giving provably reduced sample complexity and substantially higher test accuracy than a natural classical surrogate at the same training-set size.
Main Findings
- Training reduces to ground-state energy minimization: The optimal parameters $\alpha^\star$ minimize the ground-state energy of $H_{\mathcal{T}}(\alpha)$ over the family of embedding Hamiltonians; reaching zero energy loss guarantees correct classification of every training point.
- Energy loss is not the classification error: Because the energy loss is linear in the margin $m_{\alpha,\psi}(x,y)$, it keeps rewarding increased confidence on already-correct points; the authors therefore introduce logistic and hinge surrogate losses on the centered margin $\tilde{m} = 2m - 1$, plus an interpolation parameter $\lambda \in [0,1]$ between energy and classification objectives, without changing the ground-state preparation step.
- Classical inference is possible in the shallow-encoding regime: When the encoding unitaries are shallow and observables local (so dressed-observable expectation values can be computed from a classical representation), inference can be done entirely classically after training; the authors note this places the framework inside the "shadow model" framework of Ref. [18], but with an explicit prescription for obtaining the advice state as a ground state.
- Not known to be classically simulable in that same regime: Even with shallow encodings, the model involves approximating ground states of local Hamiltonians, which is not known to be classically simulable, and the authors prove a concrete separation against a specific natural surrogate at matched training-set size.
- Favorable scaling of sample complexity: For fixed generalization error, the required dataset size grows linearly, up to logarithmic factors, with the number of qubits and variational parameters.
- Hardness beyond classical reach: Under standard cryptographic assumptions, explicit learning problems exist that the framework solves on a quantum processor but that remain classically hard; in these instances neither the embedded Hamiltonian nor the dressed observable is local, yet efficient quantum ground-state preparation and a problem-specific classical representation are still available.
- Hardware-scale demonstration: On binary Fashion-MNIST with up to 50 qubits, the model remains trainable and achieves competitive test performance relative to the quantum kernels of Ref. [15] and classical machine-learning baselines; training was also implemented on IBM quantum processors using hardware-generated samples in the Sample-based Krylov Quantum Diagonalization ground-state solver, demonstrating successful training on a 50-qubit instance. (Specific accuracy percentages are not reported in the provided text.)
- Distinction from prior data-Hamiltonian classification: Earlier work [42] used a fixed encoding and only prepared a low-energy state of a data-encoding Hamiltonian; here both the advice state and the Hamiltonian whose ground state realizes it are learned.
- Observable choice matters: The Hermitian operator $A$ in $O(y) = \frac{I + (-1)^y A}{2}$ controls class representation, entanglement structure of the learned ground state, and hence classical simulability; the experiments use $A = \frac{1}{n}\sum_{i=1}^n Z_i$, and alternative choices yielding highly entangled ground states are given in appendices.
Methodology in Plain English
The researchers turn a training set into a physics problem. Each labeled data point is encoded into a quantum circuit whose rotation angles depend on both the input features and a set of trainable parameters. Conjugating a simple label-dependent measurement operator by that circuit produces one Hamiltonian term per data point; averaging these terms gives a single "embedding Hamiltonian" that summarizes the whole training set.
Training is a nested loop. An inner step uses a quantum algorithm to find (an approximation to) the lowest-energy state of the current Hamiltonian. An outer step adjusts the encoding parameters to lower that energy, using gradients computed with the parameter-shift rule while holding the state fixed. The loop repeats until the energy drops below a target or an iteration limit is reached.
Prediction reuses the same circuit: apply the encoding for a new input to the learned ground state and measure the label operators, assigning the label with the larger score. When the encoding circuit is shallow and the observable local, the learned state can be captured as a classical description from a finite number of measurements, after which all inference is done on a classical computer — a design that mirrors the "shadow model" idea, but with a concrete way to produce the quantum advice state.
The theoretical side derives generalization bounds by treating the low-energy condition as a constraint on the hypothesis class, then applying matrix concentration and covering-number counting. The hardness argument constructs structured instances tied to cryptographic problems whose ground states are still efficiently preparable quantumly. Empirically, the authors test on binary Fashion-MNIST, scaling to 50 qubits, comparing against quantum kernels and classical baselines, and then run the training loop on IBM Heron processors with ground states supplied by a Krylov-based quantum diagonalization solver.
Why This Matters
The paper offers a coherent package rather than an isolated algorithm: a trainable model, a gradient method, a generalization proof, an explicit non-classical-simulability argument, and a hardware demonstration all in one framework. That combination is unusual in quantum machine learning, where models often satisfy some of these desiderata at the expense of others. It also gives the abstract "shadow model" concept a concrete instantiation, since the quantum advice state is produced as a ground state of an optimizable Hamiltonian.
Potential application areas (the paper itself demonstrates only binary image classification on Fashion-MNIST, so these are plausible extensions rather than reported results):
- Image and signal classification on near-term quantum hardware, following the demonstrated binary Fashion-MNIST setting.
- Scientific data analysis where the physical structure of ground states — energy minimization under a local Hamiltonian — naturally matches the problem, given the paper's emphasis on physical inductive bias reducing sample requirements.
- Cryptography-adjacent or hard-instance learning, where the framework's provable classical hardness could matter for verifying quantum advantage in learning.
- Hybrid quantum-classical pipelines in which expensive quantum training is followed by cheap classical inference, useful where quantum hardware time is scarce.
Industry relevance: The framework is designed around hardware constraints — shallow constant-depth encodings, low-weight observables, parameter-shift gradients — and was executed on IBM Heron processors, making it directly relevant to organizations building quantum machine learning services where inference cost and hardware fidelity are practical bottlenecks. The classical-surrogate inference path is particularly attractive commercially, since it decouples deployment cost from quantum runtime.
Future Directions
- Scaling beyond binary classification and beyond 50 qubits. The authors state the framework extends readily to multiclass problems but only binary classification is demonstrated; whether the trainability and generalization guarantees survive at larger qubit counts and dataset sizes is untested.
- Identifying further tasks with a genuine inductive-bias advantage. The sample-complexity separation is proven for a specifically constructed task; finding natural datasets where the ground-state constraints help, rather than a classically regularized surrogate, remains open.
- Understanding how the observable choice shapes entanglement and simulability. The appendices show that different $A$ choices produce highly entangled ground states; characterizing this trade-off systematically would clarify when the model is genuinely hard to simulate.
- Comparing the alternative loss functions in practice. The logistic and hinge surrogates and the interpolated objective of Eq. (19) are introduced as extensions, but their empirical effect on classification error relative to the plain energy loss is not established in the reported results.
- Broadening ground-state solvers and encoding depths. The paper notes that deeper encodings are permitted when controlled time evolution is efficient, so pairing the framework with phase-estimation-based or other solvers beyond the Krylov method used here is a natural next step.
Target Audience
Quantum machine learning researchers and graduate students interested in provable guarantees, trainability, and dequantization questions; quantum algorithms researchers working on ground-state preparation and Hamiltonian simulation; and industry practitioners and hardware teams evaluating whether quantum classifiers can be trained and deployed at scale. Readers focused purely on empirical benchmarking may find the theory density high, while readers seeking rigorous statements about generalization and classical hardness will find it the central value of the work.
Authors’ abstract
Machine learning is widely regarded as a promising application in which quantum computing could offer a computational advantage. However, general quantum machine learning models with provable guarantees on performance, trainability, and efficient inference remain limited. In this work, we introduce quantum Hamiltonian embeddings, a supervised learning framework in which a classical training dataset is encoded into a single effective, parameterized Hamiltonian. Training optimizes the parameters of this data-dependent Hamiltonian, whose approximate ground state defines the classification rule. Once the ground state has been approximated using a quantum algorithm, inference can be performed either classically using a classical representation of the learned state, or with a quantum representation of the state. We establish efficient methods for gradient estimation and prove favorable generalization guarantees. Furthermore, under standard cryptographic assumptions, we show that Hamiltonian embeddings can realize hypothesis functions beyond the reach of efficient classical algorithms. We then demonstrate the framework at scale on IBM Heron processors using a standard benchmark dataset. Together, these results establish Hamiltonian embeddings as a new framework for quantum machine learning, combining theoretical guarantees with a path for experimental investigations at scale on quantum hardware.