Multiple choice
After running this circuit, what is the expectation value ⟨X⟩ of qubit 0 (its Bloch X-component)?
const c = circuit(3); // Periodic superposition: (|000>+|010>+|100>+|110>)/2 c.h(0); c.h(1); // Inverse QFT (adjoint of QFT including bit-reversal swap) c.swap(0, 2); c.h(2); c.cp(-Math.PI / 2, 2, 1); c.h(1); c.cp(-Math.PI / 4, 2, 0); c.cp(-Math.PI / 2, 1, 0); c.h(0); return c;
Commit your prediction for ⟨X⟩ of qubit 0 — then run it.