Source-linked AI summary

Quantum Circuit Learning

Kosuke Mitarai, Makoto Negoro, Masahiro Kitagawa, Keisuke Fujii

arXiv:1803.00745v3quant-ph

TL;DR

Machine learning on near-term quantum processors requires a framework compatible with low-depth circuits while representing complex nonlinear functions. QCL hybridizes a quantum circuit with classical optimization, and theory plus simulations show that it can approximate nonlinear functions and fit quantum-system dynamics. The framework therefore provides a near-term approach to quantum machine learning.

Abstract

from arXiv · show

We propose a classical-quantum hybrid algorithm for machine learning on near-term quantum processors, which we call quantum circuit learning. A quantum circuit driven by our framework learns a given task by tuning parameters implemented on it. The iterative optimization of the parameters allows us to circumvent the high-depth circuit. Theoretical investigation shows that a quantum circuit can approximate nonlinear functions, which is further confirmed by numerical simulations. Hybridizing a low-depth quantum circuit and a classical computer for machine learning, the proposed framework paves the way toward applications of near-term quantum devices for quantum machine learning.

I. INTRODUCTION

The paper introduces quantum circuit learning (QCL), a hybrid framework that uses low-depth quantum circuits for machine learning. Iterative parameter tuning enables nonlinear-function approximation and near-term demonstrations.

  • QCL combines a low-depth quantum circuit with iterative tuning of circuit parameters for machine learning.The framework is designed for near-term quantum devices.Source: §I · p. 1
  • Gradient-based optimization tunes the circuit parameters similarly to backpropagation in feedforward neural networks.Source: §I · p. 1
  • A sufficiently large quantum circuit can theoretically approximate any analytical function.Source: §I · p. 1
  • Numerical simulations demonstrate nonlinear-function learning, simple classification, and fitting three-spin dynamics from a fully connected ten-spin system with a six-qubit circuit.Source: §I · p. 1
  • The framework is presented as readily realizable on near-term quantum devices.Source: §I · p. 1

A. Algorithm

QCL divides learning between a quantum circuit that computes outputs and a classical computer that updates parameters. Its workflow encodes inputs, applies a parameterized circuit, measures observables, minimizes cost, and evaluates on independent data.

  • QCL supports supervised and unsupervised learning by minimizing a cost function through parameter tuning.Supervised learning compares outputs with teacher data, while unsupervised learning uses a teacher-free objective.Source: A. Algorithm · p. 1
  • The quantum circuit computes the output, while a classical computer updates the circuit parameters.Source: A. Algorithm · p. 1
  • Input data are encoded into an initialized quantum state using an input unitary U(x_i).Source: A. Algorithm · p. 2
  • A parameterized unitary U(θ) transforms the input state into an output state.Source: A. Algorithm · p. 2
  • Measured Pauli-operator expectation values are passed through an output function to produce y(x_i, θ).Source: A. Algorithm · p. 2
  • The circuit parameters are iteratively tuned to minimize the cost between teacher data and circuit outputs.Source: A. Algorithm · p. 2
  • Performance is evaluated using a dataset independent from the training data.Source: A. Algorithm · p. 2

B. Relation with existing algortihms

QCL differs from related hybrid quantum methods in what is optimized. Unlike QRC, which tunes linear output weights, QCL tunes the circuit parameters while matching teacher outputs.

C. Ability to approximate a function

QCL can represent nonlinear functions by encoding inputs into tensor-product quantum states and transforming their observable expectation values. This structure supports polynomial terms, multivariate products, and bounded coefficient norms under unitary constraints.

  • The approximation argument begins with one-dimensional inputs and is stated to generalize straightforwardly to higher-dimensional inputs.Source: C. Ability to approximate a function · p. 2
  • QCL outputs are linear combinations of input coefficient functions, with coefficients constrained by the unitarity of the parameterized transformation.Source: C. Ability to approximate a function · p. 2
  • A single-qubit-rotation input state contains terms up to order N in x, allowing arbitrary Nth-order polynomials as observable expectation values after a unitary transformation.Terms involving 1 − x^2 can further improve function approximation.Source: C. Ability to approximate a function · p. 2
  • Entangling nonlocal operations transfer the highest-order term x^N into a measurable single-qubit observable and create output nonlinearity.Source: C. Ability to approximate a function · pp. 2–3
  • For d-dimensional inputs, tensor-product structure provides exponentially many independent coefficient functions and directly represents products such as x1x2.The construction extends to specified higher-order terms for each input dimension.Source: C. Ability to approximate a function · p. 3
  • Unitary constraints restrict each coefficient row to unit norm, which the authors state prevents overfitting similarly to regularization in ridge regression.The comparison identifies the matrix elements uij with classical weights w.Source: C. Ability to approximate a function · p. 3

