SlideShare a Scribd company logo
1 of 5
Download to read offline
Papiya Biswas et al Int. Journal of Engineering Research and Applications www.ijera.com
ISSN : 2248-9622, Vol. 4, Issue 6( Version 5), June 2014, pp.12-16
www.ijera.com 12 | P a g e
Basic Reversible Logic Gates and It’s Qca Implementation
Papiya Biswas, Namit Gupta, Nilesh Patidar
Department of Electronics, SVITS, Baroli, Sanwer Road, Indore, India
Abstract
Reversible logic has various applications in various field like in Nanotechnology, quantum computing, Low
power CMOS, Optical computing and DNA computing, etc. Quantum computation is One of the most important
applications of the reversible logic.Basically reversible circuits do not lose information & reversible
computation is performed only when system comprises of reversible gates. The reversible logic is design,main
purposes are - decrease quantum cost, depth of the circuits & the number of garbage output. This paper provides
the basic‘s of reversible logic gates & its implementation in qca.
Keywords— Reversible logic, Fredkin gate, Feynman gate, Reversible gate, Power dissipation, Garbage,
Quantum cost, Quantum-dot Cellular Automata, Reversible Computing.
I. INTRODUCTION
In present day technology, in digital design
,energy loss is an important consideration.
Traditional logic circuits are found ‗irreversible logic
circuit‘ & dissipate heat energy in an order KTln2
joules that the loss of per bit of information, where
k(K=1.3806505*10-23JK-1) is Boltzmann‘s constant
& T is absolute temperature. Bennett shows that in
case of reversible logic computation KTln2 joules
energy will not dissipate. Hence reversible logic
design naturally gets priority to design combinational
as well sequential circuit.Informations are not loss in
reversible circuits.Reversible gates are required to
design reversible circuits. Reversal gates are the
building blocks for reversible circuits, having the
following characteristics.
A reversible gate has equal input & output in
order to have one to one mapping.So that the inputs
of a reversible gate can be uniquely determined from
its outputs. In a reversible gate fan out of every
signal involving primary inputs must be one.
Classical methods of synthesis of a logic cannot be
directly applied to design reversible logic circuit.
Garbage output is one of the most important features
of a reversible gate . Every gate output that is not
used as input to other gate or as a primary output is
called garbage output. Each reversible gate is
associated with a cost called quantum cost.The
quantum cost of a reversible gate is the number of
2x2 reversible gates or quantum logic gates required
in designing it.
II. BASIC DEFINATIONS RELATED TO
REVERSIBLE LOGIC
A. Reversible Function:
The Boolean function F(y1; y2,...ym) with
multiple output of m boolen variables is called
reversible if the number of output is equal to number
of inputs.Every output pattern has a unique pre-
image.
B. Reversible logic:
In reversible logic, the number of inputs are
equal to number the outputs of the gates in order to
have a one-to-one mapping. This generates a unique
set of output vector for each set of input vector. This
prevents the loss of information which causes power
dissipation.In reversible logic fan-out is not possible
and feedback or loops are not allowed.Some features
of a reversible logic circuit that it should have are :-
Minimum input constants.
Minimum number of reversible gates.
Minimum number of garbage outputs.
C. Garbage outputs:
The number of outputs added to make an n-
input-k-output function ((n;k)function)reversible is
called garbage. whenever it is necessary to make
equal number of inputs and outputs additional inputs
or outputs can be added .Relation between the
number of garbage outputs and constant inputs are
shown below-
Input + constant input = output + garbage.
D. Quantum cost:
The cost of the circuit in terms of the cost of a
primitive gate is called Quantum cost. It is calculated
knowing the number of primitive reversible logic
gates (1*1 or 2*2) required to realize the circuit. The
quantum cost of a circuit is the minimum number of
2*2 unitary gates to represent the circuit keeping the
output unchanged. Quantum cost of a 1*1 gate is 0
and 2*2 gate is the same, which is 1.
RESEARCH ARTICLE OPEN ACCESS
Papiya Biswas et al Int. Journal of Engineering Research and Applications www.ijera.com
ISSN : 2248-9622, Vol. 4, Issue 6( Version 5), June 2014, pp.12-16
www.ijera.com 13 | P a g e
E. Flexibility:
The universality of a reversible logic gate for
realizing more functions is term as Flexibility.
F. Gate Level:
Gate level refers to the number of levels in the circuit
which are required to realize the given logic
functions.
G .Width of reversible gate: The number is called
logic width of the gate if the number of output bits of
a reversible logic gate necessarily equals its number
of input bits.
III. REVERSIBLE LOGIC GATES
There are three major design goals in reversible
logic.1) The quantum cost, which is the number of
1*1 and 2*2 reversible calculations necessary to
generate the logical output, should be minimized in
order to reduce the computation complexity of the
device.2) The delay, which is the logical depth of the
device, should be minimized.3)The ancillary inputs
and garbage outputs - inputs and outputs not
implemented in the design of the gate and only serve
to maintain reversibility of the device – ought to be
reduced and ideally eliminated.
Some of the important reversible logic gates are:
3.1 Feynman Gate
The 2*2 gate is a feynman gate & is also called
as controlled NOT , it is widely used for fan-out
purposes. The inputs (A,B) and output P=A,Q=A xor
B.
Fig 1: Feynman gate
The Equations are:
P=A
Q=A⨁𝐵
Table 1: Truth table of Feynman Gate
Inputs Outputs
A B P Q
0 0 0 0
0 1 0 1
1 0 1 1
1 1 1 0
Fig a: Implementation of Feynman Gate in QCA
3.2 Fredkin Gate:The Fredkin gate is a 3*3 gate,
maps inputs(A,B,C)to outputs
(P=A,Q=A‘B+AC,R=AB+A'C) having quantum cost
of 5 and it requires two dotted rectangle.. Fredkin
gate and its quantum implementations are shown
below:
Fig2. Fredkin gate
Table 2 : Truth table of Fredkin Gate
Inputs Outputs
A B C P Q R
0 0 0 0 0 0
0 0 1 0 0 1
0 1 0 0 0 0
0 1 1 0 0 1
1 0 0 1 0 0
1 0 1 1 1 0
1 1 0 1 0 1
1 1 1 1 1 1
P=AA
B Q=A⨁𝐵
Feynman
Gate
Q=A’B⨁𝐴𝐶
P=A
C
A
B
Fredkin Gate
𝑅 = 𝐴𝐵⨁𝐴′𝐶
Papiya Biswas et al Int. Journal of Engineering Research and Applications www.ijera.com
ISSN : 2248-9622, Vol. 4, Issue 6( Version 5), June 2014, pp.12-16
www.ijera.com 14 | P a g e
Fig b: Quantum implementation of Fredkin gate
3.3 DKG Gate:DKG gate has 4 inputs and 4 outputs,
so it is called Reversible 4*4 DKG gateBlock
diagram & qca implememtation of. DKG gate with
4*4 inputs and outputs. Is shown below:
Fig3: Block diagram of DKG Gate
The equations are:
P = B
Q = AC + AD
R = A⨁B C⨁D ⨁CD
S = B ⊕ C ⊕ D
Table 3: Truth table of DKG Gate
Inputs Outputs
A B C D P Q R S
0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 1
0 0 1 0 0 1 0 1
0 0 1 1 0 1 1 0
0 1 0 0 1 0 0 1
0 1 0 1 1 0 1 0
0 1 1 0 1 1 1 0
0 1 1 1 1 1 1 1
1 0 0 0 0 1 0 0
1 0 0 1 0 0 1 1
1 0 1 0 0 1 1 1
1 0 1 1 0 0 1 0
1 1 0 0 1 1 0 1
1 1 0 1 1 0 0 0
1 1 1 0 1 1 0 0
1 1 1 1 1 0 1 1
Fig c: Implementation of DKG Gate in QCA
3.4 MRG Gate: MRG is when utilized as a
programmable reversible logic gate with two select
inputs, it will calculate four logical calculations on
those two logical outputs: OR,NOR, XOR and
XNOR..Block diagram and qca implementation of
MRG gate is shown below:
Fig4: Block diagram of MRG Gate
The equations are:
P=A
Q = A⨁𝐵
𝑅 = (𝐴⨁𝐵)⨁𝐶
S = (AB⨁𝐷)⨁((𝐴⨁𝐵)⨁𝐶))
Table4: Truth table of MRG Gate
Inputs Outputs
A B C D P Q R S
0 0 0 0 0 0 0 0
0 0 0 1 0 0 0 1
0 0 1 0 0 0 1 1
0 0 1 1 0 0 1 0
0 1 0 0 0 1 1 1
DKG
Gate
A
B
C
D
P=B
Q
=
=
R
S= B ⨁𝐶 ⊕ 𝐷
QB
A
C
D
P
R
S
MRG
Gate
Papiya Biswas et al Int. Journal of Engineering Research and Applications www.ijera.com
ISSN : 2248-9622, Vol. 4, Issue 6( Version 5), June 2014, pp.12-16
www.ijera.com 15 | P a g e
0 1 0 1 0 1 1 0
0 1 1 0 0 1 0 0
0 1 1 1 0 1 0 1
1 0 0 0 1 1 1 1
1 0 0 1 1 1 1 0
1 0 1 0 1 1 0 0
1 0 1 1 1 1 0 1
1 1 0 0 1 0 0 1
1 1 0 1 1 0 0 0
1 1 1 0 1 0 1 0
1 1 1 1 1 0 1 1
Fig d: Implementation of MRG Gate in QCA
IV. Simulation Results:
All the design of basic reversible logic gates
were verified by using QCA Designer tool
ver.2.0.3.In the bistable approximation, we use the
following parameters, which are default parameters
in qca designer tool: number of
samples(12800),convergence tolerance (0.001000),
radius of effect(65.00nm), relativepermittivity
(12.900000),clock high(9.800000e-022), clocklow
(3.800000e-023),clock shift(0.000000+000),clock
amplitude factor (2.000000), layer separation
(11.500000), maximum iterations per sample
(100). In our QCA layouts, we have the goal of
workable design with compact layout. The simulation
results of reversible logic gates are below:
Fig1:Simulation of Feynman Gate in QCA
Fig 2: Simulation of Fredkin Gate in QCA
Fig 3: Simulation of DKG Gate in QCA
Fig4:Simulation of MRG Gate in QCA
Table 5:Simulation parameters of some reversible
logic gates based on QCA technology
Reversi
ble
gates
Comple
xity
(no.of
cell)
Area(µ
m^2)
Delay(c
lock
phases)
Simulati
on time
Feynma
n gate
75 0.08 1 3s
Fredkin
gate
187 0.19 2 3s
DKG
gate
752 1.24 4 6s
MRG
gate
456 0.52 5 5s
V. CONCLUSION:
This paper shows the basic‘s of reversible logic
gate and their implementation in Quantum cellular
automata.This paper presents the primitive reversible
gates which are gathered from literature and this
paper helps researches/designers in designing higher
complex computing circuits using reversible gates.
The paper can further be extended towards the digital
Papiya Biswas et al Int. Journal of Engineering Research and Applications www.ijera.com
ISSN : 2248-9622, Vol. 4, Issue 6( Version 5), June 2014, pp.12-16
www.ijera.com 16 | P a g e
design development using reversible logic circuits
which are helpful in quantum computing, low power
cmos, nanotechnology, cryptography, optical
computing, and DNA computing, digital signal
processing (DSP), quantum dot cellular automata,
communication, and computer graphics.
VI. ACKNOWLEDGMENT:
I acknowledge with sincerity and deep sense of
gratitude,the invaluable guidance given by my guide
Prof.Namit Gupta H.O.D of E.I Department and my
co-guide Asso.Prof.Nilesh Patidar.I extend my
sincere regards and heartfelt gratitude to my Parents
and Family members for their support and
encouragement.
REFERENCES
[1] E. Fredkin and T.Toffoli, ―Conservative
logic,‖ in Collision-based computing,
Springer-Verlag, 2002, pp. 47-81.
[2]. C.H.Bennet,‖logically reversibility of
computation”, IBM journal of research and
development pp 525-532, NOV 1973.
[3]. ―A new reversible TSG gate and its
application for designing efficient adder
circuit‖ by Himanshu Thapliyal and
M.B.Srinivas.
[4]. R. Feynman, "Simulating Physics with
Computers," International Journal of
Theoretical Physics, 1982.
[5] T. Toffoli, "Reversible Computing,"
Technical Report MIT/LCS/TM- 151, 1980.
[6]. A. Peres, ―Reversible Logic and Quantum
Computers,” Physical Review, vol. 32, iss.
6, 1985, pp 3266-3276.
[7] R. Landauer, ―Irreversibility and Heat
Generation in the Computational Process‖,
IBM Journal of Research and Development,
5, pp. 183-191, 1961.
[8] J.Smoline and David P.DiVincenzo, ―Five
two-qubit gates are sufficient to implement
the quantum fredkin gate‖, Physics Review
A, vol. 53, no.4, pp. 2855-2856, 1996.
[9] H.R.Bhagyalakshmi, M.K.Venkatesha,‖
Optimized Reversible BCD adder using new
Reversible Logic Gates‖, Journal of
Computing, Vol 2, Issue 2, February 2010.
[10] C. S. Lent, P. D. Tougaw, W. Porod, and G.
H. Bernstein, ―Quantum cellular automata,”
Nanotechnology, vol. 4, no. 1, pp. 49-57,
January 1993.
[11] P. D. Tougaw and C. S. Lent, ―Dynamic
behavior of quantum cellular automata,‖
Journal of Applied Physics, vol. 80 (8),
1996, pp. 4722–4736.
[12] W. Wang, R. Zhang, K. Walus, G. A.
Jullien, ―A method of majority logic
reduction for quantum cellular automata,‖
Nanotechnology, IEEE Transactions on, vol.
3(4), pp. 443–450, 2004.

