arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.00224quant-phcs.LG
收藏

基于SPSA梯度的量子机器学习优化器实证比较

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

Fraunhofer IIS, Fraunhofer Institute for Integrated Circuits IIS(弗劳恩霍夫集成电路研究所 IIS)

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

AI总结:

针对VQC参数移位梯度采样开销大的问题,本文将SPSA近似梯度接入先进基于梯度的经典优化器,并在回归任务中验证其收敛、误差及抗噪优势。

摘要:

过去几年,VQA(变分量子算法)吸引了量子计算界的广泛关注。其混合量子-经典特性以及相对较浅的量子电路,使其成为展示NISQ设备能力的有前景平台。尽管经典机器学习界专注于基于梯度的参数优化,但利用参数移位规则为VQC求取近乎精确的梯度会带来巨大的采样开销。因此,无梯度优化器在量子机器学习圈中受到欢迎。其中最有前景的候选之一是SPSA算法,原因在于其较低的计算成本和固有的噪声鲁棒性。我们提出一种新方法,将来自SPSA的近似梯度与最先进的基于梯度的经典优化器相结合。我们通过数值实验证明,在简单回归任务中,该方法在收敛速度和绝对误差方面均优于标准SPSA和参数移位规则。当考虑采样噪声和硬件噪声时,我们这一新方法相对于采用随机梯度下降的SPSA的改进甚至进一步放大。我们还证明,误差缓解并不会显著影响所得结果。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