[Paper Review] An Empirical Review of Optimization Techniques for Quantum Variational Circuits
This paper empirically evaluates 46 optimization techniques for quantum variational circuits (QVCs) across classical and quantum data tasks, using noise-free and noisy simulations. It finds that parameter-shift gradient optimizers outperform non-parameter-shift methods, with Adam (learning rate 0.1) being optimal without hyperparameter tuning, while SPSA and Powell’s method lead among non-parameter-shift optimizers; notably, Nelder-Mead performs surprisingly well even in noisy settings, challenging conventional wisdom.
Quantum Variational Circuits (QVCs) are often claimed as one of the most potent uses of both near term and long term quantum hardware. The standard approaches to optimizing these circuits rely on a classical system to compute the new parameters at every optimization step. However, this process can be extremely challenging, due to the nature of navigating the exponentially scaling complex Hilbert space, barren plateaus, and the noise present in all foreseeable quantum hardware. Although a variety of optimization algorithms are employed in practice, there is often a lack of theoretical or empirical motivations for this choice. To this end we empirically evaluate the potential of many common gradient and gradient free optimizers on a variety of optimization tasks. These tasks include both classical and quantum data based optimization routines. Our evaluations were conducted in both noise free and noisy simulations. The large number of problems and optimizers evaluated yields strong empirical guidance for choosing optimizers for QVCs that is currently lacking.
Motivation & Objective
- To address the lack of empirical and theoretical guidance in selecting optimization algorithms for quantum variational circuits (QVCs).
- To evaluate the performance of a broad range of gradient-based and gradient-free optimizers across diverse QVC tasks, including classical and quantum data.
- To provide empirically grounded recommendations for optimizer selection under varying noise conditions and problem sizes.
- To challenge common assumptions about learning rates and optimizer choice in quantum machine learning by testing them in realistic simulation environments.
- To identify promising optimization strategies that could inform future research and real hardware deployment.
Proposed method
- The study evaluates 46 distinct optimizer configurations across 2-qubit to 25-qubit QVCs with up to 200 parameters, using TensorFlow-Quantum for simulation.
- Optimization tasks include variational quantum eigensolver (VQE), quantum circuit learning, and excited state classification, using both classical and quantum data.
- Simulations are conducted under noise-free, shot-noise-only, and depolarizing noise conditions to assess robustness.
- The parameter shift rule is used to compute analytic gradients for gradient-based optimizers, enabling precise and efficient parameter updates.
- Black-box optimizers such as SPSA, Nelder-Mead, and Powell’s method are evaluated without gradient computation, relying only on function evaluations.
- Performance is measured solely by final cost function value after 1,000 optimization steps, without considering shot count or convergence speed.
Experimental results
Research questions
- RQ1Which optimization algorithm yields the best final performance for quantum variational circuits across diverse problem types and noise levels?
- RQ2How do parameter-shift-based gradient optimizers compare to non-parameter-shift gradient and black-box optimizers in terms of convergence and robustness?
- RQ3Does the use of higher learning rates (e.g., 0.1) improve optimization performance in quantum machine learning, contrary to classical deep learning practices?
- RQ4Can Nelder-Mead, a derivative-free method, outperform gradient-based optimizers in noisy or barren plateau regimes?
- RQ5How does noise—specifically depolarizing and shot noise—affect the relative performance of different optimizers in QVCs?
Key findings
- Parameter-shift gradient optimizers consistently outperform non-parameter-shift methods across all tested problems and noise levels.
- Among non-parameter-shift optimizers, SPSA and Powell’s method achieve the best performance, with SPSA requiring fewer function evaluations and showing strong robustness.
- For parameter-shift optimizers without hyperparameter tuning, Adam with a learning rate of 0.1 yields the best results, contradicting typical classical deep learning practices.
- When hyperparameter tuning is possible, Adam, AMSGrad, and NAdam with learning rates of 0.01 or 0.1 show superior performance, with NAdam often ranking highly.
- Nelder-Mead, despite being derivative-free and not typically favored in high-dimensional optimization, achieves competitive or top performance in multiple settings, especially under noise.
- The impact of simulated noise (up to depolarizing noise rate 0.05) on optimizer performance was minimal, suggesting that noise may not be the primary driver of performance differences in these simulations.
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.