More Related Content

What's hot

Experiment write-vhdl-code-for-realize-all-logic-gates
Experiment write-vhdl-code-for-realize-all-logic-gatesExperiment write-vhdl-code-for-realize-all-logic-gates
Experiment write-vhdl-code-for-realize-all-logic-gates
Ricardo Castro
 

What's hot (20)

An Efficient Design for Data Encryption and Decryption using Reconfigurable R...
An Efficient Design for Data Encryption and Decryption using Reconfigurable R...An Efficient Design for Data Encryption and Decryption using Reconfigurable R...
An Efficient Design for Data Encryption and Decryption using Reconfigurable R...
 
Transistor level implementation of digital reversible circuits
Transistor level implementation of digital reversible circuitsTransistor level implementation of digital reversible circuits
Transistor level implementation of digital reversible circuits
 
DEL LAB MANUAL
DEL LAB MANUALDEL LAB MANUAL
DEL LAB MANUAL
 
VLSI & E-CAD Lab Manual
VLSI & E-CAD Lab ManualVLSI & E-CAD Lab Manual
VLSI & E-CAD Lab Manual
 
Efficient Design of Reversible Sequential Circuit
Efficient Design of Reversible Sequential CircuitEfficient Design of Reversible Sequential Circuit
Efficient Design of Reversible Sequential Circuit
 
