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