|q⟩ Bad Qubits

← Question Bank

Multiple choice
This circuit prepares qubit 0 in some state. What expectation value ⟨Z⟩ does it have along the Bloch Z-axis?
⚛ The apparatus
const c = circuit(2);
const x = [0.5, 0.9];
const theta = [0.4, 1.2];
c.ry(2 * x[0], 0);
c.ry(2 * x[1], 1);
c.ry(theta[0], 0);
c.ry(theta[1], 1);
c.cx(0, 1);
c.measure();
return c;

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