qml.devices.autograd_ops.MultiRZ

MultiRZ(theta, n)[source]

Arbitrary multi Z rotation.

Parameters
  • theta (float) – rotation angle \(\theta\)

  • wires (Sequence[int] or int) – the wires the operation acts on

Returns

diagonal part of the multi-qubit rotation matrix

Return type

array[complex]