Multiple choice
After running this circuit, what is the expectation value ⟨Y⟩ of qubit 0 (its Bloch Y-component)?
const theta = Math.PI / 2; const c = circuit(1); c.h(0); // prepare |+x> c.rz(theta, 0); // rotate about z by pi/2 return c;
Commit your prediction for ⟨Y⟩ of qubit 0 — then run it.