DeepPractise
DeepPractise

Computational Basis States |0⟩ and |1⟩

Track: Foundations · Difficulty: Beginner · Est: 12 min

Computational Basis States |0⟩ and |1⟩

Overview

Quantum computing uses a small set of standard reference states to describe qubits. The most important are the computational basis states 0|0\rangle and 1|1\rangle. This page defines them formally, shows how to represent them as column vectors, and explains why “basis choice” matters.

Intuition

When you work with ordinary coordinates, you choose axes: xx and yy. A point in the plane can be described by numbers only after you decide what counts as the xx-direction and the yy-direction.

A basis plays the same role for qubits. The symbols 0|0\rangle and 1|1\rangle name two reference directions. Once those directions are chosen, any state can be described by “coordinates” (amplitudes) relative to them.

In this page we focus on the computational basis because it corresponds to the most common measurement: you ask “is the qubit 0 or 1?” and the measurement returns one of those two outcomes.

Formal Description

The computational basis is a pair of orthonormal vectors. “Orthonormal” means two things:

  • Each basis vector has length 1.
  • The vectors are perpendicular (their inner product is 0).

In Dirac notation we write these vectors as 0|0\rangle and 1|1\rangle.

A concrete way to represent them is as column vectors:

0=(10),1=(01).|0\rangle = \begin{pmatrix}1\\0\end{pmatrix},\quad |1\rangle = \begin{pmatrix}0\\1\end{pmatrix}.

Once you fix a basis, any qubit state can be written as a linear combination of the basis vectors:

ψ=α0+β1.|\psi\rangle = \alpha|0\rangle + \beta|1\rangle.

The phrase “basis choice matters” means that the same physical state can have different coordinates depending on what reference vectors you choose. In this tutorial series, the computational basis is the default reference unless explicitly stated otherwise.

Measurement in the computational basis produces outcomes labeled 0 and 1. If

ψ=α0+β1,|\psi\rangle = \alpha|0\rangle + \beta|1\rangle,

then measuring in this basis yields 0 with probability α2|\alpha|^2 and 1 with probability β2|\beta|^2.

Worked Example

Let

ψ=350+451.|\psi\rangle = \tfrac{3}{5}|0\rangle + \tfrac{4}{5}|1\rangle.

This is normalized because (35)2+(45)2=1(\tfrac{3}{5})^2 + (\tfrac{4}{5})^2 = 1. In column-vector form,

ψ=(3/54/5).|\psi\rangle = \begin{pmatrix}3/5\\4/5\end{pmatrix}.

If you measure in the computational basis, the probability of outcome 0 is (3/5)2=9/25(3/5)^2 = 9/25, and the probability of outcome 1 is (4/5)2=16/25(4/5)^2 = 16/25.

Turtle Tip

Turtle Tip

Whenever you see 0|0\rangle and 1|1\rangle, remember they are not “mystical states.” They are named reference directions—like unit vectors—used to express and measure qubit states.

Common Pitfalls

Common Pitfalls

One common mistake is to assume 0|0\rangle and 1|1\rangle are the only meaningful states. They are only the most convenient reference states.

Another mistake is to mix up “basis states” with “measurement outcomes.” In the computational basis they correspond directly, but the conceptual distinction matters: a basis is part of your description, while a measurement outcome is a physical event.

Quick Check

Quick Check
  1. Why does a state need a basis before it can be written with coordinates like (α,β)(\alpha,\beta)?
  2. If ψ=(01)|\psi\rangle = \begin{pmatrix}0\\1\end{pmatrix}, what is the measurement outcome in the computational basis?

What’s Next

Now that we have a precise definition of the computational basis, we can define what a quantum state is in general: a state vector with complex amplitudes and a normalization rule. That broader view is the next page.