Variational Quantum Algorithms (VQAs) are central to the quest for quantum advantage on near-term noisy hardware. However, training these algorithms efficiently remains a significant challenge. While Quantum Natural Gradient (QNG) methods offer superior convergence by accounting for the geometry of the quantum state space, they are hindered by the computational cost of the Quantum Fisher Information Matrix (QFIM). This paper introduces QN-SPSA, a method that approximates the QFIM at a constant cost, enabling scalable natural gradient optimization for large-scale variational circuits.
The Bottleneck: Scaling the Quantum Fisher Information Matrix
In VQAs, the goal is to optimize parameters $d$ to minimize a cost function. Standard gradient descent often struggles with barren plateaus or complex landscapes. QNG addresses this by using the QFIM to adjust the gradient direction, effectively "flattening" the landscape. However, computing the full QFIM typically requires $O(d^2)$ circuit evaluations. For models with hundreds or thousands of parameters, this quadratic scaling is a prohibitive bottleneck that effectively stalls progress in scaling up VQAs.
QN-SPSA: Constant-Cost Natural Gradients
The authors propose Quantum Natural Simultaneous Perturbation Stochastic Approximation (QN-SPSA). This technique adapts the classical "2-SPSA" algorithm—originally designed to approximate Hessians—to estimate the QFIM. Instead of calculating each element of the matrix individually, QN-SPSA uses simultaneous random perturbations of all parameters in random directions.
Key technical features of the method include:
- Constant Scaling: The QFIM is estimated using only 4 to 7 circuit evaluations per iteration, completely independent of the number of parameters $d$.
- Metric Representation: It treats the QFIM as the Hessian of the Fubini-Study metric, which measures the overlap between quantum states.
- Regularization and Smoothing: To handle stochastic noise, the authors implement exponential smoothing and a regularization technique that allows the optimizer to interpolate between natural and vanilla gradients.
Performance and Results
The algorithm was evaluated on several benchmarks, including molecular Hamiltonians (LiH), combinatorial optimization (MAXCUT), and generative machine learning tasks. A key insight is that a high-precision QFIM is not necessary; a noisy, rank-2 stochastic approximation is often sufficient to guide the optimizer effectively.
In a 22-qubit system with 132 parameters, analytic QNG would require approximately 2.6 million circuit executions per iteration. QN-SPSA achieved convergence using only 2,100 executions—a reduction of three orders of magnitude.
In hardware experiments on the ibmq_montreal processor, QN-SPSA demonstrated remarkable robustness to shot noise and gate errors, consistently reaching lower energy states faster than standard SPSA.
Conclusion
QN-SPSA effectively breaks the quadratic barrier for natural gradient optimization in quantum circuits. By providing a "good enough" stochastic approximation of the QFIM at a constant cost, it paves the way for training large-scale variational models that were previously computationally inaccessible. Future work will focus on optimizing overlap measurements and integrating the method with other resource-frugal techniques to further reduce the measurement overhead.
Summary updated