https://qiskit.org/documentation/stable/0.41/apidoc/aer_noise.html
This module contains classes and functions to build a noise model for simulating a Qiskit quantum circuit in the presence of errors.
Building Noise Models¶
The
NoiseModel
class is used to represent noise model for the QasmSimulator
. It can be used to construct custom noise models for simulator, to to automatically generate a basic device noise model for an IBMQ backend.Device Noise Models¶
A simplified approximate
NoiseModel
can be generated automatically from the properties of real device backends from the IBMQ provider using the NoiseModel.from_backend()
method. See the method documentation for details.Example: Basic device noise model
Custom Noise Models¶
Custom noise models can be used by adding
QuantumError
to circuit gate, reset or measure instructions, and ReadoutError
to measure instructions. This module includes several helper functions for generating QuantumError
instances based on canonical error models used in Quantum Information Theory that can simplify building noise models. See the documentation for the NoiseModel
class for additional details.Example: depolarizing noise model
Classes¶
The following are the classes used to represented noise and error terms.
NoiseModel ([basis_gates]) | Noise model class for Qiskit Aer simulators. |
QuantumError (noise_ops[, number_of_qubits, ...]) | Quantum error class for Qiskit Aer noise model |
ReadoutError (probabilities[, atol]) | Readout error class for Qiskit Aer noise model. |
Quantum Error Functions¶
The following functions can be used to generate many common types of
QuantumError
objects for inclusion in a NoiseModel
.pauli_error (noise_ops[, standard_gates]) | Return a mixed Pauli quantum error channel. |
depolarizing_error (param, num_qubits[, ...]) | Return a depolarizing quantum error channel. |
mixed_unitary_error (noise_ops[, standard_gates]) | Return a mixed unitary quantum error channel. |
coherent_unitary_error (unitary) | Return a coherent unitary quantum error channel. |
reset_error (prob0[, prob1]) | Return a single qubit reset quantum error channel. |
amplitude_damping_error (param_amp[, ...]) | Return a single-qubit generalized amplitude damping quantum error channel. |
phase_damping_error (param_phase[, ...]) | Return a single-qubit generalized phase damping quantum error channel. |
phase_amplitude_damping_error (param_amp, ...) | Return a single-qubit combined phase and amplitude damping quantum error channel. |
thermal_relaxation_error (t1, t2, time[, ...]) | Return a single-qubit thermal relaxation quantum error channel. |
kraus_error (noise_ops[, standard_gates, ...]) | Return a Kraus quantum error channel. |
Noise Transpiler Passes¶
These transpiler passes can be used to build noise models that can be applied to circuits via transpilation.
- Giscus
Last update: 2023-9-21