Multiple choice
Execute the circuit and measure. How likely is the outcome |1⟩?
const x = Math.PI / 2; const w = Math.PI / 2; const c = circuit(1); c.ry(x, 0); c.ry(w, 0); c.measure(); return c;
Commit your prediction for P(|1⟩) — then run it.
const x = Math.PI / 2; const w = Math.PI / 2; const c = circuit(1); c.ry(x, 0); c.ry(w, 0); c.measure(); return c;
Commit your prediction for P(|1⟩) — then run it.