← All labs
60 min
Circuit Coding Kata
A coding path for constructing circuits, checking statevectors, and comparing simulated counts with theory.
Investigation
Implement a Bell-state circuit, assert the expected statevector up to global phase, then sample measurement counts.
Learning evidence
A reproducible notebook or script with assertions and a short interpretation of counts.
Interactive check
Guided local calculation. Simulated results, not quantum hardware or a full circuit simulator.
Probabilities
- 00
- 50%
- 01
- 0%
- 10
- 0%
- 11
- 50%
Explanation
The Bell state yields only 00 or 11, while each local result remains random.
Complete the required interaction before marking this lab complete.
Completion checks
- Statevector test allows global phase.
- Shot counts are interpreted statistically.
- Code separates construction, simulation, and explanation.
