Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Quantum bit

Published Sep 28, 2026

Last updated Sep 28, 2026

Qubit

In quantum computing, the fundamental unit of information is the quantum bit or qubit. A qubit can exist in a superposition of states, represented as:

∣ψ⟩=α∣0⟩+β∣1⟩∈C2,\ket{\psi} = \alpha\ket{0} + \beta\ket{1} \in \mathbb{C}^2,

where ∣0⟩=[10]\ket{0} = \begin{bmatrix} 1 \\ 0 \end{bmatrix}, ∣1⟩=[01]\ket{1} = \begin{bmatrix} 0 \\ 1 \end{bmatrix} are the computational basis states, and α,β∈C2\alpha, \beta \in \mathbb{C}^2. You can think of ∣0⟩,∣1⟩\ket{0}, \ket{1} as classical bit 0,10, 1 but in quantum, the qubit can be in a superposition of both states. Another way to write the quantum state is using vector notation:

∣ψ⟩=[αβ].\ket{\psi} = \begin{bmatrix} \alpha\\ \beta \end{bmatrix}.

Quantum state normalization

For an arbitrary quantum state, it has to satisfy the normalization condition, the sum of the squares of their magnitudes equals one. Mathematically speaking,

∣α∣2+∣β∣2=1|\alpha|^2 + |\beta|^2 = 1

.

Here are examples for a valid quantum state of qubits:

You can check if they satisfied the normalization condition. I think they do.

Geometric representation

So how do we visualize a qubit? Starting with the complex space of α,β\alpha, \beta, we write them in polar form as:

α=rαeiϕα,rα∈R≥0,ϕα∈[0,2π)β=rβeiϕβ,rβ∈R≥0,ϕβ∈[0,2π).\begin{aligned} \alpha & = r_\alpha e^{i\phi_\alpha}, \quad r_\alpha \in \mathbb{R}_{\geq 0}, \phi_\alpha \in [0, 2\pi)\\ \beta & = r_\beta e^{i\phi_\beta}, \quad r_\beta \in \mathbb{R}_{\geq 0}, \phi_\beta \in [0, 2\pi). \end{aligned}

And the magnitude of α\alpha and β\beta are:

∣α∣=rα∣β∣=rβ.\begin{aligned} |\alpha| & = r_\alpha \\ |\beta| & = r_\beta. \end{aligned}

Plug them into the normalization condition:

∣α∣2+∣β∣2=1⇔∣rα∣2+∣rβ∣2=1⇔rβ=1−rα2.\begin{aligned} & |\alpha|^2 + |\beta|^2 = 1 \quad \Leftrightarrow & \left| r_\alpha \right|^2 + \left|r_\beta \right|^2 = 1 \quad \Leftrightarrow & r_\beta = \sqrt{1 - r_\alpha^2}. \end{aligned}

Now let plug them back to the (1), we have

∣ψ⟩=rαeiϕα∣0⟩+1−rα2eiϕβ∣1⟩\ket{\psi} = r_\alpha e^{i\phi_\alpha}\ket{0} + \sqrt{1 - r_\alpha^2} e^{i\phi_\beta}\ket{1}

Now we can factor out the common term of eiϕαe^{i\phi_\alpha} and eiϕβe^{i\phi_\beta} as:

∣ψ⟩=rαeiϕα∣0⟩+1−rα2eiϕαei(ϕβ−ϕα)∣1⟩=eiϕα(rα∣0⟩+1−rα2ei(ϕβ−ϕα)∣1⟩).\begin{aligned} \ket{\psi} &= r_\alpha e^{i\phi_\alpha}\ket{0} + \sqrt{1 - r_\alpha^2} e^{i\phi_\alpha}e^{i(\phi_\beta-\phi_\alpha)}\ket{1} \\ &= e^{i\phi_\alpha}\left(r_\alpha \ket{0} + \sqrt{1 - r_\alpha^2} e^{i(\phi_\beta-\phi_\alpha)} \ket{1} \right). \end{aligned}

Finally, since rα2+rβ2=1r_\alpha^2 + r_\beta^2 = 1, we can write rα,rβr_\alpha, r_\beta as:

rα=cos⁡θ2,rβ=sin⁡θ2.r_\alpha = \cos{\frac{\theta}{2}}, \quad r_\beta = \sin{\frac{\theta}{2}}.

And let ϕα=γ,ϕβ−ϕα=φ\phi_\alpha = \gamma, \phi_\beta-\phi_\alpha = \varphi, we have the final geometric representation of qubit ψ\psi as

∣ψ⟩=eiγ(cos⁡θ2∣0⟩+eiφsin⁡θ2∣1⟩).\ket{\psi} = e^{i\gamma}\left(\cos{\frac{\theta}{2}}\ket{0} + e^{i\varphi}\sin{\frac{\theta}{2}}\ket{1}\right).

From this form, we have three parameters that completely specify the qubit state: γ\gamma, θ\theta, and φ\varphi. Since γ\gamma is a global phase factor, it does not affect the physical properties of the qubit. For this reason, we often ignore it and write it as

∣ψ⟩=cos⁡θ2∣0⟩+eiφsin⁡θ2∣1⟩.\ket{\psi} = \cos{\frac{\theta}{2}}\ket{0} + e^{i\varphi}\sin{\frac{\theta}{2}}\ket{1}.

Therefore, a qubit would be represented by a point on a unit three-dimensional sphere, known as the Bloch sphere. And it is often called the Bloch sphere representation of a qubit.

Loading...

Materials: