cirq.phase_damp

cirq.phase_damp(gamma: float) → cirq.ops.common_channels.PhaseDampingChannel[source]

Creates a PhaseDampingChannel with damping constant gamma.

This channel evolves a density matrix via:

\rho -> M_0 \rho M_0^\dagger + M_1 \rho M_1^\dagger

With:

M_0 = \begin{bmatrix}
        1 & 0  \\
        0 & \sqrt{1 - \gamma}
      \end{bmatrix}
M_1 = \begin{bmatrix}
        0 & 0 \\
        0 & \sqrt{\gamma}
      \end{bmatrix}
Parameters:gamma – The damping constant.
Raises:ValueError – is gamma is not a valid probability.