用于训练感知器神经网络的量子线路参数综合
Parametric Synthesis of Quantum Circuits for Training Perceptron Neural Networks
摘要:
本文提出了一种用于训练感知器神经网络的量子线路参数综合方法。使用Grover算法和修改的oracle函数找到突触权重。运行这些参数合成电路训练感知器的三种不同的拓扑结构的结果进行了说明。这些电路在100量子比特的IBM量子模拟器上运行。量子线路的合成使用量子合成器“Naginata”进行,该合成器是在本工作范围内开发的,其源代码已在GitHub上发布并进一步记录。本文描述了用于训练单层感知器的量子线路综合算法。目前,量子线路主要是通过人工将逻辑元件放置在象征量子比特的线路上来创建的。创建量子线路合成器“Naginata”的目的是由于这样一个事实,即使在量子算法中的操作数量略有增加,也会导致相应的量子线路的大小显着增加。这在创建和调试这些量子线路时都造成了严重的困难。我们的量子合成器的目的是使用户有机会使用更高级别的命令来实现量子算法。这是通过为常用操作创建通用块来实现的,例如:加法器,乘法器,数字比较器(比较运算符)等。因此,用户可以通过使用这些通用块来实现量子算法,量子合成器将以所选量子计算环境支持的格式为该算法创建合适的电路。这种方法大大简化了量子算法的开发和调试过程。
英文摘要:
This paper showcases a method of parametric synthesis of quantum circuits for training perceptron neural networks. Synapse weights are found using Grover's algorithm with a modified oracle function. The results of running these parametrically synthesized circuits for training perceptrons of three different topologies are described. The circuits were run on a 100-qubit IBM quantum simulator. The synthesis of quantum circuits is carried out using quantum synthesizer "Naginata", which was developed in the scope of this work, the source code of which is published and further documented on GitHub. The article describes the quantum circuit synthesis algorithm for training single-layer perceptrons. At the moment, quantum circuits are created mainly by manually placing logic elements on lines that symbolize quantum bits. The purpose of creating Quantum Circuit Synthesizer "Naginata" was due to the fact that even with a slight increase in the number of operations in a quantum algorithm, leads to the significant increase in size of the corresponding quantum circuit. This causes serious difficulties both in creating and debugging these quantum circuits. The purpose of our quantum synthesizer is enabling users an opportunity to implement quantum algorithms using higher-level commands. This is achieved by creating generic blocks for frequently used operations such as: the adder, multiplier, digital comparator (comparison operator), etc. Thus, the user could implement a quantum algorithm by using these generic blocks, and the quantum synthesizer would create a suitable circuit for this algorithm, in a format that is supported by the chosen quantum computation environment. This approach greatly simplifies the processes of development and debugging a quantum algorithm.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。