Connecting to Python backend...
Backend: Python 3 Live Statevector Engine
Core Challenge — 2×2 Binary Puzzle (Steps 1–4 & Supporting Extensions A–B)
VERIFIED
Step 4 — Grover Measurement Histogram (Grid Order v0v1v2v3)
Red bars = classically valid grids (0110, 1001)
Supporting Ext. B — Iteration Sweep (k = 0…4) vs. Theory sin²((2k+1)θ)
Blue solid = measured (2,000 shots/k) • Gray dashed = exact theory curve
Supporting Ext. A — All 16 Amplitudes After Every Oracle & Diffuser
Click any stage below to inspect all 16 signed amplitudes (red = valid grids)
Step 1, 2 & 3b — Classical Truth Table, CNOT Pattern & Oracle Circuit
Both valid grids map to
b1b2b3 = 110 → X(3) → CCZ(1,2,3) → uncomputeq0: ──■────■────■─────────────────────────■────■────■──
│ │ │ │ │ │
q1: ──X────┼────┼─────────■───────────────┼────┼────X──
│ │ │ │ │
q2: ───────X────┼─────────■───────────────┼────X───────
│ ┌───┐┌─┴─┐┌───┐┌─┴─┐┌───┐
q3: ────────────X──┤ X ├┤ H ├┤ X ├┤ H ├┤ X ├─────────── (CCZ = H·CCX·H)
| Grid | v0^v1 | v0^v2 | v0^v3 | Pattern | Oracle Amp | Valid? |
|---|
Main Extension — Dynamic Twin-Prime Oracle & Shot-Budget Reliability Study
DYNAMIC
Main Ext. Part 3 — Recovered Twin-Prime Pairs
Measured counts for recovered twin-prime slots mapped back to (p, p+2)
Main Ext. Part 4a — Twin-Prime Iteration Sweep vs. Theory
Blue = 1,000 shots • Orange = 10,000 shots • Dashed = exact sin²((2k+1)θ)
Main Ext. Part 4b — Shot-Budget Reliability (Monte Carlo Trials)
Percentage of repeated trials where each shot budget correctly identifies the true optimal k*