- Fundamentals
Noise Model
A mathematical description of the errors affecting a quantum processor, used in classical simulation to predict how hardware imperfections degrade circuit performance.
A noise model is a mathematical representation of the errors that occur during quantum computation on real hardware. It captures the effects of decoherence, gate imperfections, measurement errors, and other imperfections, allowing classical simulators to approximate the behavior of a noisy quantum processor. Noise models are essential for algorithm development, error mitigation strategy design, and benchmarking.
Types of noise
Noise in quantum computers comes from several sources, each modeled differently:
Gate errors: Each gate application introduces a small error. Common models include:
- Depolarizing noise: with probability , the qubit state is replaced by the maximally mixed state . The quantum channel is
- Pauli noise: with specified probabilities, an , , or error is applied after the gate
- Coherent errors: systematic over-rotation or under-rotation of gates, modeled as a unitary close to but not equal to the ideal gate
Decoherence: Idle qubits lose quantum information over time. Modeled using the (amplitude damping) and (phase damping) relaxation times:
- Amplitude damping: decays to with probability
- Phase damping: off-diagonal elements of the density matrix decay as
Readout errors: The measurement result may not match the actual qubit state. Modeled as a classical confusion matrix:
For example, a qubit in might be read as 1 with probability 2%, and a qubit in might be read as 0 with probability 5%.
Crosstalk: Operations on one qubit affect neighboring qubits. This is harder to model and is often omitted from simple noise models.
Building noise models
Noise models can be constructed in several ways:
- From calibration data: Hardware providers publish error rates, / times, and readout fidelities for each qubit. These can be assembled into a device-specific noise model.
- From tomographic characterization: Process tomography or randomized benchmarking can characterize the actual noise channels.
- Simplified models: For theoretical analysis, uniform depolarizing noise (same error rate on every gate) is a common simplification.
In Qiskit, a noise model matching a real backend can be created from its calibration data:
from qiskit_aer.noise import NoiseModel
from qiskit_ibm_runtime import QiskitRuntimeService
service = QiskitRuntimeService()
backend = service.backend("ibm_sherbrooke")
noise_model = NoiseModel.from_backend(backend)
Why it matters for learners
Before running circuits on quantum hardware (which costs time and money), testing them against a noise model on a classical simulator is standard practice. Noise models also help you understand which parts of your circuit are most affected by errors, guiding optimization efforts. The gap between a noise model’s predictions and actual hardware results reveals the limitations of the noise model itself, which is an active area of research.