arXiv:2608.30340quant-phAug 2026

Manuscript Offprint

arXiv:2608.30340

Exact quantum splitting and the structure of finite algebras

Muhammad Imran

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Berlekamp's algorithm factors a squarefree polynomial f∈Fq[x]f \in \mathbb{F}_q[x] by deterministic linear algebra, reducing the problem to splitting an explicit commutative algebra B≅FqrB \cong \mathbb{F}_q^r into its rr simple factors. For large odd qq, the standard efficient splitting step is randomized, while known derandomizations are conditional on the Extended Riemann Hypothesis. We give an unconditional exact quantum implementation in a circuit model permitting single-qubit rotations through efficiently computable angles. The construction uses an unconditional counting argument. For a block containing s≥2s \geq 2 irreducible factors, a quadratic-character test in odd characteristic and an absolute-trace test in characteristic 2 yield a nonconstant test element with probability pq,s≥12p_{q,s} \geq \frac{1}{2}, known exactly in advance and depending only on qq and ss, not on the unknown factorization. Exact amplitude amplification therefore converts each randomized test into a procedure succeeding with certainty after one amplification iteration. The resulting algorithm uses exactly r−1r - 1 quantum splitting rounds and O(n3log⁡q)O(n^3 \log q) quantum Fq\mathbb{F}_q-operations and O(n3)O(n^3) classical operations, requiring no primitive root, quadratic non-residue, or distinct-degree preprocessing. The method also splits arbitrary finite-dimensional separable commutative Fq\mathbb{F}_q-algebras given by structure constants. Combined with R'onyai's classical structure theory, which computes the radical deterministically and reduces the remaining tasks deterministically to polynomial factorization, it yields the radical and the Wedderburn decomposition of A/Rad(A)A/\text{Rad}(A) into minimal two-sided ideals, with certainty, for any nn-dimensional associative Fq\mathbb{F}_q-algebra given by structure constants, using O(n4log⁡q)O(n^4 \log q) quantum Fq\mathbb{F}_q-operations.

1 Introduction

Factoring a polynomial over a finite field is one of the basic problems of computational algebra, with applications throughout cryptography and coding theory. The two classical approaches, Berlekamp's algorithm [3, 4] and the Cantor–Zassenhaus algorithm [7], both reduce the problem to a linear-algebra step (finding a distinguished subalgebra of Fq[x]/(f)\mathbb{F}_q[x]/(f)) followed by a splitting step that separates the factors from one another. The linear-algebra step is classical, deterministic, and efficient. The splitting step is where all the difficulty lies, and its status depends sharply on the field.

The same division of labour recurs, one level up, throughout the structure theory of finite associative algebras. Rónyai [31], building on Friedl and Rónyai [13], showed that for a finite-dimensional associative algebra A over FqF_q presented by structure constants, the radical Rad(A)\text{Rad}(A) is computable in deterministic polynomial time, while the decomposition of the semisimple quotient into simple components, the construction of zero divisors, and the explicit isomorphism of a simple component with a full matrix algebra are all deterministic reductions to factoring polynomials over finite fields. Every one of these problems therefore inherits, verbatim, whatever the status of the splitting step happens to be: randomized in general, deterministic under the Extended Riemann Hypothesis in the cases where that is known, and, as we show here, exact in the quantum circuit model. This paper is organized around that observation. We first make the splitting step of Berlekamp's algorithm exact, and then follow Rónyai's reductions upward to obtain exact quantum algorithms for the structure of finite algebras.

What is known classically. When the characteristic p=char(Fq)p = \text{char}(\mathbb{F}_q) is small, the splitting step is classically deterministic and efficient. Berlekamp's original algorithm [3] runs in time poly(n,log⁡q,p)\text{poly}(n, \log q, p), because the absolute trace TrFq/Fp\text{Tr}_{\mathbb{F}_q/\mathbb{F}_p} pushes the relevant coordinate values into the prime field Fp\mathbb{F}_p, after which one exhausts over the pp possible constants. This is the Berlekamp trace algorithm, and for fixed small pp, in particular for q=2kq = 2^k, it settles the problem unconditionally. Deterministic algorithms are also available at cost polynomial in q\sqrt{q} [33, 28].

The hard regime is therefore large q of odd characteristic. There, every known efficient classical splitting method is randomized. A random test element splits the current block with probability at least 1/2, and repeating the trial drives the failure probability down exponentially, but no zero-failure-probability method is known, nor is an unconditional deterministic one. As Gao observes [14], it remains open whether polynomial-time deterministic factorization exists over such fields even assuming the Extended Riemann Hypothesis. Conditional on GRH/ERH, a long line of work [30, 18, 12, 23, 22, 16] gives subexponential and, in structured cases, polynomial-time deterministic algorithms; these route through the construction of a primitive root or an r-th non-residue of Fq\mathbb{F}_q [14].

In this paper, we give an exact quantum algorithm for the splitting step, one that succeeds with certainty upon measurement and that assumes no unproven number-theoretic hypothesis. Exact quantum algorithms, as opposed to bounded-error ones, are of interest for the reasons discussed in our earlier work on the exact quantum hidden subgroup problem [20, 21]. They are the natural counterparts of deterministic classical algorithms, and, being measurement-free until the final step, they compose without accumulating error inside larger unitary computations. That last property is what makes the passage to general finite algebras possible below, since a bounded-error splitting subroutine called Θ(n)\Theta(n) times inside a classical wrapper would only ever yield a bounded-error outer algorithm. We follow the computational model for exact quantum algorithms of [20], fixed precisely in Section 2.3.

Before describing the construction it is worth being explicit about what kind of improvement is, and is not, being claimed. The purpose of the quantum procedure is not an asymptotic speedup over the expected running time of randomized classical splitting, which is already polynomial. It is to replace a randomized step by an exact one. The observation making this possible is that the success probability of the splitting test can be determined exactly from the field size q and the number s of irreducible factors in the current block, independently of the unknown factorization, which permits the direct use of exact amplitude amplification [6]. The substantive gain is confined to large odd characteristic, and we are careful throughout to claim nothing more. In small characteristic our procedure is an exact quantum analogue of an algorithm that is already classically deterministic and provides no new capability there; its interest in that regime is that the same mechanism covers it, so that the treatment is uniform over all finite fields. We return to this in Section 4.

References (26)