qml.devices.tf_ops.Rot

Rot(a, b, c)[source]

Arbitrary one-qubit rotation using three Euler angles.

Parameters
  • a (float) – rotation angles

  • b (float) – rotation angles

  • c (float) – rotation angles

Returns

unitary 2x2 rotation matrix rz(c) @ ry(b) @ rz(a)

Return type

tf.Tensor[complex]