Introduction
In modern cryptography, the security of many systems hinges on the properties of Boolean functions—mappings from bit strings to a single bit. To evaluate these functions, researchers analyze their "spectra," including the Walsh, cross-correlation, and autocorrelation spectra. These mathematical transforms reveal how resistant a function is to various cryptographic attacks.
Traditionally, the Deutsch-Jozsa (DJ) algorithm has been the primary quantum tool for sampling the Walsh spectrum. However, DJ has inherent limitations: it is not perfectly efficient for verifying $m$-resiliency (where the Walsh transform is zero for all low-weight inputs) and cannot directly sample the cross-correlation spectrum due to normalization constraints. This research introduces a unifying framework based on the "Forrelation" problem to overcome these hurdles.
The Forrelation Framework
Forrelation measures the correlation between one Boolean function and the Walsh transform of another. Originally developed to demonstrate quantum-classical separation in query complexity, this paper repurposes it for practical cryptographic analysis.
2-fold Forrelation
The 2-fold Forrelation algorithm utilizes two function oracles, $f_1$ and $f_2$. The authors apply this to solve promise problems related to "bent" functions—functions that exhibit maximum nonlinearity—and their duals.
3-fold Forrelation and Walsh Sampling
By extending the framework to three oracles ($f_1, f_2, f_3$), the authors achieve significant gains. To sample the Walsh spectrum of a function $f$, they set $f_1 = f_3 = f$ and define $f_2$ as a specific indicator function. This configuration allows the algorithm to sample the Walsh spectrum more efficiently than the standard DJ approach.
Methodological Innovations
Beyond standard Forrelation, the authors introduce several key technical improvements:
- Cross-Correlation Sampling: To bypass the mathematical barrier where cross-correlation values do not naturally sum to 1, the authors modify the 3-fold circuit. They replace the middle oracle ($f_2$) with a quantum superposition of linear functions, forcing the quantum state to encode cross-correlation values directly in its amplitudes.
- Dicke State Preparation: For checking if two functions are uncorrelated up to a degree $m$, the researchers utilize Dicke states—superpositions of all bit strings with a fixed Hamming weight. This restricts the search space and improves query complexity in specific regimes.
Key Results
The proposed algorithms offer both constant-factor and polynomial improvements over existing methods:
- Beating Deutsch-Jozsa: For sampling a target set of points in the Walsh spectrum with probability $p$, the 3-query Forrelation algorithm yields a success probability of $4p - 4p^2$. This provides a distinct advantage over running DJ twice.
- Improved Resiliency Checking: Combining 3-fold Forrelation with amplitude amplification halves the query complexity for checking $m$-resiliency (e.g., reducing $4n$ queries to $2n$).
- First Cross-Correlation Sampler: The work presents the first cross-correlation sampling algorithm with $O(1)$ query complexity, requiring exactly one query to each function ($f$ and $g$).
- Polynomial Speedup for Uncorrelatedness: Using Dicke states provides a polynomial improvement in query complexity when checking for uncorrelatedness in regimes where $m$ is small.
Conclusion and Future Work
This research demonstrates that Forrelation is a "Swiss Army Knife" for quantum cryptographic analysis. While the improvements in Walsh sampling are constant-factor rather than exponential, they represent a meaningful step forward in algorithmic efficiency.
Future research may explore whether higher-order Forrelation ($k$-fold where $k > 3$) can yield even more powerful estimation tools. Additionally, the authors suggest further optimization of the cross-correlation sampling probability, which remains mathematically bounded by the inherent structure of the spectrum.
Note: The theoretical results were verified using small-scale simulations on the IBMQ quantum simulator.
Summary updated