MultiControlRotation QuICT.core.gate.MultiControlRotation ¶ MultiControlRotation(target_gate: GateType, param: float) Bases: object Source code in QuICT/core/gate/multicontrol_rotation.py 5 6 7 8 9 10 11 12 13 14 15 16 17def __init__(self, target_gate: GateType, param: float): assert target_gate in [GateType.ry, GateType.rz] self.gate_type = target_gate self.param = param self.gate_dict = { GateType.ry: Ry, GateType.rz: Rz, } self.cgate_dict = { GateType.ry: CRy, GateType.rz: CRz, }