Weaver: A Retargetable Compiler Framework for FPQA Quantum Architectures

Oğuzcan Kırmemiş, Francisco Romão, Emmanouil Giortamis, Pramod Bhatotia
{"title":"Weaver: A Retargetable Compiler Framework for FPQA Quantum Architectures","authors":"Oğuzcan Kırmemiş, Francisco Romão, Emmanouil Giortamis, Pramod Bhatotia","doi":"arxiv-2409.07870","DOIUrl":null,"url":null,"abstract":"While the prominent quantum computing architectures are based on\nsuperconducting technology, new quantum hardware technologies are emerging,\nsuch as Trapped Ions, Neutral Atoms (or FPQAs), Silicon Spin Qubits, etc. This\ndiverse set of technologies presents fundamental trade-offs in terms of\nscalability, performance, manufacturing, and operating expenses. To manage\nthese diverse quantum technologies, there is a growing need for a retargetable\ncompiler that can efficiently adapt existing code to these emerging hardware\nplatforms. Such a retargetable compiler must be extensible to support new and\nrapidly evolving technologies, performant with fast compilation times and\nhigh-fidelity execution, and verifiable through rigorous equivalence checking\nto ensure the functional equivalence of the retargeted code. To this end, we present $Weaver$, the first extensible, performant, and\nverifiable retargetable quantum compiler framework with a focus on FPQAs due to\ntheir unique, promising features. $Weaver$ introduces WQASM, the first formal\nextension of the standard OpenQASM quantum assembly with FPQA-specific\ninstructions to support their distinct capabilities. Next, $Weaver$ implements\nthe WOptimizer, an extensible set of FPQA-specific optimization passes to\nimprove execution quality. Last, the WChecker automatically checks for\nequivalence between the original and the retargeted code. Our evaluation shows\nthat $Weaver$ improves compilation times by $10^3\\times$, execution times by\n$4.4\\times$, and execution fidelity by $10\\%$, on average, compared to\nsuperconducting and state-of-the-art (non-retargetable) FPQA compilers.","PeriodicalId":501226,"journal":{"name":"arXiv - PHYS - Quantum Physics","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-09-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - PHYS - Quantum Physics","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.07870","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

While the prominent quantum computing architectures are based on superconducting technology, new quantum hardware technologies are emerging, such as Trapped Ions, Neutral Atoms (or FPQAs), Silicon Spin Qubits, etc. This diverse set of technologies presents fundamental trade-offs in terms of scalability, performance, manufacturing, and operating expenses. To manage these diverse quantum technologies, there is a growing need for a retargetable compiler that can efficiently adapt existing code to these emerging hardware platforms. Such a retargetable compiler must be extensible to support new and rapidly evolving technologies, performant with fast compilation times and high-fidelity execution, and verifiable through rigorous equivalence checking to ensure the functional equivalence of the retargeted code. To this end, we present $Weaver$, the first extensible, performant, and verifiable retargetable quantum compiler framework with a focus on FPQAs due to their unique, promising features. $Weaver$ introduces WQASM, the first formal extension of the standard OpenQASM quantum assembly with FPQA-specific instructions to support their distinct capabilities. Next, $Weaver$ implements the WOptimizer, an extensible set of FPQA-specific optimization passes to improve execution quality. Last, the WChecker automatically checks for equivalence between the original and the retargeted code. Our evaluation shows that $Weaver$ improves compilation times by $10^3\times$, execution times by $4.4\times$, and execution fidelity by $10\%$, on average, compared to superconducting and state-of-the-art (non-retargetable) FPQA compilers.
韦弗用于 FPQA 量子架构的可重目标编译器框架
虽然著名的量子计算架构都是基于超导技术,但新的量子硬件技术也在不断涌现,如俘获离子、中性原子(或 FPQAs)、硅自旋量子位等。这一系列多样化的技术在可扩展性、性能、制造和运营成本等方面提出了根本性的权衡。为了管理这些多样化的量子技术,人们越来越需要一种可重定向的编译器,它能有效地将现有代码调整到这些新兴的硬件平台上。这种可重定向编译器必须具有可扩展性,以支持快速发展的新技术;必须具有快速编译和高保真执行的性能;必须能够通过严格的等效性检查进行验证,以确保重定向代码的功能等效性。为此,我们提出了$Weaver$,它是第一个可扩展、高性能和可验证的可重定向量子编译器框架,重点关注FPQAs,因为它们具有独特而有前途的特性。Weaver引入了WQASM,它是标准OpenQASM量子汇编的首个形式扩展,带有FPQA专用指令,以支持它们的独特功能。接下来,Weaver$ 实现了 WOptimizer,这是一套可扩展的 FPQA 特定优化程序,用于提高执行质量。最后,WChecker 会自动检查原始代码和重定向代码之间的等价性。我们的评估结果表明,与超导编译器和最先进的(非重定向)FPQA编译器相比,Weaver编译器的编译时间平均缩短了10^3次,执行时间缩短了4.4次,执行保真度平均提高了10%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信