Completely quantum neural networks

Steve Abel, Juan C. Criado, and Michael Spannowsky
Phys. Rev. A 106, 022601 – Published 1 August 2022

Abstract

Artificial neural networks are at the heart of modern deep learning algorithms. We describe how to embed and train a general neural network in a quantum annealer without introducing any classical element in training. To implement the network on a state-of-the-art quantum annealer, we develop three crucial ingredients: binary encoding the free parameters of the network; polynomial approximation of the activation function; and reduction of binary higher-order polynomials into quadratic ones. Together, these ideas allow encoding the loss function as an Ising model Hamiltonian. The quantum annealer then trains the network by finding the ground state. We implement this for an elementary network and illustrate the advantages of quantum training: its consistency in finding the global minimum of the loss function and the fact that the network training converges in a single annealing step, which leads to short training times while maintaining a high classification performance. After training the network using a quantum annealer, one can then use the quantum network weights in a classical network algorithm of identical design for inference. Our approach opens an avenue for the quantum training of general machine learning models.

  • Figure
  • Figure
  • Figure
  • Figure
  • Figure
  • Figure
  • Received 27 April 2022
  • Accepted 19 July 2022

DOI:https://doi.org/10.1103/PhysRevA.106.022601

©2022 American Physical Society

Physics Subject Headings (PhySH)

Quantum Information, Science & TechnologyInterdisciplinary PhysicsParticles & Fields

Authors & Affiliations

Steve Abel*

  • Institute for Particle Physics Phenomenology, Durham University, Durham DH1 3LE, United Kingdom and Department of Mathematical Sciences, Durham University, Durham DH1 3LE, United Kingdom

Juan C. Criado and Michael Spannowsky

  • Institute for Particle Physics Phenomenology, Durham University, Durham DH1 3LE, United Kingdom and Department of Physics, Durham University, Durham DH1 3LE, United Kingdom

  • *steve.abel@durham.ac.uk
  • juan.c.criado@durham.ac.uk
  • michael.spannowsky@durham.ac.uk

Article Text (Subscription Required)

Click to Expand

References (Subscription Required)

Click to Expand
Issue

Vol. 106, Iss. 2 — August 2022

Reuse & Permissions
Access Options
Author publication services for translation and copyediting assistance advertisement

Authorization Required


×
×

Images

×

Sign up to receive regular email alerts from Physical Review A

Log In

Cancel
×

Search


Article Lookup

Paste a citation or DOI

Enter a citation
×