Phase You Can Measure

A single qubit starts in ∣0⟩|0\rangle and runs this circuit, then is measured in the computational basis:

|0> ---[ H ]---[ Z ]---[ H ]---( measure )

What is the outcome distribution?

A

0 with probability 14\tfrac{1}{4} and 1 with probability 34\tfrac{3}{4}.

B

1 with certainty

C

0 and 1 with probability 12\tfrac{1}{2} each, because ZZ changes only a phase and phases are unobservable.

D

0 with certainty, because ZZ acts only on ∣1⟩|1\rangle and the state began in ∣0⟩|0\rangle.