symop.polynomial.channels.models.phase¶
Phase-shifter models for CCR polynomial representations.
This module provides helpers for applying a single-mode phase-shifter unitary to ket, density, and operator polynomial objects.
Functions
|
Apply a single-mode phase shift to a density polynomial. |
|
Apply a single-mode phase shift to a ket polynomial. |
|
Apply a single-mode phase shift to an operator polynomial. |
- phase_densitypoly(rho: DensityPoly, *, mode: ModeOp, phi: float, check_unitary: bool = False, atol: float = 1e-10) DensityPoly¶
Apply a single-mode phase shift to a density polynomial.