Multiple choice
After running this circuit, what is the expectation value ⟨X⟩ of qubit 0 (its Bloch X-component)?
const gamma1 = 0.4, gamma2 = 0.8; const beta1 = 0.3, beta2 = 0.6; const c = circuit(2); // Uniform superposition c.h(0); c.h(1); // Layer 1 c.cx(0, 1); c.rz(gamma1, 1); c.cx(0, 1); c.rx(2 * beta1, 0); c.rx(2 * beta1, 1); // Layer 2 c.cx(0, 1); c.rz(gamma2, 1); c.cx(0, 1); c.rx(2 * beta2, 0); c.rx(2 * beta2, 1); return c;
Commit your prediction for ⟨X⟩ of qubit 0 — then run it.