tequila.circuit.gates.PowerGate

tequila.circuit.gates.PowerGate(name: str, target: Union[list, int], power: bool = None, control: Union[list, int] = None)[source]

Initialize a (potentially parametrized) gate which is supported on the backend.

Parameters
  • name (str) – name of the gate on the backend

  • target – int or list of int

  • power – numeric type (fixed exponent) or hashable type (parametrized exponent)

  • control – int or list of int