Engineering Letters, 13:2, EL_13_2_3 (Advance online publication: 4 August 2006) Design of Reversible/Quantum Ternary Multiplexer and Demultiplexer

Similar documents
GF(4) Based Synthesis of Quaternary Reversible/Quantum Logic Circuits

Mozammel H A Khan. Marek A Perkowski. Pawel Kerntopf

Design of an Online Testable Ternary Circuit from the Truth Table

In

A New Approach to Online Testing of TGFSOP-based Ternary Toffoli Circuits

Combinational Logic. By : Ali Mustafa

On Universality of Ternary Reversible Logic Gates

arxiv:quant-ph/ v1 27 Sep 2005

ONLINE TESTING IN TERNARY REVERSIBLE LOGIC

Design and Optimization of Reversible BCD Adder/Subtractor Circuit for Quantum and Nanotechnology Based Systems

DETERMINISTIC AND PROBABILISTIC TEST GENERATION FOR BINARY AND TERNARY QUANTUM CIRCUITS

Cost Reduction in Nearest Neighbour Based Synthesis of Quantum Boolean Circuits

Reversible Circuit Using Reversible Gate

Digital Logic Design ENEE x. Lecture 14

Boolean circuits. Figure 1. CRA versus MRA for the decomposition of all non-degenerate NPN-classes of three-variable Boolean functions

Optimized Nanometric Fault Tolerant Reversible BCD Adder

Design and Implementation of Nanometric Fault Tolerant Reversible BCD Adder

Design and Implementation of Combinational Circuits using Reversible Gates

CMSC 313 Lecture 18 Midterm Exam returned Assign Homework 3 Circuits for Addition Digital Logic Components Programmable Logic Arrays

Group Theory Based Synthesis of Binary Reversible Circuits

A Novel Reversible Gate and its Applications

Unit 3 Session - 9 Data-Processing Circuits

Quantum Phase Estimation using Multivalued Logic

Logic. Combinational. inputs. outputs. the result. system can

Design of Reversible Code Converters Using Verilog HDL

Regularity and Symmetry as a Base for Efficient Realization of Reversible Logic Circuits

Department of ECE, Assistant professor, Sri Padmavatimahilavisvavidyalayam, Tirupati , India

Conference on Advances in Communication and Control Systems 2013 (CAC2S 2013)

OPTIMAL DESIGN AND SYNTHESIS OF FAULT TOLERANT PARALLEL ADDER/SUBTRACTOR USING REVERSIBLE LOGIC GATES. India. Andhra Pradesh India,

Majority-Based Reversible Logic Gate

COMBINATIONAL LOGIC FUNCTIONS

CprE 281: Digital Logic

Computer Science & Engineering Dept, West Bengal University of Technology 2 Information Technology Dept, Manipal University

Scalable Systolic Structure to Realize Arbitrary Reversible Symmetric Functions

Direct Design of Reversible Combinational and Sequential Circuits Using PSDRM Expressions

ECE 341. Lecture # 3

A COMPARISON OF LOGICAL EFFICIENCY

Design of a Compact Reversible Random Access Memory

Synthesis of Quantum Circuit for FULL ADDER Using KHAN Gate

Chapter 2. Review of Digital Systems Design

Reversible Circuit Synthesis of Symmetric Functions Using a Simple Regular Structure

Realization of 2:4 reversible decoder and its applications

ELCT201: DIGITAL LOGIC DESIGN

Design of a compact reversible binary coded decimal adder circuit

Combinational Logic. Mantıksal Tasarım BBM231. section instructor: Ufuk Çelikcan

A Modular Approach to Designing an Online Testable Ternary Reversible Circuit

Technical Report: Projects & Background in Reversible Logic

Function of Combinational Logic ENT263

IT T35 Digital system desigm y - ii /s - iii

Synthesis of Fredkin-Toffoli Reversible Networks

Reversible Function Synthesis with Minimum Garbage Outputs

Systems I: Computer Organization and Architecture

FULL ADDER/ SUBTRACTOR USING REVERSIBLE LOGIC

