|q⟩ Bad Qubits

← Question Bank

Multiple choice
Execute the circuit and measure. How likely is the outcome |0⟩?
⚛ The apparatus
const c = circuit(1);
// H = e^{iπ/2} Rz(π/2) Rx(π/2) Rz(π/2). Circuit order applies left-to-right,
// and grading ignores the global phase.
c.rz(Math.PI / 2, 0);
c.rx(Math.PI / 2, 0);
c.rz(Math.PI / 2, 0);
return c;

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