Environmental factors – called decoherences – lead to random rotations of the qubits. For example, the central qubit is rotated in the middle figure, representing a quantum error. The task of QEC schemes is to detect and correct such errors so the qubits