Читать книгу Reversible and DNA Computing - Hafiz M. H. Babu - Страница 42
Example 1.12
ОглавлениеIn Figure 1.8, there are two Toffoli gates that are in the cascading form. If the outputs of the first Toffoli gate are fed to the input of the second Toffoli gate, then the output of the second Toffoli gate is equal to the input of the first Toffoli gate. Here the outputs of first gate are P, Q, and R, where P = A, Q = B, and R = AB C. Then the outputs of second gate are X, V, and Z, where X = A, Y = B, and Z = AB AB C = 0 C = C.