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

量子类型:超越量子比特与量子门

Quantum types: going beyond qubits and quantum gates

Tamás Varga, Yaiza Aragonés-Soria, Manuel Oriol

AI总结:

针对量子编程门槛高、普通开发者难设计新量子算法的问题,本文提出在开发者友好的Rhyme语言中引入扩展自经典类型的高层量子类型抽象,并附代码示例说明用法,降低量子编程的上手难度。

摘要:

量子计算是一个发展迅速、应用潜力巨大的领域。学习编写量子程序需要理解量子比特的工作原理并掌握量子门的使用,这类似于用逻辑门和比特构建经典算法。即便掌握了所有相关概念,开发者仍难以设计新算法,这阻碍了大多数开发者接受量子编程。本文阐述了引入更高层级抽象的必要性,并在一款对开发者友好的编程语言Rhyme中提出了若干此类抽象。这些新型量子类型是对经典类型的扩展,涵盖比特、整数、浮点数、字符、数组与字符串,我们还通过代码片段展示了这类类型的使用方式。

英文摘要:

Quantum computing is a growing field with significant potential applications. Learning how to code quantum programs means understanding how qubits work and learning to use quantum gates. This is analogous to creating classical algorithms using logic gates and bits. Even after learning all concepts, it is difficult to create new algorithms, which hinders the acceptance of quantum programming by most developers. This article outlines the need for higher-level abstractions and proposes some of them in a developer-friendly programming language called Rhyme. The new quantum types are extensions of classical types, including bits, integers, floats, characters, arrays, and strings. We show how to use such types with code snippets.

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

↑