Sei sulla pagina 1di 4

Computers now on the market are heat at a rate equal to its processor fre- 80s.

fre- 80s. Several other reversible logic gates


faster, smaller and more complex than quency (e.g., 1 GHz), then its power have since been proposed, including
their predecessors. However, the price consumption will be approximately the Feynman gate, Kerntopf gate, Peres
paid for this speed and complexity is 4×1016×KT ln2 = 0.05 Watt. (Note: This gate and the Margolus gate.
increased power consumption. The pri- assumes that the processor works at the As the basic elements of any logic
mary reasons for the rise in power con- temperature of 300 K.) This rate at circuit, logic gates are used to realize
sumption are the increase in clock fre- which heat is generated is still small. Boolean functions. By combining
quency and the increased number of However, according to Moore’s law, the reversible logic gates, we can construct
transistors packed onto a chip. speed, the complexity and, hence, the reversible circuits that can perform
In any digital computer, an array of heat dissipation—due to the informa- complex logical and arithmetic opera-
0s and 1s represents a number. Every tion loss—will increase exponentially. If tions. For a gate to be reversible, the
operation in a computer corresponds to this current trend continues, there will logic function it realizes has to be bijec-
the manipulation of the bits, e.g., flip- be an intolerable amount of heat gener- tive. That is, there must be a one-to-one
ping of 0 to 1 or 1 to 0. Internally, com- ated by computer sys- m a p p i n g
puters consist of millions of gates tems not between
that perform logic operations.
In most cases, these logic
operations are so called
irreversible. That is, some

Reversible logic

©EYEWIRE COMPOSITE: MKC


W! David Pan and
Mahesh Nalasani
information about the inputs
is erased every time a logic
operation (function) is per-
formed. Thus, we cannot
deduce the inputs from just
knowing the outputs alone.
In addition, distinct logi- so far down the inputs and outputs.
cal states of a computer road. Definitely, we should By definition, any
must be represented by dis- be looking for revolutionary reversible gate has an “inverse”
tinct physical states of the computer technologies that permit extremely (also called a “dual”). One can run the
hardware. Suppose that n bits are low power consumption and heat dissi- logical operations backwards by cascad-
erased (reset to zeros) due to irre- pation in computing. ing a reversible logic gate with its dual.
versible logic operations. Before the Reversible circuits are also called
erasure operation, these n bits could be Reversible logic operations lossless circuits, as there is neither ener-
in any of the 2n possible states. After One highly promising computing gy loss nor information loss. These cir-
the erasure, they are compressed to just technology is the employment of cuits are very attractive for applications
one state. In order to compress the logi- reversible logic operations, which do where extremely low power consump-
cal states of the computer, however, not erase information. Thus, they dissi- tion, or heat dissipation, is desirable in
one must compress its physical states, pate (virtually) zero heat. But, before areas ranging from communications,
thereby lowering the entropy of the we discuss the reversible logic, let’s low power VLSI (Very Large-Scale
hardware. By the Second Law of consider a reversible system in general. Integration) technology, optical com-
Thermodynamics, such decrease of For any system to be reversible, it has puting to nanotechnology. Reversible
entropy of the hardware leads to dissi- to be able to operate in a backward logic has been found to be very useful
pated energy. According to R. direction. This ability allows us to in quantum computing where the quan-
Landauer’s research in the 1960s, the reproduce the inputs from the outputs tum evolution is inherently reversible.
amount of energy (heat) dissipated for of the system.
every irreversible bit operation is given In 1973, C. H. Bennett concluded The basic gate
by KT ln2, where K is the Boltzmann’s that no energy would dissipate from a (1, 1) Reversible logic gates. Any
constant (1.3807×10-23 JK-1) and T is the system as long as the system was able logic gate can be characterized by its
operating temperature. For T equal to to return to its initial state from its final number of inputs and outputs. A (m, n)
room temperature (300 K), KT ln2 is state regardless of what occurred in gate has m inputs and n outputs. A
approximately 2.8×10 -21 J, which is between. The logic supporting the trivial (1, 1) reversible gate is an input-
small but non-negligible. process of running the system in the copying gate: the input simply passes
If we assume that every transistor backward direction is called reversible though the gate unchanged. (This is the
out of the 40 million transistors in a logic. Toffoli and Fredkin discovered simplest logic gate with a single input
processor (e.g., Pentium IV) dissipates reversible logic in the late 70s and early and a single output.) We can use this

