can be any number of dimensions for a reversible gate, but lower dimension is always preferable for designing efficient circuits. Popular reversible gates, Feynman gate (FG), Toffoli gate (TG), Peres gate (PG), Fredkin gate (FRG), Feynman double gate (F2G), and new fault‐tolerant gate (NFTG), are shown in Figure 1.2.
1.4 Garbage Outputs
The output (outputs) of a reversible gate that is (are) not used as input to other gate or the output (outputs) that is (are) not treated as a primary output is (are) called garbage output (outputs). The unutilized outputs from a gate are called garbage outputs. A heavy price is paid for every garbage output. So, for any circuit design, the fewer the garbage outputs, the better.
Figure 1.2 Popular reversible gates.
Figure 1.3 Reversible Feynman gate.
Example 1.2
When a Feynman gate (FG) is used for Ex‐OR (exclusive‐OR,
1.5 Constant Inputs
Constant inputs are the inputs of a reversible gate (or circuit) that are either set to 0 or 1.
Example 1.3
If the complement of the input A from Figure 1.3 is needed, then B is set to 1 and
1.6 Quantum Cost
The quantum cost of a circuit is the total number of 2
Example 1.4
The quantum realization of reversible Fredkin (FRG) gate is shown in Figure 1.4. Each quantum Ex‐OR gate and quantum
Figure 1.4 Quantum realization of reversible Fredkin (FRG) gate.
Example 1.5
The cost of all 2
1.7 Delay
The delay of a logic circuit is the maximum number of gates in a path from any input line to any output line. The definition is based on two assumptions: (i) Each gate performs computation in one unit time and (ii) all inputs to the circuit are available before the computation begins.
Example 1.6
The delay of each 1
1.8 Power
Power of a gate is defined by the energy. Energy of a basic quantum gate is 142.3 meV. Quantum circuits can be implemented with the basic quantum gates and the number of quantum gates depends on the number of basic quantum gates needed to realize it. That means the total number of required quantum gates in the quantum representation of a reversible quantum circuit or gate. So, the power of a reversible