Diffusion Computation versus Quantum Computation: A Comparative Model for Order Finding and Factoring
Carlos A. Cadavid, Paulina Hoyos, Jay Jorgenson, Lejla Smajlović, J. D. Vélez
TL;DR
This paper proposes a diffusion-based hybrid model for factoring, replacing quantum circuit evolution with hardware-like diffusion on a finite Cayley graph to perform order finding. The core contribution is a diffusion order-finding theorem: after $n_0=O((\log N)^2)$ diffusion steps, a single heat-kernel reading $p_{n_0}(e)$ determines the order $r=\operatorname{ord}_N(b)$ by rounding $1/p_{n_0}(e)$, enabling a Shor-style factoring route with polynomial digital work. It also develops a diffusion-assisted factoring algorithm, analyzes collision-based relation finding and gcd stabilization, and provides concrete numerical examples illustrating both diffusion-based and collision-based approaches. The results highlight how diffusion as a hardware primitive can emulate key spectral mixing properties to extract arithmetic structure, potentially offering a hardware-oriented alternative or complement to quantum approaches for order finding and factoring. An RC-network realization is discussed to map the diffusion primitive to a physical substrate, linking the abstract diffusion model to implementable hardware. Overall, the work clarifies the theoretical bounds, demonstrates practical feasibility on selected instances, and frames diffusion as a principled, locality-aware resource in factoring.
Abstract
We study a hybrid computational model for integer factorization in which the only non-classical resource is access to an \emph{iterated diffusion process} on a finite graph. Concretely, a \emph{diffusion step} is defined to be one application of a symmetric stochastic matrix (the half-lazy walk operator) to an $\ell^{1}$--normalized state vector, followed by an optional readout of selected coordinates. Let $N\ge 3$ be an odd integer which is neither prime nor a prime power, and let $b\in(\mathbb{Z}/N\mathbb{Z})^\ast$ have odd multiplicative order $r={\rm ord}_N(b)$. We construct, without knowing $r$ in advance, a weighted Cayley graph whose vertex set is the cyclic subgroup $\langle b\rangle$ and whose edges correspond to the powers $b^{\pm 2^t}$ for $t\le \lfloor \log_2 N\rfloor+1$. Using an explicit spectral decomposition together with an elementary doubling lemma, we show that $r$ can be recovered from a single heat-kernel value after at most $O((\log_2 N)^2)$ diffusion steps, with an effective bound. We then combine this order-finding model with the standard reduction from factoring to order finding (in the spirit of Shor's framework) to obtain a randomized factorization procedure whose success probability depends only on the number $m$ of distinct prime factors of $N$. Our comparison with Shor's algorithm is \emph{conceptual and model-based}. We replace unitary $\ell^2$ evolution by Markovian $\ell^1$ evolution, and we report complexity in two cost measures: digital steps and diffusion steps. Finally, we include illustrative examples and discussion of practical implementations.
