pygridsynth: A fast numerical tool for ancilla-free Clifford+T synthesis
Abstract
We present pygridsynth, an open-source Python library for ancilla-free approximate Clifford+ synthesis that runs in for precision . For qubits, the library builds upon established efficient and high-precision synthesis routines, such as nearly optimal -rotation synthesis and magnitude approximation. For qubits, we introduce a partial-decomposition technique that generalizes the magnitude approximation, reducing constant factors in the -count as . The package also exposes a mixed-synthesis workflow that approximates target unitary channels by probabilistic mixtures of Clifford+ circuits, for which we empirically find that the synthesis error is reduced from to . Taken together, these features make pygridsynth a Python-native platform for high-precision Clifford synthesis and for benchmarking unitary and mixed synthesis strategies on multi-qubit instances.
Cite
@article{arxiv.2604.21333,
title = {pygridsynth: A fast numerical tool for ancilla-free Clifford+T synthesis},
author = {Shuntaro Yamamoto and Nobuyuki Yoshioka},
journal= {arXiv preprint arXiv:2604.21333},
year = {2026}
}
Comments
31 pages, 8 figures