Skip to content
All lessons

Quantum States and Superposition

Learn how quantum information is represented using quantum states, state vectors, Dirac notation, basis states, probability amplitudes, and the fundamental concept of superposition.

Quantum States and Superposition

Lesson Objective: By the end of this lesson, you should understand what a quantum state is, how a qubit is mathematically represented, what superposition means, how probability amplitudes work, and why measurement produces classical outcomes.


1. Introduction to Quantum States

A quantum computer does not store information in exactly the same way as a classical computer.

A classical computer uses bits as its basic unit of information.

A bit can have one of two definite values:

  • 0
  • 1

A quantum computer uses a qubit, or quantum bit.

A qubit is described by a quantum state.

The quantum state contains the information needed to mathematically describe the condition of the qubit.

Understanding quantum states is one of the most important foundations of quantum computing.


2. What Is a Quantum State?

A quantum state is a mathematical description of a quantum system.

For a single qubit, the state tells us the possible outcomes of measurements and the probability amplitudes associated with those outcomes.

The most general state of a single qubit can be written as:

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

where:

  • ∣ψ⟩|\psi\rangle is the quantum state of the qubit.
  • ∣0⟩|0\rangle is the first computational basis state.
  • ∣1⟩|1\rangle is the second computational basis state.
  • α\alpha is the probability amplitude associated with ∣0⟩|0\rangle.
  • β\beta is the probability amplitude associated with ∣1⟩|1\rangle.

The symbols α\alpha and β\beta are generally complex numbers.

This equation is fundamental to single-qubit quantum computing.


3. Dirac Notation

Quantum mechanics commonly uses Dirac notation, also called bra-ket notation.

A quantum state is written using a ket:

∣ψ⟩|\psi\rangle

The vertical bar and angle bracket form the notation:

  • | is called a ket symbol when used with the right angle bracket.
  • ψ\psi represents the state.

For example:

∣0⟩|0\rangle

represents the quantum state corresponding to the classical value 0.

Similarly:

∣1⟩|1\rangle

represents the quantum state corresponding to the classical value 1.

These two states form the standard computational basis for a single qubit.


4. Computational Basis States

The two computational basis states of a qubit are:

∣0⟩|0\rangle

and

∣1⟩|1\rangle

They can be represented as column vectors:

∣0⟩=[10]|0\rangle = \begin{bmatrix} 1\\ 0 \end{bmatrix}

and

∣1⟩=[01]|1\rangle = \begin{bmatrix} 0\\ 1 \end{bmatrix}

These two vectors form an orthonormal basis for the two-dimensional state space of a single qubit.

4.1 The State ∣0⟩|0\rangle

For the state:

∣0⟩=[10]|0\rangle = \begin{bmatrix} 1\\ 0 \end{bmatrix}

a measurement in the computational basis gives the result 0 with probability 1.

Therefore:

P(0)=1P(0)=1

and

P(1)=0P(1)=0

4.2 The State ∣1⟩|1\rangle

For:

∣1⟩=[01]|1\rangle = \begin{bmatrix} 0\\ 1 \end{bmatrix}

a measurement in the computational basis gives the result 1 with probability 1.

Therefore:

P(0)=0P(0)=0

and

P(1)=1P(1)=1