Back to Search Start Over

An Empirical Comparison of Optimizers for Quantum Machine Learning with SPSA-based Gradients

Authors :
Wiedmann, Marco
Hölle, Marc
Periyasamy, Maniraman
Meyer, Nico
Ufrecht, Christian
Scherer, Daniel D.
Plinge, Axel
Mutschler, Christopher
Publication Year :
2023

Abstract

VQA have attracted a lot of attention from the quantum computing community for the last few years. Their hybrid quantum-classical nature with relatively shallow quantum circuits makes them a promising platform for demonstrating the capabilities of NISQ devices. Although the classical machine learning community focuses on gradient-based parameter optimization, finding near-exact gradients for VQC with the parameter-shift rule introduces a large sampling overhead. Therefore, gradient-free optimizers have gained popularity in quantum machine learning circles. Among the most promising candidates is the SPSA algorithm, due to its low computational cost and inherent noise resilience. We introduce a novel approach that uses the approximated gradient from SPSA in combination with state-of-the-art gradient-based classical optimizers. We demonstrate numerically that this outperforms both standard SPSA and the parameter-shift rule in terms of convergence rate and absolute error in simple regression tasks. The improvement of our novel approach over SPSA with stochastic gradient decent is even amplified when shot- and hardware-noise are taken into account. We also demonstrate that error mitigation does not significantly affect our results.

Details

Database :
arXiv
Publication Type :
Report
Accession number :
edsarx.2305.00224
Document Type :
Working Paper
Full Text :
https://doi.org/10.1109/QCE57702.2023.00058