Chapter 5: Architecture - Computer and Information Science - CUNY
Chapter 5: Architecture - Computer and Information Science - CUNY
Chapter 5: Architecture - Computer and Information Science - CUNY
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
14 CHAPTER 5. ARCHITECTURE<br />
Combination of sequential <strong>and</strong> parallel operations gates/matrices will be<br />
circuits. We will, of course, construct some really complicated matrices, but<br />
they will all be decomposable into the sequential <strong>and</strong> parallel composition of<br />
simple gates.<br />
Exercise 5.2.5 In Exercise CITE EXERCISE, we proved that for matrices of<br />
the appropriate sizes A, A ′ , B <strong>and</strong> B ′ we have the following equation<br />
(B ⊗ B ′ ) ⋆ (A ⊗ A ′ ) = (B ⋆ A) ⊗ (B ′ ⋆ A ′ ). (5.44)<br />
What does this correspond to in terms of performing different operations to<br />
different (qu)bits? Hint: Consider the following figure<br />
A<br />
B<br />
(5.45)<br />
A ′ B ′<br />
Example 5.2.1 Let A be an operation that takes n inputs <strong>and</strong> gives m outputs.<br />
Let B take p < m of these outputs <strong>and</strong> leave the other m − p outputs alone. B<br />
outputs q bits<br />
/ n A<br />
/ p B / q<br />
/ m−p (5.46)