|q⟩ Bad Qubits

← Question Bank

Multiple choice
After running this circuit, what is the probability of measuring |10010⟩?
⚛ The apparatus
const c = circuit(5);
c.cx(0, 1);
c.cx(0, 2); // encode |0_L>
c.x(0);     // injected bit-flip error on data qubit 0
// Parity Z0 Z1 -> ancilla 3.
c.cx(0, 3);
c.cx(1, 3);
// Parity Z1 Z2 -> ancilla 4.
c.cx(1, 4);
c.cx(2, 4);
c.measure();
return c;

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