TorchQuantum Case Study for Robust Quantum Circuits (Invited Paper)

Quantum Computing has attracted much research attention because of its potential to achieve fundamental speed and efficiency improvements in various domains. Among different quantum algorithms, Parameterized Quantum Circuits (PQC) for Quantum Machine Learning (QML) show promises to realize quantum a...

Full description

Saved in:
Bibliographic Details
Published in:2022 IEEE/ACM International Conference On Computer Aided Design (ICCAD) pp. 1 - 9
Main Authors: Wang, Hanrui, Liang, Zhiding, Gu, Jiaqi, Li, Zirui, Ding, Yongshan, Jiang, Weiwen, Shi, Yiyu, Pan, David Z., Chong, Frederic T., Han, Song
Format: Conference Proceeding
Language:English
Published: ACM 29.10.2022
Subjects:
ISSN:1558-2434
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Abstract Quantum Computing has attracted much research attention because of its potential to achieve fundamental speed and efficiency improvements in various domains. Among different quantum algorithms, Parameterized Quantum Circuits (PQC) for Quantum Machine Learning (QML) show promises to realize quantum advantages on the current Noisy Intermediate-Scale Quantum (NISQ) Machines. Therefore, to facilitate the QML and PQC research, a recent python library called TorchQuantum has been released. It can construct, simulate, and train PQC for machine learning tasks with high speed and convenient debugging supports. Besides quantum for ML, we want to raise the community's attention on the reversed direction: ML for quantum. Specifically, the TorchQuantum library also supports using data-driven ML models to solve problems in quantum system research, such as predicting the impact of quantum noise on circuit fidelity and improving the quantum circuit compilation efficiency.This paper presents a case study of the ML for quantum part in TorchQuantum. Since estimating the noise impact on circuit reliability is an essential step toward understanding and mitigating noise, we propose to leverage classical ML to predict noise impact on circuit fidelity. Inspired by the natural graph representation of quantum circuits, we propose to leverage a graph transformer model to predict the noisy circuit fidelity. We firstly collect a large dataset with a variety of quantum circuits and obtain their fidelity on noisy simulators and real machines. Then we embed each circuit into a graph with gate and noise properties as node features, and adopt a graph transformer to predict the fidelity. We can avoid exponential classical simulation cost and efficiently estimate fidelity with polynomial complexity.Evaluated on 5 thousand random and algorithm circuits, the graph transformer predictor can provide accurate fidelity estimation with RMSE error 0.04 and outperform a simple neural network-based model by 0.02 on average. It can achieve 0.99 and 0.95 R 2 scores for random and algorithm circuits, respectively. Compared with circuit simulators, the predictor has over 200× speedup for estimating the fidelity. The datasets and predictors can be accessed in the TorchQuantum library.
AbstractList Quantum Computing has attracted much research attention because of its potential to achieve fundamental speed and efficiency improvements in various domains. Among different quantum algorithms, Parameterized Quantum Circuits (PQC) for Quantum Machine Learning (QML) show promises to realize quantum advantages on the current Noisy Intermediate-Scale Quantum (NISQ) Machines. Therefore, to facilitate the QML and PQC research, a recent python library called TorchQuantum has been released. It can construct, simulate, and train PQC for machine learning tasks with high speed and convenient debugging supports. Besides quantum for ML, we want to raise the community's attention on the reversed direction: ML for quantum. Specifically, the TorchQuantum library also supports using data-driven ML models to solve problems in quantum system research, such as predicting the impact of quantum noise on circuit fidelity and improving the quantum circuit compilation efficiency.This paper presents a case study of the ML for quantum part in TorchQuantum. Since estimating the noise impact on circuit reliability is an essential step toward understanding and mitigating noise, we propose to leverage classical ML to predict noise impact on circuit fidelity. Inspired by the natural graph representation of quantum circuits, we propose to leverage a graph transformer model to predict the noisy circuit fidelity. We firstly collect a large dataset with a variety of quantum circuits and obtain their fidelity on noisy simulators and real machines. Then we embed each circuit into a graph with gate and noise properties as node features, and adopt a graph transformer to predict the fidelity. We can avoid exponential classical simulation cost and efficiently estimate fidelity with polynomial complexity.Evaluated on 5 thousand random and algorithm circuits, the graph transformer predictor can provide accurate fidelity estimation with RMSE error 0.04 and outperform a simple neural network-based model by 0.02 on average. It can achieve 0.99 and 0.95 R 2 scores for random and algorithm circuits, respectively. Compared with circuit simulators, the predictor has over 200× speedup for estimating the fidelity. The datasets and predictors can be accessed in the TorchQuantum library.
Author Pan, David Z.
Han, Song
Ding, Yongshan
Chong, Frederic T.
Liang, Zhiding
Wang, Hanrui
Li, Zirui
Jiang, Weiwen
Gu, Jiaqi
Shi, Yiyu
Author_xml – sequence: 1
  givenname: Hanrui
  surname: Wang
  fullname: Wang, Hanrui
  organization: MIT
