Take the 2-minute tour ×
Physics Stack Exchange is a question and answer site for active researchers, academics and students of physics. It's 100% free, no registration required.

Say we have two qubits $|a\rangle$ and $|b\rangle$ both initialized to $|0\rangle$. We then apply the rotation gate $R_{x}(\frac{\pi}{2})$ of matrix representation

$\left( \begin{array}{} \frac{1}{\sqrt2} & \frac{-i}{\sqrt2} \\ \frac{-i}{\sqrt2} & \frac{1}{\sqrt2} \end{array} \right)$

to get $|a\rangle = |b\rangle = \left( \begin{array}{} \frac{1}{\sqrt2}\\ \frac{-i}{\sqrt2}\end{array} \right)$

$|a\rangle|b\rangle$ is then $\left( \begin{array}{} \frac{1}{2}\\ \frac{-i}{2}\\ \frac{-i}{2}\\ \frac{1}{2}\end{array} \right)$

A controlled rotation gate $R_{x}(\frac{\pi}{2})$ of matrix representation

$\left( \begin{array}{} 1 & 0 & 0 & 0 \\ 0 & 1 & 0 & 0 \\ 0 & 0 &\frac{1}{\sqrt2} & \frac{-i}{\sqrt2} \\ 0 & 0 &\frac{-i}{\sqrt2} & \frac{1}{\sqrt2} \end{array} \right)$

is then applied to $|a\rangle|b\rangle$ to get

$|a\rangle|b\rangle = \left(\begin{array}{} \frac{1}{2}\\ \frac{-i}{2}\\ \frac{-i}{\sqrt2}\\ \frac{1}{\sqrt2}\end{array} \right)$

But the sum of the squares of the amplitudes is $\frac{3}{2}$, violating the normalization constraint. Where did I go wrong?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

You made a mistake in calculation. In the last matrix multiplication, when you multiplied the last row with the column vector the result should be 0. I suspect that you accidently took (-i)^2=1 instead of (-i)^2=-1

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.