For every angle and , the probabilistic algorithm of Ross and Selinger
- with access to a factoring oracle, returns an ancilla-free Clifford+T circuit with of the smallest T-count among all such circuits;
- without the oracle, under a mild number-theoretic hypothesis, runs in expected time polynomial in and returns a circuit of T-count , where is the T-count of the second-best solution;
- in the typical case produces T-count
The method reduces approximation to two problems over the ring : a two-dimensional grid problem, enumerating ring elements close to in a thin region of the unit disc (and whose Galois conjugate lies in the unit disc), and a norm equation to complete to a unitary with entries in the ring; the result is then turned into a circuit by exact synthesis. An earlier algorithm of Selinger achieves T-count with for -rotations and proves a worst-case lower bound of the same form, , for certain -rotations.