|q⟩ Bad Qubits

← Question Bank

Multiple choice
Execute the circuit and measure. How likely is the outcome |1⟩?
⚛ The apparatus
const c = circuit(1);
c.x(0);   // |1⟩
c.h(0);   // H|1⟩ = |−⟩
c.h(0);   // rotate back: H|−⟩ = |1⟩
c.measure();
return c;

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