38 0278-6648/05/$20.00 © 2005 IEEE IEEE POTENTIALS


gate to “fan-out” the input signal. Since The Feynman gate inverts the input A when B = 1 and C =
the output is a mere copy of the input, A Feynman gate with input vector 1 (see Fig. 4).
we can easily recover the input from (B, A) and output vector (Y, X) imple- By definition, any reversible gate has
the output. ments the logic functions: Y = B , and an “inverse” (also called a “dual”). This
Another example is the one-bit X =A B. The input-to-output map- is a gate that reverses its logic function.
inverter, with its output being the pings are shown in Fig. 2. A gate is said to be self-reversible if its
inverse of its input. Thus, the inverter’s It can be seen from Fig. 2 that the dual is the same as itself. In the case of
input can be regenerated by inverting Feynman gate is a reversible (2, 2) gate. the single-bit inverter, the dual gate is
its output. In general, a logic gate is In this instance, one of the inputs B itself. This is also true for the (1,1) fan-
said to be reversible if the logic func- serves as a control signal: If B = 0, then out gate we have described. The Toffoli
tion it realizes is bijective. That is, not the output X is simply duplicating the gate is self-reversible as well.
only can its outputs be uniquely deter- input A; if B = 1, then the output X = The proof of self-reversibility is
mined from the inputs, but its inputs A 1 = A, an inverse of the input A. straightforward. (Note: not all reversible
can also be obtained from the outputs. For this reason, the Feynman gate is gates are self-reversible.) Proof: In Fig.
Therefore, m = n is a necessary condi- also called the controlled NOT (1- 5, the outputs of the second gate are R
tion for a gate to be reversible. CNOT) gate, or the quantum XOR gate = Z, Q = Y, P = X (ZY), and its inputs
(2, 2) Reversible logic gates. Now, (Fig. 3) due to its popularity in the field are, in turn, the outputs of the first gate.
let’s look at reversible logic gates with of quantum computing. Hence, we have Z = C, Y = B, and X =
two inputs. A conventional exclusive- In general, a k-CNOT gate is a (k+1, A (BC). By substituting X, Y, Z with
OR (XOR) gate takes two single-bit k+1) gate. It leaves the first k inputs A, B, C, we obtain R = Z + C, Q = Y =
inputs A and B, and yields one single- (called control inputs) unchanged and B, and P = X (ZY) = A (CB) (CB)
bit output X. If A = B, then X = 1; oth- inverts the last input if all of the k con- =A ((CB) (CB)) = A 0 = A.
erwise X = 0. trol inputs are 1s. We have just seen the One observation we can make
However, the (2, 1) XOR gate is not Feynman gate used as an example of a regarding the Toffoli gate in Fig. 4 is
reversible, because we cannot uniquely 1-CNOT gate. However, there is the that the Hamming weight (number of
determine what the input vector (B, A) trivial example of the 0-CNOT gates — logical ones) of an input vector is not
is from the output. For instance, the one-bit inverter, and the important always the same as that of its output
output X = 1 could have come from example of the 2-CNOT gates—or the vector. For example, the Hamming
either one of the two possible input Toffoli gate—which brings us to the (3, weight changes from three to two when
vectors, (0, 1) and (1, 0). 3) reversible gates. (111) is mapped to (110).
The reader may be wondering if all Therefore, the Toffloli gate is not a
(2, 2) gates are reversible. The answer ("# ") Reversible logic gates so-called conservative gate, whose out-
is negative. Consider a (2, 2) gate with Let’s assume that the (3, 3) gates put preserves the number of logical
input vector (B, A) and output vector under consideration have an input vec- ones in the input. Conservative logic is

