Generating noise models
Noise models are used to represent various noise effects that cause errors in quantum circuits. The origin of the noise stems from many sources within the quantum system. As the current devices are for near term future, the amount of errors on a device could be significant based on the quantum circuit executed on them.
In this section, we will review the various types of errors that can affect a qubit, gates, and readouts. We will also learn how to generate noise models either based on the configuration information from the real devices, or noise models created by ourselves, with which we can simulate the real devices using the simulator. We'll begin by understanding the various types of noise that can be found on a quantum system:
- We'll create a simple circuit, add some arbitrary gates and measurement operators, and execute it on an ideal simulator, with no errors:
from qiskit.tools.visualization import plot_histogram # Create a 2-qubit...