– sequence: 2
  givenname: Zhiding
  surname: Liang
  fullname: Liang, Zhiding
  organization: Univ. of Notre Dame
– sequence: 3
  givenname: Jiaqi
  surname: Gu
  fullname: Gu, Jiaqi
  organization: Univ. of Taxes at Austin
– sequence: 4
  givenname: Zirui
  surname: Li
  fullname: Li, Zirui
  organization: Rutgers Univ
– sequence: 5
  givenname: Yongshan
  surname: Ding
  fullname: Ding, Yongshan
  organization: Yale Univ
– sequence: 6
  givenname: Weiwen
  surname: Jiang
  fullname: Jiang, Weiwen
  organization: George Mason Univ
– sequence: 7
  givenname: Yiyu
  surname: Shi
  fullname: Shi, Yiyu
  organization: Univ. of Notre Dame
– sequence: 8
  givenname: David Z.
  surname: Pan
  fullname: Pan, David Z.
  organization: Univ. of Taxes at Austin
– sequence: 9
  givenname: Frederic T.
  surname: Chong
  fullname: Chong, Frederic T.
  organization: Univ. of Chicago
– sequence: 10
  givenname: Song
  surname: Han
  fullname: Han, Song
  organization: MIT
BookMark eNo9jE1Lw0AUAFdRsNaevXjYox5S39uP7MtRQtVCwa96LpvsW4zYpGwSof_eguJpYAbmXJy0XctCXCLMEY291RZIWzXXNkdEOhKzwtEhgC4UOnMsJmgtZcpocyZmff8JAIocOgcTUa67VH-8jL4dxq0sfc_ybRjDXsYuydeuGvtB_tcm1WMz9PJ62X43Awf57Hecbi7EafRfPc_-OBXv94t1-Zitnh6W5d0q88rQkJGrotKmMFWgImoIIfiIlgBDHiqsrWUN7A04JqjY-IOLxntSkbWpSU_F1e-3YebNLjVbn_YbBMgLAqV_AM10TK4
ContentType Conference Proceeding
DBID 6IE
6IH
CBEJK
RIE
RIO
DOI 10.1145/3508352.3561118
DatabaseName IEEE Electronic Library (IEL) Conference Proceedings
IEEE Proceedings Order Plan (POP) 1998-present by volume
IEEE Xplore All Conference Proceedings
IEEE Electronic Library (IEL)
IEEE Proceedings Order Plans (POP) 1998-present
DatabaseTitleList
Database_xml – sequence: 1
  dbid: RIE
  name: IEEE Electronic Library (IEL)
  url: https://ieeexplore.ieee.org/
  sourceTypes: Publisher
DeliveryMethod fulltext_linktorsrc
Discipline Engineering
EISBN 9781450392174
1450392172
EISSN 1558-2434
EndPage 9
ExternalDocumentID 10069802
Genre orig-research
GroupedDBID 6IE
6IF
6IH
6IL
6IN
AAWTH
ABLEC
ADZIZ
ALMA_UNASSIGNED_HOLDINGS
BEFXN
BFFAM
BGNUA
BKEBE
BPEOZ
CBEJK
CHZPO
FEDTE
IEGSK
IJVOP
M43
OCL
RIE
RIL
RIO
ID FETCH-LOGICAL-a248t-87bf23494bd89f30dddaf15801d6db1c55e30ea407e80be4ab1cf4aa82fe34c83
IEDL.DBID RIE
ISICitedReferencesCount 1
ISICitedReferencesURI http://www.webofscience.com/api/gateway?GWVersion=2&SrcApp=Summon&SrcAuth=ProQuest&DestLinkType=CitingArticles&DestApp=WOS_CPL&KeyUT=000981574300135&url=https%3A%2F%2Fcvtisr.summon.serialssolutions.com%2F%23%21%2Fsearch%3Fho%3Df%26include.ft.matches%3Dt%26l%3Dnull%26q%3D
IngestDate Wed Aug 27 02:46:16 EDT 2025
IsPeerReviewed false
IsScholarly true
Language English
LinkModel DirectLink
MergedId FETCHMERGED-LOGICAL-a248t-87bf23494bd89f30dddaf15801d6db1c55e30ea407e80be4ab1cf4aa82fe34c83
PageCount 9
ParticipantIDs ieee_primary_10069802
PublicationCentury 2000
PublicationDate 2022-Oct.-29
PublicationDateYYYYMMDD 2022-10-29
PublicationDate_xml – month: 10
  year: 2022
  text: 2022-Oct.-29
  day: 29