BA YX B Y
BA YX
00 00 00 00

01 11 01 01

10 10 11 A X
11 10 11 10

Fig. 1 The truth table of an irreversible Fig. 2 The truth table of the Feynman Fig. 3 The quantum XOR gate, where A
(2, 2) gate. Both inputs (0 1) and (1 and B are two qubits with B being
gate. The arrows show the per-
0) are mapped to the same output the control qubits.
mutation of the set of in
(Y X) = (1 1). put vectors.

(Y, X), where X=A , B, and Y = A + B tor (C, B, A) and an output vector (Z, Y, useful as it allows us to build sequential
(“+” denotes the OR operation). The X). Similar to the case of (2, 2) gates, circuits with zero internal power dissi-
logic function of this gate is shown in any (3, 3) reversible gate should gener- pation. Examples of gates that are both
Fig. 1. Clearly, this is not a reversible ate a set of output vectors that is a per- conservative and reversible include the
gate, since there exists a 2-to-1 map- mutation of the set of input vectors, Margolus gate and the Fredkin gate.
ping from the input to the output. (000, 001, 010, 011, 100, 101, 110, 111). The Fredkin gate. This gate has been
In order for a (2, 2) gate to be Thus, there exist 8! = 40,320 possible (3, employed by many reversible logic cir-
reversible, the mapping of its logic 3) reversible logic gates. We now will cuits (see Fig. 8 for an example).
function should be such that the set of examine two important (3, 3) reversible Consider a (3, 3) Fredkin, which real-
output vectors is a permutation of the gates. izes Z = C, Y = BC + AC , and X = BC +
set of input vectors, (00, 01, 10, 11). It The Toffoli gate. This gate has the AC, where (C, B, A) is the input vector,
then follows that there exist 4! = 24 input-output relations: Z = C, Y = B, and (Z, Y, X) is the output vector. The
possible reversible (2, 2) logic gates. and X = A ( (CB) (note that CB stands Fredkin gate is also self-reversible (with
Feynman gate is one of the most well for C AND B). The Toffoli gate is a 2- a proof similar to that given for the
known reversible (2, 2) logic gates. CNOT gate since it passes the two Toffoli gate). As depicted in Fig. 6, the
inputs (B and C) unchanged and it Fredkin gate uses C as its control input:

FEBRUARY/MARCH 2005 39
If C = 0, then the outputs are simply circuits in that the circuit creates some has more outputs than its conventional
duplicates of the inputs; otherwise if C redundant outputs. These outputs irreversible counterpart for the same
= 1, then the two input lines (A and B) appear to be “useless” in terms of real- number of inputs. We need them so
are interchanged (the lower half of the izing the desired logic functions (e.g., that we can retrieve the inputs to the
table). Obviously, the Fredkin gate is sum and carry out in the case of the reversible gate from its outputs. These
conservative. adder). Nevertheless, we must not dis- redundant outputs that are added to
In fact, the Fredkin gate is a univer- card these redundant outputs. make a logic function reversible are
sal gate in that it can be “programmed” Otherwise, information will be erased. called “garbage bits.”
(The circuit is no longer reversible with
unequal numbers of input and output CBA ZYX
CBA ZYX
000 000 000 000
001 001 Z 001 001
C R 010 010
010 010
Y
011 011 B
T X T Q 011 011
100 100 A P 100 100
101 101 101 110
110 111 Fig. 5 Two identical Toffoli gates are 110 101
cascaded. The outputs of the
111 110 second gate are the same as the 111 111
inputs to the first gate: R = C, Q =
Fig. 4 The truth table of the Toffoli gate. B, and P = A. Fig. 6 The truth table of the Fredkin
The arrows show the permutation gate, where C is the control input.
of the set of input vectors.
as different basic building blocks of vir- lines.)
tually any reversible logic circuits. For Moreover, if we want to feed any Challenges and promises
example, we can construct the follow- intermediate output signal to more than Our discussion has focused on logi-
ing logic gates by pre-setting some inputs two succeeding gates, we need at least cal reversibility – the inputs and outputs
of the Fredkin gate of reversible logic
as follows (see also gates that can be
Fig. 7): C C C C C C
uniquely retrievable
• AND gates from each other.
If input B = 0, 0 AC B B+C 0 C However, we have
then Z = C, Y + AC,
and X + AC. A
F AC 1
F B+C 1
F C
not touched upon the
other aspect of
• OR gates (a) (b) (c) reversible logic—
If input A = 1, physical reversibility,
then Z = C, Y = BC + C Fig. 7 Fredkin gate implementation of (a) AND; (b) OR; and (c) which is related to the key issue
= B + C, and X = BC + C FAN-OUT / NOT. as to whether we can build physi-
=B+C. cal gates and circuits that can
• FAN-OUT / NOT gate one fan-out gate to duplicate the signal. actually operate backwards and con-
If A = 1 and B = 0, then Z = C, Y = C, By contrast, in conventional irreversible sume (almost) zero power.
and X = C . logic circuits duplication is much sim- As such, we are still confronted with
Fig. 8 illustrates a full adder that is pler to achieve—multiple fan-outs of many challenges before actually turning
built with Fredkin gates, where A and B any output are allowed. reversible logic into a practical competi-
are single-bit inputs, and Cin denotes In general, any reversible logic gate tive technology. For example, we need
the single-bit “carry efficient synthesiz-
input.” The single- ing methods to
bit output for the Cin minimize garbage
sum is: Sum = 0 Sum bits, and we are
(Cin(A B )) +
(C in (A B)), and 1
F F F short of simula-
tion, synthesis,
the single-bit out- testing and verify-
put for the “carry ing tools for
A
output” is: C out = d e s i g n i n g
Cin (A + B) + (AB). B reversible logic.
In this adder 0 Cout
But researchers
example, the reader
may have noticed 1
F F F around the world
have been doing
that the reversible some exciting
logic circuit is quite research and mak-
different from conven- Fig. 8 Fredkin gate implementation of a single-bit full adder. Note that those ing progress in this
tional irreversible logic outputs (with dashed lines) other than the desired outputs (Sum and Cout) direction. The MIT
have to be retained in order for the adder to be reversible.

40 IEEE POTENTIALS
“Pendulum” project has been one such on VLSI, April 2002, pp. 83-88. Computing Group at the University of
pioneering effort, which yielded an • A. De Vos, B. Raa and L. Storme, Florida.
architecturally reversible, proof-of-con- “Generating the group of reversible
cept processor implemented by using logic gates,” Institute of Physics About the authors
split-level charge recovery logic. Publishing: Journal of Physics A: W. David Pan is an Assistant
There is little doubt that reversible Mathematical and General 35(33) Professor of Electrical and Computer
logic (and reversible computing in a (2002), pp. 7063-7078. Engineering at the University of
broader sense) will become increasing- • V. V. Shende, A. K. Prasad, I. L. Alabama in Huntsville. He received his
ly “hot” in the near future. The energy Markov, and J. P. Hayes, “Reversible Ph.D. degree in Electrical Engineering
dissipated per irreversible logic opera- logic circuit synthesis,” IEEE from the University of Southern
tion is gradually approaching the funda- Transactions on Computer-Aided California, Los Angeles, in 2002, and his
mental limit of KT ln2. Coupled with Design of Integrated Circuits and M.S. degree in Computer Engineering
the exponential growth of the speed Systems, June 2003, pp. 710-722. from the University of Louisiana at
and the complexity of the computing • D. Maslov and G. W. Dueck, Lafayette in 1998.
systems, we may be forced to rely on “Reversible Cascades with Minimal Dr. Pan has held summer research
this “cool” technology to achieve ultra Garbage,” IEEE Transactions on positions at the Advanced System Lab,
low-power computing. Computer-Aided Design of Integrated SGS-Thomson (ST) Microelectronics,
Circuits and Systems, Nov. 2004, pp. San Diego, CA, and at AT&T Labs –
Read more about it 1497-1509. Research, Middletown, NJ. His research
• C. H. Bennett, “Logical reversibility interests include multimedia signal pro-
of computation,” IBM Journal of Websites: cessing and communications, as well as
Research and Development, 17 (1973), •http://www.research.ibm.com/peo- the emerging quantum computing.
pp. 525-532. ple/b/bennetc/chbbib.htm: Mahesh Nalasani is a graduate stu-
• C. H. Bennett, “Notes on the histo- Bibliography of Charles H. Bennett dent in the Department of Electrical and
ry of reversible computation,” IBM •http://www.ai.mit.edu/~cvieri/reve Computer Engineering at the University
Journal of Research and Development, rsible.html: MIT AI Lab Reversible of Alabama in Huntsville. He received
32 (1988), pp.16-23. Computing Home Page his B. Tech degree in Electronics and
• P. Kerntopf, “Synthesis of multi- •http://www.ece.pdx.edu/~mperko Communications Engineering from
purpose reversible logic gates,” ws/PQLG/: Portland Logic Group at Jawaharlal Nehru Technological
Euromicro Symposium on Digital Portland State University University (JNTU), Hyderabad, India in
System Design, Sep. 2002. •http://www.elis.rug.ac.be/ELISgrou 2001.
• J. W. Bruce, M. A. Thornton, L. ps/solar/projects/computer.html: Nalasani worked as a lecturer in the
Shivakumaraiah, P. S. Kokate, and X. Li, Reversible Computers at the Ghent Department of Electronics at JNTU from
“Efficient adder circuits based on a con- University 2001 to 2002. His research interests are
servative reversible logic gate,” IEEE •http://www.cise.ufl.edu/research/r in image/video coding and power-effi-
Computer Society Annual Symposium evcomp/: Reversible and Quantum cient VLSI design.

The more things change, the more they remain the same

College graduates with good communication skills have a hiring advantage according to a study published by the National
Association of Colleges and Employers (NACE). "Since 1999, communication skills—both written and verbal—have topped employ-
ers’ lists," says Marilyn Mackes, NACE executive director. Moreover, candidates have "two key opportunities to demonstrate”
them—”on their resume and in the interview." Says Mackes, "Ironically, when we asked employers what skill was most lacking in col-
lege job candidates, good communication skills also topped the list." However,
employers have a pretty extensive wish list of other skills and qualities they are look- Employers rate candidate qualities/skills
ing for as well including a strong work ethic. (5-point scale, 1=not important
And that's assuming the candidate meets the employer’s basic criteria for job and 5=extremely important)
candidates, such as the requisite degree, experience or GPA. "For example,” Mackes
states, “nearly 70 percent of employers reported that they screen college job candi- Communication skills (written and verbal) 4.7
Honesty/integrity 4.7
dates based on GPA, and the largest group said they use a 3.0 as their 'cutoff.’
Interpersonal skills (relates well to others) 4.5
Candidates who fail to meet that cutoff aren't considered for job opportunities."
Strong work ethic 4.5
A candidate's work experience is also important to employers. Even unrelated
Teamwork skills (works well with others) 4.5
work experience can help a candidate stand out. “Employers are looking for evi- Analytical skills 4.4
dence that a candidate has the skills, qualities and abilities they believe are impor- Motivation/initiative 4.4
tant to workplace success and work experience—even if it's not directly related to Flexibility/adaptability 4.3
the job at hand—can provide that evidence," explains Mackes. The ability to pro- Computer skills 4.2
vide that evidence relates back to good communication skills. Because, according Detail-oriented 4.1
to Mackes, "Successful candidates know how to showcase their work experience on Leadership skills 4.0
their resume and during the interview demonstrate to employers that they have a Organizational skills 4.0

strong work ethic or the necessary teamwork skills."


Source: Job Outlook 2005, National Association of Colleges and Employers. <www.naceweb.org>

FEBRUARY/MARCH 2005 41

Potrebbero piacerti anche