Weak-measurement theory of quantum-dot spin qubits