An Algorithm for Reversible Logic Circuit Synthesis Based on Tensor Decomposition

被引:1
作者
Lee, Hochang [1 ]
Jeong, Kyung Chul [1 ]
Han, Daewan [1 ]
Kim, Panjin [1 ]
机构
[1] ETRI, Affiliated Inst, Daejeon, South Korea
来源
ACM TRANSACTIONS ON QUANTUM COMPUTING | 2024年 / 5卷 / 03期
关键词
Logic synthesis; reversible circuits; quantum computing;
D O I
10.1145/3673242
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
An algorithm for reversible logic synthesis is proposed. The task is, for a given n-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 with m control bits, where m is an element of {0,& mldr;,n-1} . Controlled gates with large m(> 2) are then further decomposed into smaller gates ( m <= 2 ). A primary goal in designing the algorithm is to reduce the number of Toffoli gates, 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 2x 2 identity matrix. It can then be seen that the transformed map acts nontrivially on n-1 bits only, meaning that the map to be synthesized becomes (n-1)-bit substitution. This size reduction process is iteratively applied until it reaches a tensor product of only 2x 2 matrices. The time complexity of the algorithm is exponential in n, as most previously known heuristic algorithms for reversible logic synthesis are, but it terminates within reasonable time for not too large n, which may find practical uses. As stated earlier, our primary target is to reduce the number of Toffoli gates in the output circuit. Benchmark results show that the algorithm works well for hard benchmark functions, but it does not seem advantageous when the function is structured. As an application, the algorithm is applied to find reversible circuits for cryptographic substitution boxes, which are often required in quantum cryptanalysis.
引用
收藏
页数:28
相关论文
共 74 条
[1]   Improved simulation of stabilizer circuits [J].
Aaronson, S ;
Gottesman, D .
PHYSICAL REVIEW A, 2004, 70 (05) :052328-1
[2]   Synthesis of reversible logic [J].
Agrawal, A ;
Jha, NK .
DESIGN, AUTOMATION AND TEST IN EUROPE CONFERENCE AND EXHIBITION, VOLS 1 AND 2, PROCEEDINGS, 2004, :1384-1385
[3]   Quantum reversible circuit of AES-128 [J].
Almazrooie, Mishal ;
Samsudin, Azman ;
Abdullah, Rosni ;
Mutter, Kussay N. .
QUANTUM INFORMATION PROCESSING, 2018, 17 (05)
[4]   A Meet-in-the-Middle Algorithm for Fast Synthesis of Depth-Optimal Quantum Circuits [J].
Amy, Matthew ;
Maslov, Dmitri ;
Mosca, Michele ;
Roetteler, Martin .
IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2013, 32 (06) :818-830
[5]  
[Anonymous], 2001, FIPS PUB
[6]  
[Anonymous], 1998, SKIPJACK KEA ALGORIT
[7]  
Arabzadeh Mona, 2013, RCViewer+
[8]   Faster Homomorphic Encryption is not Enough: Improved Heuristic for Multiplicative Depth Minimization of Boolean Circuits [J].
Aubry, Pascal ;
Carpov, Sergiu ;
Sirdey, Renaud .
TOPICS IN CRYPTOLOGY, CT-RSA 2020, 2020, 12006 :345-363
[9]   ELEMENTARY GATES FOR QUANTUM COMPUTATION [J].
BARENCO, A ;
BENNETT, CH ;
CLEVE, R ;
DIVINCENZO, DP ;
MARGOLUS, N ;
SHOR, P ;
SLEATOR, T ;
SMOLIN, JA ;
WEINFURTER, H .
PHYSICAL REVIEW A, 1995, 52 (05) :3457-3467
[10]  
Barreto P SLM., 2000, Primitive submitted to NESSIE, V97, P106