33 research outputs found
Polynomial-time T-depth Optimization of Clifford+T circuits via Matroid Partitioning
Most work in quantum circuit optimization has been performed in isolation
from the results of quantum fault-tolerance. Here we present a polynomial-time
algorithm for optimizing quantum circuits that takes the actual implementation
of fault-tolerant logical gates into consideration. Our algorithm
re-synthesizes quantum circuits composed of Clifford group and T gates, the
latter being typically the most costly gate in fault-tolerant models, e.g.,
those based on the Steane or surface codes, with the purpose of minimizing both
T-count and T-depth. A major feature of the algorithm is the ability to
re-synthesize circuits with additional ancillae to reduce T-depth at
effectively no cost. The tested benchmarks show up to 65.7% reduction in
T-count and up to 87.6% reduction in T-depth without ancillae, or 99.7%
reduction in T-depth using ancillae.Comment: Version 2 contains substantial improvements and extensions to the
previous version. We describe a new, more robust algorithm and achieve
significantly improved experimental result
ZH: A Complete Graphical Calculus for Quantum Computations Involving Classical Non-linearity
We present a new graphical calculus that is sound and complete for a
universal family of quantum circuits, which can be seen as the natural
string-diagrammatic extension of the approximately (real-valued) universal
family of Hadamard+CCZ circuits. The diagrammatic language is generated by two
kinds of nodes: the so-called 'spider' associated with the computational basis,
as well as a new arity-N generalisation of the Hadamard gate, which satisfies a
variation of the spider fusion law. Unlike previous graphical calculi, this
admits compact encodings of non-linear classical functions. For example, the
AND gate can be depicted as a diagram of just 2 generators, compared to ~25 in
the ZX-calculus. Consequently, N-controlled gates, hypergraph states,
Hadamard+Toffoli circuits, and diagonal circuits at arbitrary levels of the
Clifford hierarchy also enjoy encodings with low constant overhead. This
suggests that this calculus will be significantly more convenient for reasoning
about the interplay between classical non-linear behaviour (e.g. in an oracle)
and purely quantum operations. After presenting the calculus, we will prove it
is sound and complete for universal quantum computation by demonstrating the
reduction of any diagram to an easily describable normal form.Comment: In Proceedings QPL 2018, arXiv:1901.0947
Distillation protocols for Fourier states in quantum computing
Fourier states are multi-qubit registers that facilitate phase rotations in
fault-tolerant quantum computing. We propose distillation protocols for
constructing the fundamental, -qubit Fourier state with error at
a cost of Toffoli gates and Clifford gates, or any arbitrary
Fourier state using gates. We analyze these protocols with methods
from digital signal processing. These results suggest that phase kickback,
which uses Fourier states, could be the current lowest-overhead method for
generating arbitrary phase rotations.Comment: 18 pages, 4 figure
Applying Grover's algorithm to AES: quantum resource estimates
We present quantum circuits to implement an exhaustive key search for the
Advanced Encryption Standard (AES) and analyze the quantum resources required
to carry out such an attack. We consider the overall circuit size, the number
of qubits, and the circuit depth as measures for the cost of the presented
quantum algorithms. Throughout, we focus on Clifford gates as the
underlying fault-tolerant logical quantum gate set. In particular, for all
three variants of AES (key size 128, 192, and 256 bit) that are standardized in
FIPS-PUB 197, we establish precise bounds for the number of qubits and the
number of elementary logical quantum gates that are needed to implement
Grover's quantum algorithm to extract the key from a small number of AES
plaintext-ciphertext pairs.Comment: 13 pages, 3 figures, 5 tables; to appear in: Proceedings of the 7th
International Conference on Post-Quantum Cryptography (PQCrypto 2016
On two subgroups of U(n), useful for quantum computing
As two basic building blocks for any quantum circuit, we consider the 1-qubit PHASOR circuit Phi(theta) and the 1-qubit NEGATOR circuit N(theta). Both are roots of the IDENTITY circuit. Indeed: both (NO) and N(0) equal the 2 x 2 unit matrix. Additionally, the NEGATOR is a root of the classical NOT gate. Quantum circuits (acting on w qubits) consisting of controlled PHASORs are represented by matrices from ZU(2(w)); quantum circuits consisting of controlled NEGATORs are represented by matrices from XU(2(w)). Here, ZU(n) and XU(n) are subgroups of the unitary group U(n): the group XU(n) consists of all n x n unitary matrices with all 2n line sums (i.e. all n row sums and all n column sums) equal to 1 and the group ZU(n) consists of all n x n unitary diagonal matrices with first entry equal to 1. Any U(n) matrix can be decomposed into four parts: U = exp(i alpha) Z(1)XZ(2), where both Z(1) and Z(2) are ZU(n) matrices and X is an XU(n) matrix. We give an algorithm to find the decomposition. For n = 2(w) it leads to a four-block synthesis of an arbitrary quantum computer