Bayesian Parameter Shift Rule in Variational Quantum Eigensolvers

Samuele Pedrielli, Christopher J. Anders, Lena Funcke, Karl Jansen, Kim A. Nicoli, Shinichi NakajimaarXiv 2025 · DOI

Abstract

Variational Quantum Eigensolvers (VQEs) are a cornerstone of near-term quantum computing, yet they face significant hurdles due to the statistical "shot noise" inherent in quantum measurements. We propose the Bayesian Parameter Shift Rule (Bayesian PSR), which utilizes Gaussian Processes (GPs) to estimate gradients more efficiently by recycling historical data and quantifying estimation uncertainty. Building on this, we introduce the Gradient Confident Region (GradCoRe) method to dynamically adjust measurement budgets. Our approach demonstrates superior convergence and resource efficiency across benchmark quantum chemistry tasks, outperforming state-of-the-art methods in both accuracy and total measurement cost.

Introduction

Variational Quantum Eigensolvers (VQEs) are hybrid algorithms where a classical optimizer iteratively updates the parameters of a quantum circuit to minimize an energy objective function. Most VQE implementations rely on stochastic gradient descent (SGD), which requires accurate gradient estimates. In the Noisy Intermediate-Scale Quantum (NISQ) era, these gradients are typically computed using Parameter Shift Rules (PSRs). However, standard PSRs are often inefficient as they require fixed measurement points and fail to utilize data from previous iterations, leading to wasted quantum resources.

Bayesian Parameter Shift Rule (Bayesian PSR)

The Bayesian PSR addresses the limitations of traditional methods by framing gradient estimation as a Bayesian inference problem. Instead of a purely algebraic shift, we model the VQE objective function $f(x)$ using a Gaussian Process with a specialized "VQE kernel" that encodes the periodic structure of quantum circuits.

Prior and posterior distributions for the function $f(x)$ and its derivative $\partial_d f(x)$ in the Bayesian PSR framework.

As illustrated in Figure 1, the Bayesian PSR allows for the update of beliefs about the function and its derivatives as new measurements are collected. This framework naturally incorporates data from any point in the parameter space, effectively "recycling" measurements from earlier optimization steps. Mathematically, the authors prove that the Bayesian PSR is a true generalization: in the limit of noiseless, perfectly spaced measurements, it reduces exactly to the standard generalized PSR.

GradCoRe: Adaptive Measurement Budgeting

One of the most powerful features of the Bayesian PSR is its ability to output a predictive variance (uncertainty) for the gradient. We leverage this in a new algorithm called GradCoRe (Gradient Confident Region).

GradCoRe dynamically determines the minimum number of quantum measurement "shots" required at each step. The core idea is to ensure that the gradient's uncertainty is small enough to reliably determine the direction of descent. Early in the optimization, when gradients are large, fewer shots are needed. As the algorithm approaches a minimum and the gradient magnitude decreases, GradCoRe automatically increases the shot count to maintain precision, avoiding the "bouncing" effect common in noisy optimization.

Results and Discussion

We evaluated the proposed methods using Qiskit simulations of a 5-qubit Heisenberg Hamiltonian. The results indicate that Bayesian PSR consistently achieves lower gradient estimation errors than standard PSRs by aggregating historical data.

Gaussian Process modeling of the VQE objective function and its derivative for different configurations ($V_d=1, 2$) and the resulting uncertainty dependence.

Figure 5 demonstrates the GP's ability to fit the objective function and its derivative under varying conditions. The SGD-GradCoRe algorithm outperformed several state-of-the-art baselines, including NFT and EMICoRe, by reaching lower energy states with a smaller total measurement budget. The adaptive scaling of shots was empirically confirmed, with the algorithm successfully ramping up precision only when necessary near the optimum.

Conclusion

The Bayesian Parameter Shift Rule and the GradCoRe algorithm provide a robust framework for optimizing VQEs under shot noise. By treating gradient estimation as an inference task, we can significantly reduce the quantum resources required for convergence. Future work will focus on integrating these methods with quantum error mitigation to handle hardware-specific noise like decoherence and gate imperfections.

Summary updated

BibTeX
@misc{pedrielli2025bayesian,
  author = {Samuele Pedrielli and Christopher J. Anders and Lena Funcke and Karl Jansen and Kim A. Nicoli and Shinichi Nakajima},
  title = {{Bayesian Parameter Shift Rule in Variational Quantum Eigensolvers}},
  year = {2025},
  eprint = {2502.02625},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2502.02625},
}
Figure