Integer Factoring with Unoperations
Paul Kohl
TL;DR
This work introduces the unoperation framework, defining how to recover all inputs that map to a given output for a given operation, and applies it to quantum circuits via unaddition and unmultiplication. By constructing a quantum unadder (with a fixed qubit budget of $O((\log N)^2)$) and an optimized $3$-qubit gate, the authors demonstrate a ripple-carry approach that reverses the flow of information and yields a superposition over all valid input decompositions. The unmultiplication circuit extends this idea to factorization, enabling a quantum device to produce all factor pairs for a product $p$ with the same $qubit scaling, supported by simulations up to sizable bit-lengths. Overall, the paper provides a constructive, simulated pathway to quantum factoring based on unoperations, highlighting potential practical impact and guiding future exploration of trapdoor-function reversibility in quantum computing.
Abstract
This work introduces the notion of unoperation $\mathfrak{Un}(\hat{O})$ of some operation $\hat{O}$. Given a valid output of $\hat{O}$, the corresponding unoperation produces a set of all valid inputs to $\hat{O}$ that produce the given output. Further, the working principle of unoperations is illustrated using the example of addition. A device providing that functionality is constructed utilising a quantum circuit performing the unoperation of addition - referred to as unaddition. To highlight the potential of the approach the unaddition quantum circuit is employed to construct a device for factoring integer numbers $N$, which is then called unmultiplier. This approach requires only a number of qubits $\in \mathcal{O}((\log{N})^2)$, rivalling the best known factoring algorithms to date.
