Читать книгу Reversible and DNA Computing - Hafiz M. H. Babu - Страница 28
Example 1.5
ОглавлениеThe cost of all 2 2 gates is the same, and it is 1. For 1 1 gate, the cost is 0. Every circuit can be constructed from those 1 1 and 2 2 quantum primitives, and the cost of circuit is the total sum of required 2 2 gates.