|q⟩ Bad Qubits

← Question Bank

Multiple choice
This circuit prepares qubit 0 in some state. What expectation value ⟨X⟩ does it have along the Bloch X-axis?
⚛ The apparatus
const c = circuit(1);
const x = 0.5, theta0 = 0.8, theta1 = 0.3;
c.ry(2 * x, 0);
c.rz(theta1, 0);
c.ry(theta0, 0);
return c;

Commit your prediction for ⟨X⟩ of qubit 0 — then run it.