Design of Reversible Logic based Basic Combinational Circuits

Quantum Cost Optimization for Reversible Carry Skip BCD Adder

On the Analysis of Reversible Booth s Multiplier

Analysis of Multiplier Circuit Using Reversible Logic

Synthesis of Reversible Circuits for Large Reversible Functions

Design of Sequential Circuits

A Novel Nanometric Reversible Four-bit Signed-magnitude Adder/Subtractor. Soudebeh Boroumand

Optimized Reversible Programmable Logic Array (PLA)

A General Decomposition for Reversible Logic

Additional Gates COE 202. Digital Logic Design. Dr. Muhamed Mudawar King Fahd University of Petroleum and Minerals

Two-Qubit Quantum Gates to Reduce the Quantum Cost of Reversible Circuit

Chapter 4. Combinational: Circuits with logic gates whose outputs depend on the present combination of the inputs. elements. Dr.

Australian Journal of Basic and Applied Sciences

Combinational Logic Design Arithmetic Functions and Circuits

Combinational Logic. Jee-Hwan Ryu. School of Mechanical Engineering Korea University of Technology and Education

Logic. Basic Logic Functions. Switches in series (AND) Truth Tables. Switches in Parallel (OR) Alternative view for OR

ENERGY loss is an important consideration in digital design.

Some Recent Research Issues in Quantum Logic

Chapter 3 Combinational Logic Design

Quantum Multiple-Valued Decision Diagrams Containing Skipped Variables

211: Computer Architecture Summer 2016

Carry Bypass & Carry Select Adder Using Reversible Logic Gates

Logic and Computer Design Fundamentals. Chapter 8 Sequencing and Control

Reversible Logic irreversible gates reversible gates

DESIGN AND IMPLEMENTATION OF ENCODERS AND DECODERS. To design and implement encoders and decoders using logic gates.

Design and Minimization of Reversible Circuits for a Data Acquisition and Storage System

FPGA IMPLEMENTATION OF BASIC ADDER CIRCUITS USING REVERSIBLE LOGIC GATES

ENERGY EFFICIENT DESIGN OF REVERSIBLE POS AND SOP USING URG

Number System. Decimal to binary Binary to Decimal Binary to octal Binary to hexadecimal Hexadecimal to binary Octal to binary

Chapter 5 Arithmetic Circuits

Multi-Output Galois Field Sum of Products Synthesis with New Quantum Cascades

A New Approach for Designing of 3 to 8 Decoder and It s Applications Using Verilog HDL

CprE 281: Digital Logic

A novel design approach of low power consuming Decoder using Reversible Logic gates

Combinational Logic Design Combinational Functions and Circuits

Low Power Reversible Parallel Binary Adder/Subtractor Rangaraju H G 1, Venugopal U 2, Muralidhara K N 3, Raja K B 2

Online Testable Reversible Circuits using reversible gate

Department of ECE, Vignan Institute of Technology & Management,Berhampur(Odisha), India

Chapter 4: Combinational Logic Solutions to Problems: [1, 5, 9, 12, 19, 23, 30, 33]

Power Minimization of Full Adder Using Reversible Logic

Combinational Logic. Lan-Da Van ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C.

Quantum computing! quantum gates! Fisica dell Energia!

We are here. Assembly Language. Processors Arithmetic Logic Units. Finite State Machines. Circuits Gates. Transistors

High Speed Time Efficient Reversible ALU Based Logic Gate Structure on Vertex Family

Combinational Logic. Lan-Da Van ( 范倫達 ), Ph. D. Department of Computer Science National Chiao Tung University Taiwan, R.O.C.

Design of Reversible Sequential Circuit Using Reversible Logic Synthesis

Reversible Logic Synthesis with Output Permutation

Transcription:

