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

ASDF:Qwerty(一种基于基底的量子编程语言)的编译器

ASDF: A Compiler for Qwerty, a Basis-Oriented Quantum Programming Language

Austin J. Adams, Sharjeel Khan, Arjun S. Bhamra, Ryan R. Abusaada, Anthony M. Cabrera, Cameron C. Hoechst, Travis S. Humble, Jeffrey S. Young, Thomas M. Conte

AI总结:

本文介绍ASDF,一个基于MLIR的Qwerty语言编译器,通过高级量子IR从基底转换综合电路,生成OpenQASM 3或QIR,其容错资源成本与现有电路级编译器相当。

摘要:

Qwerty是一种基于基底和函数而非电路构建的高级量子编程语言。这一新范式给编译带来了新的挑战,即从基底转换中综合电路,以及自动特化函数的伴随形式或谓词形式。本文介绍了ASDF,一个开源的Qwerty编译器,它解决了编译基于基底的语言时面临的这些挑战。借助在MLIR框架中实现的一种新颖的高级量子中间表示(IR),我们的编译器能够生成OpenQASM 3或QIR,用于模拟或在硬件上执行。我们通过将生成的电路的容错资源需求与其他编译器进行比较来评估我们的编译器,发现ASDF生成的电路与先前的面向电路的编译器相比,成本相当。

英文摘要:

Qwerty is a high-level quantum programming language built on bases and functions rather than circuits. This new paradigm introduces new challenges in compilation, namely synthesizing circuits from basis translations and automatically specializing adjoint or predicated forms of functions. This paper presents ASDF, an open-source compiler for Qwerty that answers these challenges in compiling basis-oriented languages. Enabled with a novel high-level quantum IR implemented in the MLIR framework, our compiler produces OpenQASM 3 or QIR for either simulation or execution on hardware. Our compiler is evaluated by comparing the fault-tolerant resource requirements of generated circuits with other compilers, finding that ASDF produces circuits with comparable cost to prior circuit-oriented compilers.

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

↑