cirq.rotation_error

cirq.rotation_error(eps_x: float, eps_y: float, eps_z: float) → cirq.ops.common_channels.RotationErrorChannel[source]
Constructs a RotationErrorChannel that can over/under rotate
a qubit in X, Y, Z by given error angles.

This channel evolves a density matrix via:

\rho ->
\exp{-i \epsilon_x \frac{X}{2}} \rho \exp{i \epsilon_x \frac{X}{2}}
+ \exp{-i \epsilon_y \frac{Y}{2}} \rho \exp{i \epsilon_y \frac{Y}{2}}
+ \exp{-i \epsilon_z \frac{Z}{2}} \rho \exp{i \epsilon_z \frac{Z}{2}}
Parameters:
  • eps_x – angle to over rotate in x.
  • eps_y – angle to over rotate in y.
  • eps_z – angle to over rotate in z.