Lecture 3.1 - Hardware Noise
Lecture 3.1 - Hardware Noise
Characterizing
noise on quantum
hardware
Haimeng Zhang
Quantum Engineer
Samanthan Barron
Quantum Developer
IBM Quantum
Start with a Quantum circuit
A Quantum circuit consists of unitary gates applied to qubits.
Hadamard gate:
Measure in the qubit
( )
1 1 1
H= computational basis.
2 1 −1 For a single qubit, measurement
operators P0 = | 0⟩⟨0 | ,
| ψout⟩ = H | ψin⟩ P1 = | 1⟩⟨1 |
A single-qubit quantum state can be represented by a state vector in the 2-dimensional Hilbert state.
(0)
1
Ground state | 0⟩ =
(1)
0
Excited state | 1⟩ =
Qiskit Global Summer School 2024
Representing a quantum state
(0)
1
Ground state | 0⟩ =
(1)
0
Excited state | 1⟩ =
Qiskit Global Summer School 2024
Representing a quantum bit
∑
ρ = | ψ⟩⟨ψ | ρ= qi | ψi⟩⟨ψi | ,
i
describes an ensemble of pure states
{qi, | ψi⟩}.
(0)
1 1
ρ = (I + v ⃗ ⋅ σ )⃗ Ground state | 0⟩ =
2
where
σ ⃗ = (σx, σy, σz),
v ⃗ = (vx, vy, vz).
1
X poles: | ± ⟩ = ( | 0⟩ ± | 1⟩)
2
Z poles: ground and excited states
I
Center: maximally mixed state ρ =
2
(1)
0
Excited state | 1⟩ =
Qiskit Global Summer School 2024
Effect of noise
ρ ρ′ = ℰ(ρ)
Noise channel
ℰ
Ideal Noisy
ρ ρ′ = ℰ(ρ)
Noise channel
ℰ
† †
∑ ∑
ℰ(ρ) = Ki ρKi Kj Kj =I
i i
Linear
Complete positive
Trace preserving
Energy relaxation:
(0 1 − p)
K0 = , | 1⟩ ↦ | 0⟩ with probability p superconducting qubit, largely unaffected by relaxation errors.
K1 = p | 0⟩⟨1 | .
14
Incoherent errors
Action of a phase damping channel on the Bloch sphere.
Dephasing:
15
Incoherent errors
depolarizing channel
A special case when px = py = pz
I
ℰ(ρ) = p + (1 − p)ρ
2
3p p
ℰ(ρ) = (1 − )ρ + (XρX + YρY + ZρZ)
4 4
∑
ℰ(ρ) = pj Pj ρPj
j
= pI IρI + pX XρX + pYYρY + pZ ZρZ
[1] E. Berg et al., Probabilistic error cancellation with sparse Pauli-Lindblad models on
noisy quantum processors. Nature Physics, pages 1–6, 2023. Pauli noise channels are unital, meaning that it maps the maximally
mixed state to itself.
16
Coherent errors
Gates are generated by turning on certain Hamiltonians that we Coherent errors can be modeled by
can control and engineer. unwanted unitary gates in the circuit.
IX IZ ZI ZX ZZ
He = ωix + ωiz + ωzi + ωzx + ωzz
2 2 2 2 2
Example in Qiskit Global Summer School 2023, lecture by Dr. Zlatko Minev
Consider a chain of physically connected qubits:
Crosstalk Decoherence
As-late-as-possible (ALAP)
scheduling
P. Murali et al., Software Mitigation of Crosstalk on Noisy Intermediate-Scale Quantum Computers, ASPLOS ‘20
How noise propagates in time and space?
Many applications of near-term quantum computing involve layered circuits
Brickwork random circuit on a 1D chain
ℰ
two-qubit random gate
Local noise
1. The output of the circuit converges exponentially fast to the maximally mixed state,
2. Noise in the deep depth limit can be characterized by the global depolarizing noise.
K. Tsubouchi et al., Universal cost bound of quantum error mitigation based on quantum estimation theory, arXiv: 2208.09385 (2023)
𝒰
How noise propagates in time and space?
⟨O⟩
In the case of estimating expectation values, only errors in the backwards lightcone (shaded pink)
contribute.
M. Tran, K, Sharma, K, Temme, Locality and Error Mitigation of Quantum Circuits, arXiv:2303.06496, 2023
𝒰
Noise characterization
ρ ρ′ = ℰ(ρ)
Quantum state tomography Noise channel
Learn an unknown quantum state ρ from experiments ℰ
Measure the expectation value of the unknown state with all elements of a complete basis
Needs many copies of the unknown state
Needs to do 4n − 1 different measurements for n qubits
Exponentially hard; active area of research to make this easier.