PublicationDecade 2020
PublicationTitle 2022 IEEE/ACM International Conference On Computer Aided Design (ICCAD)
PublicationTitleAbbrev ICCAD
PublicationYear 2022
Publisher ACM
Publisher_xml – name: ACM
SSID ssj0002871770
ssj0020286
Score 2.3881288
Snippet Quantum Computing has attracted much research attention because of its potential to achieve fundamental speed and efficiency improvements in various domains....
SourceID ieee
SourceType Publisher
StartPage 1
SubjectTerms Costs
Libraries
Machine learning
Prediction algorithms
Predictive models
Quantum system
Transformers
Title TorchQuantum Case Study for Robust Quantum Circuits (Invited Paper)
URI https://ieeexplore.ieee.org/document/10069802
WOSCitedRecordID wos000981574300135&url=https%3A%2F%2Fcvtisr.summon.serialssolutions.com%2F%23%21%2Fsearch%3Fho%3Df%26include.ft.matches%3Dt%26l%3Dnull%26q%3D
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwlV09T8MwELWgYoCFryLKlzwwwJASf6Sx54oKlqqgInWr7PgsdSCp0qQS_55zGkoXBrboskQXx_fu4vceIfeJZA4E89ib2DC6EXGkMgmR9D423IADbRqziXQ8VrOZnrRk9YYLAwDN4TPoh8vmX74rsjqMyvALjwdaBenI_TRNN2St7UAlQP80LL6228LAoNXyYTJ5EkkDNvoCAQMLFh87ZipNLRkd__MpTkj3l5VHJ9t6c0r2ID8jRzuCgudkOC1w3b7VmK76kw6xQtFwUPCLIjSl74WtVxXd3l2UWb2oVvThNV8H4EknZgnlY5d8jJ6nw5eotUmIDJeqwv3Meh5UZqxT2ovYOWc8S7D0BLMoliUJiBgMdm6gYgvSYMxLYxT3IGSmxAXp5EUOl4Q65r2wOjMasHPgVjsrpfEuiOhh3YIe6YZ8zJcbJYz5Tyqu_ohfk0Me6AK413N9QzpVWcMtOcjW1WJV3jXv7xtg95tx
linkProvider IEEE
linkToHtml http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwlV09T8MwELUQIAELX0V844EBhpT4I609V1StKFVBRepW2fFZ6kBSpUkl_j22G0oXBrboskQXx_fu4vceQvcJJwYYsa430X50w-JIpBwibm2sqAIDUgWzifZwKCYTOarJ6oELAwDh8Bk0_WX4l2_ytPKjMveFxy0pvHTkTsI5JSu61nqk4sF_2y-_ut9ygVat5kN48sSSADeazEEG4k0-NuxUQjXpHv7zOY5Q45eXh0frinOMtiA7QQcbkoKnqDPO3cp9q1zCqk_ccTUK-6OCX9iBU_ye62pR4vXdWZFWs3KBH_rZ0kNPPFJzKB4b6KP7PO70otooIVKUi9LtaNpSrzOjjZCWxcYYZUniio-3iyJpkgCLQbneDUSsgSsXs1wpQS0wngp2hrazPINzhA2xlmmZKgmud6BaGs25ssbL6LnKBReo4fMxna-0MKY_qbj8I36H9nrj18F00B--XKF96skDbuen8hptl0UFN2g3XZazRXEb3uU3qIWeuA
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=proceeding&rft.title=2022+IEEE%2FACM+International+Conference+On+Computer+Aided+Design+%28ICCAD%29&rft.atitle=TorchQuantum+Case+Study+for+Robust+Quantum+Circuits+%28Invited+Paper%29&rft.au=Wang%2C+Hanrui&rft.au=Liang%2C+Zhiding&rft.au=Gu%2C+Jiaqi&rft.au=Li%2C+Zirui&rft.date=2022-10-29&rft.pub=ACM&rft.eissn=1558-2434&rft.spage=1&rft.epage=9&rft_id=info:doi/10.1145%2F3508352.3561118&rft.externalDocID=10069802