One of the central goals in quantum computation science is to design algorithms that outperform their classical counterparts. A prominent example is Shor’s algorithm for integer factorization 1, which ...