cirq.ops.phase_damp

Creates a PhaseDampingChannel with damping constant gamma.

This channel evolves a density matrix via:

$$
\rho \rightarrow M_0 \rho M_0^\dagger + M_1 \rho M_1^\dagger
$$

With:

\[ \begin{aligned} M_0 =& \begin{bmatrix} 1 & 0 \\ 0 & \sqrt{1 - \gamma} \end{bmatrix} \\ M_1 =& \begin{bmatrix} 0 & 0 \\ 0 & \sqrt{\gamma} \end{bmatrix} \end{aligned} \]

gamma The damping constant.

ValueError is gamma is not a valid probability.