Operator
QuICT.core.operator.Operator ¶
The SuperClass of all the operator.
Parameters:
-
targets(int) –the number of the target bits of the gate
-
name(str, default:None) –The name of current trigger, Default to None.
Source code in QuICT/core/operator/_operator.py
__and__ ¶
Assigned the trigger's target qubits.
Parameters:
-
targets(Union[List[int], int]) –The indexes of target qubits.