|q⟩ Bad Qubits

← Question Bank

Multiple choice
Run this circuit, then measure all 3 qubits at once. What is the probability of the joint outcome |110⟩ (qubit 0 leftmost)?
⚛ The apparatus
const c = circuit(3);
c.h(0);
c.cx(0, 1);
c.cx(0, 2); // encode |+_L>
c.x(1);     // injected bit-flip error on qubit 1
// Decode: run the encoder backwards (CNOT is its own inverse).
c.cx(0, 1);
c.cx(0, 2);
// Coherent majority correction: flip qubit 0 iff both partners say "1".
c.ccx(2, 1, 0);
return c;

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