D. Possible quantum advantages

QCL may represent functions more complex than a classical counterpart because its quantum circuit can encode relations associated with universal quantum cellular automata. The paper emphasizes that the actual learning costs and advantageous problems remain to be investigated.

  • QCL directly uses an exponential number of functions in the number of qubits, avoiding their explicit classical manipulation and potentially modeling functions intractable for classical computers.The authors present this as a possible quantum advantage over approaches such as QVE or QAOA.Source: D. Possible quantum advantages · p. 3
  • A classical neural network learning a quantum circuit’s input-output relation would generally include universal quantum cellular automata, which cannot be achieved with polynomial-size classical resources relative to QCL size.Source: D. Possible quantum advantages · p. 3
  • The paper leaves the learning costs and the concrete learning problems that benefit from this potential advantage for further investigation.Source: D. Possible quantum advantages · p. 3

E. Optimization procedure

QCL uses gradient-based optimization to tune circuit parameters, adapting the backpropagation idea to expectation values measured from a parameterized quantum circuit. The gradient can be evaluated through shifted circuit rotations and measurements.

  • Gradient-based optimization is preferred as the parameter space grows, paralleling gradient descent and backpropagation in neural networks.This contrasts with gradient-free methods such as Nelder–Mead used in QVE.Source: E. Optimization procedure · p. 3
  • For a circuit composed of parameterized unitary transformations, the method formulates the gradient of an observable expectation value with respect to a circuit parameter.Source: E. Optimization procedure · p. 3
  • The commutator relation enables gradient computation on a quantum circuit even though the commutator itself cannot be evaluated directly.Source: E. Optimization procedure · p. 3
  • Inserting ±π/2 rotations generated by the parameter’s Pauli product and measuring the corresponding expectation values yields the exact gradient.Source: E. Optimization procedure · p. 3

III. NUMERICAL SIMULATIONS

Numerical simulations evaluate QCL on nonlinear function fitting, classification, and quantum many-body dynamics using a low-depth circuit. The results show successful approximation across these tasks, with weaker fitting for |x| and a 6-qubit circuit fitting selected dynamics of a 10-spin system.

Simulation setup

  • N = 6 and D = 6 define the numerically simulated quantum circuit used across the prototypical machine-learning tasks.The simulations use six qubits and circuit depth six.Source: §III · p. 3

Function representation

  • QCL well approximates x^2, e^x, sin x, and |x|, although the |x| fit is relatively poor.The framework exposes higher-order terms for highly nonlinear functions such as sin x and |x|.Source: §III · p. 4, Figure 3 · p. 4

Classification

  • The nonlinear classification task uses 200 teacher samples and classifies outputs from two Pauli-Z expectations after softmax transformation.The teacher labels are two-dimensional vectors for classes 0 and 1, and the circuit output is optimized with a cross-entropy cost.Source: §III · p. 4, Figure 4 · p. 5
  • QCL works for the demonstrated nonlinear classification task, using a 0.5 threshold to distinguish the two classes.Values below and above 0.5 correspond to classes 0 and 1, respectively.Source: §III · p. 4, Figure 4 · p. 5

Quantum advantage context

  • Compared with a kernel-trick support vector machine, QCL can utilize an exponentially large number of basis functions under certain constraints.The comparison concerns how basis functions are represented in the two approaches.Source: §III · p. 5

Quantum many-body dynamics

  • Three observables of a complex 10-spin system are simultaneously well fitted using three observables from a tuned 6-qubit circuit.The teacher data come from dynamics under a fully connected transverse Ising Hamiltonian.Source: §III · pp. 4–5, Figure 5 · p. 5

IV. CONCLUSION

The paper presents QCL as a near-term quantum machine-learning framework that uses low-depth circuits to represent, classify, and fit complex functions and quantum-system dynamics.

  • QCL combines injected nonlinear functions with a low-depth quantum circuit to approximate complex nonlinear functions.Source: §IV · p. 5
  • Numerical results demonstrate QCL’s ability to represent functions, perform classification, and fit a relatively large quantum system.Source: §IV · p. 5
  • Theoretical analysis indicates that QCL can support high-dimensional regression or classification tasks described as impractical on classical computers.Source: §IV · p. 5

Appendix: Unitarity avoids overfitting

The appendix compares QCL with classical regression on noisy fitting tasks using identical basis functions. QCL accepts some output error under a unitarity constraint, whereas classical regression overfits with very large weight vectors.

Loading 1803.00745v3…