quri_parts.qsub.trans.rz2hst module

class RZ2HSTTranspiler(epsilon=1e-05, gridsynth=None)

Bases: SubTranspilerProtocol

A qsub Sub transpiler that decomposes every RZ rotation in a Sub into a sequence of H, S, T (and X) gates using gridsynth, to a target precision epsilon (default 1e-5, the gridsynth approximation error).

Parameters:
  • epsilon (float) – Precision of the decomposition.

  • gridsynth (Optional[GridsynthDriver]) – An optional GridsynthDriver passed through to the wrapped circuit-level RZ2HSTTranspiler.