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