Electronics & Telecommunication (University) is coming soon

We're still writing and reviewing the notes for every subject, and we'll open it when every subject is ready. Meanwhile you can practise aptitude, ask Aria about any subject, or see the branches that are ready.

Qubits, superposition and entanglement

Qubits are two-level quantum systems that can be in superpositions; pairs (or more) of qubits can become entangled so their joint state is not a product of individual states — these notes explain definitions, measurement rules, separability test, the Bloch-sphere view, and exam-style worked answers.

Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.

Why it matters

Qubits, superposition and entanglement are the basic language of quantum information. An engineer uses these concepts when designing quantum algorithms, building qubit hardware (coherence, gates) or debugging quantum circuits: you must be able to write a qubit state, predict measurement probabilities, and decide if a multi‑qubit state is entangled.

Key ideas

Start with classical vs quantum bit: a classical bit is 0 or 1. A qubit is a two-level quantum system whose pure state is a complex unit vector in a 2‑dimensional Hilbert space. Use Dirac notation: a ket |ψ> denotes a column vector and a bra <ψ| its conjugate transpose.

  • Define basis: the computational basis (also called the standard basis) is the pair of orthonormal vectors |0> and |1>. In matrix form choose |0> = [1; 0], |1> = [0; 1].

  • General single‑qubit pure state: any state |ψ> can be written as a linear combination (superposition) |ψ> = α|0> + β|1> where α and β are complex numbers called probability amplitudes. The normalization condition is <ψ|ψ> = |α|^2 + |β|^2 = 1.

  • Measurement (projective measurement in computational basis): when you measure |ψ> in { |0>, |1> } you obtain outcome 0 with probability |α|^2 and outcome 1 with probability |β|^2. After measuring and obtaining outcome 0 the state collapses to |0> (projective postulate). This is the measurement postulate for projective measurements.

  • Global phase: multiplying |ψ> by a scalar e^{iχ} does not change any measurement statistics. That is a global phase and is physically unobservable. Only relative phase between α and β matters.

  • Bloch sphere: any single‑qubit pure state can be parameterized (up to global phase) by two real angles θ and φ: α = cos(θ/2), β = e^{iφ} sin(θ/2). The point with spherical coordinates (θ, φ) on the unit sphere (the Bloch sphere) represents |ψ>. Draw: a sphere, label North pole |0>, South pole |1>; show polar angle θ from z‑axis and azimuthal angle φ around z. Equivalently, the Bloch vector coordinates are (x, y, z) = (sinθ cosφ, sinθ sinφ, cosθ).

  • Multi‑qubit states and tensor product: two qubits combine by the tensor product. If first qubit is |ψ> = a|0> + b|1> and second is |φ> = c|0> + d|1>, their product (separable) state is |ψ> ⊗ |φ> = ac|00> + ad|01> + bc|10> + bd|11>.

  • Separable (product) state: a two‑qubit pure state |Ψ> is separable if it can be written as |ψ> ⊗ |φ>. If not, it is entangled. Exact algebraic test for a general two‑qubit pure state |Ψ> = a|00> + b|01> + c|10> + d|11>: arrange coefficients into matrix M = [[a, b], [c, d]]. The state is separable iff rank(M)=1, equivalently ad − bc = 0. If ad − bc ≠ 0 the state is entangled.

  • Example special entangled states: the four Bell states (maximally entangled two‑qubit states) are |Φ±> = (|00> ± |11>)/√2, |Ψ±> = (|01> ± |10>)/√2. These show perfect correlations: if you measure both qubits in the computational basis, results are either equal (for Φ±) or opposite (for Ψ±), with equal probabilities.

  • Important assumptions: we treat only pure states here (no mixed states or density matrices). Measurements described are ideal projective measurements in the computational basis. Later topics (density operators, POVMs, decoherence) relax these assumptions.

Diagrams to draw when asked in exams:

  • Bloch sphere: draw sphere, label z axis, X and Y axes, indicate angles θ (from +z) and φ (azimuth). Mark |0> at north, |1> at south.
  • Two‑qubit coefficient matrix: draw 2×2 matrix with entries a,b;c,d and write condition ad−bc = 0 for separable.

Formulas

|ψ> = α|0> + β|1> — α, β ∈ C are probability amplitudes, unitless. Applies to any single‑qubit pure state. |α|^2 + |β|^2 = 1 — normalization, unitless; applies to pure state amplitudes. P(0) = |α|^2, P(1) = |β|^2 — measurement probabilities in computational basis, unitless; measurement postulate. Post-measurement state after outcome 0: |ψ'> = |0>; after outcome 1: |ψ'> = |1> — the collapsed state (projective measurement), unitless. α = cos(θ/2), β = e^{iφ} sin(θ/2) — Bloch sphere parameterization, θ ∈ [0, π], φ ∈ [0, 2π), angles in radians. |ψ₁> ⊗ |ψ₂> = (a|0> + b|1>) ⊗ (c|0> + d|1>) = ac|00> + ad|01> + bc|10> + bd|11> — tensor product expansion, unitless. M = [[a, b], [c, d]] — coefficient matrix for two qubits; unitless. |a|^2 + |b|^2 + |c|^2 + |d|^2 = 1 — normalization of a two‑qubit pure state in the computational basis, unitless. Separable ⇔ det(M) = ad − bc = 0 — separability condition for two‑qubit pure states, unitless. Bell states: |Φ±> = (|00> ± |11>)/√2, |Ψ±> = (|01> ± |10>)/√2 — normalized maximally entangled states, unitless. <ψ|ψ> = 1 — inner product normalization, unitless.

