tqec.noise_models.before_round_data_depolarization.BeforeRoundDataDepolarizationNoise

class BeforeRoundDataDepolarizationNoise(p: float)[source]
__init__(p: float)[source]

Applies a depolarization noise before each QEC round.

This noise model is currently not implemented.

Parameters:

p – strength (probability of error) of the applied noise.

Methods

__init__(p)

Applies a depolarization noise before each QEC round.

from_noise_model_like(noise)

Transforms an object into a noise model if unambiguously possible.

is_in_effect()

is_virtual_moment(moment)

Returns true iff the given moment is non-empty and all of its operations are virtual.

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.

recurse_in_operation_if_circuit_operation(...)

Helper method to handle cirq.CircuitOperation nearly transparently.

Attributes

prob