Stochastic gradient descent for hybrid quantum-classical optimization

10/02/2019
by   Ryan Sweke, et al.
0

Within the context of hybrid quantum-classical optimization, gradient descent based optimizers typically require the evaluation of expectation values with respect to the outcome of parameterized quantum circuits. In this work, we explore the significant consequences of the simple observation that the estimation of these quantities on quantum hardware is a form of stochastic gradient descent optimization. We formalize this notion, which allows us to show that in many relevant cases, including VQE, QAOA and certain quantum classifiers, estimating expectation values with k measurement outcomes results in optimization algorithms whose convergence properties can be rigorously well understood, for any value of k. In fact, even using single measurement outcomes for the estimation of expectation values is sufficient. Moreover, in many settings the required gradients can be expressed as linear combinations of expectation values -- originating, e.g., from a sum over local terms of a Hamiltonian, a parameter shift rule, or a sum over data-set instances -- and we show that in these cases k-shot expectation value estimation can be combined with sampling over terms of the linear combination, to obtain "doubly stochastic" gradient descent optimizers. For all algorithms we prove convergence guarantees, providing a framework for the derivation of rigorous optimization results in the context of near-term quantum devices. Additionally, we explore numerically these methods on benchmark VQE, QAOA and quantum-enhanced machine learning tasks and show that treating the stochastic settings as hyper-parameters allows for state-of-the-art results with significantly fewer circuit executions and measurements.

READ FULL TEXT
research
11/15/2021

Stochastic Gradient Line Bayesian Optimization: Reducing Measurement Shots in Optimizing Parameterized Quantum Circuits

Optimization of parameterized quantum circuits is indispensable for appl...
research
04/27/2023

An Empirical Comparison of Optimizers for Quantum Machine Learning with SPSA-based Gradients

VQA have attracted a lot of attention from the quantum computing communi...
research
06/02/2021

Single-component gradient rules for variational quantum algorithms

Many near-term quantum computing algorithms are conceived as variational...
research
11/09/2022

Resource frugal optimizer for quantum machine learning

Quantum-enhanced data science, also known as quantum machine learning (Q...
research
11/16/2020

Chaos and Complexity from Quantum Neural Network: A study with Diffusion Metric in Machine Learning

In this work, our prime objective is to study the phenomena of quantum c...
research
10/28/2022

Differentiable Analog Quantum Computing for Optimization and Control

We formulate the first differentiable analog quantum computing framework...
research
03/22/2022

Toward Physically Realizable Quantum Neural Networks

There has been significant recent interest in quantum neural networks (Q...

Please sign up or login with your details

Forgot password? Click here to reset