|q⟩ Bad Qubits

← Question Bank

Multiple choice
Run this circuit, then measure. With what probability do you get |010⟩?
⚛ The apparatus
const c = circuit(3);
c.cx(0, 1);
c.cx(0, 2); // encode |0_L>
c.x(1);     // a single correctable bit-flip error
c.cx(0, 1);
c.cx(0, 2); // decode
c.ccx(2, 1, 0); // coherent majority correction onto the data qubit
c.measure();
return c;

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