tequila.circuit.gates.Rz¶
-
tequila.circuit.gates.
Rz
(angle, target: Union[list, int], control: Union[list, int] = None) → tequila.circuit.circuit.QCircuit[source]¶ Rz gate
Notes
Rz gate of the form
\[R_{z}(\text{angle}) = e^{-i\frac{\text{angle}}{2} \sigma_{z}}\]- 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 –
object with this RotationGate (QCircuit) –
------- –