qml.devices.autograd_ops.PhaseShift

PhaseShift(phi)[source]

One-qubit phase shift.

Parameters

phi (float) – phase shift angle

Returns

diagonal part of the phase shift matrix

Return type

array[complex]