Table 2: Comparison of reversible realization of the sequential circuit in Figure 6 with replacement design method and direct design method in [26].

Quantum cost Ancilla input

Replacement design [26] 96 18
Direct design [26] 88 9
Present design 53 6
% improvement over replacement design [26] 44.79 66.67
% improvement over direct design [26] 39.77 33.33