Quantum Period Finding is Compression Robust
- MQ

We study quantum period finding algorithms such as Simon and Shor (and its variants Eker\aa-H\aa stad and Mosca-Ekert). For a periodic function these algorithms produce -- via some quantum embedding of -- a quantum superposition , which requires a certain amount of output qubits that represent . We show that one can lower this amount to a single output qubit by hashing down to a single bit in an oracle setting. Namely, we replace the embedding of in quantum period finding circuits by oracle access to several embeddings of hashed versions of . 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 -bit function our hashing technique reduces the required output qubits from down to , and therefore the total amount of qubits from to . We also show that Simon's algorithm admits real world applications with only qubits by giving a concrete realization of a hashed version of the cryptographic Even-Mansour construction. Our oracle-based hashed version of the Eker\aa-H\aa stad algorithm for factoring -bit RSA reduces the required qubits from down to . In principle our hashing approach also works for the Mosca-Ekert algorithm, but requires strong properties of the hash function family. A hashed version of Mosca-Ekert with as few as qubits would imply classical polynomial time factoring. Therefore, the search for suitable hash functions might open a new path to factoring in .
View on arXiv