Natural evolutionary strategies applied to quantum-classical hybrid neural networks

05/17/2022
by   Lucas Friedrich, et al.
0

With the rapid development of quantum computers, several applications are being proposed for them. Quantum simulations, simulation of chemical reactions, solution of optimization problems and quantum neural networks are some examples. However, problems such as noise, limited number of qubits and circuit depth, and gradient vanishing must be resolved before we can use them to their full potential. In the field of quantum machine learning, several models have been proposed. In general, in order to train these different models, we use the gradient of a cost function with respect to the model parameters. In order to obtain this gradient, we must compute the derivative of this function with respect to the model parameters. For this we can use the method called parameter-shift rule. This method consists of evaluating the cost function twice for each parameter of the quantum network. A problem with this method is that the number of evaluations grows linearly with the number of parameters. In this work we study an alternative method, called Natural Evolutionary Strategies (NES), which are a family of black box optimization algorithms. An advantage of the NES method is that in using it one can control the number of times the cost function will be evaluated. We apply the NES method to the binary classification task, showing that this method is a viable alternative for training quantum neural networks.

READ FULL TEXT
research
05/26/2022

Avoiding Barren Plateaus with Classical Deep Neural Networks

Variational quantum algorithms (VQAs) are among the most promising algor...
research
07/16/2023

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

When computing the gradients of a quantum neural network using the param...
research
11/30/2020

Natural Evolutionary Strategies for Variational Quantum Computation

Natural evolutionary strategies (NES) are a family of gradient-free blac...
research
01/02/2020

Cost-Function-Dependent Barren Plateaus in Shallow Quantum Neural Networks

Variational quantum algorithms (VQAs) optimize the parameters θ of a qua...
research
07/11/2019

Learning to learn with quantum neural networks via classical neural networks

Quantum Neural Networks (QNNs) are a promising variational learning para...
research
06/02/2021

Single-component gradient rules for variational quantum algorithms

Many near-term quantum computing algorithms are conceived as variational...
research
01/19/2023

Quantum HyperNetworks: Training Binary Neural Networks in Quantum Superposition

Binary neural networks, i.e., neural networks whose parameters and activ...

Please sign up or login with your details

Forgot password? Click here to reset