Article text
New to quantum? Start with one small move.
Can one Z in the middle change the result?
Both circuits start in 0. A goes H → H, and B goes H → Z → H. Pick the option that matches the results of the two circuits.
- Z is a gate that changes the phase.
- Think of each circuit as run separately, prepared fresh every time.
- We measure once, at the very end, after every gate.
Circuit A
q0 0 ─[H]─[H]─ measure
Start in 0. Order: H → H → measure at the end.
Circuit B
q0 0 ─[H]─[Z]─[H]─ measure
Start in 0. Order: H → Z → H → measure at the end.
Options
- A: always 0 · B: always 1
- A: always 1 · B: always 0
- A: always 0 · B: always 0
Show a hint
Two H gates bring the qubit back to the start. What if a Z sits between them?
Today's idea: A phase difference can become visible after an H.
Show the answer and explanation
Answer: A: always 0 · B: always 1
Circuit A: You always get 0.
Circuit B: You always get 1.
In A, the two H gates bring the qubit back to its starting state.
In B, the phase change made by Z turns into a visible difference when the qubit passes the second H.
In a quantum state, different paths of the calculation can add up or cancel out. That is called interference.
| Circuit A | always 0 |
|---|---|
| Circuit B | always 1 |
- Continue with this circuit in the CQM simulator (A)
- Continue with this circuit in the CQM simulator (B)
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