Fast quantum integer multiplication with zero ancillas
Gregory D. Kahanamoku-Meyer et al. · 7 claims
A. Classical-quantum multiplication: Shor’s algorithmPerhaps the most obvious application of our result is to Shor’s algorithm for integer factorization, which can be implemented via O ( n ) controlled, in-place classicalquantum modular multiplications. In particular, it is possible to implement these multiplications to precision η using a total of 2 n + O (log(1 /η )) qubits (see Appendix D for details). Thus, asymptotically, our technique yields a circuit for factoring with O ( _n_2+ϵ ) gates (for arbitrarily small ϵ ) and only 2 n + O (log n ) qubits. To our knowledge, this is by far the best qubit count of any factoring circuit with a sub-cubic number of gates. In order to get a sense of circuit sizes in practice, we perform a detailed analysis of the gate and qubit counts for the out-of-place multiplication of 2048-bit inputs (which is used to construct the in-place multiplications described above). Specifically, we build the recursive tree (Fig. 1) and carefully tabulate the number and type of gates in each layer. Via a careful choice of the points wℓ , we are able to devise efficient addition sequences that minimize the overhead of forming linear combinations such as ( A x ) ℓ . Moreover, at each layer, we explicitly optimize over k , the number of pieces into which we divide the inputs (see e.g. Sec. II A and Table I). Interestingly, we find that it is sometimes optimal to use different values of k even at the same level of recursion (see Appendix ...






