0%
Level 01 · Qubits

Lab: flip a quantum coin

Make a perfect 50/50 coin with a single gate, then flip it a thousand times.

Lesson 6 of 7 about 8 min

Your lab bench

Time to build. Below is a tiny version of Qanad Lab: one qubit, a few gates, and a measurement at the end. Each time you press Run, the qubit is prepared from scratch, sent through your gates and measured. Every run is a shot.

Every qubit starts at |0⟩. So what do you expect from a circuit with no gates at all? Run it and see.

q0 |0⟩+M
Add a gate
|0⟩|1⟩|+⟩|+i⟩

Exact odds, from the simulator

0: 100%1: 0%

No shots yet

Open in Qanad Lab
GoalWith no gates, run at least 100 shots.