symop.polynomial.channels.unitaries.phase

Single-mode phase unitary.

Utility for constructing the 1×1 unitary representing a phase shift applied to a single optical mode.

Functions

phase_u(*, phi)

Return the 1x1 phase-shifter unitary.

phase_u(*, phi: float) ndarray

Return the 1x1 phase-shifter unitary.

\[U = \begin{pmatrix} e^{i\phi} \end{pmatrix}.\]
Returns:

Complex array of shape (1, 1).

Return type:

ndarray

Parameters:

phi (float)