An Efficient Quantum Compiler that reduces T count

Luke Heyfron, Earl T. Campbell
12/5/2017
quant-ph

Official code: Luke-Heyfron/TOpt (20 stars, C++, GPL-3.0, last commit 2018-10-01).

Abstract

Before executing a quantum algorithm, one must first decompose the algorithm into machine-level instructions compatible with the architecture of the quantum computer, a process known as quantum compiling. There are many different quantum circuit decompositions for the same algorithm but it is desirable to compile leaner circuits.

Show full abstract

A fundamentally important cost metric is the $T$ count -- the number of $T$ gates in a circuit. For the single qubit case, optimal compiling is essentially a solved problem. However, multi-qubit compiling is a harder problem with optimal algorithms requiring classical runtime exponential in the number of qubits. Here, we present and compare several efficient quantum compilers for multi-qubit Clifford + $T$ circuits. We implemented our compilers in C++ and benchmarked them on random circuits, from which we determine that our TODD compiler yields the lowest $T$ counts on average. We also benchmarked TODD on a library of reversible logic circuits that appear in quantum algorithms and found that it reduced the $T$ count for 97\% of the circuits with an average $T$-count saving of 20\% when compared against the best of all previous circuit decompositions.

View on arXivView PDF

Code Implementations(1)

Luke-Heyfron/TOptOfficial100%
GPL-3.0
204C++, CDec 1, 20178 years agoGPL-3.0

Similar Papers

Cite this paper

@article{heyfron2017efficient,
  title  = {An Efficient Quantum Compiler that reduces T count},
  author = {Luke Heyfron and Earl T. Campbell},
  year   = {2017},
  eprint = {1712.01557},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1712.01557}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1712.01557.svg)](https://codeofpaper.com/paper/1712.01557)

Discussion