|q⟩ Bad Qubits

← Question Bank

Multiple choice
Run this circuit, then measure. With what probability do you get |110⟩?
⚛ The apparatus
const c = circuit(3);
c.x(0);
c.x(2);
// Controlled increment: flip q1 when q0=1 and q2=1 (carry), then flip q2 when q0=1
c.ccx(0, 2, 1);
c.cx(0, 2);
return c;

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