The Role of Multiplicative Complexity in Compiling Low $T$-count Oracle Circuits

We present a constructive method to create quantum circuits that implement oracles <tex>$\vert x\rangle\vert y\rangle\vert 0\rangle^{k}\mapsto\vert x\rangle\vert y\oplus f(x)\rangle\vert 0\rangle^{k}$</tex> for <tex>$n$</tex>-variable Boolean functions <tex>$f$</tex> with low <tex>$T$</tex>-count. In our method <tex>$f$</tex> is given as a 2-regular Boolean logic network over the gate basis <tex>$\{\wedge, \oplus, 1\}$</tex>. Our construction leads to circuits with a <tex>$T$</tex>-count that is at most four times the number of AND nodes in the network. In addition, we propose a SAT-based method that allows us to trade qubits for <tex>$T$</tex> gates, and explore the space/complexity trade-off of quantum circuits. Our constructive method suggests a new upper bound for the number of <tex>$T$</tex> gates and ancilla qubits based on the multiplicative complexity <tex>$c_{\wedge}(f)$</tex> of the oracle function <tex>$f$</tex>, which is the minimum number of AND gates that is required to realize <tex>$f$</tex> over the gate basis <tex>$\{\wedge, \oplus, 1\}$</tex>. There exists a quantum circuit computing <tex>$f$</tex> with at most <tex>$4c_{\wedge}(f)T$</tex> gates using <tex>$k=c_{\wedge}(f)$</tex> ancillae. Results known for the multiplicative complexity of Boolean functions can be transferred. We verify our method by comparing it to different state-of-the-art compilers. Finally, we present our synthesis results for Boolean functions used in quantum cryptoanalysis.

[1]  Magnus Find On the Complexity of Computing Two Nonlinearity Measures , 2014, CSR.

[2]  Nikolaj Bjørner,et al.  Z3: An Efficient SMT Solver , 2008, TACAS.

[3]  Peter W. Shor,et al.  Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer , 1995, SIAM Rev..

[4]  Giovanni De Micheli,et al.  Hierarchical reversible logic synthesis using LUTs , 2017, 2017 54th ACM/EDAC/IEEE Design Automation Conference (DAC).

[5]  Donald E. Knuth,et al.  The Art of Computer Programming, Volume 4, Fascicle 2: Generating All Tuples and Permutations (Art of Computer Programming) , 2005 .

[6]  A. Harrow,et al.  Quantum algorithm for linear systems of equations. , 2008, Physical review letters.

[7]  Earl T. Campbell,et al.  Quantum computation with realistic magic-state factories , 2016, 1605.07197.

[8]  Martin Rötteler,et al.  REVS: A Tool for Space-Optimized Reversible Circuit Synthesis , 2017, RC.

[9]  Giovanni De Micheli,et al.  A best-fit mapping algorithm to facilitate ESOP-decomposition in Clifford+T quantum network synthesis , 2018, 2018 23rd Asia and South Pacific Design Automation Conference (ASP-DAC).

[10]  M. Mosca,et al.  A Meet-in-the-Middle Algorithm for Fast Synthesis of Depth-Optimal Quantum Circuits , 2012, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems.

[11]  Craig Gidney,et al.  Halving the cost of quantum addition , 2017, Quantum.

[12]  Lov K. Grover A fast quantum mechanical algorithm for database search , 1996, STOC '96.

[13]  René Peralta,et al.  The multiplicative complexity of 6-variable Boolean functions , 2018, Cryptography and Communications.

[14]  I. Chuang,et al.  Quantum Teleportation is a Universal Computational Primitive , 1999, quant-ph/9908010.

[15]  Charles H. Bennett Time/Space Trade-Offs for Reversible Computation , 1989, SIAM J. Comput..

[16]  Robert K. Brayton,et al.  DAG-aware AIG rewriting: a fresh look at combinational logic synthesis , 2006, 2006 43rd ACM/IEEE Design Automation Conference.

[17]  M. Thornton,et al.  ESOP-based Toffoli Gate Cascade Generation , 2007, 2007 IEEE Pacific Rim Conference on Communications, Computers and Signal Processing.

[18]  Michele Mosca,et al.  On the CNOT-complexity of CNOT-PHASE circuits , 2017, 1712.01859.

[19]  J. Boyar,et al.  On the multiplicative complexity of Boolean functions over the basis ∧,⊕,1 , 1998 .

[20]  Dmitri Maslov,et al.  Automated optimization of large quantum circuits with continuous parameters , 2017, npj Quantum Information.

[21]  Cody Jones,et al.  Low-overhead constructions for the fault-tolerant Toffoli gate , 2012, 1212.5069.

[22]  Giovanni De Micheli,et al.  Reducing the Multiplicative Complexity in Logic Networks for Cryptography and Security Applications , 2019, 2019 56th ACM/IEEE Design Automation Conference (DAC).

[23]  Martin Rötteler,et al.  Post-Quantum Cryptography , 2015, Lecture Notes in Computer Science.

[24]  Martin Rötteler,et al.  Q#: Enabling Scalable Quantum Computing and Development with a High-level DSL , 2018, RWDSL2018.

[25]  A. Kitaev,et al.  Universal quantum computation with ideal Clifford gates and noisy ancillas (14 pages) , 2004, quant-ph/0403025.

[26]  Joan Boyar,et al.  Logic Minimization Techniques with Applications to Cryptology , 2013, Journal of Cryptology.

[27]  Giovanni De Micheli,et al.  SAT-based {CNOT, T} Quantum Circuit Synthesis , 2018, RC.

[28]  Joan Boyar,et al.  Tight bounds for the multiplicative complexity of symmetric functions , 2008, Theor. Comput. Sci..

[29]  Mark Howard,et al.  Application of a Resource Theory for Magic States to Fault-Tolerant Quantum Computing. , 2016, Physical review letters.

[30]  Giovanni De Micheli,et al.  Reversible Pebbling Game for Quantum Memory Management , 2019, 2019 Design, Automation & Test in Europe Conference & Exhibition (DATE).

[31]  Peter Schneider-Kamp,et al.  Synthesizing Shortest Linear Straight-Line Programs over GF(2) Using SAT , 2010, SAT.