Qmod:富有表现力的高级量子建模
Qmod: Expressive High-Level Quantum Modeling
AI总结:
针对量子编程缺乏高级抽象的问题,本文提出高级量子语言Qmod,通过数字与非数字表达式捕获算法意图,并自动化实现决策,提升灵活性与重用性。
摘要:
量子计算硬件正以极快的速度发展,然而缺乏高级编程抽象仍然是新应用开发中的一个严重瓶颈。广泛使用的框架仍依赖于门级电路描述,导致算法的功能意图在低层实现细节中丢失,并阻碍了灵活性和重用性。尽管近年来出现了各种高级量子编程语言——向更高抽象迈出了重要一步——但其中许多仍缺乏类似经典语言的表达式语法,以及对有用的量子算法惯用法的原生构造。本文介绍了Qmod,一种高级量子编程语言,旨在以自然术语捕获算法意图,同时将实现决策委托给自动化。Qmod引入了量子数值变量和表达式,包括针对紧凑表示和最佳资源使用而调整的数字定点算术。除了数字编码,Qmod还支持非数字表达式模式——相位和振幅编码——这些模式经常被量子算法利用以获得计算优势。我们描述了该语言的结构,展示了实际使用示例,并概述了在更广泛的用例中评估Qmod的未来工作。
英文摘要:
Quantum computing hardware is advancing at a rapid pace, yet the lack of high-level programming abstractions remains a serious bottleneck in the development of new applications. Widely used frameworks still rely on gate-level circuit descriptions, causing the algorithm's functional intent to become lost in low-level implementation details, and hindering flexibility and reuse. While various high-level quantum programming languages have emerged in recent years - offering a significant step toward higher abstraction - many still lack support for classical-like expression syntax, and native constructs for useful quantum algorithmic idioms. This paper presents Qmod, a high-level quantum programming language designed to capture algorithmic intent in natural terms while delegating implementation decisions to automation. Qmod introduces quantum numeric variables and expressions, including digital fixed-point arithmetic tuned for compact representations and optimal resource usage. Beyond digital encoding, Qmod also supports non-digital expression modes - phase and amplitude encoding - frequently exploited by quantum algorithms to achieve computational advantages. We describe the language's constructs, demonstrate practical usage examples, and outline future work on evaluating Qmod across a broader set of use cases.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。