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 |
puts a qubit from ground produces bitstrings in the classical
state to superposition state form of 0s and 1s
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
besides ground and excited states they can also be present in coherent superposition states
(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). max superposition states
1
X poles: | ± ⟩ = ( | 0⟩ ± | 1⟩)
Density matrix as a sum of Identity 2
matrix and (pauli matrices* bloch
vector matrices)
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
incoherent errors
ρ ρ′ = ℰ(ρ)
Noise channel
ℰ
† †
∑ ∑
ℰ(ρ) = Ki ρKi Kj Kj =I
i i
Linear these props ensure that these maps map a physically relevant
Complete positive density matrix for a density matrix
Trace preserving
(0 1 − p)
K0 = , | 1⟩ ↦ | 0⟩ with probability p superconducting qubit, largely unaffected by relaxation errors.
ground state is largely unaffected by relaxation errors; other states are
K1 = p | 0⟩⟨1 | . affected by the t1 limit
takes excited state to ground state with a probability p 14
Incoherent errors
Action of a phase damping channel on the Bloch sphere.
shrinks size of x & y component of
Dephasing: coherent state loses its phase info Bloch vector
15
Incoherent errors
depolarizing channel
A special case when px = py = pz same probabilities
I
ℰ(ρ) = p + (1 − p)ρ maximally next state and with (1-p) maps
with prob p it maps the state to the
2
3p p
ℰ(ρ) = (1 − )ρ + (XρX + YρY + ZρZ)
to the excited state
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. - steady state is maximally mixed state
unital: maps an identity to an identity matrix and maximally mixed state to itself
16
Coherent errors
- associated with imperfect gate implementation
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
only ZX part is required; rest are unwanted; which can lead to errors
Example in Qiskit Global Summer School 2023, lecture by Dr. Zlatko Minev
- qubit2 has very low coherence time
- ECR gates should not function parallely ideally
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
we impose random gates to impose certain symmetry on the
quantum channel
ρ ρ′ = ℰ(ρ)
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 -1 is beacuse we know that the 1 is rho's measurement
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 noise model follows Depolarising noise model
m
Aα + B
26
Reported gate errors
27
Layer fidelity: error per layer gate (EPLG)
limitation of randomised benchmarking protocol: insensitive to coherent errors due to randomisation
Includes crosstalk
D. McKay et al., Benchmarking Quantum Processor Performance at Scale, arXiv: 2311.05933 (2023)
IBM Quantum 28
Steps
Layer fidelity circuits 3 1Q/2Q Simultaneous, Direct RB with Barriers
Layer 1 Layer 2
29
EPLG vs RB (EPG)
n2q is no. of 2 qubit gates
1/n2q
EPLG = 1 − LF
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