quri_parts.qsub.trans.ftqc module

class FTQCSetTranspiler(epsilon=1e-09)

Bases: SubTranspilerProtocol

A qsub Sub transpiler that rewrites a Sub into the FTQC basic gate set {H, S, T, CNOT}.

RZ angles that are multiples of pi/4 map exactly onto {H, S, T}; other angles are approximated with gridsynth (via pygridsynth) to a precision of epsilon (default 1e-9).

Parameters:

epsilon (float)