Reducing the number of non-Clifford gates in quantum circuits

    Aleks Kissinger1,* and John van de Wetering2,†

    • 1Department of Computer Science, University of Oxford, 15 Parks Rd, Oxford OX1 3QD, United Kingdom
    • 2Radboud University, Tournooiveld 214, 6525EC Nijmegen, Netherlands

    • *aleks.kissinger@cs.ox.ac.uk
    • john@vdwetering.name

    Phys. Rev. A 102, 022406 – Published 11 August, 2020

    DOI: https://doi.org/10.1103/PhysRevA.102.022406

    Abstract

    We present a method for reducing the number of non-Clifford quantum gates, in particularly T-gates, in a circuit, an important task for efficiently implementing fault-tolerant quantum computations. This method matches or beats previous approaches to ancillae-free T-count reduction on the majority of our benchmark circuits, in some cases yielding up to 50% improvement. Our method begins by representing the quantum circuit as a ZX-diagram, a tensor networklike structure that can be transformed and simplified according to the rules of the ZX-calculus. We then extend a recent simplification strategy with a different ingredient, phase gadgetization, which we use to propagate non-Clifford phases through a ZX-diagram to find nonlocal cancellations. Our procedure extends unmodified to arbitrary phase angles and to parameter elimination for variational circuits. Finally, our optimization is self-checking, in the sense that the simplification strategy we propose is powerful enough to independently validate equality of the input circuit and the optimized output circuit. We have implemented the routines of this paper in the open-source library pyzx.

    Physics Subject Headings (PhySH)

    Authorization Required

    We need you to provide your credentials before accessing this content.

    References (Subscription Required)