Worked examples

Example 1 — Measurement probabilities and post‑measurement state: Question: A qubit is in state |ψ> = (1/√3)|0> + i·(√(2/3))|1>. If you measure in computational basis, find probabilities and post‑measurement states. Model answer (exam style): Step 1: Identify amplitudes α = 1/√3, β = i√(2/3). Step 2: Compute probabilities: P(0) = |α|^2 = (1/√3)^2 = 1/3. P(1) = |β|^2 = |i|^2 · (√(2/3))^2 = 1 · 2/3 = 2/3. Check sum = 1/3 + 2/3 = 1. Step 3: Post‑measurement states: if outcome 0, state collapses to |0>. If outcome 1, state collapses to |1>. (Projective measurement in computational basis.) Final: P(0)=1/3, P(1)=2/3; collapsed states |0> or |1> respectively.

Example 2 — Decide separable or entangled: Question: For |Ψ> = (1/2)|00> + (1/2)|01> + (1/2)|10> + (1/2)|11>, decide if |Ψ> is separable. If separable, give factors. Model answer: Step 1: Coefficients a=b=c=d=1/2. Form matrix M = [[1/2, 1/2], [1/2, 1/2]]. Step 2: Compute determinant: ad − bc = (1/2)(1/2) − (1/2)(1/2) = 0. Hence det(M)=0 so rank 1 ⇒ separable. Step 3: Find product decomposition. We want (a'|0> + b'|1>) ⊗ (c'|0> + d'|1>) = sum above. Observing all terms equal 1/2 suggests |+> ⊗ |+> where |+>=(|0>+|1>)/√2, since |+> ⊗ |+> = (1/2)(|00>+|01>+|10>+|11>). Therefore |Ψ> = |+> ⊗ |+>. Final: Separable, |Ψ> = |+> ⊗ |+> with |+>=(|0>+|1>)/√2.

Example 3 — Show Bell state is entangled and give measurement correlation: Question: Show |Φ+> = (|00> + |11>)/√2 is entangled and compute correlation if both qubits measured in computational basis. Model answer: Step 1: Coefficients a=1/√2, b=0, c=0, d=1/√2. Determinant ad − bc = (1/√2)(1/√2) − 0 = 1/2 ≠ 0 so entangled. Step 2: Measurement probabilities: outcomes 00 and 11 each have probability (1/√2)^2 = 1/2; outcomes 01 and 10 have probability 0. Step 3: Correlation statement: measurements on both qubits are perfectly correlated in computational basis — results are equal (both 0 or both 1) with equal probabilities 1/2. Final: |Φ+> is entangled; measurement results are perfectly correlated (00 or 11 each with probability 1/2).

Common mistakes

  • Treating a global phase e^{iχ} as physically meaningful (it is not).
  • Mixing up amplitude and probability: writing P = α + β instead of |α|^2 etc.
  • Using the separability test ad − bc = 0 without first arranging coefficients correctly into M = [[a,b],[c,d]].
  • Assuming correlated outcomes always mean entanglement; classical mixtures can also give correlations (density matrix required to settle mixed vs pure cases).
  • Not carrying complex conjugation when computing inner products (e.g., <ψ|ψ> uses conjugate of amplitudes).

For your exam

Kinds of questions:

  • Definitions: define qubit, superposition, entanglement, computational basis, Bloch sphere.
  • Short notes: Bloch sphere representation; measurement postulate; global vs relative phase.
  • Derivations: show Bloch parameterization; derive separability condition ad−bc=0 for two qubits.
  • Numericals: given amplitudes, compute probabilities and post‑measurement states; given multi‑qubit coefficients, test separability.
  • Diagrams: draw and label Bloch sphere; show coefficient matrix and annotate determinant test.

What full‑marks answers include:

  • For definitions: clear, precise statement with mathematical form (e.g., qubit as normalized 2‑vector).
  • For derivations: show each algebra step and normalization; state assumptions (pure state, projective measurement).
  • For numericals: list amplitudes, show intermediate absolute squares, check normalization; final answers with correct units (unitless) and clear state after collapse.
  • For separability proofs: show coefficient matrix, compute determinant, conclude separable/entangled and, if separable, produce factorized states explicitly.

Quick check

  1. Write the normalization condition for a single‑qubit state α|0> + β|1>.
  2. For two‑qubit state a|00> + b|01> + c|10> + d|11>, what algebraic condition tests separability?
  3. Give the Bloch‑sphere angles (θ, φ) for |0> and |1>. Answers: 1) |α|^2 + |β|^2 = 1. 2) ad − bc = 0 (determinant of [[a,b],[c,d]] = 0). 3) |0>: θ=0 (north pole), φ irrelevant; |1>: θ=π (south pole), φ irrelevant.

Finished this topic? Mark it so your progress, study plan and readiness keep up.

Stuck on something here?