Multiple choice
After this circuit, what is P(|01⟩) for the whole 2-qubit register measured together (qubit 0 leftmost)?
const theta = Math.PI / 2; const c = circuit(2); c.x(1); // |01> c.cx(1, 0); c.ry(theta / 2, 1); c.cx(0, 1); c.ry(-theta / 2, 1); c.cx(0, 1); c.cx(1, 0); return c;
Commit your prediction for P(|01⟩) — then run it.