Many near-term quantum computing algorithms are conceived as variational quantum algorithms, in which parameterized quantum circuits are optimized in a hybrid quantum-classical setup. Examples are variational quantum eigensolvers, quantum approximate optimization algorithms as well as various algorithms in the context of quantum-assisted machine learning. A common bottleneck of any such algorithm is constituted by the optimization of the variational parameters. A popular set of optimization methods work on the estimate of the gradient, obtained by means of circuit evaluations. We will refer to the way in which one can combine these circuit evaluations as gradient rules. This work provides a comprehensive picture of the family of gradient rules that vary parameters of quantum gates individually. The most prominent known members of this family are the parameter shift rule and the finite differences method. To unite this family, we propose a generalized parameter shift rule that expresses all members of the aforementioned family as special cases, and discuss how all of these can be seen as providing access to a linear combination of exact first- and second-order derivatives. We further prove that a parameter shift rule with one non-shifted evaluation and only one shifted circuit evaluation can not exist does not exist, and introduce a novel perspective for approaching new gradient rules.
翻译:许多近期量子计算算法被视为变量量算法,在这种算法中,参数化量子电路在混合量子古典结构中得到优化,例如变量量量量子单质、量子近似优化算法以及在量子辅助机器学习过程中的各种算法。任何这种算法的共同瓶颈是通过优化变量参数构成的。一套广受欢迎的优化方法对通过电路评估获得的梯度估计法进行了工作。我们将提到如何将这些电路评估结合为梯度规则。这项工作全面描绘了单项量子门参数变化的梯度规则。这一组中最著名的成员是参数变化规则和有限差异方法。为了将这一组结合到一起,我们提出了一种通用参数变化规则,将上述所有家庭成员作为特殊案例来表示,并讨论所有这些方法如何被视为提供了精确的第一等和第二等级衍生物的线性组合。我们进一步证明,一种非转移性评估的参数转换规则不可能存在,而只有一种转变的电路评估方法则不会存在。