UniformlyControlGate
QuICT.core.gate.UniformlyControlGate ¶
Bases: object
Uniformly Ry, Rz or one-qubit Unitary gate
Detailed description of each synthesis algorithm could be found in the backend.
Parameters:
-
target_gate(GateType, default:unitary) –type of target gate, could be Ry, Rz or Unitary
Source code in QuICT/core/gate/uniformly_control_gate.py
__call__ ¶
Parameters:
-
arg_list(list) –a list of angles for Ry and Rz or a list of 2*2 unitaries for Unitary
Returns:
-
CompositeGate(CompositeGate) –uniformly control target gate