Multiple choice
After running this circuit, what is the expectation value ⟨Y⟩ of qubit 0 (its Bloch Y-component)?
const theta = Math.PI / 6; const c = circuit(2); // 1. prepare GHZ c.h(0); c.cx(0, 1); // 2. encode the phase on both qubits c.p(theta, 0); c.p(theta, 1); // 3. decode back onto qubit 0 c.cx(0, 1); c.h(0); // 4. measure c.measure(); return c;
Commit your prediction for ⟨Y⟩ of qubit 0 — then run it.