Home

Published

-

Quantum Bits: From Classical Bits to Qubits

img of Quantum Bits: From Classical Bits to Qubits

A qubit is the basic information unit in quantum computing.

Classical Bit vs Qubit

  • Classical bit: exactly one of 1.
  • Qubit: a normalized linear combination of basis states ∣0⟩|0\rangle and ∣1⟩|1\rangle.
∣ψ⟩=α∣0⟩+β∣1⟩,∣α∣2+∣β∣2=1|\psi\rangle = \alpha|0\rangle + \beta|1\rangle, \quad |\alpha|^2 + |\beta|^2 = 1

The coefficients α\alpha and β\beta are complex amplitudes.

Measurement

When measured in the computational basis:

  • Outcome 0 appears with probability ∣α∣2|\alpha|^2.
  • Outcome 1 appears with probability ∣β∣2|\beta|^2.

After measurement, the state collapses to the observed basis state.

Bloch Sphere Intuition

Any single qubit pure state can be represented on a sphere:

∣ψ⟩=cos⁡θ2∣0⟩+eiϕsin⁡θ2∣1⟩|\psi\rangle = \cos\frac{\theta}{2}|0\rangle + e^{i\phi}\sin\frac{\theta}{2}|1\rangle

The angles (θ,ϕ)(\theta, \phi) provide geometric intuition for single qubit operations.

Example State

For

∣ψ⟩=32∣0⟩+12∣1⟩|\psi\rangle = \frac{\sqrt{3}}{2}|0\rangle + \frac{1}{2}|1\rangle

measurement gives:

  • P(0)=3/4P(0) = 3/4
  • P(1)=1/4P(1) = 1/4

Qubits are probabilistic at readout but deterministic under unitary evolution.

Relative Phase vs Global Phase

Two states that differ only by a global phase are physically equivalent:

∣ψ′⟩=eiγ∣ψ⟩|\psi'\rangle = e^{i\gamma}|\psi\rangle

But relative phase changes interference behavior. Compare:

∣0⟩+∣1⟩2vs∣0⟩−∣1⟩2\frac{|0\rangle + |1\rangle}{\sqrt{2}} \quad \text{vs} \quad \frac{|0\rangle - |1\rangle}{\sqrt{2}}

They produce different outcomes after a Hadamard, so relative phase carries computational meaning.

Mixed States and Density Matrices

Not every qubit state is perfectly known. A statistical ensemble is represented by a density matrix:

ρ=∑ipi∣ψi⟩⟨ψi∣\rho = \sum_i p_i |\psi_i\rangle\langle\psi_i|

For a pure state, ρ=∣ψ⟩⟨ψ∣\rho = |\psi\rangle\langle\psi| and Tr(ρ2)=1\mathrm{Tr}(\rho^2)=1. For a mixed state, Tr(ρ2)<1\mathrm{Tr}(\rho^2)<1.

This formalism is essential once noise and partial information enter the picture.

Measurement Beyond Computational Basis

Measurement can be defined in any orthonormal basis {∣uk⟩}\{|u_k\rangle\}. Outcome probability is:

P(k)=∣⟨uk∣ψ⟩∣2P(k)=|\langle u_k|\psi\rangle|^2

So measurement is fundamentally “projection onto a basis,” not tied only to ∣0⟩,∣1⟩|0\rangle,|1\rangle.