cirq.asymmetric_depolarize

cirq.asymmetric_depolarize(p_x: float, p_y: float, p_z: float) → cirq.ops.common_channels.AsymmetricDepolarizingChannel[source]

Returns a AsymmetricDepolarizingChannel with given parameter.

This channel evolves a density matrix via
\rho -> (1 -p_x + p_y + p_z) \rho
+ p_x X \rho X + p_y Y \rho Y + p_z Z \rho Z
Parameters:
  • p_x – The probability that a Pauli X and no other gate occurs.
  • p_y – The probability that a Pauli Y and no other gate occurs.
  • p_z – The probability that a Pauli Z and no other gate occurs.
Raises:

ValueError – if the args or the sum of the args are not probabilities.