arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.04298cs.LOcs.ETquant-ph
收藏

基于张量分解的可逆逻辑电路综合算法

An Algorithm for Reversible Logic Circuit Synthesis Based on Tensor Decomposition

The Affiliated Institue of ETRI(ETRI附属研究所)

Hochang Lee, Kyung Chul Jeong, Daewan Han, Panjin Kim

AI总结:

本文提出基于张量分解的可逆逻辑电路综合算法,通过将n位置换映射转化为张量并迭代缩减规模,减少$C^2\\!X$门使用,实现可逆逻辑电路的高效综合。

摘要:

本文提出一种可逆逻辑综合算法。该任务是针对给定的n位置换映射$P_n: \{0,1\}^n \rightarrow \{0,1\}^n$,找到实现该映射的可逆逻辑门序列。本工作采用的门库由多控Toffoli门(记为$C^m\\!X$,其中m为控制位数量,取值范围为0到n-1)组成,其中m较大(>2)的受控门会进一步分解为$C^0\\!X$、$C^1\\!X$和$C^2\\!X$门。设计该算法的核心关注点是减少$C^2\\!X$门(即通用Toffoli门)的使用。主要思路是将n位置换映射视为秩为2n的张量,并对其进行变换,使得到的映射可表示为秩为(2n-2)的张量与2×2单位矩阵的张量积。设$\u001f_n$为所有n位置换映射的集合,本文试图找到一个规模缩减映射$\u001f_{\rm red}: \u001f_n \rightarrow \{P_n: P_n = P_{n-1} \otimes I_2\}$,其中$I_m$为m×m单位矩阵。可以看出,输出$P_{n-1} \otimes I_2$仅在n-1位上起非平凡作用,意味着待综合的映射变为$P_{n-1}$。将该规模缩减过程迭代应用,直至其仅为2×2矩阵的张量积。

英文摘要:

An algorithm for reversible logic synthesis is proposed. The task is, for a given $n$-bit substitution map $P_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 $C^m\!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 $C^0\!X$, $C^1\!X$, and $C^2\!X$ gates. A primary concern in designing the algorithm is to reduce the use of $C^2\!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\times 2$ identity matrix. Let $\mathcal{P}_n$ be a set of all $n$-bit substitution maps. What we try to find is a size reduction map $\mathcal{A}_{\rm red}: \mathcal{P}_n \rightarrow \{P_n: P_n = P_{n-1} \otimes I_2\}$. %, where $I_m$ is the $m\times m$ identity matrix. One can see that the output $P_{n-1} \otimes I_2$ acts nontrivially on $n-1$ bits only, meaning that the map to be synthesized becomes $P_{n-1}$. The size reduction process is iteratively applied until it reaches tensor product of only $2 \times 2$ matrices.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