Figure 1.8 Toffoli gates as self‐reversible.
A as control input:
For , output , and ,
For , output , and .
B as control input:
For , output , and .
For , output , and .
It is better to note that when B is used as control input and
1.15 Area
The area of a logic circuit is the summation of individual areas of each gate of the circuit. Suppose a reversible circuit consists of n reversible gates. Area of those n gates are
The above definition for the area of a circuit can be calculated easily by obtaining area of each individual gate using CMOS 45 nm Open Cell Library and Synopsis Design Compiler.
Area of a gate can also be defined by the feature size. This size varies according to the number of quantum gates. As the basic quantum gates are fabricated with quantum dots with the size ranges from several to tens of nanometers (
1.16 Design Constraints for Reversible Logic Circuits
The following are the important design constraints for reversible logic circuits:
Reversible logic gates do not allow fan‐outs.
The reversible logic circuits should have minimum number of reversible gates.
Reversible logic circuits should have minimum quantum cost.
The design can be optimized so as to produce minimum number of garbage outputs.
The reversible logic circuits must use minimum number of constant inputs.
The reversible logic circuits must use a minimum logic depth or gate levels.
Reversible logic circuits should have minimum area and power.
The reversible logic circuits must use minimum hardware complexity and minimum quantum gate calculation complexity.
1.17 Quantum Analysis of Different Reversible Logic Gates
Calculating quantum cost of reversible circuit is always an interesting one. Quantum circuits, DNA technologies, nano‐technologies and optical computing are the most common applications of quantum theory. Every reversible gate can be calculated in terms of quantum cost and hence the reversible circuits can be measured in terms of quantum cost. Reducing the quantum cost from reversible circuit is always a challenging issue and research are still going on in this area. In this section, the quantum equivalent diagram of some popular reversible gate is presented.
Property 1.17.1
The quantum cost of every 2
1.17.1 Reversible NOT Gate (Feynman Gate)
Example 1.13
A 2
1.17.2 Toffoli Gate
Figure 1.10 shows the equivalent quantum realization of three input Toffoli gate. The cost of the Toffoli gate is five 2
Figure 1.9 Quantum cost calculation of Feynman gate.