Qubit measurement system