Rot#

diffqc.dense.Rot(c: Array, wires: Tuple[int], phi: float, theta: float, omega: float) Array#

Apply Rotation Gate

Rot(phi, theta, omega) = RZ(omega)RY(theta)RZ(phi)

Parameters
  • c (jnp.ndarray) – qubits state

  • wires (tuple of ints) – wire to apply. len(wires) must be 1

  • phi (float) – rotation angles

  • theta (float) – rotation angles

  • omega (float) – rotation angles

Returns

applied qubits state

Return type

jnp.ndarray