Synthesis of Quantum Barrel Shifters

A barrel shifter is a common component of high-speed processor, which can realize the displacement operation of the specified number of data word in a single cycle. On the basis of the inverse logic circuit, a displacement device with n inputs and m control bits is proposed, which is denoted as (n, m) shifter, and a set of control inputs that specify how to shift in data between input and output. On the basis of the quantum reversible logic circuits, for synthesizing the barrel shifter, we present the novel method based on the decomposition of the permutation group and some Construction Rules. It only uses (3, 1) shifter and controlled swap gate to quickly synthesize any controlled shifter with low quantum cost, and any (n, k) barrel shifter can be got by cascading the least of k corresponding (n, 1) shifters. The quantum circuit shifters generated by this method can reduce the number of quantum gates, reduce the quantum cost and improve the efficiency of the algorithm, so that all kinds of reversible barrel shifter can be rapidly designed. In this article, we mainly give the ways on qubit left circular shifts, bit permutation and line permutations, and other types of basic shift circuits are also designed.

[1]  Niraj K. Jha,et al.  An Algorithm for Synthesis of Reversible Logic Circuits , 2006, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems.

[2]  Guowu Yang,et al.  Efficient Algorithms for Optimal 4-Bit Reversible Logic System Synthesis , 2013, J. Appl. Math..

[3]  Umesh Ghanekar,et al.  In-depth Comparative Analysis of Reversible Gates for Designing Logic Circuits , 2018 .

[4]  Himanshu Thapliyal,et al.  A new CRL gate as super class of Fredkin gate to design reversible quantum circuits , 2013, 2013 IEEE 56th International Midwest Symposium on Circuits and Systems (MWSCAS).

[5]  Guowu Yang,et al.  Fast synthesis of exact minimal reversible circuits using group theory , 2005, Proceedings of the ASP-DAC 2005. Asia and South Pacific Design Automation Conference, 2005..

[6]  Mousum Handique,et al.  An Extended approach for Mapping Reversible Circuits to Quantum Circuits using NCV-|v1〉library , 2018 .

[7]  Barenco,et al.  Quantum networks for elementary arithmetic operations. , 1995, Physical review. A, Atomic, molecular, and optical physics.

[8]  Baowen Xu,et al.  Fast algorithm for 4-qubit reversible logic circuits synthesis , 2008, 2008 IEEE Congress on Evolutionary Computation (IEEE World Congress on Computational Intelligence).

[9]  John P. Hayes,et al.  Synthesis of reversible logic circuits , 2003, IEEE Trans. Comput. Aided Des. Integr. Circuits Syst..

[10]  Gerhard W. Dueck,et al.  Toffoli network synthesis with templates , 2005, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems.

[11]  T. Toffoli,et al.  Conservative logic , 2002, Collision-Based Computing.

[12]  R. Feynman Quantum mechanical computers , 1986 .