|q⟩ Bad Qubits

← Question Bank

Multiple choice
Run this circuit, then measure. With what probability do you get |111⟩?
⚛ The apparatus
const c = circuit(3);
c.cx(0, 1);
c.cx(0, 2); // encode |0_L> = |000>
// Logical X = X tensor X tensor X (transversal).
c.x(0);
c.x(1);
c.x(2);
return c;

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