- #1
jumi
- 28
- 0
Homework Statement
What is the 4x4 unitary matrix for the circuit in the computational basis.
Homework Equations
We were given the following relationship in our notes:
By letting [itex] A = H [/itex] and [itex]B = I[/itex], the answer is supposedly supposed to be:
The Attempt at a Solution
Unfortunately, I found a different result. By running the basis states through the circuit, I came up with the following:
[itex]\left| 00 \right\rangle \rightarrow H(\left|0\right\rangle)\left|0\right\rangle = ( \frac{1}{\sqrt{2}} \left|0\right\rangle + \frac{1}{\sqrt{2}} \left|1\right\rangle ) \left|0\right\rangle = \frac{1}{\sqrt{2}}\left|00\right\rangle + \frac{1}{\sqrt{2}}\left|10\right\rangle[/itex]
Using this method for each computational basis, I was able to generate the following matrix by inspection:
Why are the answers so vastly different? What is the correct one?
Thanks in advance.