Multiple choice
After running this circuit, what is the expectation value ⟨Y⟩ of qubit 0 (its Bloch Y-component)?
const T = 1.0;
const slices = 2;
const dt = T / slices; // 0.5
const c = circuit(1);
for (let k = 0; k < slices; k++) {
const tMid = (k + 0.5) * dt; // midpoint of slice k
const g = tMid; // g(t) = t
c.rx(2 * g * dt, 0); // exp(-i g X dt) = RX(2 g dt)
}
return c;Commit your prediction for ⟨Y⟩ of qubit 0 — then run it.