• Editors' Suggestion

Estimating the gradient and higher-order derivatives on quantum hardware

Andrea Mari, Thomas R. Bromley, and Nathan Killoran
Phys. Rev. A 103, 012405 – Published 11 January 2021

Abstract

For a large class of variational quantum circuits, we show how arbitrary-order derivatives can be analytically evaluated in terms of simple parameter-shift rules, i.e., by running the same circuit with different shifts of the parameters. As particular cases, we obtain parameter-shift rules for the Hessian of an expectation value and for the metric tensor of a variational state, both of which can be efficiently used to analytically implement second-order optimization algorithms on a quantum computer. We also consider the impact of statistical noise by studying the mean-square error of different derivative estimators. Some of the theoretical techniques for evaluating quantum derivatives are applied to their typical use case: the implementation of quantum optimizers. We find that the performance of different estimators and optimizers is intertwined with the values of different hyperparameters, such as the step size or the number of shots. Our findings are supported by several numerical and hardware experiments, including an experimental estimation of the Hessian of a simple variational circuit and an implementation of the Newton optimizer.

  • Figure
  • Figure
  • Figure
  • Figure
  • Figure
  • Figure
  • Figure
3 More
  • Received 8 September 2020
  • Accepted 13 November 2020
  • Corrected 11 March 2021

DOI:https://doi.org/10.1103/PhysRevA.103.012405

©2021 American Physical Society

Physics Subject Headings (PhySH)

Quantum Information, Science & Technology

Corrections

11 March 2021

Correction: Equations (14), (16), (17), and (18) have been rescaled by a constant factor equal to ±1/2 and text above Eq. (15) has been modified.

Authors & Affiliations

Andrea Mari1,2, Thomas R. Bromley1, and Nathan Killoran1

  • 1Xanadu, Toronto, Ontario, Canada M5G 2C8
  • 2Unitary Fund, Berkeley, California 94703, USA

Article Text (Subscription Required)

Click to Expand

References (Subscription Required)

Click to Expand
Issue

Vol. 103, Iss. 1 — January 2021

Reuse & Permissions
Access Options
CHORUS

Article Available via CHORUS

Download Accepted Manuscript
Author publication services for translation and copyediting assistance advertisement

Authorization Required


×
×

Images

×

Sign up to receive regular email alerts from Physical Review A

Log In

Cancel
×

Search


Article Lookup

Paste a citation or DOI

Enter a citation
×