|q⟩ Bad Qubits

← Question Bank

Multiple choice
Run this circuit, then measure. With what probability do you get |01⟩?
⚛ The apparatus
const c = circuit(2);
c.h(0);     // (|00⟩ + |10⟩)/√2
c.z(0);     // (|00⟩ − |10⟩)/√2
c.x(1);     // (|01⟩ − |11⟩)/√2
c.cx(0, 1); // |11⟩ → |10⟩  ⇒  (|01⟩ − |10⟩)/√2
return c;

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