I'm just starting of on quantum computing, specifically following the IBM Q Experience documentation [1]. In here, they are explaining the following experiment:
$T|+\rangle$
The expected outcomes according to the document:
- Phase angle: $\pi/4$
- Gates: $T$
- Prob 0: 0.8535533
- Prob 1: 0.1464466
- X-length: 0.7071067
I'm trying to deduce this with math.
$T |+\rangle = \begin{bmatrix}1 & 0 \\ 0 & e^{i\pi/4}\end{bmatrix} {1\over\sqrt 2} \begin{bmatrix} 1 \\ 1 \end{bmatrix} = {1\over\sqrt 2} \begin{bmatrix}1\\e^{i\pi/4}\end{bmatrix}$
I think I now need to split this out in $|0\rangle$ and $|1\rangle$ so that I get the quantum amplitudes:
$ = {1\over\sqrt 2} \begin{bmatrix}1\\0\end{bmatrix} + {1\over\sqrt 2} e^{i\pi/4} \begin{bmatrix}0 \\1 \end{bmatrix}$
Here things are falling apart, as
$ P(0) = |{1\over\sqrt 2}|^2 = 0.5 $
$ P(1) = |{1\over\sqrt 2} e^{i\pi/4}|^2 = 0.5 $
So my question: How do I correctly calculate the probabilities and the X-length?
[1]: IBM Q: User Guide / The Weird and Wonderful World of the Qubit / Introducing Qubit Phase