Skip to main content

Showing 1–22 of 22 results for author: Amy, M

Searching in archive quant-ph. Search in all archives.
.
  1. arXiv:2410.23493  [pdf, ps, other

    quant-ph cs.PL

    Linear and non-linear relational analyses for Quantum Program Optimization

    Authors: Matthew Amy, Joseph Lunderville

    Abstract: The phase folding optimization is a circuit optimization used in many quantum compilers as a fast and effective way of reducing the number of high-cost gates in a quantum circuit. However, existing formulations of the optimization rely on an exact, linear algebraic representation of the circuit, restricting the optimization to being performed on straightline quantum circuits or basic blocks in a l… ▽ More

    Submitted 30 October, 2024; originally announced October 2024.

    Comments: 30 pages, 13 figures, comments welcome!

    Journal ref: Proc. ACM Program. Lang. 9, POPL, Article 37 (January 2025), 33 pages

  2. arXiv:2408.02778  [pdf, other

    quant-ph

    Polynomial-Time Classical Simulation of Hidden Shift Circuits via Confluent Rewriting of Symbolic Sums

    Authors: Matthew Amy, Lucas Shigeru Stinchcombe

    Abstract: Implementations of Roetteler's shifted bent function algorithm have in recent years been used to test and benchmark both classical simulation algorithms and quantum hardware. These circuits have many favorable properties, including a tunable amount of non-Clifford resources and a deterministic output, and moreover do not belong to any class of quantum circuits which is known to be efficiently simu… ▽ More

    Submitted 5 August, 2024; originally announced August 2024.

  3. A Sound and Complete Equational Theory for 3-Qubit Toffoli-Hadamard Circuits

    Authors: Matthew Amy, Neil J. Ross, Scott Wesley

    Abstract: We give a sound and complete equational theory for 3-qubit quantum circuits over the Toffoli-Hadamard gate set { X, CX, CCX, H }. That is, we introduce a collection of true equations among Toffoli-Hadamard circuits on three qubits that is sufficient to derive any other true equation between such circuits. To obtain this equational theory, we first consider circuits over the Toffoli-K gate set { X,… ▽ More

    Submitted 12 August, 2024; v1 submitted 15 July, 2024; originally announced July 2024.

    Comments: In Proceedings QPL 2024, arXiv:2408.05113

    Journal ref: EPTCS 406, 2024, pp. 1-43

  4. arXiv:2311.07741  [pdf, ps, other

    quant-ph

    Exact Synthesis of Multiqubit Clifford-Cyclotomic Circuits

    Authors: Matthew Amy, Andrew N. Glaudell, Shaun Kelso, William Maxwell, Samuel S. Mendelson, Neil J. Ross

    Abstract: Let $n\geq 8$ be divisible by 4. The Clifford-cyclotomic gate set $\mathcal{G}_n$ is the universal gate set obtained by extending the Clifford gates with the $z$-rotation $T_n = \mathrm{diag}(1,ζ_n)$, where $ζ_n$ is a primitive $n$-th root of unity. In this note, we show that, when $n$ is a power of 2, a multiqubit unitary matrix $U$ can be exactly represented by a circuit over $\mathcal{G}_n$ if… ▽ More

    Submitted 12 April, 2024; v1 submitted 13 November, 2023; originally announced November 2023.

  5. arXiv:2310.05958  [pdf, other

    quant-ph cs.CC

    Optimising quantum circuits is generally hard

    Authors: John van de Wetering, Matt Amy

    Abstract: In order for quantum computations to be done as efficiently as possible it is important to optimise the number of gates used in the underlying quantum circuits. In this paper we find that many gate optimisation problems for approximately universal quantum circuits are NP-hard. In particular, we show that optimising the T-count or T-depth in Clifford+T circuits, which are important metrics for the… ▽ More

    Submitted 12 August, 2024; v1 submitted 12 September, 2023; originally announced October 2023.

    Comments: v3: Changed title from "Optimising T-count is NP-hard", rewrote paper with additional results about other optimisation problems

  6. Complete Equational Theories for the Sum-Over-Paths with Unbalanced Amplitudes

    Authors: Matthew Amy

    Abstract: Vilmart recently gave a complete equational theory for the balanced sum-over-paths over Toffoli-Hadamard circuits, and by extension Clifford+Rz(2pi/2^k) circuits. Their theory is based on the phase-free ZH-calculus which crucially omits the average rule of the full ZH-calculus, dis-allowing the local summation of amplitudes. Here we study the question of completeness in unbalanced path sums which… ▽ More

    Submitted 31 August, 2023; v1 submitted 28 June, 2023; originally announced June 2023.

    Comments: In Proceedings QPL 2023, arXiv:2308.15489

    Journal ref: EPTCS 384, 2023, pp. 127-141

  7. arXiv:2305.11305  [pdf, other

    quant-ph cs.ET

    Improved Synthesis of Toffoli-Hadamard Circuits

    Authors: Matthew Amy, Andrew N. Glaudell, Sarah Meng Li, Neil J. Ross

    Abstract: The matrices that can be exactly represented by a circuit over the Toffoli-Hadamard gate set are the orthogonal matrices of the form $M/ \sqrt{2}{}^k$, where $M$ is an integer matrix and $k$ is a nonnegative integer. The exact synthesis problem for this gate set is the problem of constructing a circuit for a given such matrix. Existing methods produce circuits consisting of $O(2^n \log(n)k)$ gates… ▽ More

    Submitted 18 May, 2023; originally announced May 2023.

  8. arXiv:2305.07720  [pdf, other

    quant-ph

    Catalytic Embeddings of Quantum Circuits

    Authors: M. Amy, M. Crawford, A. N. Glaudell, M. L. Macasieb, S. S. Mendelson, N. J. Ross

    Abstract: If a set $\mathbb{G}$ of quantum gates is countable, then the operators that can be exactly represented by a circuit over $\mathbb{G}$ form a strict subset of the collection of all unitary operators. When $\mathbb{G}$ is universal, one circumvents this limitation by resorting to repeated gate approximations: every occurrence of a gate which cannot be exactly represented over $\mathbb{G}$ is replac… ▽ More

    Submitted 12 May, 2023; originally announced May 2023.

  9. Symbolic Synthesis of Clifford Circuits and Beyond

    Authors: Matthew Amy, Owen Bennett-Gibbs, Neil J. Ross

    Abstract: Path sums are a convenient symbolic formalism for quantum operations with applications to the simulation, optimization, and verification of quantum protocols. Unlike quantum circuits, path sums are not limited to unitary operations, but can express arbitrary linear ones. Two problems, therefore, naturally arise in the study of path sums: the unitarity problem and the extraction problem. The former… ▽ More

    Submitted 15 November, 2023; v1 submitted 29 April, 2022; originally announced April 2022.

    Comments: In Proceedings QPL 2022, arXiv:2311.08375

    Journal ref: EPTCS 394, 2023, pp. 343-362

  10. The phase/state duality in reversible circuit design

    Authors: Matthew Amy, Neil J. Ross

    Abstract: The reversible implementation of classical functions accounts for the bulk of most known quantum algorithms. As a result, a number of reversible circuit constructions over the Clifford+$T$ gate set have been developed in recent years which use both the state and phase spaces, or $X$ and $Z$ bases, to reduce circuit costs beyond what is possible at the strictly classical level. We study and general… ▽ More

    Submitted 5 November, 2021; v1 submitted 27 May, 2021; originally announced May 2021.

    Comments: 16 pages, comments welcome

    Journal ref: Phys. Rev. A 104, 052602 (2021)

  11. staq -- A full-stack quantum processing toolkit

    Authors: Matthew Amy, Vlad Gheorghiu

    Abstract: We describe 'staq', a full-stack quantum processing toolkit written in standard C++. 'staq' is a quantum compiler toolkit, comprising of tools that range from quantum optimizers and translators to physical mappers for quantum devices with restricted connectives. The design of 'staq' is inspired from the UNIX philosophy of "less is more", i.e. 'staq' achieves complex functionality via combining (pi… ▽ More

    Submitted 5 August, 2020; v1 submitted 12 December, 2019; originally announced December 2019.

    Comments: Replaced with the published version, comments are welcome

    Journal ref: Quantum Science and Technology, Focus on Quantum Software, 5, 034016 (2020)

  12. Number-Theoretic Characterizations of Some Restricted Clifford+T Circuits

    Authors: Matthew Amy, Andrew N. Glaudell, Neil J. Ross

    Abstract: Kliuchnikov, Maslov, and Mosca proved in 2012 that a $2\times 2$ unitary matrix $V$ can be exactly represented by a single-qubit Clifford+$T$ circuit if and only if the entries of $V$ belong to the ring $\mathbb{Z}[1/\sqrt{2},i]$. Later that year, Giles and Selinger showed that the same restriction applies to matrices that can be exactly represented by a multi-qubit Clifford+$T$ circuit. These num… ▽ More

    Submitted 3 April, 2020; v1 submitted 16 August, 2019; originally announced August 2019.

    Journal ref: Quantum 4, 252 (2020)

  13. Sized Types for low-level Quantum Metaprogramming

    Authors: Matthew Amy

    Abstract: One of the most fundamental aspects of quantum circuit design is the concept of families of circuits parametrized by an instance size. As in classical programming, metaprogramming allows the programmer to write entire families of circuits simultaneously, an ability which is of particular importance in the context of quantum computing as algorithms frequently use arithmetic over non-standard word l… ▽ More

    Submitted 7 August, 2019; originally announced August 2019.

    Comments: Presented at Reversible Computation 2019. Final authenticated publication is available online at https://doi.org/10.1007/978-3-030-21500-2_6

    Journal ref: Thomsen M., Soeken M. (eds) Reversible Computation. RC 2019. Lecture Notes in Computer Science, vol 11497. Springer, Cham

  14. arXiv:1805.06908  [pdf, other

    quant-ph cs.LO

    Towards Large-scale Functional Verification of Universal Quantum Circuits

    Authors: Matthew Amy

    Abstract: We introduce a framework for the formal specification and verification of quantum circuits based on the Feynman path integral. Our formalism, built around exponential sums of polynomial functions, provides a structured and natural way of specifying quantum operations, particularly for quantum implementations of classical functions. Verification of circuits over all levels of the Clifford hierarchy… ▽ More

    Submitted 29 January, 2019; v1 submitted 17 May, 2018; originally announced May 2018.

    Comments: In Proceedings QPL 2018, arXiv:1901.09476

    Journal ref: EPTCS 287, 2019, pp. 1-21

  15. arXiv:1804.03159  [pdf, other

    quant-ph physics.comp-ph

    Strawberry Fields: A Software Platform for Photonic Quantum Computing

    Authors: Nathan Killoran, Josh Izaac, Nicolás Quesada, Ville Bergholm, Matthew Amy, Christian Weedbrook

    Abstract: We introduce Strawberry Fields, an open-source quantum programming architecture for light-based quantum computers, and detail its key features. Built in Python, Strawberry Fields is a full-stack library for design, simulation, optimization, and quantum machine learning of continuous-variable circuits. The platform consists of three main components: (i) an API for quantum programming based on an ea… ▽ More

    Submitted 4 March, 2019; v1 submitted 9 April, 2018; originally announced April 2018.

    Comments: Try the Strawberry Fields Interactive website, located at http://strawberryfields.ai . Source code available at https://github.com/XanaduAI/strawberryfields. Accepted in Quantum

    Journal ref: Quantum 3, 129 (2019)

  16. On the CNOT-complexity of CNOT-PHASE circuits

    Authors: Matthew Amy, Parsiad Azimzadeh, Michele Mosca

    Abstract: We study the problem of CNOT-optimal quantum circuit synthesis over gate sets consisting of CNOT and Z-basis rotations of arbitrary angles. We show that the circuit-polynomial correspondence relates such circuits to Fourier expansions of pseudo-Boolean functions, and that for certain classes of functions this expansion uniquely determines the minimum CNOT cost of an implementation. As a corollary… ▽ More

    Submitted 13 August, 2018; v1 submitted 5 December, 2017; originally announced December 2017.

    Comments: 21 pages, 5 figures, 1 table. Version 2 formally verifies the correctness of the benchmark optimizations, 4 out of 39 are left unverified due to size, Quantum Science and Technology, 2018

    Journal ref: Quantum Science and Technology 4(1), 2018

  17. arXiv:1701.00140  [pdf, other

    quant-ph cs.ET cs.LO

    A Finite Presentation of CNOT-Dihedral Operators

    Authors: Matthew Amy, Jianxin Chen, Neil J. Ross

    Abstract: We give a finite presentation by generators and relations of the unitary operators expressible over the {CNOT, T, X} gate set, also known as CNOT-dihedral operators. To this end, we introduce a notion of normal form for CNOT-dihedral circuits and prove that every CNOT-dihedral operator admits a unique normal form. Moreover, we show that in the presence of certain structural rules only finitely man… ▽ More

    Submitted 28 April, 2019; v1 submitted 31 December, 2016; originally announced January 2017.

    Comments: In Proceedings QPL 2017, arXiv:1802.09737

    Journal ref: EPTCS 266, 2018, pp. 84-97

  18. arXiv:1603.09383  [pdf, ps, other

    quant-ph

    Estimating the cost of generic quantum pre-image attacks on SHA-2 and SHA-3

    Authors: Matthew Amy, Olivia Di Matteo, Vlad Gheorghiu, Michele Mosca, Alex Parent, John Schanck

    Abstract: We investigate the cost of Grover's quantum search algorithm when used in the context of pre-image attacks on the SHA-2 and SHA-3 families of hash functions. Our cost model assumes that the attack is run on a surface code based fault-tolerant quantum computer. Our estimates rely on a time-area metric that costs the number of logical qubits times the depth of the circuit in units of surface code cy… ▽ More

    Submitted 30 November, 2016; v1 submitted 30 March, 2016; originally announced March 2016.

    Comments: Same as the published version to appear in the Selected Areas of Cryptography (SAC) 2016. Comments are welcome!

  19. Verified compilation of space-efficient reversible circuits

    Authors: Matthew Amy, Martin Roetteler, Krysta Svore

    Abstract: The generation of reversible circuits from high-level code is an important problem in several application domains, including low-power electronics and quantum computing. Existing tools compile and optimize reversible circuits for various metrics, such as the overall circuit size or the total amount of space required to implement a given function reversibly. However, little effort has been spent on… ▽ More

    Submitted 20 April, 2018; v1 submitted 4 March, 2016; originally announced March 2016.

    Comments: Proceedings version. New section on eager cleanup, general streamlining

    Journal ref: Proceedings of the 29th International Conference on Computer Aided Verification, pp. 3-21, 2017

  20. T-count optimization and Reed-Muller codes

    Authors: Matthew Amy, Michele Mosca

    Abstract: In this paper, we study the close relationship between Reed-Muller codes and single-qubit phase gates from the perspective of $T$-count optimization. We prove that minimizing the number of $T$ gates in an $n$-qubit quantum circuit over CNOT and $T$, together with the Clifford group powers of $T$, corresponds to finding a minimum distance decoding of a length $2^n-1$ binary vector in the order… ▽ More

    Submitted 13 August, 2018; v1 submitted 27 January, 2016; originally announced January 2016.

    Comments: 19 pages. Version 2 gives a substantially different presentation of the results, as well as a generalization to rotation angles of any finite order

  21. Polynomial-time T-depth Optimization of Clifford+T circuits via Matroid Partitioning

    Authors: Matthew Amy, Dmitri Maslov, Michele Mosca

    Abstract: 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… ▽ More

    Submitted 13 December, 2013; v1 submitted 8 March, 2013; originally announced March 2013.

    Comments: Version 2 contains substantial improvements and extensions to the previous version. We describe a new, more robust algorithm and achieve significantly improved experimental results

    Journal ref: IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 33(10): 1476-1489, 2014

  22. A meet-in-the-middle algorithm for fast synthesis of depth-optimal quantum circuits

    Authors: Matthew Amy, Dmitri Maslov, Michele Mosca, Martin Roetteler

    Abstract: We present an algorithm for computing depth-optimal decompositions of logical operations, leveraging a meet-in-the-middle technique to provide a significant speed-up over simple brute force algorithms. As an illustration of our method we implemented this algorithm and found factorizations of the commonly used quantum logical operations into elementary gates in the Clifford+T set. In particular, we… ▽ More

    Submitted 25 January, 2013; v1 submitted 4 June, 2012; originally announced June 2012.

    Comments: 23 pages, 15 figures, 1 table; To appear in IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems

    Journal ref: IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 32(6): 818-830, 2013