tequila.circuit.gates.H

tequila.circuit.gates.H(target: Union[list, int], control: Union[list, int] = None, power=None) → tequila.circuit.circuit.QCircuit[source]

Hadamard gate

Parameters
  • target – int or list of int

  • control – int or list of int

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

Returns

Return type

QCircuit object