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

基于广义 Hadamard 测试的高效量子梯度与高阶导数估计

Efficient Quantum Gradient and Higher-order Derivative Estimation via Generalized Hadamard Test

Yale University(耶鲁大学);Yale Quantum Institute(耶鲁量子研究所);Yale-NUS College(耶鲁-新加坡国大学院);SoftServe, Inc.(SoftServe公司);Massachusetts Institute of Technology(麻省理工学院);Department of Applied Physics, Yale University(耶鲁大学应用物理系)

Dantong Li, Dikshant Dulal, Mykhailo Ohorodnikov, Hanrui Wang, Yongshan Ding

AI总结:

本文提出灵活 Hadamard 测试、k 重 Hadamard 测试和量子自动微分方法,通过反转生成元与可观测量角色、单电路计算高阶导数及参数级自适应选择梯度技术,显著降低 PQC 梯度估计的电路执行成本。

摘要:

在嘈杂中等规模量子(NISQ)计算背景下,参数化量子电路(PQC)是在近期量子硬件上应对量子传感、最优控制、优化和机器学习等挑战的一种有前景的范式。基于梯度的方法对于理解 PQC 的行为至关重要,并且与无梯度方法相比,在变分量子算法(VQA)的收敛速度方面已展现出显著优势。然而,现有的梯度估计方法,如有限差分法、参数移位法则、Hadamard 测试和直接 Hadamard 测试,对于某些 PQC 往往会产生次优的梯度电路。为了解决这些局限性,我们引入了灵活 Hadamard 测试,当将其应用于一阶梯度估计方法时,可以反转 ansatz 生成元与可观测量的角色。这种反转有助于利用测量优化技术来高效计算 PQC 梯度。此外,为了克服评估高阶偏导数所需的指数级成本,我们提出了 k 重 Hadamard 测试,它使用单个电路即可计算第 k 阶偏导数。进一步地,我们引入了量子自动微分(QAD),这是一种统一的梯度方法,能够为 PQC 中的各个参数自适应地选择最佳梯度估计技术。据我们所知,这是首次实现偏离对所有参数统一应用单一方法的传统做法。通过严格的数值实验,我们证明了所提出的一阶梯度方法的有效性,在实际 PQC 应用中电路执行次数最多可实现 O(N) 因子的改进。我们的研究有助于加速 VQA 计算,在量子计算的 NISQ 时代提供实际应用价值。

英文摘要:

In the context of Noisy Intermediate-Scale Quantum (NISQ) computing, parameterized quantum circuits (PQCs) represent a promising paradigm for tackling challenges in quantum sensing, optimal control, optimization, and machine learning on near-term quantum hardware. Gradient-based methods are crucial for understanding the behavior of PQCs and have demonstrated substantial advantages in the convergence rates of Variational Quantum Algorithms (VQAs) compared to gradient-free methods. However, existing gradient estimation methods, such as Finite Difference, Parameter Shift Rule, Hadamard Test, and Direct Hadamard Test, often yield suboptimal gradient circuits for certain PQCs. To address these limitations, we introduce the Flexible Hadamard Test, which, when applied to first-order gradient estimation methods, can invert the roles of ansatz generators and observables. This inversion facilitates the use of measurement optimization techniques to efficiently compute PQC gradients. Additionally, to overcome the exponential cost of evaluating higher-order partial derivatives, we propose the $k$-fold Hadamard Test, which computes the $k^{th}$-order partial derivative using a single circuit. Furthermore, we introduce Quantum Automatic Differentiation (QAD), a unified gradient method that adaptively selects the best gradient estimation technique for individual parameters within a PQC. This represents the first implementation, to our knowledge, that departs from the conventional practice of uniformly applying a single method to all parameters. Through rigorous numerical experiments, we demonstrate the effectiveness of our proposed first-order gradient methods, showing up to an $O(N)$ factor improvement in circuit execution count for real PQC applications. Our research contributes to the acceleration of VQA computations, offering practical utility in the NISQ era of quantum computing.

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

↑