arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2210.11786quant-phcs.ETcs.PL
收藏

量子算术函数的量子数表的Q#实现

A Q# Implementation of a Quantum Lookup Table for Quantum Arithmetic Functions

Rajiv Krishnakumar, Mathias Soeken, Martin Roetteler, William J. Zeng

摘要:

在本文中,我们提出了Q#实现的任意单变量定点算术运算的门为基础的量子计算机基于查找表(LUT)。一般来说,这是一种低效的实现函数的方法,因为输入的数量可能很大,甚至是无限的。然而,如果输入域可以是有界的并且在输出中可以存在一些误差容限(这两者在实际使用情况中通常是这种情况),则某些量子算术函数的量子LUT实现可以比它们对应的可逆算术实现更有效。我们讨论了使用Q #的LUT的实现及其近似误差。然后,我们展示了如何使用LUT来实现量子算术函数的示例,并将实现所需的资源与当前最先进的一些常用算术函数的定制实现进行了比较。LUT的实现被设计成供从业者在实现端到端量子算法时使用。此外,考虑到其定义良好的近似误差,LUT实现为评估定制量子算术电路的效率提供了明确的基准。

英文摘要:

In this paper, we present Q# implementations for arbitrary single-variabled fixed-point arithmetic operations for a gate-based quantum computer based on lookup tables (LUTs). In general, this is an inefficent way of implementing a function since the number of inputs can be large or even infinite. However, if the input domain can be bounded and there can be some error tolerance in the output (both of which are often the case in practical use-cases), the quantum LUT implementation of certain quantum arithmetic functions can be more efficient than their corresponding reversible arithmetic implementations. We discuss the implementation of the LUT using Q\# and its approximation errors. We then show examples of how to use the LUT to implement quantum arithmetic functions and compare the resources required for the implementation with the current state-of-the-art bespoke implementations of some commonly used arithmetic functions. The implementation of the LUT is designed for use by practitioners to use when implementing end-to-end quantum algorithms. In addition, given its well-defined approximation errors, the LUT implementation makes for a clear benchmark for evaluating the efficiency of bespoke quantum arithmetic circuits .

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

↑