Experiment write-vhdl-code-for-realize-all-logic-gates
Experiment write-vhdl-code-for-realize-all-logic-gatesExperiment write-vhdl-code-for-realize-all-logic-gates
Experiment write-vhdl-code-for-realize-all-logic-gates
 
Deld lab manual
Deld lab manualDeld lab manual
Deld lab manual
 
ECAD lab manual
ECAD lab manualECAD lab manual
ECAD lab manual
 
Digital Logic & Design (DLD) presentation
Digital Logic & Design (DLD) presentationDigital Logic & Design (DLD) presentation
Digital Logic & Design (DLD) presentation
 
Ieee project reversible logic gates by_amit
Ieee project reversible logic gates  by_amitIeee project reversible logic gates  by_amit
Ieee project reversible logic gates by_amit
 
Introduction to digital logic
Introduction to digital logicIntroduction to digital logic
Introduction to digital logic
 
Digital logic design DLD Logic gates
Digital logic design DLD Logic gatesDigital logic design DLD Logic gates
Digital logic design DLD Logic gates
 
Logic Fe Tcom
Logic Fe TcomLogic Fe Tcom
Logic Fe Tcom
 
Digital system design lab manual
Digital system design lab manualDigital system design lab manual
Digital system design lab manual
 
VLSI Final Design Project
VLSI Final Design ProjectVLSI Final Design Project
VLSI Final Design Project
 
