34
2

Quantum Period Finding with a Single Output Qubit -- Factoring nn-bit RSA with n/2n/2 Qubits

Abstract

We study quantum period finding algorithms such as Simon, Shor, and Eker{\aa}-H{\aa}stad. For a periodic function ff these algorithms produce -- via some quantum embedding of ff -- a quantum superposition xxf(x)\sum_x \vert x\rangle\vert f(x)\rangle, which requires a certain amount of output bits that represent f(x)\vert f(x)\rangle. We show that we can lower this amount to a single output qubit by hashing ff down to a single bit. Namely, we replace the embedding of ff in quantum period finding circuits by several embeddings of hashed versions of ff. We show that on expectation this modification only doubles the required amount of quantum measurements, while significantly reducing the total number of qubits. For example, for Simon's period finding algorithm in some nn-bit function f:F2nF2nf: \mathbb{F}_2^n \rightarrow \mathbb{F}_2^n our hashing technique reduces the required qubits from 2n2n down to n+1n+1. For the Eker\aa-H\aa stad algorithm for factoring nn-bit RSA our hashing reduces the required qubits from (32+o(1))n(\frac 3 2 + o(1))n down to (12+o(1))n(\frac 1 2 + o(1))n.

View on arXiv
Comments on this paper