Multiple choice
Execute the circuit and measure. How likely is the outcome |1101⟩?
const c = circuit(4); c.x(0); c.x(1); c.ccx(0, 1, 2); c.cx(2, 3); c.ccx(0, 1, 2); return c;
Commit your prediction for P(|1101⟩) — then run it.
const c = circuit(4); c.x(0); c.x(1); c.ccx(0, 1, 2); c.cx(2, 3); c.ccx(0, 1, 2); return c;
Commit your prediction for P(|1101⟩) — then run it.