A windowed, modally-restricted dihedral coset sieve: a conjectural sub-exponential improvement under a structured-reflection promise
Arun Nadarasa
Abstract
We propose, as a draft conjecture, a variant of Kuperberg's dihedral coset sieve combining (i) a 'polyphasic' windowed combination schedule and (ii) a 'modal' restriction on coset labels — projection onto a fixed residue class mod a small prime p before each combination — under a structured-reflection promise (SRP). In v0.3 the Selene wind-tunnel sharpens the headline verdict on [GAP G1]: with a CORRECTED real-QFT readout (controlled-phase ladder + bit-reversal SWAPs replacing the v0.2 H^n + Z-basis bug that the Phase 3 live sampler caught), the single-coset distribution collapses to two delta peaks at y = 0 and y = (N − s) mod N. Empirically, the modal projector is PERFECT when p | N (SRP concentration 1.000, violating 0.500, gap +0.499 at N ∈ {16, 32}) and ANTI-EFFECTIVE when p ∤ N (violating exceeds SRP by ≈ 0.25 because half the violating slopes land on the second peak). So Conjecture C1 survives only when the modal prime divides the group order — a precondition that was implicit in v0.1/v0.2 and must now be made explicit. G4 feed-forward, G8/G9 QPE+LCU, G10 QSP phase recovery, G11 real modexp, and the live-shot stream all remain verified, so the wind-tunnel is calibrated. The v0.2 'tension_with_g1' verdict is RETRACTED — it was an artifact of the wrong-basis readout combined with a single-metric reading; the v0.3 verdict is 'modal_projector_works_when_p_divides_N'. We give a proof scaffold with explicit [GAP] markers, prior-art delta against Kuperberg-2003/2011, Regev-2004, Bacon–Childs–van Dam, Moore–Russell–Schulman, and Brakerski–Kirshanova–Stehlé–Wen, an analogy ledger, and refutation experiments for each gap. Methodology note added in v0.3: predictors must be derived from the gates actually executed, not from the kernel's docstring — the live sampler is the cheapest way to catch a basis bug. This draft is unreviewed and aspirational; credit becomes real only after independent verification.
1. Setup
Let G = D_N = Z_N ⋊ Z_2 with N = 2^n. Let H ≤ G be a hidden order-2 subgroup generated by a reflection r_s parameterized by slope s ∈ Z_N. Standard coset states have the form |0⟩|x⟩ + |1⟩|x + s⟩. We work under the structured-reflection promise (SRP): s ≡ s₀ (mod p) for known small prime p and known residue s₀, with the slope otherwise uniform mod N/p. SRP is the modal restriction; it is strictly more general than knowing s exactly and strictly less general than no promise.
2. Statement (conjectural)
Conjecture C1. Under SRP with fixed prime p, there exists a quantum algorithm solving the dihedral HSP with quantum query complexity 2^(c_p · √log N) where c_p < c_Kuperberg, and additional classical time 2^O(√log N · log p). The improvement factor c_Kuperberg / c_p tends to 1 as p → 1 (no promise) and to ≈ 1/√p as p grows, up to the obvious p ≪ N constraint.
3. Proof sketch
Step 3.1 (modal projection). After generating a coset state, apply a projector P_p,s₀ implemented by a quantum addition + comparison + uncompute pattern; success amplitude is 1/√p under SRP. [GAP G1] We claim the projected coset state's effective slope register lives in Z_{N/p}, reducing the sieve target size by factor p. Verifying that the projection commutes with the combination map up to phase requires a representation-theoretic argument we have not completed.
Step 3.2 (windowed combination). Partition the √log N sieve depth into k windows. Each window runs a Kuperberg combination on 2^(√log N / k) coset states held coherently. Between windows, the classical glue layer takes a measurement on a partial sum register and re-prepares the next window's input conditioned on the classical outcome. [GAP G2] We claim the partial measurement does not collapse the structurally relevant phase. The argument rests on the modal restriction making the relevant phase information classical, but we have not proved this; it is the central technical gap.
Step 3.3 (combination). Standard Kuperberg combination within each window; analysis carries over because the projected states have the same structural form. [GAP G3] Constant-factor analysis of the per-window query count is omitted; the conjectured factor √p is heuristic, based on the modal residue narrowing the search space.
4. Subroutine (Selene toy, G1) — v0.3 real-QFT readout
We implement Step 3.1 for N ∈ {16, 32} and p ∈ {2, 3, 5} in Guppy and execute on Selene. The kernel prepares the coset superposition, applies a controlled-phase ladder to encode the |x⟩ + ω^{s x} |1, x⟩ structure, mixes the label out, then applies a REAL little-endian QFT to the data register (controlled-phase ladder + bit-reversal SWAPs implemented as triple-CX).
Closed form: P(y | s) = (1/2)[δ_{y, 0} + δ_{y, (N − s) mod N}]. Two delta peaks of mass 1/2; concentration on (y mod p = 0) is C(s, p) = 1/2 + 1/2·𝟙{s ≡ N mod p}. Observed on Selene at 600 shots/slope: SRP branch lands at predicted within 0.013 across the entire grid. Verdict: `modal_projector_works_when_p_divides_N`.
• When p | N (rows N=16,p=2 and N=32,p=2): SRP concentration 1.000, violating 0.500, SRP−violating gap +0.499. The modal projector is exact — the kernel produces a perfect classical witness for SRP membership.
• When p ∤ N (rows for p=3 and p=5): SRP concentration 0.500, violating 0.620–0.750, SRP−violating gap NEGATIVE (≈ −0.25). The projector inverts: half the violating slopes happen to land on the second delta peak with (N − s) mod p = 0.
Migration note: the same kernel re-run through SweepRunner (`nadarasa_g1_via_sweep.py`) reproduces the verdict; the per-cell |observed − predicted| stays < 0.012.
Methodology note (the v0.2 → v0.3 fix): the v0.2 driver applied H^n + Z-basis readout and the docstring claimed it matched the Fourier-basis (1 + cos(2π s y / N))/N distribution. That is FALSE — H^n is the Walsh–Hadamard transform, not the QFT. The Phase 3 in-Worker mini-sim caught the mismatch the first time we tried to live-verify it: the histogram converged to the Walsh–Hadamard distribution, disagreeing with the docstring's analytic by ~0.4. We then derived the closed form for the actual circuit (Walsh–Hadamard + Z-basis), saw the gap was structural rather than a sampling artifact, and rewrote both the Guppy lib (adding `cphase_true_on` and an emitted bit-reversal QFT) and the mini-sim (adding `cphaseTrue` and `qft`) to execute the readout we actually wanted. The lesson — derive the predictor from the gates, not the docstring — is now a Quantinuum-skill reference.
Nadarasa toy — modal projection on Z_{16}
Kernel snippet (Guppy)
@guppy
def coset_modal_z16(reg: array[qubit, 4], anc: qubit, s: int) -> None:
# Prepare coset superposition |x> + |x+s>
h(anc)
for i in range(4):
h(reg[i])
# Controlled add of s into reg, controlled on anc
add_const_controlled(reg, anc, s)
# Modal projector: keep only outcomes where reg[0] == S0 (mod 2)
if measure(reg[0]) != S0_BIT:
discard(anc)
for q in reg[1:]:
discard(q)
Conjectured resource scaling
| n (bits) | p | Kuperberg Q | Nadarasa Q (conj.) | Speedup |
|---|---|---|---|---|
| 8 | 2 | 7.1 | 4 | ×1.78 |
| 8 | 3 | 7.1 | 3.1 | ×2.29 |
| 8 | 5 | 7.1 | 2.4 | ×2.96 |
| 16 | 2 | 16 | 7.1 | ×2.25 |
| 16 | 3 | 16 | 4.96 | ×3.23 |
| 16 | 5 | 16 | 3.46 | ×4.63 |
| 32 | 2 | 50.45 | 16 | ×3.15 |
| 32 | 3 | 50.45 | 9.62 | ×5.24 |
| 32 | 5 | 50.45 | 5.78 | ×8.74 |
| 64 | 2 | 256 | 50.45 | ×5.07 |
| 64 | 3 | 256 | 24.57 | ×10.42 |
| 64 | 5 | 256 | 11.94 | ×21.44 |
Analytic numpy simulation of the Section-4 wind-tunnel toy. Under the structured-reflection promise (SRP), the projected slope register concentrates on residues ≡ 0 (mod 2). Under SRP-violating slopes, outcomes scatter — a falsification check for [GAP G1].
5. Analogy ledger
• Modal jazz → Section 1 SRP and Step 3.1 projection. Breaks if the cryptographic instance has no natural residue structure (most do not — this is the price of the conjecture). • Polyphasic consolidation → Step 3.2 windowing. Breaks if classical glue destroys interference (this is [GAP G2]). • Wright wind tunnel → Sections 4–8 Selene toys. Breaks if toy-scale behavior does not extrapolate; calibration check is that the G4/G8/G9/G10/G11 primitive toys all PASS their refutation gates. • Game Boy constraint discipline → choosing dihedral with SRP rather than general lattice. Breaks if SRP cuts cryptographic relevance to zero. • TeX composability → the GAP-marker draft format itself.
6. Prior-art delta
Kuperberg 2003 (quant-ph/0302112) gives 2^O(√log N) without structural promise. Our conjecture assumes SRP — strictly weaker target, hopefully strictly cheaper algorithm. Kuperberg 2011 (1112.3333) improves constants via a different sieve combination tree; our windowing is orthogonal and could compose. Regev 2004 (quant-ph/0406151) trades query for space; we trade nothing for query, paying instead with the SRP assumption. Moore–Russell–Schulman 2008 (quant-ph/0501056) rules out polynomial strong-Fourier-sampling for dihedral generally; SRP changes the relevant representation-theoretic statement and the impossibility argument does not transfer automatically — verifying this is [GAP G4-MRS] (renamed from the original G4 to avoid clash with the Selene G4 feed-forward primitive demo).
7. QSP phase-finder primitive (G10)
A separate Selene toy (quantum/nadarasa_g10_phasefinder.py) closes the QSP/QSVT primitive loop end-to-end: take a target polynomial f(x) (here Chebyshev sign(x) on [-1, 1]); run a NumPy phase-finder loop (scipy.optimize Powell, 40 random restarts, loss = SSE + 8·worst-case over a 51-point grid) to recover a phase sequence φ̂; render the qsp_sequence kernel under φ̂; execute it on Selene and check `max |measured − target| < 0.05` over a 16-point x grid. Verdict: `qsp_phase_finder_verified`. This is the spectral-sharpener primitive named in the QSVT adjacent-primitive entry above — `<SeleneRunView />` rendering at /nadarasa/g10. Its role in the draft is calibration, not load-bearing: if the wind-tunnel can faithfully execute an arbitrary phase sequence on a degree-3 polynomial, the wind-tunnel is not the bottleneck for any future QSVT-style spectral-sharpener on the coset-combination operator.
| Gap | Refutation experiment | Would refute |
|---|---|---|
G1 Modal projection commutativity (single-coset) | Single-coset modal-projection Selene readout at N ∈ {16, 32} × p ∈ {2, 3, 5} with the v0.3 real-QFT kernel. See /nadarasa/g1 for live shots and verdict. The closed-form two-delta distribution is verified within |Δ| < 0.013; the SRP-minus-violating gap is positive (≈ +0.499) when p | N and negative (≈ −0.25) when p ∤ N. The kernel re-driven through SweepRunner (`nadarasa_g1_via_sweep.py`) matches the verdict. | Step 3.1 only outside the p | N regime; Conjecture C1 must explicitly require p | N. |
G2 Classical glue preserves quantum interference | Two-window Selene experiment on Z_{16}, Z_{32}, Z_{64}: compare end-state purity vs the single-window version. If purity drops more than the modal-restriction success amplitude predicts, the glue is destructive. See /nadarasa/g2 — currently TENSION. | Step 3.2 and Conjecture C1. |
G3 Per-window cost analysis | Sweep p ∈ {2, 3, 5} on Z_{32}; per-rung Birthday-style first-collision query count vs the draft's √p improvement curve. See /nadarasa/g3 — currently TENSION (observed scaling tracks naive Birthday, not the predicted improvement). | The √p improvement factor; the qualitative direction might survive. |
G4-MRS Strong-Fourier-sampling impossibility does not transfer | Theoretical, not Selene-runnable. Construct an explicit SRP instance and apply Moore–Russell–Schulman's argument; if it goes through unchanged, the conjecture is dead. | Conjecture C1 entirely. |
G12 Modal-projection scaling | Re-run the G1 modal-projection kernel at N ∈ {64, 128} and p ∈ {2, 3, 5, 7} via SweepRunner. Track `worst_violating_excess` and `min_srp_minus_violating` as N grows. See /nadarasa/g12 once shipped (`src/data/demos/nadarasa_g12.json`). If `worst_violating_excess → 0` with N, the G1 tension is finite-size and the conjecture survives; if it stays bounded above 0 at the largest reachable N, the tension is structural. | If the tension SCALES with N, Conjecture C1 is dead in its current form; if it shrinks with N, Step 3.1 needs the explicit finite-size correction stated. |
8. Real Shor modexp primitive (G11)
A second primitive toy (quantum/nadarasa_g11_real.py) replaces the compiled-oracle shortcut of the original G11 with a real controlled `pow_const_mod` for a = 2, N = 15. The controlled mul-by-(2^(2^i) mod 15) on the 4-qubit work register is implemented as a controlled cyclic shift (CSWAP-chain): the work register, initialised to |0001⟩ = 1, cycles through the orbit {1, 2, 4, 8} of 2 mod 15. The shift IS the correct mul-mod on every state in that orbit — and only on that orbit; off-orbit states (3, 5, 6, 7, 9, ...) would diverge, but the QPE preparation never reaches them. QPE on a 4-bit control register with inverse-QFT-without-final-swap gives peaks at bins {0, 4, 8, 12} with peak share 1.0; continued-fractions recovers r = 4. Verdict: `real_modexp_period_verified`. Again calibration, not Conjecture C1 — but it certifies that the wind-tunnel can host a real period-finding pipeline, which means a future SRP-aware modexp surrogate could be benchmarked on the same rig.
- Make the p | N precondition explicit in Conjecture C1 and Section 1; restate Step 3.1's success amplitude in that regime.
- Apply the same Phase-3 live-sampler discipline to G2 (dihedral coset window): derive the predictor from the actual two-window kernel and rerun.
- Survey the SQ-access dequantization literature to confirm SRP with p | N does NOT inadvertently expose an SQ structure.
- Submit v0.3 to Zenodo for a DOI; cite the DOI on /cite.
- Identify one collaborator from the HSP community and the lattice community to independently audit before any arXiv-style preprint.
- Only then: consider a formal preprint, with conservative framing.
9. Failure modes (mapped to GAPs)
See the GAP table below. Each GAP has a concrete Selene-runnable refutation experiment. If the experiment fails, the corresponding step is dead and the draft is retracted or branched. G12 (modal-projection scaling) is the next extension and the v0.3 candidate — does the G1 SRP-vs-violating signal flip sign, narrow, or hold at N ∈ {64, 128} and p ∈ {2, 3, 5, 7}?
10. Next steps
See the explicit checklist below.
Gap ledger
- [GAP G1] Modal projection commutativity (single-coset)
- Status (v0.3): EMPIRICALLY CONSISTENT WHEN p | N, EMPIRICALLY REFUTED OTHERWISE. The single-coset distribution has closed form (1/2)[δ_{y, 0} + δ_{y, (N − s) mod N}] (real QFT readout, verified in Selene at N ∈ {16, 32} × p ∈ {2, 3, 5} within |Δ| < 0.013). When the modal prime divides the group order, SRP membership produces a perfect classical witness. When p ∤ N, the second delta peak puts the violating branch ABOVE the SRP branch on residue 0. The v0.2 'tension_with_g1' verdict is retracted (it was a wrong-basis artifact). The full commutativity-with-Kuperberg argument remains theoretical and is not closed by this toy.
- [GAP G2] Classical glue preserves quantum interference
- Status (v0.3): NOT YET TESTABLE WITH THE CURRENT KERNEL. The v0.1 two-window Selene driver (Rz on |+⟩^n + parity probes) never couples data qubits, so the Z-basis distribution is uniform 1/N by construction (verified within Monte-Carlo error: max SRP-vs-violating gap ≈ 0.0006 across N ∈ {16, 32, 64} × k ∈ {1, 2, 4}). The verdict is `kernel_cannot_test_g2`. A G2-bearing kernel must explicitly build a coherent two-coset combination before the glue step — that kernel is the next G2 work item.
- [GAP G3] Per-window cost analysis
- Pin down the constant √p in the per-window query count, not heuristically but as a function of the modal residue density. Status (v0.2): EMPIRICALLY UNDER PRESSURE — Birthday-style first-collision counts track naive √N, not the predicted √(N/p) improvement.
- [GAP G4-MRS] Strong-Fourier-sampling impossibility does not transfer
- Verify that Moore–Russell–Schulman 2008's lower bound does not apply to the SRP setting; if it does, the conjecture is false. Renamed from the original G4 in v0.2 to disambiguate from the Selene G4 feed-forward primitive demo. Status: open, theoretical.
- [GAP G12] Modal-projection scaling
- Does the G1 SRP-vs-violating residue signal hold at N ∈ {64, 128} and p ∈ {2, 3, 5, 7}? G1's TENSION verdict was observed at the smallest meaningful scale (N ∈ {16, 32}). Either the tension stays flat (the conjecture is dead), narrows monotonically with N (instrumental, not structural — refile G1), or stays bounded but non-zero (the conjecture is a quantitative claim about the residual signal, not its sign). Status (v0.2): scheduled — driver is `quantum/nadarasa_g12.py` against SweepRunner.