[Paper Review] Adaptive shot allocation for fast convergence in variational quantum algorithms
This paper proposes the global-Coupled Adaptive Number of Shots (gCANS) method, a stochastic gradient descent optimizer for variational quantum algorithms that adaptively allocates shots across gradient components to accelerate convergence. gCANS achieves geometric convergence in convex settings and outperforms ADAM, SGD with dynamic sampling, and iCANS in both shot efficiency and robustness, reducing total shots and circuit calls for near-term quantum advantage.
Variational Quantum Algorithms (VQAs) are a promising approach for practical applications like chemistry and materials science on near-term quantum computers as they typically reduce quantum resource requirements. However, in order to implement VQAs, an efficient classical optimization strategy is required. Here we present a new stochastic gradient descent method using an adaptive number of shots at each step, called the global Coupled Adaptive Number of Shots (gCANS) method, which improves on prior art in both the number of iterations as well as the number of shots required. These improvements reduce both the time and money required to run VQAs on current cloud platforms. We analytically prove that in a convex setting gCANS achieves geometric convergence to the optimum. Further, we numerically investigate the performance of gCANS on some chemical configuration problems. We also consider finding the ground state for an Ising model with different numbers of spins to examine the scaling of the method. We find that for these problems, gCANS compares favorably to all of the other optimizers we consider.
Motivation & Objective
- To address the inefficiency of fixed-shot and non-adaptive shot allocation in variational quantum algorithms (VQAs), which increase wall-clock time and cost on cloud platforms.
- To develop a gradient-based optimizer that dynamically allocates shots per gradient component to minimize total shots and iterations while maintaining convergence.
- To provide a method that is both highly robust to hyperparameter choices and theoretically guaranteed to converge geometrically in convex settings.
- To outperform existing optimizers like ADAM, SGD with dynamic sampling, and iCANS in shot efficiency and convergence speed for quantum chemistry and spin model problems.
- To demonstrate scalability of the method to larger systems, such as transverse field Ising models with increasing qubit counts.
Proposed method
- gCANS uses a global shot allocation rule that considers the total cost of measuring all gradient components in each update, rather than optimizing each component independently.
- The method derives an adaptive shot count per gradient component using a cost-minimization framework that balances estimation error and total measurement cost.
- The shot allocation rule is based on a weighted sum of gradient variances, with coefficients derived from the Hessian approximation to prioritize components that most reduce expected cost.
- gCANS employs a stochastic gradient descent framework where the number of shots per component is updated iteratively based on the current gradient estimate and its uncertainty.
- The algorithm is designed to minimize the expected cost of reaching a target accuracy, using a dynamic strategy that starts with few shots and increases as the optimizer approaches the minimum.
- It inherits the robustness of iCANS but improves upon its shot allocation rule by ensuring global optimality in shot distribution, leading to faster convergence.
Experimental results
Research questions
- RQ1Can adaptive shot allocation that considers the full gradient cost lead to faster convergence in VQAs compared to fixed or component-wise adaptive strategies?
- RQ2Does gCANS achieve geometric convergence in convex settings, and can this be proven analytically?
- RQ3How does gCANS compare in shot efficiency and convergence speed to ADAM, SGD with dynamic sampling, and iCANS across quantum chemistry and spin model problems?
- RQ4Is gCANS robust to hyperparameter choices, and does it require extensive tuning like other adaptive methods?
- RQ5Does the performance advantage of gCANS scale with increasing system size, such as larger Ising models with more spins?
Key findings
- gCANS achieves geometric convergence to the optimum in convex settings, as analytically proven in Theorem 1, which is a stronger convergence guarantee than previous methods.
- In numerical experiments on chemical configuration problems, gCANS reaches chemical accuracy with significantly fewer total shots and circuit compilations than ADAM, SGD with dynamic sampling, and iCANS.
- gCANS outperforms iCANS in both convergence speed and shot efficiency, indicating that iCANS's shot allocation rule is suboptimal despite its robustness.
- The method is highly robust to hyperparameter tuning, with performance only marginally affected by changes in learning rate, unlike SGD with dynamic sampling, which is highly sensitive to its hyperparameters.
- Scaling analysis on transverse field Ising models shows that gCANS maintains its performance advantage over other optimizers as the number of qubits increases, suggesting scalability to larger systems.
- gCANS reduces both wall-clock time and cost on cloud platforms by minimizing total shots and circuit calls, making VQAs more practical for near-term quantum advantage.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.