Draft · v0.2 · Unreviewed
← Index/Project · Nadarasa ReductionDraft · v0.2 · Selene Emulator

selene_run · schema v1

G1 — Modal-projection concentration (real QFT, v0.3)

Real-QFT readout: distribution collapses to two delta peaks at y=0 and y=(N−s) mod N. Modal projector works perfectly when p | N and inverts when p ∤ N.

Verdict

modal_projector_works_when_p_divides_N

Metrics

  • worst |observed − predicted|
    0.0133prob
  • min SRP − violating gap (p | N)
    0.4887prob
  • min SRP − violating gap (p ∤ N)
    -0.2483prob
  • refutation threshold
    0.0500prob

P(y mod p = 0) by branch

Kernel · 5 qubits · 600 shots/row


from quantum.nadarasa_g1_lib import (
    guppy, qubit, h, cx, measure, result,
    cphase_true_on,
)

@guppy
def program() -> None:
    lbl = qubit()
    d0 = qubit()
    d1 = qubit()
    d2 = qubit()
    d3 = qubit()
    h(lbl)
    h(d0)
    h(d1)
    h(d2)
    h(d3)
    cphase_true_on(lbl, d0, 0.25)
    cphase_true_on(lbl, d1, 0.5)
    cphase_true_on(lbl, d2, -1.0)
    cphase_true_on(lbl, d3, 0.0)
    h(lbl)
    result("lbl", measure(lbl))
    h(d3)
    cphase_true_on(d2, d3, 0.5)
    cphase_true_on(d1, d3, 0.25)
    cphase_true_on(d0, d3, 0.125)
    h(d2)
    cphase_true_on(d1, d2, 0.5)
    cphase_true_on(d0, d2, 0.25)
    h(d1)
    cphase_true_on(d0, d1, 0.5)
    h(d0)
    cx(d0, d3)
    cx(d3, d0)
    cx(d0, d3)
    cx(d1, d2)
    cx(d2, d1)
    cx(d1, d2)
    result("y0", measure(d0))
    result("y1", measure(d1))
    result("y2", measure(d2))
    result("y3", measure(d3))
v0.3 fix: the readout is a real QFT (controlled-phase ladder + bit-reversal CXs), not H^n. The closed-form distribution after tracing out the label collapses to two delta peaks at y = 0 and y = (N − s) mod N, each with mass 1/2. This sharpens the G1 verdict: the modal projector works PERFECTLY when p divides N (SRP concentration = 1.0, violating = uniform) and is anti-effective when p does not divide N (violating slopes that land on the second delta peak push the violating-branch concentration ABOVE the SRP branch).