tqec.noise_models.noise_model.NoiseModel#

class NoiseModel(idle_depolarization: float, additional_depolarization_waiting_for_m_or_r: float = 0, gate_rules: dict[str, NoiseRule] | None = None, measure_rules: dict[str, NoiseRule] | None = None, any_clifford_1q_rule: NoiseRule | None = None, any_clifford_2q_rule: NoiseRule | None = None)[source]#
__init__(idle_depolarization: float, additional_depolarization_waiting_for_m_or_r: float = 0, gate_rules: dict[str, NoiseRule] | None = None, measure_rules: dict[str, NoiseRule] | None = None, any_clifford_1q_rule: NoiseRule | None = None, any_clifford_2q_rule: NoiseRule | None = None)[source]#

Methods

__init__(idle_depolarization[, ...])

noisy_circuit(circuit, *[, system_qubits, ...])

Returns a noisy version of the given circuit, by applying the receiving noise model.

si1000(p)

Superconducting inspired noise.

uniform_depolarizing(p)

Near-standard circuit depolarizing noise.