QuantumCircuitOpt: An Open-source Framework for Provably Optimal Quantum Circuit Design

Harsha Nagarajan, Owen Lockwood, Carleton Coffrin
{"title":"QuantumCircuitOpt: An Open-source Framework for Provably Optimal Quantum Circuit Design","authors":"Harsha Nagarajan, Owen Lockwood, Carleton Coffrin","doi":"10.1109/QCS54837.2021.00010","DOIUrl":null,"url":null,"abstract":"In recent years, the quantum computing community has seen an explosion of novel methods to implement non-trivial quantum computations on near-term hardware. An important direction of research has been to decompose an arbitrary entangled state, represented as a unitary, into a quantum circuit, that is, a sequence of gates supported by a quantum processor. It has been well known that circuits with longer decompositions and more entangling multi-qubit gates are error-prone for the current noisy, intermediate-scale quantum devices. To this end, there has been a significant interest to develop heuristic-based methods to discover compact circuits. We contribute to this effort by proposing QuantumCircuitOpt (QCOpt), a novel open-source framework which implements mathematical optimization formulations and algorithms for decomposing arbitrary unitary gates into a sequence of hardware-native gates. A core innovation of QCOpt is that it provides optimality guarantees on the quantum circuits that it produces. In particular, we show that QCOpt can find up to 57% reduction in the number of necessary gates on circuits with up to four qubits, and in run times less than a few minutes on commodity computing hardware. We also validate the efficacy of QCOpt as a tool for quantum circuit design in comparison with a naive brute-force enumeration algorithm. We also show how the QCOpt package can be adapted to various built-in types of native gate sets, based on different hardware platforms like those produced by IBM, Rigetti and Google. We hope this package will facilitate further algorithmic exploration for quantum processor designers, as well as quantum physicists.","PeriodicalId":432600,"journal":{"name":"2021 IEEE/ACM Second International Workshop on Quantum Computing Software (QCS)","volume":"44 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"9","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE/ACM Second International Workshop on Quantum Computing Software (QCS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/QCS54837.2021.00010","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 9

Abstract

In recent years, the quantum computing community has seen an explosion of novel methods to implement non-trivial quantum computations on near-term hardware. An important direction of research has been to decompose an arbitrary entangled state, represented as a unitary, into a quantum circuit, that is, a sequence of gates supported by a quantum processor. It has been well known that circuits with longer decompositions and more entangling multi-qubit gates are error-prone for the current noisy, intermediate-scale quantum devices. To this end, there has been a significant interest to develop heuristic-based methods to discover compact circuits. We contribute to this effort by proposing QuantumCircuitOpt (QCOpt), a novel open-source framework which implements mathematical optimization formulations and algorithms for decomposing arbitrary unitary gates into a sequence of hardware-native gates. A core innovation of QCOpt is that it provides optimality guarantees on the quantum circuits that it produces. In particular, we show that QCOpt can find up to 57% reduction in the number of necessary gates on circuits with up to four qubits, and in run times less than a few minutes on commodity computing hardware. We also validate the efficacy of QCOpt as a tool for quantum circuit design in comparison with a naive brute-force enumeration algorithm. We also show how the QCOpt package can be adapted to various built-in types of native gate sets, based on different hardware platforms like those produced by IBM, Rigetti and Google. We hope this package will facilitate further algorithmic exploration for quantum processor designers, as well as quantum physicists.
QuantumCircuitOpt:一个可证明的最优量子电路设计的开源框架
近年来,量子计算社区看到了在近期硬件上实现非平凡量子计算的新方法的爆炸式增长。一个重要的研究方向是将任意纠缠态(表示为酉态)分解成量子电路,即由量子处理器支持的一系列门。众所周知,对于目前嘈杂的中规模量子器件来说,具有更长的分解时间和更多纠缠的多量子位门的电路容易出错。为此,人们对开发基于启发式的方法来发现紧凑电路非常感兴趣。为此,我们提出了QuantumCircuitOpt (QCOpt),这是一个新颖的开源框架,它实现了将任意单一门分解为一系列硬件原生门的数学优化公式和算法。QCOpt的一个核心创新是它为其生产的量子电路提供了最优性保证。特别是,我们表明QCOpt可以在多达四个量子比特的电路上减少57%的必要门的数量,并且在商用计算硬件上的运行时间不到几分钟。我们还验证了QCOpt作为量子电路设计工具的有效性,并与朴素的暴力枚举算法进行了比较。我们还展示了QCOpt包如何适应基于不同硬件平台(如IBM、Rigetti和谷歌生产的硬件平台)的各种内置类型的本机门集。我们希望这个包将促进量子处理器设计者和量子物理学家进一步的算法探索。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信