cirq.RotationErrorChannel¶
-
class
cirq.RotationErrorChannel(eps_x, eps_y, eps_z)[source]¶ Channel to introduce rotation error in X, Y, Z.
-
__init__(eps_x, eps_y, eps_z) → None[source]¶ The rotation error channel.
This channel introduces rotation error by epsilon forrotations in X, Y and Z that are constant in time.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.
Methods
on(*qubits)Returns an application of this gate to the given qubits. validate_args(qubits)Checks if this gate can be applied to the given qubits. -