EE8351 DLC
EE8351 DLCEE8351 DLC
EE8351 DLC
 
Vhdl code and project report of arithmetic and logic unit
Vhdl code and project report of arithmetic and logic unitVhdl code and project report of arithmetic and logic unit
Vhdl code and project report of arithmetic and logic unit
 
Verilog VHDL code Decoder and Encoder
Verilog VHDL code Decoder and EncoderVerilog VHDL code Decoder and Encoder
Verilog VHDL code Decoder and Encoder
 
Digital Logic Circuits
Digital Logic CircuitsDigital Logic Circuits
Digital Logic Circuits
 
Design of Multiplexers, Decoder and a Full Subtractor using Reversible Gates
Design of Multiplexers, Decoder and a Full Subtractor using Reversible GatesDesign of Multiplexers, Decoder and a Full Subtractor using Reversible Gates
Design of Multiplexers, Decoder and a Full Subtractor using Reversible Gates
 

Viewers also liked

Camisa atividades do boi de parintins
Camisa atividades do boi de parintinsCamisa atividades do boi de parintins
Camisa atividades do boi de parintins
SimoneHelenDrumond
 
FB, Twitter, Slideshare http://q.4rd.ca/aaacmx Brady ready for "great rematch...
FB, Twitter, Slideshare http://q.4rd.ca/aaacmx Brady ready for "great rematch...FB, Twitter, Slideshare http://q.4rd.ca/aaacmx Brady ready for "great rematch...
FB, Twitter, Slideshare http://q.4rd.ca/aaacmx Brady ready for "great rematch...
nikhilawareness
 
Lectura 5-6 cómo aprenden los niños, niñas y adolescentes
Lectura 5-6  cómo aprenden los niños, niñas y adolescentesLectura 5-6  cómo aprenden los niños, niñas y adolescentes
Lectura 5-6 cómo aprenden los niños, niñas y adolescentes
Cosme Bionel Paco Cutipa
 

Viewers also liked (20)

Brincando e construindo com papel fantoches
Brincando e construindo com papel fantochesBrincando e construindo com papel fantoches
Brincando e construindo com papel fantoches
 
Over (open) innovatie en open geodata
Over (open) innovatie en open geodataOver (open) innovatie en open geodata
Over (open) innovatie en open geodata
 
Camisa atividades do boi de parintins
Camisa atividades do boi de parintinsCamisa atividades do boi de parintins
Camisa atividades do boi de parintins
 
FB, Twitter, Slideshare http://q.4rd.ca/aaacmx Brady ready for "great rematch...
FB, Twitter, Slideshare http://q.4rd.ca/aaacmx Brady ready for "great rematch...FB, Twitter, Slideshare http://q.4rd.ca/aaacmx Brady ready for "great rematch...
FB, Twitter, Slideshare http://q.4rd.ca/aaacmx Brady ready for "great rematch...
 
Ramillete de flores con sorpresa.Surprise flowe
Ramillete de flores con sorpresa.Surprise floweRamillete de flores con sorpresa.Surprise flowe
Ramillete de flores con sorpresa.Surprise flowe
 
Reading project
Reading projectReading project
Reading project
 
Virolai
VirolaiVirolai
Virolai
 
0374
03740374
0374
 
Curriculum vitae
Curriculum vitaeCurriculum vitae
Curriculum vitae
 
