make qubits robust to failures