Quantum computers have the potential of outperforming conventional computers on some practically relevant information processing problems, possibly even in machine learning and optimization. Yet their large-scale deployment is not yet feasible, largely due to their sensitivity to noise, which causes them to make errors.