Papers
Topics
Authors
Recent
Assistant
AI Research Assistant
Well-researched responses based on relevant abstracts and paper content.
Custom Instructions Pro
Preferences or requirements that you'd like Emergent Mind to consider when generating responses.
Gemini 2.5 Flash
Gemini 2.5 Flash 62 tok/s
Gemini 2.5 Pro 47 tok/s Pro
GPT-5 Medium 12 tok/s Pro
GPT-5 High 10 tok/s Pro
GPT-4o 91 tok/s Pro
Kimi K2 139 tok/s Pro
GPT OSS 120B 433 tok/s Pro
Claude Sonnet 4 31 tok/s Pro
2000 character limit reached

Exact Coset Sampling for Quantum Lattice Algorithms (2509.12341v2)

Published 15 Sep 2025 in quant-ph, cs.CL, and cs.CR

Abstract: We give a simple and provably correct replacement for the contested ``domain-extension'' in Step 9 of a recent windowed-QFT lattice algorithm with complex-Gaussian windows~\citep{chen2024quantum}. The published Step 9 suffers from a periodicity/support mismatch. Our drop-in subroutine uses a pair-shift difference to cancel all unknown offsets exactly and to synthesize a uniform cyclic subgroup (zero-offset coset) of order $P$ inside $(\mathbb{Z}_{M_2})n$. A subsequent QFT enforces the intended modular linear relation. The sole structural assumption is the residue accessibility condition, which enables coherent auxiliary cleanup; no amplitude periodicity is used. The unitary is reversible, uses $\mathrm{poly}(\log M_2)$ gates, and preserves upstream asymptotics.

Summary

  • The paper presents an exact coset sampling method that overcomes periodicity mismatches in quantum lattice algorithms through a reversible procedure.
  • It employs a coherent copy, pair-shift difference, and QFT to enforce a uniform modular relation and cancel unknown offsets efficiently.
  • The method achieves efficiency with O(n·poly(log M2)) gates and robustly meets residue accessibility conditions for practical quantum circuit implementation.

Exact Coset Sampling for Quantum Lattice Algorithms

Overview and Motivation

This work addresses a critical subroutine in quantum algorithms for lattice problems, specifically the "domain-extension" step in windowed-QFT lattice algorithms with complex-Gaussian windows. The original approach, as presented in [chen2024quantum], suffers from a periodicity/support mismatch, leading to incorrect support size and failure to enforce the intended modular linear relation. The paper introduces an exact, reversible coset sampling method that synthesizes a uniform cyclic subgroup (zero-offset coset) of order PP inside (ZM2)n(\mathbb{Z}_{M_2})^n, circumventing the pitfalls of amplitude periodicity and offset dependence. The construction is efficient, requiring only poly(logM2)\mathrm{poly}(\log M_2) gates, and is robust to unknown offsets.

Technical Contributions

Problem Setting

Let D,p1,,pκD, p_1, \dots, p_\kappa be odd, pairwise coprime integers, and define P=η=1κpηP = \prod_{\eta=1}^\kappa p_\eta, M2=D2PM_2 = D^2 P. The quantum state prior to the contested step is

ϕ8.f=jZα(j)2D2jb12D2jb[2..n]+v[2..n]modM2\ket{\phi_{8}.f} = \sum_{j \in \mathbb{Z}} \alpha(j) \ket{2D^2j\,b_1^* \mid 2D^2j\,\bm{b}_{[2..n]}^* + \bm{v}_{[2..n]}^* \bmod M_2}

where α(j)\alpha(j) is a quadratic phase, b\bm{b}^* is a vector of known structure, and v\bm{v}^* is an unknown offset vector. The goal is to sample a random vector uZM2n\bm{u} \in \mathbb{Z}_{M_2}^n satisfying the modular linear relation

bu0(modP)\bm{b}^* \cdot \bm{u} \equiv 0 \pmod{P}

which is essential for recovering hidden data via linear algebra.

Pair-Shift Difference Subroutine

The proposed replacement for the domain-extension step consists of the following:

  1. Coherent Copy: Copy the coordinate registers into an auxiliary block using modular addition (CNOTs), which is reversible and does not violate the no-cloning theorem.
  2. Pair-Evaluation Shift: Prepare a uniform superposition over TZPT \in \mathbb{Z}_P and shift the auxiliary registers by 2D2Tb2D^2 T \bm{b}^* using the same reversible state-preparation circuit. This step does not require classical knowledge of b\bm{b}^* or v\bm{v}^*.
  3. Difference and Offset Cancellation: Compute the difference Z=XY(modM2)\mathbf{Z} = \mathbf{X} - \mathbf{Y} \pmod{M_2}, which yields 2D2Tb-2D^2 T \bm{b}^*, exactly canceling the unknown offsets.
  4. Auxiliary Cleanup: Under the residue accessibility condition (for each pηp_\eta, some coordinate of b\bm{b}^* is a unit mod pηp_\eta), TT can be computed from ZmodP\mathbf{Z} \bmod P and erased coherently. This ensures the formation of a uniform coset superposition on Z\mathbf{Z}.
  5. Fourier Sampling: Apply QFTZM2n\mathrm{QFT}_{\mathbb{Z}_{M_2}^{\otimes n}} to Z\mathbf{Z} and measure u\bm{u}. The outcome is uniformly distributed over the set of solutions to bu0(modP)\bm{b}^* \cdot \bm{u} \equiv 0 \pmod{P}.

