English

Latency-aware adaptive shot allocation for run-time efficient variational quantum algorithms

Quantum Physics 2023-02-10 v1

Abstract

Efficient classical optimizers are crucial in practical implementations of Variational Quantum Algorithms (VQAs). In particular, to make Stochastic Gradient Descent (SGD) resource efficient, adaptive strategies have been proposed to determine the number of measurement shots used to estimate the gradient. However, existing strategies overlook the overhead that occurs in each iteration. In terms of wall-clock runtime, significant circuit-switching and communication latency can slow the optimization process when using a large number of iterations. In terms of economic cost when using cloud services, per-task prices can become significant. To address these issues, we present an adaptive strategy that balances the number of shots in each iteration to maximize expected gain per unit time or cost by explicitly taking into account the overhead. Our approach can be applied to not only to the simple SGD but also its variants, including Adam. Numerical simulations show that our adaptive shot strategy is actually efficient for Adam, outperforming many existing state-of-the-art adaptive shot optimizers. However, this is not the case for the simple SGD. When focusing on the number of shots as the resource, our adaptive-shots Adam with zero-overhead also outperforms existing optimizers.

Keywords

Cite

@article{arxiv.2302.04422,
  title  = {Latency-aware adaptive shot allocation for run-time efficient variational quantum algorithms},
  author = {Kosuke Ito},
  journal= {arXiv preprint arXiv:2302.04422},
  year   = {2023}
}

Comments

14 pages, 8 figures

R2 v1 2026-06-28T08:35:35.238Z