Skip to main content
arXiv logo
Cornell University Logo

Quantum Physics

arXiv:1510.00377 (quant-ph)
[Submitted on 1 Oct 2015]

Title:Reversible circuit compilation with space constraints

Authors:Alex Parent, Martin Roetteler, Krysta M. Svore
View a PDF of the paper titled Reversible circuit compilation with space constraints, by Alex Parent and 2 other authors
View PDF
Abstract:We develop a framework for resource efficient compilation of higher-level programs into lower-level reversible circuits. Our main focus is on optimizing the memory footprint of the resulting reversible networks. This is motivated by the limited availability of qubits for the foreseeable future. We apply three main techniques to keep the number of required qubits small when computing classical, irreversible computations by means of reversible networks: first, wherever possible we allow the compiler to make use of in-place functions to modify some of the variables. Second, an intermediate representation is introduced that allows to trace data dependencies within the program, allowing to clean up qubits early. This realizes an analog to "garbage collection" for reversible circuits. Third, we use the concept of so-called pebble games to transform irreversible programs into reversible programs under space constraints, allowing for data to be erased and recomputed if needed.
We introduce REVS, a compiler for reversible circuits that can translate a subset of the functional programming language F# into Toffoli networks which can then be further interpreted for instance in LIQui|>, a domain-specific language for quantum computing and which is also embedded into F#. We discuss a number of test cases that illustrate the advantages of our approach including reversible implementations of SHA-2 and other cryptographic hash-functions, reversible integer arithmetic, as well as a test-bench of combinational circuits used in classical circuit synthesis. Compared to Bennett's method, REVS can reduce space complexity by a factor of 4 or more, while having an only moderate increase in circuit size as well as in the time it takes to compile the reversible networks.
Comments: 32 pages, 15 figures, 4 tables
Subjects: Quantum Physics (quant-ph); Emerging Technologies (cs.ET)
Cite as: arXiv:1510.00377 [quant-ph]
  (or arXiv:1510.00377v1 [quant-ph] for this version)
  https://doi.org/10.48550/arXiv.1510.00377
arXiv-issued DOI via DataCite

Submission history

From: Martin Roetteler [view email]
[v1] Thu, 1 Oct 2015 19:48:52 UTC (615 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Reversible circuit compilation with space constraints, by Alex Parent and 2 other authors
  • View PDF
  • TeX Source
  • Other Formats
view license
Current browse context:
quant-ph
< prev   |   next >
new | recent | 2015-10
Change to browse by:
cs
cs.ET

References & Citations

  • INSPIRE HEP
  • NASA ADS
  • Google Scholar
  • Semantic Scholar
a export BibTeX citation Loading...

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack