Article text
New to quantum? Start with one small move.
Can a 50–50 outcome become a certain zero?
Place one gate in the empty slot to make the final probability of 0 equal to 100%.
- One qubit starts in 0 and passes through an H gate.
- Measuring at this point would give 0 or 1 with equal probability.
- This time, add one more gate before measuring.
- Gates you can use: H, X, Z.
- We measure once, at the very end, after every gate.
q0 0 ─[H]─[ ? ]─ measure
Start in 0. Order: H → [empty slot] → measure at the end.
Goal: always 0
Gates you can use
- H · Hadamard
- X · Bit flip
- Z · Phase flip
Show a hint
Try using H one more time.
Today's idea: What happens when a qubit goes through the same H twice?
Show the answer and explanation
Answer: H
Place another H gate in the slot.
Two consecutive H gates return the qubit to its initial state, so the final probability of 0 is 100%.
There is no measurement between the two gates.
H is a specific transformation of the quantum state, not simply a button that randomizes the result.
With X or Z, you get 0 or 1, 50% each.
| Combination | Result | Meets goal |
|---|---|---|
| H | always 0 | ✔ yes |
| X | 0 50% · 1 50% | no |
| Z | 0 50% · 1 50% | no |
Assumptions: ideal state-vector calculation, every qubit starts in 0, one measurement at the end (Z basis). Not run on real quantum hardware.
Sources
This challenge comes from a reviewed problem template. Its results are cross-checked using two calculation methods. The display simulates an ideal quantum circuit.
A new experiment every day at 19:25 Korea time (10:25 UTC), a nod to 1925 and the foundations of modern quantum mechanics.
Spotted a mistake? Let us know through the comments or a correction request; corrections are recorded on this article.




Leave a Reply
Please log in to comment. Log in