Classical and Quantum Polynomial Freiman-Ruzsa Algorithms

Srinivasan Arunachalam, Davi Castro-Silva, Arkopal Dutt, Tom GurItcs 2026

TL;DR

This paper presents the first polynomial-time classical and quantum algorithms for the Polynomial Freiman-Ruzsa (PFR) theorem. These algorithms efficiently learn a structured subspace that covers a "doubling" set, a fundamental problem in additive combinatorics with implications for theoretical computer science.

What Problem Does This Paper Address?

The Freiman-Ruzsa theorem is a cornerstone of additive combinatorics, stating that sets with a small "doubling constant" (meaning their sumset isn't much larger than the set itself) must be "close" to being structured, specifically, they can be covered by translates of a subspace. While the combinatorial version of this theorem is powerful, theoretical computer science applications often require an algorithmic version: an efficient method to find this covering subspace. Previous algorithmic results for a related theorem (the Bogolyubov-Ruzsa theorem) achieved quasipolynomial time. The PFR theorem, proved recently, showed that the dependency on the doubling constant K can be polynomial, but an efficient algorithm for this polynomial version was missing. This paper fills that gap, providing polynomial-time algorithms for learning the subspace.

Methods

The authors develop both classical and quantum algorithms. Their strategy involves a "dequantization" approach: first, they design a quantum algorithm by leveraging recent breakthroughs in learning stabilizer states (which are related to additive structures). This quantum algorithm is then transformed into a classical one.

Key techniques include:

  • Probabilistic Dense Model: Using random sampling and linear maps to transform sparse sets into denser ones, making them easier to analyze.
  • Freiman Isomorphisms: A notion of structural equivalence between sets that preserves additive structure.
  • Restricted Homomorphism Testing: A lemma that connects approximate linearity to affine-linear functions, crucial for learning the structure.
  • Quantum Stabilizer Learning: Utilizing algorithms that can learn properties of quantum states that are close to stabilizer states. This is a key ingredient for the quantum algorithm.
  • Dequantization: Transforming the quantum algorithm into a classical one, often at the cost of increased query complexity.
  • Information-Theoretic Lower Bounds: Proving that the achieved query complexities are near-optimal.

Datasets

Not discussed in the paper. The paper deals with abstract sets $A \subseteq \mathbb{F}_2^n$ and functions $f: S \to \mathbb{F}_2^n$, not specific datasets.

Key Insights and Ideas

  • Bridging Combinatorics and Computation: The paper demonstrates a concrete pathway from a deep combinatorial theorem (PFR) to efficient algorithms for theoretical computer science tasks.
  • Quantum Advantage in Additive Combinatorics: The authors show that quantum algorithms can achieve a quadratic speedup in query complexity for learning additive structures, a surprising result for a field traditionally considered classical.
  • The Power of Stabilizer States: The connection between additive combinatorics and quantum stabilizer states is leveraged effectively, showing how tools from quantum information can solve problems in classical mathematics.
  • Algorithmic Equivalence: The paper shows that structural theorems in additive combinatorics (like PFR) have efficient algorithmic counterparts, which is not always trivial.

Key Results

  • Classical Algorithmic PFR: An Õ(n⁴)-time randomized algorithm that uses O(log|A|) random samples and O(log²|A|) queries to learn a subspace $V$ covering a set $A \subseteq \mathbb{F}_2^n$ with $|A+A| \le K|A|$, such that $A$ is covered by $P_1(K)$ translates of $V$. The query complexity is shown to be near-optimal, $\Omega(n^2)$.
  • Quantum Algorithmic PFR: An Õ(n³)-time quantum algorithm with similar guarantees but with a quadratic improvement in query complexity, $\Omega(n)$ quantum queries.
  • Algorithmic Homomorphism Testing: Efficient algorithms for testing if a function is close to an affine-linear map or has a structured decomposition.

Limitations and Future Work

  • Dependence on K: The authors note that the dependence on the doubling constant $K$ in their algorithms is polynomial, but it's an open problem whether this dependence can be improved, especially for asymptotically growing $K$.
  • Quantum-to-Classical Blow-up: The classical algorithms have a quadratic blow-up in query complexity compared to their quantum counterparts, which is inherent and proven to be near-optimal.
  • Future Directions: The paper suggests exploring further connections between quantum algorithms and additive combinatorics, and improving the dependence on $K$.

Summary updated

BibTeX
@inproceedings{arunachalam2026classical,
  author = {Srinivasan Arunachalam and Davi Castro-Silva and Arkopal Dutt and Tom Gur},
  title = {{Classical and Quantum Polynomial Freiman-Ruzsa Algorithms}},
  booktitle = {Itcs},
  year = {2026},
  doi = {10.4230/lipics.itcs.2026.11},
}
Figure