Physical Review Research (Oct 2019)

Continuous-variable quantum neural networks

  • Nathan Killoran,
  • Thomas R. Bromley,
  • Juan Miguel Arrazola,
  • Maria Schuld,
  • Nicolás Quesada,
  • Seth Lloyd

DOI
https://doi.org/10.1103/PhysRevResearch.1.033063
Journal volume & issue
Vol. 1, no. 3
p. 033063

Abstract

Read online Read online

We introduce a general method for building neural networks on quantum computers. The quantum neural network is a variational quantum circuit built in the continuous-variable (CV) architecture, which encodes quantum information in continuous degrees of freedom such as the amplitudes of the electromagnetic field. This circuit contains a layered structure of continuously parameterized gates which is universal for CV quantum computation. Affine transformations and nonlinear activation functions, two key elements in neural networks, are enacted in the quantum network using Gaussian and non-Gaussian gates, respectively. The non-Gaussian gates provide both the nonlinearity and the universality of the model. Due to the structure of the CV model, the CV quantum neural network can encode highly nonlinear transformations while remaining completely unitary. We show how a classical network can be embedded into the quantum formalism and propose quantum versions of various specialized models such as convolutional, recurrent, and residual networks. Finally, we present numerous modeling experiments built with the strawberry fields software library. These experiments, including a classifier for fraud detection, a network which generates tetris images, and a hybrid classical-quantum autoencoder, demonstrate the capability and adaptability of CV quantum neural networks.