General parameter-shift rules for quantum gradients

Variational quantum algorithms are ubiquitous in applications of noisy intermediate-scale quantum computers. Due to the structure of conventional parametrized quantum gates, the evaluated functions typically are finite Fourier series of the input parameters. In this work, we use this fact to derive...

Full description

Bibliographic Details
Published in:Quantum
Main Authors: David Wierichs, Josh Izaac, Cody Wang, Cedric Yen-Yu Lin
Format: Article
Language:English
Published: Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften 2022-03-01
Online Access:https://quantum-journal.org/papers/q-2022-03-30-677/pdf/
_version_ 1852747579255685120
author David Wierichs
Josh Izaac
Cody Wang
Cedric Yen-Yu Lin
author_facet David Wierichs
Josh Izaac
Cody Wang
Cedric Yen-Yu Lin
author_sort David Wierichs
collection DOAJ
container_title Quantum
description Variational quantum algorithms are ubiquitous in applications of noisy intermediate-scale quantum computers. Due to the structure of conventional parametrized quantum gates, the evaluated functions typically are finite Fourier series of the input parameters. In this work, we use this fact to derive new, general parameter-shift rules for single-parameter gates, and provide closed-form expressions to apply them. These rules are then extended to multi-parameter quantum gates by combining them with the stochastic parameter-shift rule. We perform a systematic analysis of quantum resource requirements for each rule, and show that a reduction in resources is possible for higher-order derivatives. Using the example of the quantum approximate optimization algorithm, we show that the generalized parameter-shift rule can reduce the number of circuit evaluations significantly when computing derivatives with respect to parameters that feed into many gates. Our approach additionally reproduces reconstructions of the evaluated function up to a chosen order, leading to known generalizations of the Rotosolve optimizer and new extensions of the quantum analytic descent optimization algorithm.
format Article
id doaj-art-0d3f3e1b5fbb4900a19f8d71d3af83e2
institution Directory of Open Access Journals
issn 2521-327X
language English
publishDate 2022-03-01
publisher Verein zur Förderung des Open Access Publizierens in den Quantenwissenschaften
record_format Article
spelling doaj-art-0d3f3e1b5fbb4900a19f8d71d3af83e22025-08-19T21:01:44ZengVerein zur Förderung des Open Access Publizierens in den QuantenwissenschaftenQuantum2521-327X2022-03-01667710.22331/q-2022-03-30-67710.22331/q-2022-03-30-677General parameter-shift rules for quantum gradientsDavid WierichsJosh IzaacCody WangCedric Yen-Yu LinVariational quantum algorithms are ubiquitous in applications of noisy intermediate-scale quantum computers. Due to the structure of conventional parametrized quantum gates, the evaluated functions typically are finite Fourier series of the input parameters. In this work, we use this fact to derive new, general parameter-shift rules for single-parameter gates, and provide closed-form expressions to apply them. These rules are then extended to multi-parameter quantum gates by combining them with the stochastic parameter-shift rule. We perform a systematic analysis of quantum resource requirements for each rule, and show that a reduction in resources is possible for higher-order derivatives. Using the example of the quantum approximate optimization algorithm, we show that the generalized parameter-shift rule can reduce the number of circuit evaluations significantly when computing derivatives with respect to parameters that feed into many gates. Our approach additionally reproduces reconstructions of the evaluated function up to a chosen order, leading to known generalizations of the Rotosolve optimizer and new extensions of the quantum analytic descent optimization algorithm.https://quantum-journal.org/papers/q-2022-03-30-677/pdf/
spellingShingle David Wierichs
Josh Izaac
Cody Wang
Cedric Yen-Yu Lin
General parameter-shift rules for quantum gradients
title General parameter-shift rules for quantum gradients
title_full General parameter-shift rules for quantum gradients
title_fullStr General parameter-shift rules for quantum gradients
title_full_unstemmed General parameter-shift rules for quantum gradients
title_short General parameter-shift rules for quantum gradients
title_sort general parameter shift rules for quantum gradients
url https://quantum-journal.org/papers/q-2022-03-30-677/pdf/
work_keys_str_mv AT davidwierichs generalparametershiftrulesforquantumgradients
AT joshizaac generalparametershiftrulesforquantumgradients
AT codywang generalparametershiftrulesforquantumgradients
AT cedricyenyulin generalparametershiftrulesforquantumgradients