arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2210.03680quant-phcs.ET
收藏

QParallel:用于量子计算机编程的显式并行性

QParallel: Explicit Parallelism for Programming Quantum Computers

Thomas Häner, Vadym Kliuchnikov, Martin Roetteler, Mathias Soeken, Alexander Vaschillo

AI总结:

提出用于并行量子编程的语言扩展QParallel,通过防止编译器引入抑制并行性的依赖关系来消除并行歧义并支持时空权衡研究,基于Q#实现原型并引入工具指导并行区域放置,提升量子程序性能。

摘要:

我们提出了一种用于并行量子编程的语言扩展,旨在(1)消除当前量子编程语言中关于并行性的歧义,并(2)促进量子计算中时空权衡的研究。虽然经典计算领域中类似库(OpenMP、OpenACC等)的重点是将计算划分为多个线程,但QParallel的主要目标是防止编译器和运行时系统引入抑制并行性的依赖关系,例如通过自动量子比特管理中的量子比特重用。我们描述了所提出语言扩展的语法和语义,基于Q#实现了一个原型,并展示了几个示例和用例以说明其性能优势。此外,我们引入了一个工具,通过识别最能从并行化中受益的子程序来指导程序员放置并行区域,这在程序员对源代码知识有限时特别有用。对QParallel的支持可以添加到任何多线程库和语言扩展中,包括OpenMP和OpenACC。

英文摘要:

We present a language extension for parallel quantum programming to (1) remove ambiguities concerning parallelism in current quantum programming languages and (2) facilitate space-time tradeoff investigations in quantum computing. While the focus of similar libraries in the domain of classical computing (OpenMP, OpenACC, etc.) is to divide a computation into multiple threads, the main goal of QParallel is to keep the compiler and the runtime system from introducing parallelism-inhibiting dependencies, e.g., through reuse of qubits in automatic qubit management. We describe the syntax and semantics of the proposed language extension, implement a prototype based on Q#, and present several examples and use cases to illustrate its performance benefits. Moreover, we introduce a tool that guides programmers in the placement of parallel regions by identifying the subroutines that profit most from parallelization, which is especially useful if the programmer's knowledge of the source code is limited. Support for QParallel can be added to any multithreading library and language extension, including OpenMP and OpenACC.

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

↑