Engineering Letters, :, EL (dvance online publication: 4 ugust 6) Design of Reversible/Quantum Ternary Multiplexer and Demultiplexer Mozammel H.. Khan Department of Computer Science and Engineering, East West University, 4 Mohakhali, Dhaka, NGLDESH. mhakhan@ewubd.edu bstract: In this paper, we show realization of macrolevel ternary reversible -qudit Feynman gate, -qudit controlled Feynman gate, and -qudit Toffoli gates using ternary reversible -qudit gates and -qudit Muthukrishnan-Stroud gates, which are theoretically realizable using quantum technology such as liquid ion trap []. Then we show the design of ternary reversible multiplexer and demultiplexer using the macro-level Keywords: Demultiplexer, logic synthesis, multiplexer, quantum circuits, reversible circuits, ternary logic.. Introduction Ternary reversible/quantum logic synthesis is a new and immature research area [-9]. Papers [4, 7] presented ternary quantum logic synthesis methods using -qudit (quantum digit) Generalized Ternary Gate (GTG) family [], which is a macro-level gate family and is needed to be realized using primitive quantum Papers [,, 5, 6] presented ternary quantum logic synthesis methods using multi-qudit macro-level gates, which are also needed to be realized using primitive quantum Papers [-7] presented generalized synthesis techniques but did not give synthesis examples of practically important ternary circuits like adder, subtractor, encoder, decoder, multiplexer, demultiplexer, etc., except the synthesis of ternary adder circuits in [4, 5]. These circuits are major sub-circuits needed for digital system design. Synthesis of ternary reversible/quantum adder/subtractor is given in [8] and realization of ternary reversible/quantum encoder and decoder is given in [9]. In this paper we present design of reversible/quantum realization of ternary multiplexer and demultiplexer circuits. For this purpose, we show realization of macrolevel ternary reversible -qudit Feynman gate, -qudit controlled Feynman gate, and -qudit Toffoli gates using ternary reversible -qudit gates and -qudit Muthukrishnan-Stroud gates, which are theoretically realizable using quantum technology such as liquid ion trap []. Then we show the design of ternary reversible multiplexer and demultiplexer using the macro-level. Ternary -qudit permutative gates ny transformation of the qudit state represented by a unitary matrix specifies a valid -qudit ternary quantum gate. There are many such non-trivial -qudit However, in this work, we use only the unitary permutative transforms as shown by permutative matrices of Figure. Transforms Z (+) and Z (+) shift the qudit states by and, respectively. Transform Z() permutes the qudit states and, Z() permutes the qudit states and, and Z() permutes the qudit states and without affecting the other qudit state. The input-output relationships of these -qudit gates are shown in truth table form in Table. The ternary reversible -qudit gates are elementary gates and can be theoretically realized using quantum technology such as liquid ion trap technology []. Therefore, we assign them a cost of. Figure. -qudit ternary unitary permutative transforms. Table. Truth table of -qudit ternary reversible Input Output + + If two -qudit gates x and y in cascade have the resultant effect that the input signal to the gate x is restored at the output of the gate y, then the gate y is said to be the inverse gate of the gate x. Table shows the inverse gates of all the -qudit Table. -qudit ternary reversible gates and their inverse Gate (+) (+) Inverse gate Z( + ) = Z() = Z() = Z( + ) = Z() = Z Z (+) Z () Z () Z() Z Z (+) Z () Z () Z()

