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

构建可重用量子预言机的一些初步指导方针

Some Initial Guidelines for Building Reusable Quantum Oracles

Javier Sanchez-Rivero, Daniel Talaván, Jose Garcia-Alonso, Antonio Ruiz-Cortés, Juan Manuel Murillo

摘要:

量子硬件的发展凸显了量子软件工程的进步,帮助开发人员创建具有高质量属性的量子软件。具体来说,可重用性传统上被认为是一个重要的质量属性,在成本和工作效率方面。提高量子软件的可重用性将有助于开发人员通过重用具有更好质量属性的简单组件来创建更复杂的解决方案,只要重用的组件也具有这些属性。这项工作的重点是预言机的可重用性,这是一种众所周知的量子算法模式,可用于执行其他算法用作输入的功能。特别是,在这项工作中,我们提出了几个准则,使可重复使用的量子预言机。这些准则包括三个不同层次的Oracle重用:启发Oracle的思想,创建Oracle的功能,以及Oracle本身。为了演示这些准则,通过重用更简单的oracle,构建了一系列整数oracle的两个不同实现。这些实现的质量进行评估的功能和量子线路的深度。然后,我们提供了一个文档的例子,按照建议的指导方针,这两个实现,以促进重用所提供的甲骨文。这项工作旨在成为量子软件可重用性的第一个讨论点。需要做更多的工作来建立量子软件可重用性的更具体的标准。

英文摘要:

The evolution of quantum hardware is highlighting the need for advances in quantum software engineering that help developers create quantum software with good quality attributes. Specifically, reusability has been traditionally considered an important quality attribute in terms of efficiency of cost and effort. Increasing the reusability of quantum software will help developers create more complex solutions, by reusing simpler components, with better quality attributes, as long as the reused components have also these attributes. This work focuses on the reusability of oracles, a well-known pattern of quantum algorithms that can be used to perform functions used as input by other algorithms. In particular, in this work, we present several guidelines for making reusable quantum oracles. These guidelines include three different levels for oracle reuse: the ideas inspiring the oracle, the function which creates the oracle, and the oracle itself. To demonstrate these guidelines, two different implementations of a range of integers oracle have been built by reusing simpler oracles. The quality of these implementations is evaluated in terms of functionality and quantum circuit depth. Then, we provide an example of documentation following the proposed guidelines for both implementations to foster reuse of the provided oracles. This work aims to be a first point of discussion towards quantum software reusability. Additional work is needed to establish more specific criteria for quantum software reusability.

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

↑