Bloch sphere: how to represent qubits
In quantum mechanics and specifically quantum computing, the Bloch sphere is a geometrical representation of two-levels quantum systems as qubits.
In this article we will define the Bloch sphere and show how it can be used to easily represent quantum kets and quantum density operators. We will show how there is a correspondence between the points on the Bloch sphere and pure states, and a correspondence between the points inside the Bloch sphere (Bloch ball) and mixed states (check out this article for more details about the difference between pure and mixed quantum states). Finally we see how to implement rotations in the Bloch sphere picture and how these correspond to unitary operators short of a global phase.
Bloch sphere
Bloch sphere representation of kets
We can write a generic qubit in the form \begin{equation} |\psi\rangle = a|0\rangle + b|1\rangle \end{equation} where $a$ and $b$ are complex numbers, therefore we can write more expplicitly as \begin{equation} |\psi\rangle = r_a e^{i \phi_a}|0\rangle + r_b e^{i \phi_b}|1\rangle \end{equation} Let's now use the fact that the state has to be normalized, we have \begin{equation} |r_a e^{i \phi_a}|0\rangle + r_b e^{i \phi_b}|1\rangle|^2 = r^2_a + r^2_b = 1 \end{equation} this means that we can express these two coefficients, without loss of generality, as \begin{equation} \begin{cases} r_a = cos(\frac{\theta}{2}) \\ r_b = sin(\frac{\theta}{2}) \end{cases} \end{equation} where we have chosen $\frac{\theta}{2}$ instead of $\theta$ for the sake of simplicity in the following. We also know that a quantum state is defined short of a global phase, which means that we can rewrite the qubit simply as \begin{equation} |\psi\rangle = cos(\frac{\theta}{2})|0\rangle + sin(\frac{\theta}{2}) e^{i (\phi_b-\phi_a)}|1\rangle \equiv cos(\frac{\theta}{2})|0\rangle + sin(\frac{\theta}{2}) e^{i \phi}|1\rangle \end{equation} therefore we have found a way of representing a generic qubit using two real angles rather than two complex numbers. From the definition of $\theta$ and $\phi$ it is clear that in order to obtain a full representation we only need $\theta \in [0, \pi]$ and $\phi \in [0, 2\pi]$. Now these two angles in these ranges identify the surface of a sphere, this is the Bloch sphere!
Representation of the Bloch sphere
Bloch sphere representation of density operators
Let’s now look at how the Bloch sphere can be likewise used to represent density operators. Let’s take again the ket
let’s now write this formula in matrix notation
we can simplify this matrix by using the half angle formulas. We get
Pauli matrices
Before continuing, let’s briefly introduce Pauli matrices.
Now let's see how we can use these four matrices to represent the density operator obtained above. It is easy to see that we can express this operator as \begin{equation} \hat{\rho} = \frac{1}{2} \big[\hat{I} + cos\theta cos\phi \cdot \hat{\sigma}_x + cos\theta sin\phi \cdot \hat{\sigma}_y + cos\theta \cdot \hat{\sigma}_z \big] \end{equation} we see that the coefficients $a_1$, $a_2$ and $a_3$ are exactly the components of the Bloch vector! This means that we can use the Bloch sphere (through the Bloch vector) to represent density matrices and kets at the same time. In particular we will have \begin{equation} \hat{\rho} = \frac{1}{2} \big[\hat{I} + \textbf{b} \cdot \hat{\boldsymbol{\sigma}} \big] \end{equation} where $\hat{\boldsymbol{\sigma}}$ indicates the vector of Pauli matrices (each component is a matrix).
Pure and mixed states on the Bloch sphere
We have just seen how the Bloch sphere can be used to represent easily quantum pure states for two-levels systems as qubits, both through the ket representation and through the density operator representation. Let’s now see how this picture can be extended to mixed states as well.
We already know that the pure states lie on the Bloch sphere, namely $|\textbf{a}|^2 = 1$, where are the mixed states?
Proposition: there are no states outside the Bloch sphere
Now we know that there is nothing outside of the sphere and the points on the surface are in a 1-1 correspondence with pure states, therefore all the mixed states must lie inside of the Bloch sphere. It is also easy to see that there are no points inside the Bloch sphere which have no corresponding mixed qubit, in fact for each vector inside the sphere we can construct a legitimate density operator.
Unitary operators
We have seen how the Bloch sphere can be used to efficiently represent pure and mixed qubits, let’s now briefly look at how unitary operators act in the Bloch sphere picture.
Look here for a proof of these equations.
Since this operator can rotate the Bloch vector to any point on the Bloch sphere, which include all the possible states of a qubit short of a global phase, any unitary transformation can be written as a generic Bloch rotation with a global phase shift, namely
Summarizing
All the vectors $\hat{a}$ such that $|\hat{a}|^2 ⋜ 1$ identify a ball (Bloch ball) and the points in the ball are in a 1-1 correspondence with mixed qubits through the same equation, while there are no qubits outside the Bloch sphere.
Any rotation of the Bloch vector can be implemented by the operator $\hat{R}_{\textbf{n}}(\chi)$, which corresponds to a generic unitary transformation short of a global phase.
Bibliogaphy
[1] Nielsen, M.A. and Chuang, I., 2002. Quantum computation and quantum information.