Plantas
PlantasPlantas
Plantas
 
Mosquitão da dengue simone helen drumond
Mosquitão da dengue simone helen drumondMosquitão da dengue simone helen drumond
Mosquitão da dengue simone helen drumond
 
Apostila caracol 2 de simone helen drumond
Apostila caracol 2 de simone helen drumondApostila caracol 2 de simone helen drumond
Apostila caracol 2 de simone helen drumond
 
Basic m4-2-chapter1
Basic m4-2-chapter1Basic m4-2-chapter1
Basic m4-2-chapter1
 
Manual de gparted
Manual de gpartedManual de gparted
Manual de gparted
 
Cmap tools
Cmap toolsCmap tools
Cmap tools
 
Máscaras
MáscarasMáscaras
Máscaras
 
6º apostila dos números de 0 a 9 simone helen drumond
6º apostila dos números de 0 a 9 simone helen drumond6º apostila dos números de 0 a 9 simone helen drumond
6º apostila dos números de 0 a 9 simone helen drumond
 
Act 8. tallerpractico10 francia milena albornoz valencia 22
Act 8. tallerpractico10 francia milena albornoz valencia 22Act 8. tallerpractico10 francia milena albornoz valencia 22
Act 8. tallerpractico10 francia milena albornoz valencia 22
 
Lectura 5-6 cómo aprenden los niños, niñas y adolescentes
Lectura 5-6  cómo aprenden los niños, niñas y adolescentesLectura 5-6  cómo aprenden los niños, niñas y adolescentes
Lectura 5-6 cómo aprenden los niños, niñas y adolescentes
 
Guía análisis
Guía análisis Guía análisis
Guía análisis
 

Similar to C046051216

QUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATES
QUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATESQUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATES
QUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATES
DrKavitaKhare
 

Similar to C046051216 (20)

Design of Digital Adder Using Reversible Logic
Design of Digital Adder Using Reversible LogicDesign of Digital Adder Using Reversible Logic
Design of Digital Adder Using Reversible Logic
 
Design of Digital Adder Using Reversible Logic
Design of Digital Adder Using Reversible LogicDesign of Digital Adder Using Reversible Logic
Design of Digital Adder Using Reversible Logic
 
International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI) International Journal of Engineering and Science Invention (IJESI)
International Journal of Engineering and Science Invention (IJESI)
 
A Novel Design of 4 Bit Johnson Counter Using Reversible Logic Gates
A Novel Design of 4 Bit Johnson Counter Using Reversible Logic GatesA Novel Design of 4 Bit Johnson Counter Using Reversible Logic Gates
A Novel Design of 4 Bit Johnson Counter Using Reversible Logic Gates
 
IRJET- Design and Implementation of Combinational Circuits using Reversible G...
IRJET- Design and Implementation of Combinational Circuits using Reversible G...IRJET- Design and Implementation of Combinational Circuits using Reversible G...
IRJET- Design and Implementation of Combinational Circuits using Reversible G...
 
IRJET- Design and Implementation of Combinational Circuits using Reversib...
IRJET-  	  Design and Implementation of Combinational Circuits using Reversib...IRJET-  	  Design and Implementation of Combinational Circuits using Reversib...
IRJET- Design and Implementation of Combinational Circuits using Reversib...
 
An Extensive Literature Review on Reversible Arithmetic and Logical Unit
An Extensive Literature Review on Reversible Arithmetic and Logical UnitAn Extensive Literature Review on Reversible Arithmetic and Logical Unit
An Extensive Literature Review on Reversible Arithmetic and Logical Unit
 
Cost Efficient Design of Reversible Adder Circuits for Low Power Applications
Cost Efficient Design of Reversible Adder Circuits for Low Power ApplicationsCost Efficient Design of Reversible Adder Circuits for Low Power Applications
Cost Efficient Design of Reversible Adder Circuits for Low Power Applications
 
OPTIMIZED MULTIPLIER USING REVERSIBLE MULTICONTROL INPUT TOFFOLI GATES
OPTIMIZED MULTIPLIER USING REVERSIBLE MULTICONTROL INPUT TOFFOLI GATESOPTIMIZED MULTIPLIER USING REVERSIBLE MULTICONTROL INPUT TOFFOLI GATES
OPTIMIZED MULTIPLIER USING REVERSIBLE MULTICONTROL INPUT TOFFOLI GATES
 
S4102152159
S4102152159S4102152159
S4102152159
 
Design of 4:16 decoder using reversible logic gates
Design of 4:16 decoder using reversible logic gatesDesign of 4:16 decoder using reversible logic gates
Design of 4:16 decoder using reversible logic gates
 
Efficient Design of Ripple Carry Adder and Carry Skip Adder with Low Quantum ...
Efficient Design of Ripple Carry Adder and Carry Skip Adder with Low Quantum ...Efficient Design of Ripple Carry Adder and Carry Skip Adder with Low Quantum ...
Efficient Design of Ripple Carry Adder and Carry Skip Adder with Low Quantum ...
 
