tequila.circuit.gates.Rx

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

Rx gate

Notes

Rx gate of the form

\[R_{x}(\text{angle}) = e^{-i\frac{\text{angle}}{2} \sigma_{x}}\]
Parameters
  • angle – Hashable type (will be treated as Variable) or Numeric type (static angle)

  • target – integer or list of integers

  • control – integer or list of integers

Returns

Return type

QCircuit object with this RotationGate