def __init__(self, name: str, num_qubits: int, params: List, label: Optional[str]=None) -> None:
    'Create a new gate.\n\n        Args:\n            name: The Qobj name of the gate.\n            num_qubits: The number of qubits the gate acts on.\n            params: A list of parameters.\n            label: An optional label for the gate.\n        '
    self._label = label
    self.definition = None
    super().__init__(name, num_qubits, 0, params)
Create a new gate.

Args:
    name: The Qobj name of the gate.
    num_qubits: The number of qubits the gate acts on.
    params: A list of parameters.
    label: An optional label for the gate.
def __init__(self, name: str, num_qubits: int, params: List, label: Optional[str]=None) -> None:
    'Create a new gate.\n\n        Args:\n            name: The Qobj name of the gate.\n            num_qubits: The number of qubits the gate acts on.\n            params: A list of parameters.\n            label: An optional label for the gate.\n        '
    self._label = label
    self.definition = None
    super().__init__(name, num_qubits, 0, params)