论文标题
量子优势寻求内核(Quask):一个软件框架,以加快量子机学习的研究
Quantum Advantage Seeker with Kernels (QuASK): a software framework to speed up the research in quantum machine learning
论文作者
论文摘要
利用量子信息的属性为机器学习模型的利益,这可能是量子计算中最活跃的研究领域。这种兴趣支持开发多种软件框架(例如Qiskit,Pennylane,Braket)来实现,模拟和执行量子算法。它们中的大多数允许我们定义量子电路,运行基本的量子算法并根据硬件应该运行的硬件访问低级原始词。对于大多数实验,这些框架必须在较大的机器学习软件管道中手动集成。研究人员负责了解不同的软件包,通过开发长代码脚本,分析结果并生成图来整合它们。长期代码通常会导致错误的应用程序,这是因为与程序长度相对于程序长度成正比的错误数量的平均数量。此外,由于需要熟悉代码脚本中涉及的所有不同软件框架,因此其他研究人员将很难理解和复制实验。我们提出了Quask,这是一种用Python编写的开源量子机学习框架,可帮助研究人员执行实验,特别关注量子内核技术。问题可以用作下载数据集,预处理,量子机器学习例程,分析和可视化结果的命令行工具。问题实现了大多数最先进的算法,以通过量子内核分析数据,并有可能使用投影核,(梯度)可训练的量子核和结构优化的量子内核。我们的框架也可以用作库,并将其集成到现有的软件中,从而最大程度地重复使用代码。
Exploiting the properties of quantum information to the benefit of machine learning models is perhaps the most active field of research in quantum computation. This interest has supported the development of a multitude of software frameworks (e.g. Qiskit, Pennylane, Braket) to implement, simulate, and execute quantum algorithms. Most of them allow us to define quantum circuits, run basic quantum algorithms, and access low-level primitives depending on the hardware such software is supposed to run. For most experiments, these frameworks have to be manually integrated within a larger machine learning software pipeline. The researcher is in charge of knowing different software packages, integrating them through the development of long code scripts, analyzing the results, and generating the plots. Long code often leads to erroneous applications, due to the average number of bugs growing proportional with respect to the program length. Moreover, other researchers will struggle to understand and reproduce the experiment, due to the need to be familiar with all the different software frameworks involved in the code script. We propose QuASK, an open-source quantum machine learning framework written in Python that aids the researcher in performing their experiments, with particular attention to quantum kernel techniques. QuASK can be used as a command-line tool to download datasets, pre-process them, quantum machine learning routines, analyze and visualize the results. QuASK implements most state-of-the-art algorithms to analyze the data through quantum kernels, with the possibility to use projected kernels, (gradient-descent) trainable quantum kernels, and structure-optimized quantum kernels. Our framework can also be used as a library and integrated into pre-existing software, maximizing code reuse.