Noise characterization
ρ ρ′ = ℰ(ρ)
Quantum process tomography Noise channel
Learn an unknown quantum process ℰ from experiments ℰ
C1 C2 Cm Cm+1
Cm+1 is the performed to make the total sequence equal to identity operation
Measure the probabilities to get back to the ground state at the end of the sequence.
Vary sequence length, fit the fidelity decay to an exponential curve to report Error Per Clifford.
IBM Quantum 25
Extract error rate per gate (EPG) in RB
Fit the survival probability to an exponential
m
Aα + B
26
Reported gate errors
27
Layer fidelity: error per layer gate (EPLG)
Includes crosstalk
D. McKay et al., Benchmarking Quantum Processor Performance at Scale, arXiv: 2311.05933 (2023)
IBM Quantum 28
Layer fidelity circuits 3 1Q/2Q Simultaneous, Direct RB with Barriers
Layer 1 Layer 2
29
EPLG vs RB (EPG)
1/n2q
EPLG = 1 − LF
Quantile plot of the individual gate errors measured from the best
100 qubit chain from
simultaneous direct RB (“layered”) versus the backend reported
gate errors (“isolated”)
30
EPLG metric reported on
backends
Lab session: layer fidelity experiment via Qiskit Runtime led by Samantha Barron.
https://docs.quantum.ibm.com/run/system-information#system-configuration-values
31
How noise is characterized: randomized benchmarking
Can we quantify how much error happens per gate in a circuit?
IBM Quantum 33
Navigating the IBM Quantum Platform
Noise-related metrics
T1
T2
Readout assignment error
ID error
sx error
Pauli-x error
ECR error
Characterize noise by layer: layer fidelity
EPLG
Can we quantify how much error happens per layer in a circuit?
IBM Quantum 35
Quantum hardware is
a device that computes an output from input data
using fundamental rules of quantum mechanics. readout signal
room temperature
quantum circuits
20 mK
quantum algorithms
Quantum information is stored in a quantum
bit, made of superconducting circuits
38
Noise can be suppressed using single-qubit control gates:
dynamical decoupling
In practice, pulse has finite duration
Example in Qiskit Docs: https://docs.quantum.ibm.com/api/qiskit/
qiskit.transpiler.passes.DynamicalDecoupling
39
(Readout pulses omitted)
Summary
SYSTEM
HSB: system-bath coupling
BATH
∑
ρ= qi | ψi⟩⟨ψi |
i
This is called the density matrix
Pure state
Qiskit Global Summer School 2024
Mixed state
Source: 1. Lorem source name
Source: 2. Lorem second source name 41
Visualizing a quantum state
SYSTEM
HSB: system-bath coupling
BATH
Example:
Φ : ρ ↦ ρ′
{ ρ w/ prob. 1 − p
I w/ prob. p
ρ ↦ ρ′ = 2
Equivalently,
I
ρ′ = p + (1 − p)ρ
2
3
K0 = 1 − pI,
4
p
Ki = σi, for i = 1,2,3
4

Qiskit Global Summer School 2024

Noise channel :
Quantum map that transforms one quantum Fidelity of a state passing through a noise channel
state to another
Example:
Φ : ρ ↦ ρ′
↦
𝒩
Qiskit Global Summer School 2024

Example: the
depolarizing map
1
{ ρ w/ prob. 1 − p
I w/ prob. p The depolarizing map is a unital map
ρ ↦ ρ′ = 2
Equivalently,
I
ρ′ = (1 − p)ρ + p
2
Equivalently,
I
ρ′ = p + (1 − p)ρ
2
K1 = p | 0⟩⟨1 | .
Bit flip
Phase flip
Amplitude damping
Depolarizing
Pauli
Coherent errors:
Incorrect Hamiltonian evolution
Incoherent errors:
Loss of quantum information in
the form of superposition and
entanglement
1 2 3 4
Qubits have finite lifetime Gates and their errors Noise channel examples Noise characterization