Interactive lab

Quantum Labs

Visual, mathematical, simulation, and coding activities that turn the written course into durable skill.

30 minAvailable

Qubit State Explorer

Map amplitudes and relative phase to a Bloch-sphere picture without treating the picture as the definition.

Activity

Visualization

Concepts

state vectornormalizationrelative phaseBloch sphere

Prompt

Choose three normalized states, predict Z-basis probabilities, then explain what changes when only relative phase changes.

Deliverable

A short state table with amplitudes, probabilities, and a one-sentence phase explanation.

Quality checks

  • Probabilities sum to 1.
  • Global phase is not counted as a distinct physical state.
  • Relative phase is tied to later interference.
25 minAvailable

Measurement Sampler

Compare exact Born-rule probabilities with finite-shot samples from fresh preparations.

Activity

Simulation

Concepts

Born ruleshot statisticsbasis dependence

Prompt

Run 20, 100, and 1000-shot thought experiments for the same state and explain why frequencies move but probabilities do not.

Deliverable

A frequency table and a distinction between model probability and observed frequency.

Quality checks

  • Uses fresh preparations.
  • Does not claim one system is measured repeatedly unchanged.
  • Mentions sampling variation.
40 minAvailable

Single-Qubit Gate Lab

Compose single-qubit gates as matrices and predict the resulting state before drawing the circuit.

Activity

Mathematical derivation

Concepts

unitary matrixPauli gatesHadamard gate

Prompt

Compute HZH|0> and XH|0>, then identify which differences are measurable in the Z basis.

Deliverable

Matrix steps, final states, and Z-basis probabilities.

Quality checks

  • Matrix multiplication order is correct.
  • Final state is normalized.
  • Probabilities follow the final state.
45 minAvailable

Two-Qubit Bell-State Lab

Build a Bell state from H and CNOT, then test why it cannot be factored into independent qubit states.

Activity

Mathematical derivation

Concepts

tensor productBell statemeasurement correlation

Prompt

Derive the state after each gate and attempt a separable factorization; explain where the attempt fails.

Deliverable

A two-column derivation showing circuit step and state after that step.

Quality checks

  • Uses tensor-product basis order consistently.
  • Shows the failed factorization.
  • Explains correlated measurements without faster-than-light signaling.
55 minAvailable

Interference Algorithm Studio

Trace how algorithmic advantage appears through amplitude cancellation and reinforcement.

Activity

Simulation

Concepts

interferenceoraclephase kickback

Prompt

Trace a two-bit Deutsch-Jozsa oracle and mark which amplitudes cancel after the final Hadamards.

Deliverable

Amplitude trace with a claim about the promised property, not a general-purpose speedup.

Quality checks

  • States the promise clearly.
  • Tracks signs, not only probabilities.
  • Avoids overclaiming practical advantage.
60 minAvailable

Teleportation Protocol Lab

Step through the teleportation resource accounting and verify why the classical bits are necessary.

Activity

Simulation

Concepts

teleportationBell measurementclassical correction

Prompt

Choose an input state, list the four possible Bell-measurement outcomes, and map each outcome to Bob's correction.

Deliverable

A correction table plus a paragraph explaining why no faster-than-light signaling or cloning occurs.

Quality checks

  • Includes two classical bits.
  • Consumes Alice's original state.
  • Maps outcomes to I, X, Z, and XZ corrections.
70 minAvailable

Error-Correction Lab

Use the three-qubit repetition-code intuition to inject, detect, and correct one bit flip.

Activity

Simulation

Concepts

bit-flip codesyndromelogical qubit

Prompt

Encode a logical state, inject a single bit flip, compute the syndrome, and choose the correction.

Deliverable

A syndrome table with a limitation note explaining phase errors and no-cloning caveats.

Quality checks

  • Does not describe copying an unknown state.
  • Uses indirect syndrome checks.
  • States that bit-flip repetition is only an intuition-building code.
65 minAvailable

Algorithm Playground

Compare a promised Deutsch-Jozsa instance with a four-item Grover instance through amplitude tables.

Activity

Simulation

Concepts

Deutsch-JozsaGroveramplitude amplification

Prompt

Trace one oracle sign pattern, one final Hadamard pattern, and one Grover diffusion reflection.

Deliverable

Two amplitude tables and a caveat distinguishing query advantage from product readiness.

Quality checks

  • States the promise.
  • Tracks signs before probabilities.
  • Avoids claiming universal or immediate practical speedup.
75 minAvailable

Circuit Builder Lab

Build small one- and two-qubit circuits, step through the state, and inspect final measurement probabilities.

Activity

Simulation

Concepts

HXZCNOTmeasurement

Prompt

Create |+>, |->, and |Phi+> circuits; for each, list the final state and Z-basis probabilities.

Deliverable

A circuit table with gates, intermediate state, final probabilities, and one misconception warning.

Quality checks

  • Uses a consistent qubit order.
  • Separates gates from measurements.
  • Includes at least one entangling circuit.
60 minAvailable

Circuit Coding Kata

A coding path for constructing circuits, checking statevectors, and comparing simulated counts with theory.

Activity

Coding

Concepts

circuit APIstatevectormeasurement counts

Prompt

Implement a Bell-state circuit, assert the expected statevector up to global phase, then sample measurement counts.

Deliverable

A reproducible notebook or script with assertions and a short interpretation of counts.

Quality checks

  • Statevector test allows global phase.
  • Shot counts are interpreted statistically.
  • Code separates construction, simulation, and explanation.
70 minAvailable

Noise Model Clinic

Inspect how simple depolarizing and measurement noise change counts without changing the ideal algorithm.

Activity

Simulation

Concepts

noisedepthmeasurement error

Prompt

Compare an ideal Bell circuit with noisy variants and identify which errors create which count patterns.

Deliverable

A table linking noise assumptions to count changes and confidence limits.

Quality checks

  • Separates ideal circuit from noisy observation.
  • Mentions finite-shot uncertainty.
  • Does not infer hardware performance from a toy model.
75 minAvailable

Hamiltonian Reading Room

Learn to read a small chemistry Hamiltonian and connect Pauli terms to expectation-value estimation.

Activity

Mathematical derivation

Concepts

HamiltonianVQEexpectation value

Prompt

Annotate a two-qubit Hamiltonian, group compatible Pauli terms, and explain what a variational circuit is trying to minimize.

Deliverable

Annotated Hamiltonian terms and a plain-language VQE objective.

Quality checks

  • Distinguishes operator terms from measured samples.
  • Describes an expectation value.
  • Avoids claiming chemical advantage without resource analysis.