MCP
arXivarXiv
Preprint
Published: July 9, 2021
cs.LO
v5

An Algorithm for Reversible Logic Circuit Synthesis Based on Tensor Decomposition

Abstract
An algorithm for reversible logic synthesis is proposed. The task is, for a given nn-bit substitution map Pn:{0,1}n→{0,1}nP_n: \{0,1\}^n \rightarrow \{0,1\}^n, 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 Cm ⁣XC^m\!X, where mm is the number of control bits that ranges from 0 to n−1n-1. Controlled gates with large m  (>2)m \,\,(>2) are then further decomposed into C0 ⁣XC^0\!X, C1 ⁣XC^1\!X, and C2 ⁣XC^2\!X gates. A primary concern in designing the algorithm is to reduce the use of C2 ⁣XC^2\!X gate (also known as Toffoli gate) which is known to be universal. The main idea is to view an nn-bit substitution map as a rank-2n2n tensor and to transform it such that the resulting map can be written as a tensor product of a rank-(2n−22n-2) tensor and the 2×22\times 2 identity matrix. Let Pn\mathcal{P}_n be a set of all nn-bit substitution maps. What we try to find is a size reduction map Ared:Pn→{Pn:Pn=Pn−1⊗I2}\mathcal{A}_{\rm red}: \mathcal{P}_n \rightarrow \{P_n: P_n = P_{n-1} \otimes I_2\}. %, where ImI_m is the m×mm\times m identity matrix. One can see that the output Pn−1⊗I2P_{n-1} \otimes I_2 acts nontrivially on n−1n-1 bits only, meaning that the map to be synthesized becomes Pn−1P_{n-1}. The size reduction process is iteratively applied until it reaches tensor product of only 2×22 \times 2 matrices.
0
AI overview
Reviews
Citation graph
Structured
This paper does not have an AI preview yet
Rating
No ratings yet
Rate
Community rating
—
/ 5
No ratings yet
Rating
—
Soundness
—
Presentation
—
Contribution
—
Confidence
—
Discussion
Top
Newest
Questions
Replication
Author
No comments yet — be the first