qml.devices.autograd_ops.ControlledPhaseShift

ControlledPhaseShift(phi)[source]

Two-qubit controlled phase shift.

Parameters

phi (float) – phase shift angle

Returns

diagonal part of the controlled phase shift matrix

Return type

array[complex]