Article text
New to quantum? Start with one small move.
Flipped once. How do you get back to 0?
A qubit starts in 0 and passes through an X gate. Place one gate in the empty slot so that you always get 0.
- X swaps 0 and 1.
- Gates you can use: H, X, Z.
- We measure once, at the very end, after every gate.
q0 0 ─[X]─[ ? ]─ measure
Start in 0. Order: X → [empty slot] → measure at the end.
Goal: always 0
Gates you can use
- H · Hadamard
- X · Bit flip
- Z · Phase flip
Show a hint
What happens if a qubit goes through X twice?
Today's idea: Two X gates in a row bring you back to the start.
Show the answer and explanation
Answer: X
Put X in the slot.
Two X gates flip the qubit twice, so it returns to its starting value. You always get 0.
With H, you get 0 or 1, 50% each. With Z, you always get 1.
| Combination | Result | Meets goal |
|---|---|---|
| H | 0 50% · 1 50% | no |
| X | always 0 | ✔ yes |
| Z | always 1 | 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