Skip to main content
โ† Back to ๐ŸŽ“ Beginners' Corner
Admin QuantonicHQ
Admin QuantonicHQ
ยท in ๐ŸŽ“ Beginners' Corner
WHY ISN'T MY 50/50 SPLIT EXACTLY 50/50? ๐ŸŽฒ

You put an H gate on a qubit, ran it, and got something like 53/47 instead of a clean 50/50. Is the simulator broken?

Nope โ€” that's sampling noise, and it's exactly what a real quantum computer gives you too.

Each run (shot) is one coin flip. Flip a fair coin 100 times and you'll rarely get exactly 50 heads. The histogram converges to 50/50 as shots go up, but any finite sample wobbles.

Rule of thumb: with N shots, expect the percentages to wobble by roughly 1 over the square root of N. 100 shots โ†’ around ยฑ10%. 10,000 shots โ†’ around ยฑ1%.

This matters beyond homework: real quantum algorithms have to be designed knowing every answer comes wrapped in this statistical fuzz.
๐Ÿค 0 ๐Ÿ’ฌ 0

๐Ÿ’ฌ Comments (0)

No comments yet โ€” be the first to reply.
๐Ÿ’ฌ Sign in to join the conversation.