An efficient quantum algorithm for computing $S$-units and its applications
Jean-Francois Biasse, Fang Song
TL;DR
Let $K$ be a number field with discriminant $ ext{Δ}$ and let $S$ be a finite set of primes. The paper presents a quantum algorithm to compute the $S$-unit group $U_S$ in time polynomial in $n= ext{deg}(K)$, $ ext{log}| ext{Δ}|$, $|S|$, and $ ext{max}_{rak p in S} ext{log}ig( ext{N}(rak p)ig)$, with GRH enabling polynomial-time corollaries for class groups, $S$-class groups, relative class groups, unit groups, the principal ideal problem, ray class groups, and certain norm equations. The core strategy reduces CGP and PIP to $S$-unit computation and then to a continuous Hidden Subgroup Problem on $bR^m$, leveraging $E$-ideals and lattice-encoded quantum states to realize an efficient quantum oracle. A key contribution is the generalized reduction to HSP for arbitrary degree fields, along with a robust quantum encoding that yields exact (compact) representations of the obtained $S$-units and the ability to translate these into classical algebraic data. These results imply broad cryptanalytic consequences—most notably polynomial-time attacks on schemes relying on short generators of principal ideals—and provide a unified quantum framework for several central number-theoretic computations, including class groups and norm equations, under GRH.
Abstract
In this paper, we provide details on the proofs of the quantum polynomial time algorithm of Biasse and Song (SODA 16) for computing the $S$-unit group of a number field. This algorithm directly implies polynomial time methods to calculate class groups, S-class groups, relative class group and the unit group, ray class groups, solve the principal ideal problem, solve certain norm equations, and decompose ideal classes in the ideal class group. Additionally, combined with a result of Cramer, Ducas, Peikert and Regev (Eurocrypt 2016), the resolution of the principal ideal problem allows one to find short generators of a principal ideal. Likewise, methods due to Cramer, Ducas and Wesolowski (Eurocrypt 2017) use the resolution of the principal ideal problem and the decomposition of ideal classes to find so-called ``mildly short vectors'' in ideal lattices of cyclotomic fields.