SCOPE OF REVERSIBLE ENGINEERING AT GATE-LEVEL: FAULT-TOLERANT COMBINATIONAL A...
SCOPE OF REVERSIBLE ENGINEERING AT GATE-LEVEL: FAULT-TOLERANT COMBINATIONAL A...SCOPE OF REVERSIBLE ENGINEERING AT GATE-LEVEL: FAULT-TOLERANT COMBINATIONAL A...
SCOPE OF REVERSIBLE ENGINEERING AT GATE-LEVEL: FAULT-TOLERANT COMBINATIONAL A...
 
Efficient Design of Reversible Multiplexers with Low Quantum Cost
Efficient Design of Reversible Multiplexers with Low Quantum CostEfficient Design of Reversible Multiplexers with Low Quantum Cost
Efficient Design of Reversible Multiplexers with Low Quantum Cost
 
Bk044382388
Bk044382388Bk044382388
Bk044382388
 
Feasible methodology for
Feasible methodology forFeasible methodology for
Feasible methodology for
 
Design of Reversible Sequential Circuit Using Reversible Logic Synthesis
Design of Reversible Sequential Circuit Using Reversible Logic SynthesisDesign of Reversible Sequential Circuit Using Reversible Logic Synthesis
Design of Reversible Sequential Circuit Using Reversible Logic Synthesis
 
QUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATES
QUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATESQUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATES
QUANTUM COMPUTING FOR VLSI : VERILOG IMPLEMENTATION OF REVERSIBLE LOGIC GATES
 
Design of Reversible Sequential Circuit Using Reversible Logic Synthesis
Design of Reversible Sequential Circuit Using Reversible Logic SynthesisDesign of Reversible Sequential Circuit Using Reversible Logic Synthesis
Design of Reversible Sequential Circuit Using Reversible Logic Synthesis
 
Evolution of Structure of Some Binary Group-Based N-Bit Compartor, N-To-2N De...
Evolution of Structure of Some Binary Group-Based N-Bit Compartor, N-To-2N De...Evolution of Structure of Some Binary Group-Based N-Bit Compartor, N-To-2N De...
Evolution of Structure of Some Binary Group-Based N-Bit Compartor, N-To-2N De...
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 