. Ternary Muthukrishnan-Stroud gates Muthukrishnan and Stroud [] proposed a family of -qudit d-valued gates, which applies a -qudit unitary transform on the second qudit conditional on the first qudit being (d ). Figure and Table show five such ternary (d = ) unitary permutative transforms and Figure gives the symbolic representation of ternary Muthukrishnan-Stroud (M-S) The ternary M-S gates can be theoretically realized using quantum technology such as liquid ion trap technology as an elementary gate []. Therefore, we assign these gates a cost of. Z P = Z transform of if = Q = otherwise where Z +, +,,, { } Figure. Symbol of -qudit ternary Muthukrishnan- Stroud gates [cost = ]. 4. Ternary Feynman gates We propose ternary counter part of binary Feynman gate in Figure (a), where the output P = and the output Q = + (GF). The realization of the gate using M-S gates is shown in Figure (b). The second gate along the input line is the inverse gate of the first gate, which restores the input signal. The truth tables along the input line verify that the output Q = + (GF). The cost of the realization is 4. + P = Q = + (GF) + P = Q = + Figure. -qudit ternary Feynman gate [cost=4]. We propose a -qudit controlled Feynman gate as shown in Figure 4(a). The outputs are P =, Q =, and R = + C (GF) if =, otherwise R = C. The realization of the gate using M-S gates is shown in Figure 4(b). The output P is always equal to. When =, then the gates along the input line will be active and the circuit will become equivalent to the circuit of Figure (b) and the outputs will be Q = and R = + C (GF). If, then the gates along the input line will not be active and the output Q will be equal to. In this situation, if, then the + and + gates along the input line C will not be active and the output R will be equal to C. ut, if =, then the + and + gates along the input line C will be active, but as + gate is the inverse gate of + gate, there will be no change of input C and the output R will be equal to C. The cost of the realization is 4. Figure 4. -qudit ternary controlled Feynman gate [cost=4]. 5. Ternary Toffoli gates We propose a -qudit ternary Toffolli gate as shown in Figure 5(a), where X and X are two controlling inputs and X is the controlled input. If the two controlling input values are, then Z transform is applied on the controlled input, otherwise the controlled input is passed unchanged. Realization of this gate using M-S gates is shown in Figure 5(b), where a constant input is changed to by using two + transforms controlled from the two controlling inputs X and X, and then the resultant constant is used to control the input X. The right most two gates are the inverse gates of the left most two gates used to restore the constant input. The cost of this realization is 5. X X X X X Y = X Y = X Z Z transform of X if X = X = Y = X otherwise Inverse gates + + + + Z X C C + P = Q = + C (GF) if = R = C otherwise + Y Y Figure 5. -qudit ternary Toffoli gate [cost=5]. Y P = Q = R

6. Ternary Reversible Decoder with ctive- Outputs We will use ternary reversible decoder with active- outputs for designing both ternary reversible multiplexer and demultiplexer. The design of ternary reversible decoders is discussed in [9]. The truth table of a 9 ternary decoder with active- output is shown in Table. For a given input combination, only the selected output will be and the remaining outputs will be. Realization of the ternary reversible decoder is shown in Figure 6 adopted from [9]. The cost of this realization is 5 9+=57. Table. Truth table of a 9 ternary decoder with active- output O O O 7. Realization of Ternary Reversible Multiplexer The truth table of a 9 ternary multiplexer is shown in Table 4, where the output is equal to the selected input. The realization of the multiplexer is shown in Figure 7. Depending on the select combination, one of the decoder outputs becomes and the other decoder outputs remain. The -outputs do not drive the corresponding controlled Feynman The -output drives the corresponding controlled Feynman gate and the multiplexer output becomes exactly equal to the corresponding multiplexer input. For example, if = and =, then the decoder output O becomes and the remaining decoder outputs become. In this situation, only the first controlled Feynman gate from the left will be active and the multiplexer output will be equal to I. The cost of the realization is. 8. Realization of Ternary Reversible Demultiplexer The truth table of a 9 ternary demultiplexer is shown in Table 5, where only the selected output is equal to the input I and the remaining outputs are. The realization of the demultiplexer is shown in Figure 8. Depending on the select combination, one of the decoder outputs becomes and the other outputs remain. The - outputs do not drive the corresponding controlled Feynman The -output drives the corresponding controlled Feynman gate and the corresponding demultiplexer output becomes exactly equal to the demultiplexer input. For example, if and, = = then the decoder output O becomes and the remaining decoder outputs become. In this situation, only the first controlled Feynman gate from the left will be active and the demultiplexer output O will be equal to the demultiplexer input I and the other demultiplxer outputs will be. The cost of the realization is. Table 4. Truth table of a 9 ternary multiplexer. Output, O I I I I I 4 I 5 I 6 I 7 I 8 Table 5. Truth table of a 9 ternary demultiplexer. O O O I I I I I I I I I 9. Conclusion In this paper, we propose macro-level ternary reversible -qudit Feynman gate and -qudit controlled Feynman gate and show their realizations using ternary reversible -qudit gates and -qudit Muthukrishnan- Stroud gates, which are theoretically realizable using quantum technology such as liquid ion trap technology []. We also propose macro-level ternary reversible - qudit Toffoli gates and show its realization using ternary reversible -qudit and -qudit Muthukrishnan-Stroud We also show the realization of a 9 ternary reversible decoder with active- outputs adopted from [9]. Finally we show realization of a 9 ternary reversible multiplexer and a 9 ternary reversible demultiplexer. The cost of these realization is each. Using the similar techniques, ternary reversible multiplexers and demultiplexers of any size can be realized. In our future works, we are planing to realize ternary reversible circuits for incrementer, decrementer, normal ternary to ternary Gray code converter, ternary Gray code

