cirq.NoiseModel

class cirq.NoiseModel[source]

Replaces operations and moments with noisy counterparts.

A child class must override at least one of the following three methods:

noisy_moments
noisy_moment
noisy_operation
The methods that are not overridden will be implemented in terms of the ones
that are.
Simulators told to use a noise model will use these methods in order to
dynamically rewrite the program they are simulating.
__init__()

Initialize self. See help(type(self)) for accurate signature.