quri_parts.qsub.trans.rz2hst module¶
- class RZ2HSTTranspiler(epsilon=1e-05, gridsynth=None)¶
Bases:
SubTranspilerProtocolA qsub Sub transpiler that decomposes every RZ rotation in a
Subinto a sequence of H, S, T (and X) gates using gridsynth, to a target precisionepsilon(default1e-5, the gridsynth approximation error).- Parameters:
epsilon (float) – Precision of the decomposition.
gridsynth (Optional[GridsynthDriver]) – An optional
GridsynthDriverpassed through to the wrapped circuit-levelRZ2HSTTranspiler.