cirq.ConstantQubitNoiseModel

class cirq.ConstantQubitNoiseModel(qubit_noise_gate: cirq.Gate)[source]

Applies noise to each qubit individually at the start of every moment.

This is the noise model that is wrapped around an operation when that
operation is given as “the noise to use” for a NOISE_MODEL_LIKE parameter.
__init__(qubit_noise_gate: cirq.Gate)[source]

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

Methods

from_noise_model_like(noise)

Transforms an object into a noise model if umambiguously possible.

is_virtual_moment(moment)

Returns true iff the given moment is non-empty and all of its

noisy_moment(moment, system_qubits)

Adds noise to the operations from a moment.

noisy_moments(moments, system_qubits)

Adds possibly stateful noise to a series of moments.

noisy_operation(operation)

Adds noise to an individual operation.