An Algorithm for Reversible Logic Circuit Synthesis Based on Tensor Decomposition
arXiv:2107.04298 · doi:10.1145/3673242
Abstract
An algorithm for reversible logic synthesis is proposed. The task is, for a given -bit substitution map , to find a sequence of reversible logic gates that implements the map. The gate library adopted in this work consists of multiple-controlled Toffoli gates denoted by , where is the number of control bits that ranges from 0 to . Controlled gates with large are then further decomposed into , , and gates. A primary concern in designing the algorithm is to reduce the use of gate (also known as Toffoli gate) which is known to be universal. The main idea is to view an -bit substitution map as a rank- tensor and to transform it such that the resulting map can be written as a tensor product of a rank-() tensor and the identity matrix. Let be a set of all -bit substitution maps. What we try to find is a size reduction map . %, where is the identity matrix. One can see that the output acts nontrivially on bits only, meaning that the map to be synthesized becomes . The size reduction process is iteratively applied until it reaches tensor product of only matrices.
Added a C implementation on GitHub and updated the AES S-box results using it
References in corpus (17)
- Quantum Mechanics helps in searching for a needle in a haystack
- The density-matrix renormalization group in the age of matrix product states
- Improved Simulation of Stabilizer Circuits
- A meet-in-the-middle algorithm for fast synthesis of depth-optimal quantum circuits
- Quantum Circuits for General Multiqubit Gates
- Breaking Symmetric Cryptosystems using Quantum Period Finding
- Synthesis and Optimization of Reversible Circuits - A Survey
- Techniques for the Synthesis of Reversible Toffoli Networks
- Reversible Circuit Synthesis Using a Cycle-Based Approach
- A Study of Optimal 4-bit Reversible Toffoli Circuits and Their Synthesis
- Time-Space Complexity of Quantum Search Algorithms in Symmetric Cryptanalysis
- Optimal quantum circuit synthesis from Controlled-U gates
- Could Grover's quantum algorithm help in searching an actual database?
- Optimization of Clifford Circuits
- 6-qubit Optimal Clifford Circuits
- Application of Permutation Group Theory in Reversible Logic Synthesis
- Efficient ancilla-free reversible and quantum circuits for the Hidden Weighted Bit function