Computing the gradients with respect to all parameters of a quantum neural network using a single circuit

07/16/2023
by   Guang Ping He, et al.
0

When computing the gradients of a quantum neural network using the parameter-shift rule, the cost function needs to be calculated twice for the gradient with respect to a single adjustable parameter of the network. When the total number of parameters is high, the quantum circuit for the computation has to be adjusted and run for many times. Here we propose an approach to compute all the gradients using a single circuit only, with a much reduced circuit depth and less classical registers. We also demonstrate experimentally, on both real quantum hardware and simulator, that our approach has the advantages that the circuit takes a significantly shorter time to compile than the conventional approach, resulting in a speedup on the total runtime.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
05/17/2022

Natural evolutionary strategies applied to quantum-classical hybrid neural networks

With the rapid development of quantum computers, several applications ar...
research
04/15/2023

Learning To Optimize Quantum Neural Network Without Gradients

Quantum Machine Learning is an emerging sub-field in machine learning wh...
research
01/15/2021

On the statistical complexity of quantum circuits

In theoretical machine learning, the statistical complexity is a notion ...
research
02/26/2022

QOC: Quantum On-Chip Training with Parameter Shift and Gradient Pruning

Parameterized Quantum Circuits (PQC) are drawing increasing research int...
research
01/25/2021

Circuit Complexity From Supersymmetric Quantum Field Theory With Morse Function

Computation of circuit complexity has gained much attention in the Theor...
research
12/23/2020

Gradient-free quantum optimization on NISQ devices

Variational Quantum Eigensolvers (VQEs) have recently attracted consider...
research
05/26/2020

Experimental evaluation of quantum Bayesian networks on IBM QX hardware

Bayesian Networks (BN) are probabilistic graphical models that are widel...

Please sign up or login with your details

Forgot password? Click here to reset