Skip to content

A Memory-Magic Exchange Law in Streaming Clifford+T Compilation

Jinze Yang, Yangyang Li, Xiu-Hao Deng

quant-ph

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 TT gates per bit of memory forgone, for ancilla-free coordinatewise Clifford+TT compilation. The Ramanujan bound gives α≥2α\ge2 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 Q(2)\mathbb{Q}(\sqrt2), 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 α<5/2α<5/2 unconditionally and uniformly over frames, by an exact SMT check of its continuum case analysis; 5/25/2 is where this method stops. At Clifford-framed cosets the volume law holds up to subexponential factors: all but a vanishing fraction of zz-rotations need TT-count (3−o(1))log⁡2(1/ε)(3-o(1))\log_2(1/\varepsilon), and processes whose committed pieces are near Clifford-framed zz-rotations, including per-rotation pipelines, have α≥3−o(1)α\ge3-o(1), which a fractional-passthrough family attains under the Ross-Selinger typical-cost hypothesis. Under an equidistribution conjecture supported by exhaustive enumeration to TT-count 22, α=3α=3 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 O(1/log⁡log⁡(1/ε))O(1/\log\log(1/\varepsilon)), so the constant-rate law is specific to coordinatewise synthesis.

Create a lesson

Metadata

Categories
quant-ph, cs.IT, math.IT, math.NT
Comments
39 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