C046051216

  • 1. Papiya Biswas et al Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 6( Version 5), June 2014, pp.12-16 www.ijera.com 12 | P a g e Basic Reversible Logic Gates and It’s Qca Implementation Papiya Biswas, Namit Gupta, Nilesh Patidar Department of Electronics, SVITS, Baroli, Sanwer Road, Indore, India Abstract Reversible logic has various applications in various field like in Nanotechnology, quantum computing, Low power CMOS, Optical computing and DNA computing, etc. Quantum computation is One of the most important applications of the reversible logic.Basically reversible circuits do not lose information & reversible computation is performed only when system comprises of reversible gates. The reversible logic is design,main purposes are - decrease quantum cost, depth of the circuits & the number of garbage output. This paper provides the basic‘s of reversible logic gates & its implementation in qca. Keywords— Reversible logic, Fredkin gate, Feynman gate, Reversible gate, Power dissipation, Garbage, Quantum cost, Quantum-dot Cellular Automata, Reversible Computing. I. INTRODUCTION In present day technology, in digital design ,energy loss is an important consideration. Traditional logic circuits are found ‗irreversible logic circuit‘ & dissipate heat energy in an order KTln2 joules that the loss of per bit of information, where k(K=1.3806505*10-23JK-1) is Boltzmann‘s constant & T is absolute temperature. Bennett shows that in case of reversible logic computation KTln2 joules energy will not dissipate. Hence reversible logic design naturally gets priority to design combinational as well sequential circuit.Informations are not loss in reversible circuits.Reversible gates are required to design reversible circuits. Reversal gates are the building blocks for reversible circuits, having the following characteristics. A reversible gate has equal input & output in order to have one to one mapping.So that the inputs of a reversible gate can be uniquely determined from its outputs. In a reversible gate fan out of every signal involving primary inputs must be one. Classical methods of synthesis of a logic cannot be directly applied to design reversible logic circuit. Garbage output is one of the most important features of a reversible gate . Every gate output that is not used as input to other gate or as a primary output is called garbage output. Each reversible gate is associated with a cost called quantum cost.The quantum cost of a reversible gate is the number of 2x2 reversible gates or quantum logic gates required in designing it. II. BASIC DEFINATIONS RELATED TO REVERSIBLE LOGIC A. Reversible Function: The Boolean function F(y1; y2,...ym) with multiple output of m boolen variables is called reversible if the number of output is equal to number of inputs.Every output pattern has a unique pre- image. B. Reversible logic: In reversible logic, the number of inputs are equal to number the outputs of the gates in order to have a one-to-one mapping. This generates a unique set of output vector for each set of input vector. This prevents the loss of information which causes power dissipation.In reversible logic fan-out is not possible and feedback or loops are not allowed.Some features of a reversible logic circuit that it should have are :- Minimum input constants. Minimum number of reversible gates. Minimum number of garbage outputs. C. Garbage outputs: The number of outputs added to make an n- input-k-output function ((n;k)function)reversible is called garbage. whenever it is necessary to make equal number of inputs and outputs additional inputs or outputs can be added .Relation between the number of garbage outputs and constant inputs are shown below- Input + constant input = output + garbage. D. Quantum cost: The cost of the circuit in terms of the cost of a primitive gate is called Quantum cost. It is calculated knowing the number of primitive reversible logic gates (1*1 or 2*2) required to realize the circuit. The quantum cost of a circuit is the minimum number of 2*2 unitary gates to represent the circuit keeping the output unchanged. Quantum cost of a 1*1 gate is 0 and 2*2 gate is the same, which is 1. RESEARCH ARTICLE OPEN ACCESS
  • 2. Papiya Biswas et al Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 6( Version 5), June 2014, pp.12-16 www.ijera.com 13 | P a g e E. Flexibility: The universality of a reversible logic gate for realizing more functions is term as Flexibility. F. Gate Level: Gate level refers to the number of levels in the circuit which are required to realize the given logic functions. G .Width of reversible gate: The number is called logic width of the gate if the number of output bits of a reversible logic gate necessarily equals its number of input bits. III. REVERSIBLE LOGIC GATES There are three major design goals in reversible logic.1) The quantum cost, which is the number of 1*1 and 2*2 reversible calculations necessary to generate the logical output, should be minimized in order to reduce the computation complexity of the device.2) The delay, which is the logical depth of the device, should be minimized.3)The ancillary inputs and garbage outputs - inputs and outputs not implemented in the design of the gate and only serve to maintain reversibility of the device – ought to be reduced and ideally eliminated. Some of the important reversible logic gates are: 3.1 Feynman Gate The 2*2 gate is a feynman gate & is also called as controlled NOT , it is widely used for fan-out purposes. The inputs (A,B) and output P=A,Q=A xor B. Fig 1: Feynman gate The Equations are: P=A Q=A⨁𝐵 Table 1: Truth table of Feynman Gate Inputs Outputs A B P Q 0 0 0 0 0 1 0 1 1 0 1 1 1 1 1 0 Fig a: Implementation of Feynman Gate in QCA 3.2 Fredkin Gate:The Fredkin gate is a 3*3 gate, maps inputs(A,B,C)to outputs (P=A,Q=A‘B+AC,R=AB+A'C) having quantum cost of 5 and it requires two dotted rectangle.. Fredkin gate and its quantum implementations are shown below: Fig2. Fredkin gate Table 2 : Truth table of Fredkin Gate Inputs Outputs A B C P Q R 0 0 0 0 0 0 0 0 1 0 0 1 0 1 0 0 0 0 0 1 1 0 0 1 1 0 0 1 0 0 1 0 1 1 1 0 1 1 0 1 0 1 1 1 1 1 1 1 P=AA B Q=A⨁𝐵 Feynman Gate Q=A’B⨁𝐴𝐶 P=A C A B Fredkin Gate 𝑅 = 𝐴𝐵⨁𝐴′𝐶
  • 3. Papiya Biswas et al Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 6( Version 5), June 2014, pp.12-16 www.ijera.com 14 | P a g e Fig b: Quantum implementation of Fredkin gate 3.3 DKG Gate:DKG gate has 4 inputs and 4 outputs, so it is called Reversible 4*4 DKG gateBlock diagram & qca implememtation of. DKG gate with 4*4 inputs and outputs. Is shown below: Fig3: Block diagram of DKG Gate The equations are: P = B Q = AC + AD R = A⨁B C⨁D ⨁CD S = B ⊕ C ⊕ D Table 3: Truth table of DKG Gate Inputs Outputs A B C D P Q R S 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 1 0 0 1 0 1 0 0 1 1 0 1 1 0 0 1 0 0 1 0 0 1 0 1 0 1 1 0 1 0 0 1 1 0 1 1 1 0 0 1 1 1 1 1 1 1 1 0 0 0 0 1 0 0 1 0 0 1 0 0 1 1 1 0 1 0 0 1 1 1 1 0 1 1 0 0 1 0 1 1 0 0 1 1 0 1 1 1 0 1 1 0 0 0 1 1 1 0 1 1 0 0 1 1 1 1 1 0 1 1 Fig c: Implementation of DKG Gate in QCA 3.4 MRG Gate: MRG is when utilized as a programmable reversible logic gate with two select inputs, it will calculate four logical calculations on those two logical outputs: OR,NOR, XOR and XNOR..Block diagram and qca implementation of MRG gate is shown below: Fig4: Block diagram of MRG Gate The equations are: P=A Q = A⨁𝐵 𝑅 = (𝐴⨁𝐵)⨁𝐶 S = (AB⨁𝐷)⨁((𝐴⨁𝐵)⨁𝐶)) Table4: Truth table of MRG Gate Inputs Outputs A B C D P Q R S 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 1 0 0 0 1 1 0 0 1 1 0 0 1 0 0 1 0 0 0 1 1 1 DKG Gate A B C D P=B Q = = R S= B ⨁𝐶 ⊕ 𝐷 QB A C D P R S MRG Gate
  • 4. Papiya Biswas et al Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 6( Version 5), June 2014, pp.12-16 www.ijera.com 15 | P a g e 0 1 0 1 0 1 1 0 0 1 1 0 0 1 0 0 0 1 1 1 0 1 0 1 1 0 0 0 1 1 1 1 1 0 0 1 1 1 1 0 1 0 1 0 1 1 0 0 1 0 1 1 1 1 0 1 1 1 0 0 1 0 0 1 1 1 0 1 1 0 0 0 1 1 1 0 1 0 1 0 1 1 1 1 1 0 1 1 Fig d: Implementation of MRG Gate in QCA IV. Simulation Results: All the design of basic reversible logic gates were verified by using QCA Designer tool ver.2.0.3.In the bistable approximation, we use the following parameters, which are default parameters in qca designer tool: number of samples(12800),convergence tolerance (0.001000), radius of effect(65.00nm), relativepermittivity (12.900000),clock high(9.800000e-022), clocklow (3.800000e-023),clock shift(0.000000+000),clock amplitude factor (2.000000), layer separation (11.500000), maximum iterations per sample (100). In our QCA layouts, we have the goal of workable design with compact layout. The simulation results of reversible logic gates are below: Fig1:Simulation of Feynman Gate in QCA Fig 2: Simulation of Fredkin Gate in QCA Fig 3: Simulation of DKG Gate in QCA Fig4:Simulation of MRG Gate in QCA Table 5:Simulation parameters of some reversible logic gates based on QCA technology Reversi ble gates Comple xity (no.of cell) Area(µ m^2) Delay(c lock phases) Simulati on time Feynma n gate 75 0.08 1 3s Fredkin gate 187 0.19 2 3s DKG gate 752 1.24 4 6s MRG gate 456 0.52 5 5s V. CONCLUSION: This paper shows the basic‘s of reversible logic gate and their implementation in Quantum cellular automata.This paper presents the primitive reversible gates which are gathered from literature and this paper helps researches/designers in designing higher complex computing circuits using reversible gates. The paper can further be extended towards the digital
  • 5. Papiya Biswas et al Int. Journal of Engineering Research and Applications www.ijera.com ISSN : 2248-9622, Vol. 4, Issue 6( Version 5), June 2014, pp.12-16 www.ijera.com 16 | P a g e design development using reversible logic circuits which are helpful in quantum computing, low power cmos, nanotechnology, cryptography, optical computing, and DNA computing, digital signal processing (DSP), quantum dot cellular automata, communication, and computer graphics. VI. ACKNOWLEDGMENT: I acknowledge with sincerity and deep sense of gratitude,the invaluable guidance given by my guide Prof.Namit Gupta H.O.D of E.I Department and my co-guide Asso.Prof.Nilesh Patidar.I extend my sincere regards and heartfelt gratitude to my Parents and Family members for their support and encouragement. REFERENCES [1] E. Fredkin and T.Toffoli, ―Conservative logic,‖ in Collision-based computing, Springer-Verlag, 2002, pp. 47-81. [2]. C.H.Bennet,‖logically reversibility of computation”, IBM journal of research and development pp 525-532, NOV 1973. [3]. ―A new reversible TSG gate and its application for designing efficient adder circuit‖ by Himanshu Thapliyal and M.B.Srinivas. [4]. R. Feynman, "Simulating Physics with Computers," International Journal of Theoretical Physics, 1982. [5] T. Toffoli, "Reversible Computing," Technical Report MIT/LCS/TM- 151, 1980. [6]. A. Peres, ―Reversible Logic and Quantum Computers,” Physical Review, vol. 32, iss. 6, 1985, pp 3266-3276. [7] R. Landauer, ―Irreversibility and Heat Generation in the Computational Process‖, IBM Journal of Research and Development, 5, pp. 183-191, 1961. [8] J.Smoline and David P.DiVincenzo, ―Five two-qubit gates are sufficient to implement the quantum fredkin gate‖, Physics Review A, vol. 53, no.4, pp. 2855-2856, 1996. [9] H.R.Bhagyalakshmi, M.K.Venkatesha,‖ Optimized Reversible BCD adder using new Reversible Logic Gates‖, Journal of Computing, Vol 2, Issue 2, February 2010. [10] C. S. Lent, P. D. Tougaw, W. Porod, and G. H. Bernstein, ―Quantum cellular automata,” Nanotechnology, vol. 4, no. 1, pp. 49-57, January 1993. [11] P. D. Tougaw and C. S. Lent, ―Dynamic behavior of quantum cellular automata,‖ Journal of Applied Physics, vol. 80 (8), 1996, pp. 4722–4736. [12] W. Wang, R. Zhang, K. Walus, G. A. Jullien, ―A method of majority logic reduction for quantum cellular automata,‖ Nanotechnology, IEEE Transactions on, vol. 3(4), pp. 443–450, 2004.