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 n-bit substitution map Pn: \0,1\n → \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\!X, where m is the number of control bits that ranges from 0 to n-1. Controlled gates with large m \,\,(>2) are then further decomposed into C0\!X, C1\!X, and C2\!X gates. A primary concern in designing the algorithm is to reduce the use of C2\!X gate (also known as Toffoli gate) which is known to be universal. The main idea is to view an n-bit substitution map as a rank-2n tensor and to transform it such that the resulting map can be written as a tensor product of a rank-(2n-2) tensor and the 2× 2 identity matrix. Let Pn be a set of all n-bit substitution maps. What we try to find is a size reduction map A red: Pn → \Pn: Pn = Pn-1 I2\. %, where Im is the m× m identity matrix. One can see that the output Pn-1 I2 acts nontrivially on n-1 bits only, meaning that the map to be synthesized becomes Pn-1. The size reduction process is iteratively applied until it reaches tensor product of only 2 × 2 matrices.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…