{"id":"arxiv/2604.21333","url":"https://arxiv.org/abs/2604.21333","tags":["quant-ph"],"score":0,"title":"pygridsynth: A fast numerical tool for ancilla-free Clifford+T synthesis","domain":"quant-ph","source":"arxiv","authors":["Shuntaro Yamamoto","Nobuyuki Yoshioka"],"reviews":0,"subject":"quant-ph","summary":"We present pygridsynth, an open-source Python library for ancilla-free approximate Clifford+$T$ synthesis that runs in $O(\\log(1/ε))$ for precision $ε$. For $n=1, 2$ qubits, the library builds upon established efficient and high-precision synthesis routines, such as nearly optimal $Z$-rotation synthesis and magnitude approximation. For $n\\ge 3$ qubits, we introduce a partial-decomposition technique that generalizes the magnitude approximation, reducing constant factors in the $T$-count as $(\\frac{21}{8}\\cdot 4^n - \\frac{9}{2}\\cdot 2^n + 9)\\log_2(1/ε) + o(\\log(1/ε))$. The package also exposes…","category":"research","comments":0,"disputed":false,"division":"physics","mentions":0,"discussed":0,"published":"2026-04-23","reactions":{}}