The development of variational quantum algorithms is crucial for the application of NISQ computers. Such algorithms require short quantum circuits, which are more amenable to implementation on near-term hardware, and many such methods have been developed. One of particular interest is the so-called the variational diagonalization method, which constitutes an important algorithmic subroutine, and it can be used directly for working with data encoded in quantum states. In particular, it can be applied to discern the features of quantum states, such as entanglement properties of a system, or in quantum machine learning algorithms. In this work, we tackle the problem of designing a very shallow quantum circuit, required in the quantum state diagonalization task, by utilizing reinforcement learning. To achieve this, we utilize a novel encoding method that can be used to tackle the problem of circuit depth optimization using a reinforcement learning approach. We demonstrate that our approach provides a solid approximation to the diagonalization task while using a small number of gates. The circuits proposed by the reinforcement learning methods are shallower than the standard variational quantum state diagonalization algorithm, and thus can be used in situations where the depth of quantum circuits is limited by the hardware capabilities.
翻译:变分量子算法的开发对于NISQ计算机的应用至关重要。这类算法需要较短的量子电路,更适用于近期的硬件实现,目前已开发出多种此类方法。其中特别值得关注的是所谓的变分对角化方法,这是一种重要的算法子程序,可直接用于处理编码在量子态中的数据。具体而言,该方法可用于识别量子态的特征(如系统的纠缠性质),或在量子机器学习算法中发挥作用。本研究通过利用强化学习,解决了量子态对角化任务中所需极浅量子电路的设计问题。为实现这一目标,我们采用了一种新颖的编码方法,该方法可用于通过强化学习途径处理电路深度优化问题。实验证明,我们的方法能够在仅使用少量量子门的情况下,为对角化任务提供可靠的近似解。由强化学习方法生成的电路比标准变分量子态对角化算法更浅,因此可用于量子电路深度受硬件能力限制的场景。