Loading…

SQUARE: Strategic Quantum Ancilla Reuse for Modular Quantum Programs via Cost-Effective Uncomputation

Compiling high-level quantum programs to machines that are size constrained (i.e. limited number of quantum bits) and time constrained (i.e. limited number of quantum operations) is challenging. In this paper, we present SQUARE (Strategic QUantum Ancilla REuse), a compilation infrastructure that tac...

Full description

Saved in:
Bibliographic Details
Published in:arXiv.org 2020-06
Main Authors: Ding, Yongshan, Xin-Chuan Wu, Holmes, Adam, Ash Wiseth, Franklin, Diana, Martonosi, Margaret, Chong, Frederic T
Format: Article
Language:English
Subjects:
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
cited_by
cites
container_end_page
container_issue
container_start_page
container_title arXiv.org
container_volume
creator Ding, Yongshan
Xin-Chuan Wu
Holmes, Adam
Ash Wiseth
Franklin, Diana
Martonosi, Margaret
Chong, Frederic T
description Compiling high-level quantum programs to machines that are size constrained (i.e. limited number of quantum bits) and time constrained (i.e. limited number of quantum operations) is challenging. In this paper, we present SQUARE (Strategic QUantum Ancilla REuse), a compilation infrastructure that tackles allocation and reclamation of scratch qubits (called ancilla) in modular quantum programs. At its core, SQUARE strategically performs uncomputation to create opportunities for qubit reuse. Current Noisy Intermediate-Scale Quantum (NISQ) computers and forward-looking Fault-Tolerant (FT) quantum computers have fundamentally different constraints such as data locality, instruction parallelism, and communication overhead. Our heuristic-based ancilla-reuse algorithm balances these considerations and fits computations into resource-constrained NISQ or FT quantum machines, throttling parallelism when necessary. To precisely capture the workload of a program, we propose an improved metric, the "active quantum volume," and use this metric to evaluate the effectiveness of our algorithm. Our results show that SQUARE improves the average success rate of NISQ applications by 1.47X. Surprisingly, the additional gates for uncomputation create ancilla with better locality, and result in substantially fewer swap gates and less gate noise overall. SQUARE also achieves an average reduction of 1.5X (and up to 9.6X) in active quantum volume for FT machines.
doi_str_mv 10.48550/arxiv.2004.08539
format article
fullrecord <record><control><sourceid>proquest</sourceid><recordid>TN_cdi_proquest_journals_2392842393</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2392842393</sourcerecordid><originalsourceid>FETCH-LOGICAL-a523-8bb3b7a299004c17eab4288eca14c81be41dec8541ad83d621d54458258954b53</originalsourceid><addsrcrecordid>eNo9kF1LwzAYhYMgOOZ-gHcBrzuTN8maejdG1cFE93U93qbp6GibmY_hz3egeHVuDs95OIQ8cDaVWin2hP67vUyBMTllWonihoxACJ5pCXBHJiGcGGMwy0EpMSJ2u97PN-Uz3UaP0R5bQ9cJh5h6Oh9M23VINzYFSxvn6burU4f-v_Hp3dFjH-ilRbpwIWZl01gT24ul-8G4_pwixtYN9-S2wS7YyV-Oye6l3C3estXH63IxX2WoQGS6qkSVIxTFVd7w3GIlQWtrkEujeWUlr63RSnKstahnwGslpdKgdKFkpcSYPP5iz959JRvi4eSSH66LBxAFXB8QhRA_fYhXbg</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>2392842393</pqid></control><display><type>article</type><title>SQUARE: Strategic Quantum Ancilla Reuse for Modular Quantum Programs via Cost-Effective Uncomputation</title><source>Publicly Available Content Database</source><creator>Ding, Yongshan ; Xin-Chuan Wu ; Holmes, Adam ; Ash Wiseth ; Franklin, Diana ; Martonosi, Margaret ; Chong, Frederic T</creator><creatorcontrib>Ding, Yongshan ; Xin-Chuan Wu ; Holmes, Adam ; Ash Wiseth ; Franklin, Diana ; Martonosi, Margaret ; Chong, Frederic T</creatorcontrib><description>Compiling high-level quantum programs to machines that are size constrained (i.e. limited number of quantum bits) and time constrained (i.e. limited number of quantum operations) is challenging. In this paper, we present SQUARE (Strategic QUantum Ancilla REuse), a compilation infrastructure that tackles allocation and reclamation of scratch qubits (called ancilla) in modular quantum programs. At its core, SQUARE strategically performs uncomputation to create opportunities for qubit reuse. Current Noisy Intermediate-Scale Quantum (NISQ) computers and forward-looking Fault-Tolerant (FT) quantum computers have fundamentally different constraints such as data locality, instruction parallelism, and communication overhead. Our heuristic-based ancilla-reuse algorithm balances these considerations and fits computations into resource-constrained NISQ or FT quantum machines, throttling parallelism when necessary. To precisely capture the workload of a program, we propose an improved metric, the "active quantum volume," and use this metric to evaluate the effectiveness of our algorithm. Our results show that SQUARE improves the average success rate of NISQ applications by 1.47X. Surprisingly, the additional gates for uncomputation create ancilla with better locality, and result in substantially fewer swap gates and less gate noise overall. SQUARE also achieves an average reduction of 1.5X (and up to 9.6X) in active quantum volume for FT machines.</description><identifier>EISSN: 2331-8422</identifier><identifier>DOI: 10.48550/arxiv.2004.08539</identifier><language>eng</language><publisher>Ithaca: Cornell University Library, arXiv.org</publisher><subject>Algorithms ; Constraints ; Fault tolerance ; Heuristic methods ; Quantum computers ; Qubits (quantum computing) ; Reclamation ; Throttling ; Workload</subject><ispartof>arXiv.org, 2020-06</ispartof><rights>2020. This work is published under http://arxiv.org/licenses/nonexclusive-distrib/1.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktohtml>$$Uhttps://www.proquest.com/docview/2392842393?pq-origsite=primo$$EHTML$$P50$$Gproquest$$Hfree_for_read</linktohtml><link.rule.ids>780,784,25753,27925,37012,44590</link.rule.ids></links><search><creatorcontrib>Ding, Yongshan</creatorcontrib><creatorcontrib>Xin-Chuan Wu</creatorcontrib><creatorcontrib>Holmes, Adam</creatorcontrib><creatorcontrib>Ash Wiseth</creatorcontrib><creatorcontrib>Franklin, Diana</creatorcontrib><creatorcontrib>Martonosi, Margaret</creatorcontrib><creatorcontrib>Chong, Frederic T</creatorcontrib><title>SQUARE: Strategic Quantum Ancilla Reuse for Modular Quantum Programs via Cost-Effective Uncomputation</title><title>arXiv.org</title><description>Compiling high-level quantum programs to machines that are size constrained (i.e. limited number of quantum bits) and time constrained (i.e. limited number of quantum operations) is challenging. In this paper, we present SQUARE (Strategic QUantum Ancilla REuse), a compilation infrastructure that tackles allocation and reclamation of scratch qubits (called ancilla) in modular quantum programs. At its core, SQUARE strategically performs uncomputation to create opportunities for qubit reuse. Current Noisy Intermediate-Scale Quantum (NISQ) computers and forward-looking Fault-Tolerant (FT) quantum computers have fundamentally different constraints such as data locality, instruction parallelism, and communication overhead. Our heuristic-based ancilla-reuse algorithm balances these considerations and fits computations into resource-constrained NISQ or FT quantum machines, throttling parallelism when necessary. To precisely capture the workload of a program, we propose an improved metric, the "active quantum volume," and use this metric to evaluate the effectiveness of our algorithm. Our results show that SQUARE improves the average success rate of NISQ applications by 1.47X. Surprisingly, the additional gates for uncomputation create ancilla with better locality, and result in substantially fewer swap gates and less gate noise overall. SQUARE also achieves an average reduction of 1.5X (and up to 9.6X) in active quantum volume for FT machines.</description><subject>Algorithms</subject><subject>Constraints</subject><subject>Fault tolerance</subject><subject>Heuristic methods</subject><subject>Quantum computers</subject><subject>Qubits (quantum computing)</subject><subject>Reclamation</subject><subject>Throttling</subject><subject>Workload</subject><issn>2331-8422</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2020</creationdate><recordtype>article</recordtype><sourceid>PIMPY</sourceid><recordid>eNo9kF1LwzAYhYMgOOZ-gHcBrzuTN8maejdG1cFE93U93qbp6GibmY_hz3egeHVuDs95OIQ8cDaVWin2hP67vUyBMTllWonihoxACJ5pCXBHJiGcGGMwy0EpMSJ2u97PN-Uz3UaP0R5bQ9cJh5h6Oh9M23VINzYFSxvn6burU4f-v_Hp3dFjH-ilRbpwIWZl01gT24ul-8G4_pwixtYN9-S2wS7YyV-Oye6l3C3estXH63IxX2WoQGS6qkSVIxTFVd7w3GIlQWtrkEujeWUlr63RSnKstahnwGslpdKgdKFkpcSYPP5iz959JRvi4eSSH66LBxAFXB8QhRA_fYhXbg</recordid><startdate>20200625</startdate><enddate>20200625</enddate><creator>Ding, Yongshan</creator><creator>Xin-Chuan Wu</creator><creator>Holmes, Adam</creator><creator>Ash Wiseth</creator><creator>Franklin, Diana</creator><creator>Martonosi, Margaret</creator><creator>Chong, Frederic T</creator><general>Cornell University Library, arXiv.org</general><scope>8FE</scope><scope>8FG</scope><scope>ABJCF</scope><scope>ABUWG</scope><scope>AFKRA</scope><scope>AZQEC</scope><scope>BENPR</scope><scope>BGLVJ</scope><scope>CCPQU</scope><scope>DWQXO</scope><scope>HCIFZ</scope><scope>L6V</scope><scope>M7S</scope><scope>PIMPY</scope><scope>PQEST</scope><scope>PQQKQ</scope><scope>PQUKI</scope><scope>PRINS</scope><scope>PTHSS</scope></search><sort><creationdate>20200625</creationdate><title>SQUARE: Strategic Quantum Ancilla Reuse for Modular Quantum Programs via Cost-Effective Uncomputation</title><author>Ding, Yongshan ; Xin-Chuan Wu ; Holmes, Adam ; Ash Wiseth ; Franklin, Diana ; Martonosi, Margaret ; Chong, Frederic T</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a523-8bb3b7a299004c17eab4288eca14c81be41dec8541ad83d621d54458258954b53</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2020</creationdate><topic>Algorithms</topic><topic>Constraints</topic><topic>Fault tolerance</topic><topic>Heuristic methods</topic><topic>Quantum computers</topic><topic>Qubits (quantum computing)</topic><topic>Reclamation</topic><topic>Throttling</topic><topic>Workload</topic><toplevel>online_resources</toplevel><creatorcontrib>Ding, Yongshan</creatorcontrib><creatorcontrib>Xin-Chuan Wu</creatorcontrib><creatorcontrib>Holmes, Adam</creatorcontrib><creatorcontrib>Ash Wiseth</creatorcontrib><creatorcontrib>Franklin, Diana</creatorcontrib><creatorcontrib>Martonosi, Margaret</creatorcontrib><creatorcontrib>Chong, Frederic T</creatorcontrib><collection>ProQuest SciTech Collection</collection><collection>ProQuest Technology Collection</collection><collection>Materials Science &amp; Engineering Collection</collection><collection>ProQuest Central (Alumni Edition)</collection><collection>ProQuest Central</collection><collection>ProQuest Central Essentials</collection><collection>ProQuest Central</collection><collection>Technology Collection</collection><collection>ProQuest One Community College</collection><collection>ProQuest Central</collection><collection>SciTech Premium Collection</collection><collection>ProQuest Engineering Collection</collection><collection>Engineering Database</collection><collection>Publicly Available Content Database</collection><collection>ProQuest One Academic Eastern Edition (DO NOT USE)</collection><collection>ProQuest One Academic</collection><collection>ProQuest One Academic UKI Edition</collection><collection>ProQuest Central China</collection><collection>Engineering Collection</collection><jtitle>arXiv.org</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Ding, Yongshan</au><au>Xin-Chuan Wu</au><au>Holmes, Adam</au><au>Ash Wiseth</au><au>Franklin, Diana</au><au>Martonosi, Margaret</au><au>Chong, Frederic T</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>SQUARE: Strategic Quantum Ancilla Reuse for Modular Quantum Programs via Cost-Effective Uncomputation</atitle><jtitle>arXiv.org</jtitle><date>2020-06-25</date><risdate>2020</risdate><eissn>2331-8422</eissn><abstract>Compiling high-level quantum programs to machines that are size constrained (i.e. limited number of quantum bits) and time constrained (i.e. limited number of quantum operations) is challenging. In this paper, we present SQUARE (Strategic QUantum Ancilla REuse), a compilation infrastructure that tackles allocation and reclamation of scratch qubits (called ancilla) in modular quantum programs. At its core, SQUARE strategically performs uncomputation to create opportunities for qubit reuse. Current Noisy Intermediate-Scale Quantum (NISQ) computers and forward-looking Fault-Tolerant (FT) quantum computers have fundamentally different constraints such as data locality, instruction parallelism, and communication overhead. Our heuristic-based ancilla-reuse algorithm balances these considerations and fits computations into resource-constrained NISQ or FT quantum machines, throttling parallelism when necessary. To precisely capture the workload of a program, we propose an improved metric, the "active quantum volume," and use this metric to evaluate the effectiveness of our algorithm. Our results show that SQUARE improves the average success rate of NISQ applications by 1.47X. Surprisingly, the additional gates for uncomputation create ancilla with better locality, and result in substantially fewer swap gates and less gate noise overall. SQUARE also achieves an average reduction of 1.5X (and up to 9.6X) in active quantum volume for FT machines.</abstract><cop>Ithaca</cop><pub>Cornell University Library, arXiv.org</pub><doi>10.48550/arxiv.2004.08539</doi><oa>free_for_read</oa></addata></record>
fulltext fulltext
identifier EISSN: 2331-8422
ispartof arXiv.org, 2020-06
issn 2331-8422
language eng
recordid cdi_proquest_journals_2392842393
source Publicly Available Content Database
subjects Algorithms
Constraints
Fault tolerance
Heuristic methods
Quantum computers
Qubits (quantum computing)
Reclamation
Throttling
Workload
title SQUARE: Strategic Quantum Ancilla Reuse for Modular Quantum Programs via Cost-Effective Uncomputation
url http://sfxeu10.hosted.exlibrisgroup.com/loughborough?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-08T04%3A50%3A16IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=SQUARE:%20Strategic%20Quantum%20Ancilla%20Reuse%20for%20Modular%20Quantum%20Programs%20via%20Cost-Effective%20Uncomputation&rft.jtitle=arXiv.org&rft.au=Ding,%20Yongshan&rft.date=2020-06-25&rft.eissn=2331-8422&rft_id=info:doi/10.48550/arxiv.2004.08539&rft_dat=%3Cproquest%3E2392842393%3C/proquest%3E%3Cgrp_id%3Ecdi_FETCH-LOGICAL-a523-8bb3b7a299004c17eab4288eca14c81be41dec8541ad83d621d54458258954b53%3C/grp_id%3E%3Coa%3E%3C/oa%3E%3Curl%3E%3C/url%3E&rft_id=info:oai/&rft_pqid=2392842393&rft_id=info:pmid/&rfr_iscdi=true