qml.devices.tf_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

tf.Tensor[complex]