A Memory-Magic Exchange Law in Streaming Clifford+T Compilation
arXiv:2609.37368
Abstract
A phase that reaches a fault-tolerant processor in additive pieces can be remembered until the last piece arrives, or executed on arrival: the first option costs classical memory carried across rounds, the second costs magic states committed before the phase is known. We determine the exchange rate , committed gates per bit of memory forgone, for ancilla-free coordinatewise Clifford+ compilation. The Ramanujan bound gives with explicit constants, the square-root barrier of the spectral method. An elementary determinant method, using that quaternion numerators lie on spheres in both real embeddings of , counts words near any rotation coset below that barrier. With a height dichotomy for the sphere sections it produces and a fibration over rational projections, it gives every unconditionally and uniformly over frames, by an exact SMT check of its continuum case analysis; is where this method stops. At Clifford-framed cosets the volume law holds up to subexponential factors: all but a vanishing fraction of -rotations need -count , and processes whose committed pieces are near Clifford-framed -rotations, including per-rotation pipelines, have , which a fractional-passthrough family attains under the Ross-Selinger typical-cost hypothesis. Under an equidistribution conjecture supported by exhaustive enumeration to -count 22, in general and memory should be shed in whole rotations. The bounds hold even when the phases cancel to the identity; side information enters through a conditional entropy; probabilistic mixing halves the costs but not the rate. With clean ancillas and a phase-gradient catalyst, table lookups batched over coordinates drive the rate to , so the constant-rate law is specific to coordinatewise synthesis.
arXiv comment39 pages, 2 figures. v2: unconditional rate improved from 17/7 to every alpha < 5/2 (Theorem 8, Appendices G-H, exact SMT check). Code, data and exact rational certificates: https://github.com/OIerYangJZ/memory-magic-exchange-law