使用QIR和LLVM通道在Microsoft的Quantum开发工具包中自动生成oracle
Automatic oracle generation in Microsoft's Quantum Development Kit using QIR and LLVM passes
摘要:
自动预言机生成技术可以为量子算法中的经典组件找到优化的量子线路。然而,大多数实现的预言机生成技术要求,经典的组成部分表示在一个传统的逻辑表示,如逻辑网络,真值表,或决策图。我们实现了LLVM通道,可以自动生成表示经典Q#函数的QIR函数,并将其转换为量子实现此类函数的QIR代码。我们正在使用最先进的逻辑优化和Oracle生成技术的基础上异或与图为此目的。这不仅能够在更高的抽象级别上更自然地描述量子算法,而且还能够实现依赖于技术或特定于应用的预言机生成。
英文摘要:
Automatic oracle generation techniques can find optimized quantum circuits for classical components in quantum algorithms. However, most implementations of oracle generation techniques require that the classical component is expressed in terms of a conventional logic representation such as logic networks, truth tables, or decision diagrams. We implemented LLVM passes that can automatically generate QIR functions representing classical Q# functions into QIR code implementing such functions quantumly. We are using state-of-the-art logic optimization and oracle generation techniques based on XOR-AND graphs for this purpose. This enables not only a more natural description of the quantum algorithm on a higher level of abstraction, but also enables technology-dependent or application-specific generation of the oracles.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。