The work could help improve quantum computers’ accuracy in complex calculations