Making quantum computers more accurate