Simulation studio

QP

Unitary Operations Playground

Build a single-qubit gate sequence, watch the state update after each operation, and compare amplitudes before and after collapse.

The focus is on helping learners internalize how unitary gate composition changes amplitudes and measurement probabilities step by step.

QPR-01IntermediateQuantum ProgrammingLive lab

Subject context

Quantum Programming

Practice gate sequencing, small-circuit construction, Qiskit-style code generation, and statevector reasoning in a browser-first environment.

  • 3 labs in this subject.
  • Difficulty: Intermediate.
  • Dedicated route: /simulations/subjects/quantum-programming/unitary-operations-playground.

Live lab

Interactive simulation workspace

These academy-style labs are designed as compact, browser-playable teaching surfaces: enough interaction to make the core idea legible, without pretending to be a full research workbench.

Interactive academy lab

Unitary Operations Playground

Treat single-qubit programming as gate composition: each button appends a unitary and the state updates immediately.

Controls

H

Outputs

P(|0>)50.0%

Probability of measuring |0> after the sequence.

P(|1>)50.0%

Probability of measuring |1> after the sequence.

Depth1

Circuit length in gates.

|psi_out> = (0.71 + 0.00i)|0> + (0.71 + 0.00i)|1>

Unitary programming is reversible and amplitude-preserving until you choose to measure.

What this teaches

Core learning frame

The focus is on helping learners internalize how unitary gate composition changes amplitudes and measurement probabilities step by step.

Build a single-qubit gate sequence, watch the state update after each operation, and compare amplitudes before and after collapse.