Abstract
Variational Quantum Algorithms (VQAs) are leading candidates for demonstrating quantum advantage on Noisy Intermediate-Scale Quantum (NISQ) hardware. However, the optimization of Parameterized Quantum Circuits (PQCs) is hindered by the high cost of quantum measurement shots and the presence of hardware noise. We introduce Stochastic Gradient Line Bayesian Optimization (SGLBO), a hybrid optimization framework that leverages Stochastic Gradient Descent (SGD) to determine search directions and 1D Bayesian Optimization (BO) to efficiently find optimal step sizes. SGLBO integrates an adaptive shot strategy and suffix averaging to further enhance measurement efficiency and noise resilience. Numerical simulations on Variational Quantum Eigensolver (VQE) and Variational Quantum Compiling (VQC) tasks demonstrate that SGLBO achieves superior convergence speed and accuracy compared to existing optimizers, particularly in noisy environments.
Introduction
Variational Quantum Algorithms (VQAs) utilize a classical optimizer to tune the parameters of a quantum circuit. A major bottleneck in this process is the "shot cost"—the requirement for thousands of measurements to estimate gradients or cost function values. In the NISQ era, hardware noise further complicates this by creating a rugged, jittery optimization landscape. Traditional optimizers often struggle with these conditions, either requiring an impractical number of shots or failing to converge to a global minimum. This paper introduces SGLBO as a solution to make training VQAs faster and more resilient to noise.
The SGLBO Framework
SGLBO addresses these challenges by combining the directional efficiency of SGD with the noise-robustness of BO. The core strategy involves three main components:
- SGLBO Algorithm: While standard BO scales poorly with dimensionality, 1D BO is highly efficient. SGLBO uses SGD to compute a gradient direction and then performs a 1D BO search along that line to determine the optimal step size ($\eta$). This allows the optimizer to navigate noisy landscapes more effectively than fixed-step or simple adaptive methods.
- Adaptive Shot Strategy: To minimize measurement overhead, SGLBO employs a "norm test" to adaptively scale the number of shots. It uses fewer shots for coarse exploration far from the minimum and increases the shot count as it approaches the optimum to resolve finer details of the cost landscape.
- Suffix Averaging: To mitigate oscillations caused by noise near the convergence point, the algorithm averages the parameters from the final iterations of the optimization process, providing a more stable and accurate final result.
Experimental Setup
The performance of SGLBO was evaluated using numerical simulations of two key quantum tasks: the Variational Quantum Eigensolver (VQE) for the 1D transverse field Ising model and Variational Quantum Compiling (VQC). The simulations utilized Parameterized Quantum Circuits (PQCs) as shown in the ansatz below.
The study also incorporated realistic noise models based on IBM’s Bogota processor, accounting for gate errors, readout errors, and decoherence.
Key Results
- Efficiency and Accuracy: SGLBO consistently outperformed standard optimizers like Adam, iCANS, and the Nakanishi-Fujii-Todo (NFT) method. In a 12-qubit VQE task, SGLBO reached lower energy states more rapidly in terms of total measurement shots.
- Noise Resilience: In noisy VQC simulations, SGLBO maintained high accuracy (cost function $\approx 10^{-3.5}$), whereas competitors plateaued at significantly higher error levels (around $10^{-2.5}$).
- Modularity: The authors demonstrated that the adaptive shot strategy and suffix averaging are modular improvements that significantly enhanced the performance of the standard Adam optimizer as well.
Conclusion
SGLBO provides a robust and efficient framework for training PQCs on near-term quantum devices. By restricting BO to a 1D line search, the algorithm maintains computational feasibility while gaining significant noise resilience. Future work may explore the integration of Natural Gradient or Conjugate Gradient directions to further accelerate convergence and provide more rigorous theoretical proofs for these specific quantum landscapes.
Summary updated