Minimizing the T-count of Clifford+T circuits is a key bottleneck in fault-tolerant quantum compilation. By Heyfron and Campbell's signature-tensor correspondence, minimizing the T-count of an m-variable phase polynomial up to diagonal Clifford gates (S, Z, CZ) is equivalent to minimizing the symmetric binary rank of its full 3-tensor S(P) in F_2^{m x m x m} (linear, quadratic, and cubic entries). Both deep reinforcement learning (AlphaTensor-Quantum, Nature Machine Intelligence, 2025) and deterministic compilers (FastTODD and TOHPE, Quantum, 2025) stall in reducible local minima on large phase polynomials (m = 50--59). We present a CPU-only, exact signature-preserving Large Neighborhood Search (LNS) post-optimizer combining (i) a GL(m, F_2) pivot-compressed full-nullspace TODD kernel with complete coset sampling, (ii) randomized neutral/slight-up TODD walks, and (iii) anchored, linearly independent Reed-Muller RM(m-4, m) 4-cube perturbations. Across all 60 tensors (m <= 72, solver scaling to m <= 256, r <= 1024) in DeepMind's *_no_gadgets.npz suite, post-optimizing AlphaTensor-Quantum strictly beats all three baselines simultaneously on 7/60 circuits (-16 T-gates across wins, net -14 across all 60; up to -5 vs. best baseline and -7 vs. AlphaTensor-Quantum), ties on 51/60, and trails FastTODD by 1 on 2/60. Downstream of Vandaele's native FastTMerge + InternalHOpt + FastTODD pipeline on 20 raw Feynman circuits (up to m = 84, no RL), it yields 0 regressions and improves 5/20 circuits for -26 net T-gates. A 5-seed ablation shows randomized TODD stalls with zero variance on 6/7 hard circuits, while anchored 4-cube perturbations escape these basins. All decompositions pass three-layer verification; Gray-synth shows +1.2% phase-network CNOT and +28.9% total two-qubit gate change including CZ corrections. Code and verified records: https://github.com/haosenwang1018/tcount-rm-lns
翻译:暂无翻译