Abstract
Variational quantum algorithms rely on the optimization of parameterized quantum circuits in noisy settings. The commonly used back-propagation procedure in classical machine learning is not directly applicable in this setting due to the collapse of quantum states after measurements. Thus, gradient estimations constitute a significant overhead in a gradient-based optimization of such quantum circuits. This paper introduces a random coordinate descent algorithm as a practical and easy-to-implement alternative to the full gradient descent algorithm. This algorithm only requires one partial derivative at each iteration. Motivated by the behavior of measurement noise in the practical optimization of parameterized quantum circuits, this paper presents an optimization problem setting that is amenable to analysis. Under this setting, the random coordinate descent algorithm exhibits the same level of stochastic stability as the full gradient approach, making it as resilient to noise. The complexity of the random coordinate descent method is generally no worse than that of the gradient descent and can be much better for various quantum optimization problems with anisotropic Lipschitz constants. Theoretical analysis and extensive numerical experiments validate our findings.
Introduction
Variational Quantum Algorithms (VQAs) are considered a primary candidate for achieving quantum advantage on near-term noisy intermediate-scale quantum (NISQ) devices. However, training the underlying Parameterized Quantum Circuits (PQCs) remains a significant challenge. Unlike classical neural networks where backpropagation provides gradients efficiently, quantum hardware requires the "parameter-shift rule," necessitating two circuit evaluations for every single parameter to estimate a partial derivative. For a circuit with $d$ parameters, a single Gradient Descent (GD) step costs $2d$ evaluations. Compounded by inherent measurement (shot) noise, this creates a massive computational bottleneck.
Random Coordinate Descent (RCD)
To mitigate this overhead, this work proposes the use of Random Coordinate Descent (RCD). Instead of computing the full gradient, RCD selects one parameter index $i \in \{1, \dots, d\}$ uniformly at random at each step and updates only that parameter using its partial derivative.
Theoretical Advantages
The core motivation for RCD in quantum optimization lies in its efficiency and stability. While each step of RCD is "noisier" because it ignores $d-1$ directions, the ability to take $d$ times more steps for the same computational budget as one GD step often leads to faster convergence.
As shown in the table above, the iteration cost of RCD is $\Omega(1)$ compared to $\Omega(d)$ for GD. Crucially, the total cost to reach a tolerance $\epsilon$ is proportional to the average Lipschitz constant $L_{avg}$ for RCD, whereas it depends on the maximum Lipschitz constant $L$ for GD. In many quantum circuits, sensitivity is anisotropic (some gates are much more sensitive than others), meaning $L_{avg} \ll L$, giving RCD a significant theoretical edge.
Convergence and Stability
The authors prove convergence under a local Polyak-Łojasiewicz (PL) condition, which is more realistic for the periodic, non-convex landscapes of PQCs than global assumptions. Furthermore, using a supermartingale approach, they demonstrate that RCD maintains the same level of stochastic stability as GD, debunking the intuition that coordinate-wise updates are too unstable for noisy quantum environments.
Experimental Validation
The effectiveness of RCD was tested across various benchmarks, including physical models like the Transverse-Field Ising Model (TFIM) and combinatorial optimization problems like Max-Cut and Variational Quantum Factoring.
- Efficiency: In a 10-qubit TFIM, RCD required nearly 4x fewer evaluations than GD to reach target fidelity. For a Max-Cut task with 20 parameters, RCD converged in ~200 evaluations, while GD failed to reach comparable accuracy within 1000 evaluations.
- Scalability: In a 40-dimensional quantum factoring benchmark, RCD reached the target energy ratio in 400 evaluations, a task where GD failed to converge within the same budget.
- Comparison to SPSA: RCD significantly outperformed Simultaneous Perturbation Stochastic Approximation (SPSA). SPSA required a learning rate 80 times smaller than RCD to maintain stability, leading to much slower progress.
Conclusion
Random Coordinate Descent provides a simple yet powerful alternative for optimizing parameterized quantum circuits. By reducing the per-iteration cost and exploiting the anisotropic nature of quantum landscapes, it offers a more efficient path to training VQAs on noisy hardware. While it does not solve the "barren plateau" problem, its robustness to shot noise and ease of implementation make it a superior choice for local optimization in the NISQ era.
Summary updated