Buckets:
| # Design notes — exploration log (summary) | |
| Full session log: `docs/HANDOFF.md`. This file records where ideas came from, | |
| what was kept, and what was investigated and rejected. | |
| ## Inspiration sources | |
| Public Kaggle work on this competition family, notably portfolio notebooks | |
| exploring (a) measurement-based uncomputation/cleanup of ancillas, | |
| (b) shared bilinear products between forward and inverse maps, and | |
| (c) replacing built-in field arithmetic with generated composite-field forms. | |
| The shipped DQI design adapts all three: | |
| - measurement-style (Toffoli-free) erasure of bilinear products and of the | |
| Chien-search σ=0 flag; | |
| - GF(2¹²)/GF(2⁶)/GF(2³) multiplies generated as bilinear forms whose | |
| monomial products are shared between multiply and erase; | |
| - tower-field inversion GF(2¹²) → GF(2⁶) → GF(2³) with in-place Clifford | |
| basis changes. | |
| ## Kept (with measured effect) | |
| | Change | Effect | | |
| |---|---| | |
| | GF(2³)-tower GF(2⁶) sub-inverse | inv6 28 → 25 Toffolis (final tower form) | | |
| | 54-product GF(2¹²) multiply (controlled: 66) | inverse 126 → 79 Toffolis vs previous custom design; 315 built-in | | |
| | In-place basis changes (`_apply_linear_inplace`) | removes transform registers; enables qubit cuts below | | |
| | Degree counters narrowed to `m.bit_length()` bits | DQI peak qubits 1,914 → 1,884 | | |
| | AND-tree σ=0 test with measurement-style erasure | replaces 2× 12-Toffoli equality passes | | |
| | Quotient accumulated directly into output register | fewer live ancillas across EEA iterations | | |
| Net DQI: 20,679,670,765,943.19 → **17,673,729,048,937.30** (−14.5% vs the | |
| pre-session submission; −27.7% vs the 24,439,463,583,672.93 sample baseline), | |
| 4,783,674 → 4,179,942 Toffolis, 1,914 → 1,884 qubits. | |
| ## Investigated and rejected | |
| - **Reversible Berlekamp–Massey core.** Would cut EEA Toffolis, but a clean | |
| reversible implementation must journal intermediate state (~840 qubits); | |
| the Q² term grows more than T falls. Journal-free variants recover state | |
| through formulas with singular cases the verifier's adversarial shots can | |
| hit. Not shipped. | |
| - **EEA support-based swap/shift pruning.** Packed classical simulation of | |
| the actual iteration shows nearly all register slots stay live, so | |
| conditional-skip savings are negligible. | |
| - **Fewer EEA iterations / smaller window.** Near-tight by experiment: | |
| n=20 fails at 69 of 72 iterations; window m = n+3 fails outright. The | |
| shipped parameters are the smallest that pass exhaustively at small sizes | |
| and at full size. | |
| - **GF(2³) inverse via custom (x³)² path.** Cheaper in isolation (6 vs 7 | |
| Toffolis) but raised total inv6 cost through register pressure; reverted | |
| to the scaffold inverse at that site. | |
| ## Remaining levers (not attempted / future work) | |
| - Sub-54-product GF(2¹²) bilinear forms (lower bounds suggest limited room). | |
| - Sharing products across the two multiplies inside the tower inverse. | |
| - DFTHC-SOS: larger SOS rank search with the same certificate gates. | |
Xet Storage Details
- Size:
- 2.99 kB
- Xet hash:
- 52f04b092fed494278a5d1a314d136e778f2e4cce23c7579fc5813400532641c
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.