All labs
40 min

Single-Qubit Gate Lab

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

Investigation

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

Learning evidence

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

Single-Qubit Gate Lab

Ideal state-vector simulation in your browser, not a quantum-hardware run. Basis labels display q0 as the most-significant bit.

Application order

I

State amplitudes

|0>1
|1>0

Measurement probabilities

|0>100.0%
|1>0.0%
Complete the required interaction before marking this lab complete.

Completion checks

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