Dragonfall
- 1,023
- 5
I'm not sure where to post this, so here it is:
\left[\begin{array}{cccc}<br /> 1&0&0&0\\<br /> 0&1&0&0\\<br /> 0&0&0&1\\<br /> 0&0&1&0\\<br /> \end{array}\right]
How is this a controlled NOT gate? If I multiply this with \left[\begin{array}{c}1\\0\\1\\0\end{array}\right], the second bit is flipped regardless.
\left[\begin{array}{cccc}<br /> 1&0&0&0\\<br /> 0&1&0&0\\<br /> 0&0&0&1\\<br /> 0&0&1&0\\<br /> \end{array}\right]
How is this a controlled NOT gate? If I multiply this with \left[\begin{array}{c}1\\0\\1\\0\end{array}\right], the second bit is flipped regardless.