to normal ternary code converter, any code to other code converters, etc.. References [] PERKOWSKI, M., L-RDI,., and KERNTOPF, P., Multiple-Valued Quantum Logic Synthesis, Proc. Int. Sump. On New Paradigm VLSI Computing, Sendai, Japan, -4 December, pp. 4-47 [] KHN, M. H.., PERKOWSKI, M.., and KERNTOPF, P., Multi-Output Galois Field Sum of Products Synthesis With New Quantum Cascades, Proc. rd Int. Symp. On Multiple-Valued Logic, Tokyo, Japan, 6-9 May, pp. 46-5 [] KHN, M. H.., PERKOWSKI, M.., KHN, M. R., and KERNTOPF, P., Ternary GFSOP Minimization Using Kronecker Decision Diagram and Their Synthesis With Quantum Cascades, J. Multiple-Valued Logic and Soft Computing, vol., no. 5-6, 5 [4] KHN, M. H.., and PERKOWSKI, M.., Genetic lgorithm ased Synthesis of Multi-Output Ternary Functions Using Quantum Cascade of Generalized Ternary Gates, Proc. 4 Congress on Evolutionary Computation, Portland, OR, US, 9- June 4, pp. 94- [5] MILLER, D. M., DUECK, G., and MSLOV, D., Synthesis Method for MVL Reversible Logic, Proc. 4 th Int. Symp. On Multiple-Valued Logic, Toronto, Canada, 9- May 4, pp. 74-8 [6] CURTIS, E., PERKOWSKI, M., Transformation ased lgorithm for Ternary Reversible Synthesis Using Universally Controlled Ternary Gates, Proc. IWLS, 4 [7] DENLER, N., YEN,., PERKOWSKI, M., and KERNTOPF, P., Synthesis of Reversible Circuits from Quantum Realizable Generalized Multi- Valued Gates, Proc. IWLS, 4 [8] KHN, M. H.., and PERKOWSKI, M.., 'Quantum Realization of Ternary Parallel dder/subtractor with Look-head Carry', Proc. 7 th Int. Symp. On Representations and Methodology of Future Computing Technologies (RM5), Tokyo, Japan, 5-6 September 5 [9] KHN, M. H.., and PERKOWSKI, M.., 'Quantum Realization of Ternary Encoder and Decoder', Proc. 7 th Int. Symp. On Representations and Methodology of Future Computing Technologies (RM5), Tokyo, Japan, 5-6 September 5 [] MUTHUKRISHNN,., and STROUD, Jr., C R. Multivalued Logic Gates for Quantum Computation, Physical Review, vol. 6, no. 5,, pp. 59/-8 + + + + + + + + + + + + + O + O + O + + + + + + Figure 6. Realization of a 9 ternary reversible decoder with active- outputs [cost = 57].

I I I I I 4 I 5 I 6 I 7 I 8 + + + + + + + + + + + + + + + + + + + + + O O O I I I I I 4 I 5 I 6 I 7 I 8 O Output Inputs Decoder Outputs Select Figure 7. Realization of a 9 ternary reversible multiplexer [cost = ]. + + + + + + + + + + + + Select + O + O + + + + O Decoder Outputs + + I + I Input O O O Outputs Figure 8. Realization of a 9 reversible demultiplexer [cost = ].