|q⟩ Bad Qubits

← Question Bank

Multiple choice
This circuit is measured once in the computational basis. What is P(|0⟩)?
⚛ The apparatus
const s = 0.5, dt = 0.1;
const c = circuit(1);
// e^{-i dt H} = e^{i dt(1-s) X} e^{i dt s Z}; the rightmost factor acts first.
c.rz(-2 * dt * s, 0);
c.rx(-2 * dt * (1 - s), 0);
return c;

Commit your prediction for P(|0⟩) — then run it.