Correctness and Uniformity

The construction leverages character orthogonality on the uniform coset. The amplitude for any u\bm{u} after QFT is nonzero if and only if bu0(modP)\bm{b}^* \cdot \bm{u} \equiv 0 \pmod{P}, and the distribution is exactly uniform over this set. The support size is M2n/PM_2^n / P, matching the intended fiber in the CRT decomposition. The method is robust to unknown offsets and does not rely on amplitude periodicity or phase flattening.

Implementation Details

  • Gate Complexity: All steps are implementable with O(npoly(logM2))O(n\,\mathrm{poly}(\log M_2)) gates. Modular arithmetic, copying, and QFT are standard primitives in quantum circuits.
  • Residue Accessibility: The residue accessibility condition is operationally necessary for coherent cleanup. It holds with overwhelming probability for random lattice instances and can be enforced by coordinate permutation.
  • No Classical Knowledge Required: The default path requires no classical knowledge of b\bm{b}^* or v\bm{v}^*; all necessary inverses and CRT recombinations are computed reversibly on the fly.
  • Variants: If residue accessibility fails for some prime, the method can be adapted by restricting to accessible primes or by changing basis to restore accessibility.

Pseudocode Skeleton

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
def exact_coset_sampling(X_reg, n, D, p_list, b_star, v_star):
    # X_reg: n quantum registers in state |X(j)>
    # D, p_list: modulus parameters
    # b_star: structure vector (quantum or classical)
    # v_star: offset vector (unknown)
    P = prod(p_list)
    M2 = D**2 * P

    # Step 1: Copy X_reg to Y_reg
    Y_reg = copy_registers(X_reg)

    # Step 2: Prepare uniform superposition over T in Z_P
    T_reg = uniform_superposition(P)

    # Step 3: Shift Y_reg by 2D^2 T b_star using reversible evaluator
    Y_reg = shift_registers(Y_reg, T_reg, D, b_star, M2)

    # Step 4: Compute Z_reg = X_reg - Y_reg mod M2
    Z_reg = subtract_registers(X_reg, Y_reg, M2)

    # Step 5: Cleanup T using residue accessibility and CRT
    T_prime = recover_T_from_Z(Z_reg, D, b_star, p_list, M2)
    Y_reg = unshift_registers(Y_reg, T_prime, D, b_star, M2)
    clear_registers(Y_reg, T_prime)

    # Step 6: Apply QFT and measure u
    u = QFT_and_measure(Z_reg, M2, n)
    return u

Theoretical and Practical Implications

Theoretical Impact

The construction provides a rigorous, group-theoretic solution to coset sampling in quantum lattice algorithms, ensuring exact support and uniformity. It clarifies the role of CRT cosets and character orthogonality in quantum sampling, and demonstrates the necessity of residue accessibility for coherent interference. The method avoids reliance on amplitude periodicity, which is often fragile and error-prone in quantum algorithms.

Practical Relevance

The subroutine is directly applicable to quantum algorithms for lattice problems, including those relevant to cryptanalysis and post-quantum cryptography. Its efficiency and robustness to unknown offsets make it suitable for practical quantum circuit implementations. The pattern of pair-shift difference and coset synthesis is likely to be broadly useful in other quantum algorithms where offset cancellation and modular relations are required.

Future Directions

Potential future developments include:

  • Generalization to other group structures and higher-dimensional coset sampling.
  • Integration into full quantum lattice reduction pipelines and cryptanalytic attacks.
  • Exploration of alternative cleanup strategies for cases where residue accessibility fails.
  • Optimization of gate complexity and resource usage for near-term quantum devices.

Conclusion

The paper presents an exact, efficient, and robust coset sampling subroutine for quantum lattice algorithms, resolving a key technical issue in windowed-QFT pipelines. The method synthesizes a uniform cyclic coset, cancels unknown offsets, and enforces the intended modular linear relation via character orthogonality, all without reliance on amplitude periodicity or classical knowledge of offsets. The construction is theoretically sound, practically implementable, and broadly applicable to quantum algorithms for lattice problems.

Authors (1)

List To Do Tasks Checklist Streamline Icon: https://streamlinehq.com

Collections

Sign up for free to add this paper to one or more collections.

Github Logo Streamline Icon: https://streamlinehq.com
X Twitter Logo Streamline Icon: https://streamlinehq.com

Tweets

This paper has been mentioned in 4 posts and received 105 likes.

alphaXiv

Don't miss out on important new AI/ML research

See which papers are being discussed right now on X, Reddit, and more:

“Emergent Mind helps me see which AI papers have caught fire online.”

Philip

Philip

Creator, AI Explained on YouTube