Benchmarking a Tunable Quantum Neural Network on Trapped-Ion and Superconducting Hardware

Djamil Lakhdar-Hamina, Xingxin Liu, Richard Barney, Sarah H. Miller, Alaina M. Green +2 more
7/28/2025
quant-phcond-mat.dis-nncs.LG

No confident code implementation found for this paper.

Abstract

We implement a quantum generalization of a neural network on trapped-ion and IBM superconducting quantum computers to classify MNIST images, a common benchmark in computer vision. The network feedforward involves qubit rotations whose angles depend on the results of measurements in the previous layer. The network is trained via simulation, but inference is performed experimentally on quantum hardware. The classical-to-quantum correspondence is controlled by an interpolation parameter, $a$, which is zero in the classical limit. Increasing $a$ introduces quantum uncertainty into the measurements, which is shown to improve network performance at moderate values of the interpolation parameter. We then focus on particular images that fail to be classified by a classical neural network but are detected correctly in the quantum network. For such borderline cases, we observe strong deviations from the simulated behavior. We attribute this to physical noise, which causes the output to fluctuate between nearby minima of the classification energy landscape. Such strong sensitivity to physical noise is absent for clear images. We further benchmark physical noise by inserting additional single-qubit and two-qubit gate pairs into the neural network circuits. Our work provides a springboard toward more complex quantum neural networks on current devices: while the approach is rooted in standard classical machine learning, scaling up such networks may prove classically non-simulable and could offer a route to near-term quantum advantage.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lakhdarhamina2025benchmarking,
  title  = {Benchmarking a Tunable Quantum Neural Network on Trapped-Ion and Superconducting Hardware},
  author = {Djamil Lakhdar-Hamina and Xingxin Liu and Richard Barney and Sarah H. Miller and Alaina M. Green and Norbert M. Linke and Victor Galitski},
  year   = {2025},
  eprint = {2507.21222},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.21222v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.21222.svg)](https://codeofpaper.com/paper/2507.21222)

Discussion