quri_parts.qsub.trans.clifford_rz module¶
- class CliffordRZSetTranspiler(epsilon=1e-09)¶
Bases:
SubTranspilerProtocolA qsub Sub transpiler that transpiles a
Subinto the Clifford+RZ gate set (Clifford gates plus the continuous RZ rotation).It wraps
quri_parts.circuit.transpile.CliffordRZSetTranspilerwithSeparateQURIPartsTranspilerso that it operates on aSubrather than aQuantumCircuit.epsilon(default1e-9) is the tolerance for snapping a near-Clifford RZ angle to a named gate; it is not a gridsynth synthesis precision (RZ stays native, so no angle approximation is performed). Only the top-level operations of theSubare rewritten; gates inside nested subroutines are left untouched until those subroutines are expanded.- Parameters:
epsilon (float)