Module 3: Channel Representations II: Pauli Transfer Matrix and Twirling
Goal
After this module you can write any qubit channel as a Pauli transfer matrix and as a chi-matrix and tell the two apart, convert between Pauli error probabilities and Pauli fidelities, compute what Pauli twirling does to a channel, and write down the fidelities of a Pauli–Lindblad noise model from its rates.
Module 2 wrote a channel as an ordinary matrix, the superoperator, in the basis of matrix units . That basis is natural for the algebra but not for experiments. On a quantum computer we measure Pauli observables, and noise models are stated in terms of Pauli errors: “with probability the qubit suffers a ”. So we change basis once more and write the superoperator in the Pauli basis. The result is the Pauli transfer matrix (PTM). It is real, its first row and first column read off trace preservation and unitality, and for one qubit it is the familiar affine map of the Bloch vector.
The PTM makes one class of channels especially simple. A Pauli channel, a random Pauli error, has a diagonal PTM. Its diagonal entries, the Pauli fidelities, are related to the error probabilities by a Walsh–Hadamard transform. A channel with a diagonal PTM is described by numbers instead of , and composing such channels multiplies their fidelities entry by entry.
Real noise is not a Pauli channel. It has coherent parts (small unwanted rotations) and non-unital parts (energy relaxation). Pauli twirling fixes this on average: sandwich the noise between random Paulis and the average channel is a Pauli channel, with the same diagonal PTM as the original. This is why Pauli channels are the working model of noise learning (Module 12) and error mitigation (Module 13, Module 14). We end with Pauli–Lindblad models, which describe a Pauli channel on many qubits by a few rates on a device graph.
The Pauli transfer matrix
How does a channel act on the numbers we measure? For a state on qubits, the measurable numbers are the Pauli expectation values , and they determine the state through the Pauli expansion (with ). We want the matrix that maps the expectation values of to those of .
Definition 3.1 (Pauli transfer matrix).
Let be a linear map on -qubit operators, , and let run over the Pauli strings in . The Pauli transfer matrix of is the matrix
where is the matrix whose columns are and is the superoperator of Definition 2.6.
The two expressions agree: since , the columns of are orthonormal, so is unitary, and the entry of is . In words, is the same linear map as , written in the orthonormal basis instead of the matrix units.
Column of the PTM lists the Pauli coefficients of the image of : by the Pauli expansion, . Applying this to gives , so the vector of Pauli expectation values transforms as
This is the sense in which the PTM “transfers” Pauli expectation values through the channel. The first entry is always , where index stands for the identity string .
Proposition 3.2 (What the PTM makes easy).
Let be linear maps on -qubit operators.
is real if and only if is Hermiticity preserving ( implies ). Every channel is Hermiticity preserving.
is trace preserving if and only if the first row of is .
is unital if and only if the first column of is .
Composition is multiplication: .
Proof
(1) If preserves Hermiticity, is Hermitian, and the trace of a product of two Hermitian matrices is real: . Conversely, if is real, then is a real combination of Hermitian matrices, hence Hermitian. Every Hermitian is a real combination , so is Hermitian. A channel maps Hermitian operators to Hermitian operators.
(2) , while . So the first row is exactly when for every , which by linearity is trace preservation.
(3) are the Pauli coefficients of . They equal exactly when .
Sources expand operators in different scalings of the Pauli basis: our expectation values , coefficients in (used, for example, in the tensor-network error mitigation code of Module 14), or coefficients in the orthonormal basis . The coefficient vectors differ by the factors and , but every convention transforms its vector with the same matrix , because a common scalar factor cancels in . The PTM is therefore convention independent; only the normalization of the vectors it acts on changes. Our definition agrees with Qiskit’s PTM class and with Greenbaum’s gate-set tomography notes (1).
The one-qubit picture. For a qubit, with Bloch vector , , so the expectation vector in is . Split the PTM of a trace-preserving map into blocks,
with and a real matrix. A channel is an affine map of the Bloch ball into itself. The matrix rotates and shrinks the ball into an ellipsoid; the vector shifts it. By Proposition 3.2 the channel is unital exactly when , that is, when the maximally mixed state stays at the center.
Intuition: the PTM as a Bloch-ball deformation
Picture the Bloch ball before and after the channel, related by . The axes of the output ellipsoid and their lengths come from the singular value decomposition of ; the center of the ellipsoid is . Depolarizing noise shrinks the ball uniformly. Dephasing squashes it toward the axis. Amplitude damping shrinks it and slides it toward the north pole . A unitary rotates it rigidly. Not every affine map is allowed: complete positivity constrains in a way that is not readable directly from the entries of the PTM, just as it was not readable from the superoperator. We still test it with the Choi matrix (Theorem 2.9) or, as we see below, with the chi-matrix.
The definition translates directly into code. We compute the PTM of amplitude damping with decay probability , the running example of Example 2.12.
import numpy as npfrom itertools import productI2, X = np.eye(2, dtype=complex), np.array([[0, 1], [1, 0]], dtype=complex)Y, Z = np.array([[0, -1j], [1j, 0]]), np.diag([1.0, -1.0]).astype(complex)def paulis(n): # all 4^n strings, lexicographic in I, X, Y, Z out = [] for s in product([I2, X, Y, Z], repeat=n): P = np.eye(1) for f in s: P = np.kron(P, f) out.append(P) return outdef ptm(kraus, n=1): # R_ab = tr[P_a E(P_b)] / d P, d = paulis(n), 2**n E = lambda A: sum(K @ A @ K.conj().T for K in kraus) return np.array([[np.trace(Pa @ E(Pb)).real / d for Pb in P] for Pa in P])gamma = 0.3amp = [np.diag([1, np.sqrt(1 - gamma)]).astype(complex), np.sqrt(gamma) * np.array([[0, 1], [0, 0]], dtype=complex)]R = ptm(amp)print(np.round(R, 4)) # rows (1,0,0,0) (0,.8367,0,0) (0,0,.8367,0) (.3,0,0,.7)
PTMs of standard channels
What do the channels of Module 2 look like in this basis? Each one is computed by applying the channel to and reading off Pauli coefficients.
Example 3.4 (Depolarizing, dephasing and amplitude damping).
Depolarizing. fixes and multiplies every traceless by , so . The Bloch ball shrinks uniformly by .
Dephasing. fixes and and flips the sign of and in the second term, so its PTM is . The ball is squashed toward the axis.
Amplitude damping. With and : , , and . Hence
The first row is (trace preserving) and the first column is not (not unital). The translation pushes every state toward , whose Bloch vector is the fixed point: . Compare the superoperator in Example 2.12. The same four decay factors appear, but now each sits next to a physical meaning (coherences decay by , the population difference by ).
Unitary channels have a special shape, and the Clifford unitaries an even more special one. Recall that is a Clifford unitary if it maps Pauli strings to Pauli strings under conjugation, up to a phase: for every .
Proposition 3.5 (PTMs of unitary and Clifford channels).
Let with unitary on qubits.
with a real orthogonal matrix.
is a Clifford unitary if and only if is a signed permutation matrix (exactly one entry in each row and column, zeros elsewhere).
Proof
(1) is trace preserving and unital, so by Proposition 3.2 the first row and column are , and is real. It remains to show . The Pauli expansion gives for all (expand and use orthogonality). With and :
(2) If , the left side is Hermitian with eigenvalues , so is real, , and . The map is a bijection because conjugation by is invertible, so this is a signed permutation. Conversely, if column of has a single nonzero entry in row , then , so maps Paulis to Paulis.
For one qubit, is a rotation of the Bloch sphere (, because can be connected continuously to and the determinant cannot jump from to ). For example rotates the plane by , while the Hadamard swaps and flips :
Clifford PTMs are permutations of Pauli labels with signs, which is why Clifford circuits can be simulated efficiently by tracking Pauli strings, and why Pauli noise can be moved through Clifford gates (it stays Pauli noise, with relabelled errors). The first fact is the Gottesman–Knill theorem; see Section 10.5.4 of Nielsen and Chuang (2).
H = np.array([[1, 1], [1, -1]], dtype=complex) / np.sqrt(2)S = np.diag([1, 1j])print(np.rint(ptm([H])).astype(int)) # X <-> Z, Y -> -Y: a signed permutationprint(np.rint(ptm([S])).astype(int)) # X -> Y, Y -> -Xtheta = 0.3Rz = np.diag(np.exp([-0.5j * theta, 0.5j * theta]))print(np.round(ptm([Rz])[1:3, 1:3], 4)) # [[0.9553 -0.2955] [0.2955 0.9553]]
The chi-matrix, and why it is not the PTM
Is there a Pauli-basis version of the Kraus form, rather than of the superoperator? Yes. Expand each Kraus operator in Paulis, with , and multiply out .
Definition 3.6 (Chi-matrix).
The chi-matrix (process matrix) of a linear map on qubits is the matrix with
For a channel with Kraus operators , .
The chi-matrix is the standard output of process tomography as introduced by Chuang and Nielsen (3) and by Poyatos, Cirac and Zoller (4), and it is the Choi matrix in disguise.
Proposition 3.7 (Chi-matrix and Choi matrix).
Every linear map has a unique chi-matrix, and with as in and the Choi matrix of Definition 2.8,
Consequently is CP if and only if , and a trace-preserving map has ; the chi-matrix of a channel is a density matrix. Its PTM is
Proof
Suppose holds. Using (Module 2) and ,
Since is unitary, this is equivalent to . Conversely, defining by , the map has Choi matrix , so it equals ; this proves existence, and uniqueness follows because is injective. Unitary conjugation preserves positivity, so if and only if , which is CP by Theorem 2.9. For a TP map (Proposition 2.10), so . Finally is the definition with .
The chi-matrix is not the PTM
Both are matrices indexed by Pauli strings, and both are called “the process matrix” in some papers, but they hold the same information arranged differently, exactly as the Choi matrix and the superoperator do (the reshuffling of Module 2, which links those two, is the analogous rearrangement). The identity channel shows the difference: , while has a single nonzero entry . The chi-matrix is positive semidefinite for every channel but does not compose by multiplication; the PTM composes by multiplication, but CP is not a simple property of its entries. A unitary channel has rank-one and orthogonal PTM.
Pauli channels and the Walsh–Hadamard transform
Which channels have a diagonal PTM? Exactly the Pauli channels. To prove this, and to move between the two natural descriptions of a Pauli channel, we need one fact about signs.
Write each Pauli string by its binary label , so that with the symplectic product . Then : conjugating by a Pauli either keeps another Pauli or flips its sign. Collect the signs in the sign matrix.
Lemma 3.8 (The sign matrix is a Hadamard matrix).
is symmetric and , so is a symmetric orthogonal matrix. In the lexicographic ordering of Pauli strings, with
Proof
Symmetry holds because . The symplectic product is bilinear over , so
If every term is and the sum is . If , the map is a nonzero linear function on : if has a at qubit , then gives , and otherwise has a at some and works. A nonzero linear function takes the values and equally often, so the sum vanishes. For the tensor form: two strings anticommute exactly when an odd number of their sites anticommute, so , and lists the one-qubit signs ( commutes with everything; two different non-identity Paulis anticommute).
Theorem 3.9 (Pauli channels are exactly the diagonal PTMs).
A linear map on qubits has a diagonal PTM if and only if it has a diagonal chi-matrix, . In that case with
that is and . The map is a channel (a Pauli channel) if and only if for all and , equivalently and entrywise. This fidelity–probability transform is the starting point of Pauli-channel estimation in Flammia and Wallman (5).
Proof
If , then , so with . Conversely, let and set . The map has PTM by Lemma 3.8. Two maps with the same PTM are equal, so and its chi-matrix is by uniqueness (Proposition 3.7). For the last claim, a diagonal is positive semidefinite if and only if , which is CP by Proposition 3.7; and , so TP holds if and only if , which is since the first row of is all ones.
Intuition: fidelities are eigenvalues, probabilities are their Fourier transform
The Paulis are the eigenvectors of every Pauli channel, and is the eigenvalue: the factor by which the expectation value shrinks. An error that commutes with leaves alone; one that anticommutes flips its sign. So . The transform is the Fourier transform on the group of Pauli labels. As for any Fourier transform, composing two Pauli channels convolves their probability vectors but simply multiplies their fidelities: . This is why noise learning works with fidelities (Module 12) and why inverting a Pauli channel is easy: the inverse has fidelities (Module 13).
The snippet checks Lemma 3.8 and Theorem 3.9 for a random two-qubit Pauli channel.
W1 = np.array([[1, 1, 1, 1], [1, 1, -1, -1], [1, -1, 1, -1], [1, -1, -1, 1]])W = np.kron(W1, W1) # two qubits: W_ab = (-1)^<a,b>assert np.allclose(W @ W, 16 * np.eye(16)) # W^2 = d^2 Irng = np.random.default_rng(3)p = 0.1 * rng.dirichlet(np.ones(16)) # a random two-qubit Pauli channelp[0] += 0.9 # ... close to the identityf = W @ p # fidelitiesassert np.allclose(W @ f / 16, p) # inverse transform recovers pP2 = paulis(2)kraus = [np.sqrt(pa) * Pa for pa, Pa in zip(p, P2)]assert np.allclose(ptm(kraus, 2), np.diag(f)) # the PTM is diag(f)print(np.round(f[:4], 4)) # [1. 0.8524 0.8637 0.9324]
Pauli twirling
Real noise has off-diagonal PTM entries. Can we remove them without knowing the noise? Yes, by randomization. Before the noisy operation apply a uniformly random Pauli , after it apply again (Paulis are their own inverses), and forget which was drawn.
Definition 3.10 (Pauli twirl).
The Pauli twirl of a linear map on qubits is
the sum running over all Pauli strings.
The twirl of a channel is a channel: it is an average of the channels , with . Which channel is it?
Theorem 3.11 (Twirling makes any channel a Pauli channel).
Let be a channel with chi-matrix and PTM . Its Pauli twirl is the Pauli channel
The twirl keeps the diagonal of the chi-matrix and the diagonal of the PTM, and sets every off-diagonal entry of both to zero. In particular the Pauli fidelities of the twirled channel are , and its error probabilities are . This is the standard Pauli-twirl lemma (6,7).
The two answers agree: by Theorem 3.9 the Pauli channel with probabilities has fidelities , and with gives the same value for , because .
Intuition: random signs average away the coherences
In the Pauli basis, conjugation by multiplies the entry by the sign . Diagonal entries always get ; every off-diagonal entry gets for half of the and for the other half, and averages to zero. It is the same mechanism as dephasing a density matrix by random phases, applied one level up, to the matrix of the channel. Twirling also changes how errors accumulate. A coherent over-rotation about by a small angle per gate adds up in amplitude: after gates the state is rotated by and, for an input on the equator of the Bloch sphere, the error probability is . After twirling, each gate causes a Pauli error with probability , and these add up as probabilities, to about (Problem 3.4).
What the twirl does not change is also useful. The probability of no error, , is the same before and after twirling. This number is the process fidelity (entanglement fidelity) of with the identity, so twirling preserves the standard figure of merit of a gate while making the noise much easier to describe and to invert.
Twirling in practice: randomized compiling. In a circuit the noise sits next to gates, and we cannot apply “around the noise” only. For a Clifford gate with noise after it, apply before the gate and the Pauli after it. The ideal part is unchanged, , and the noise is conjugated by ; as runs over all Paulis so does , so averaging over twirls . The extra Paulis are merged into the neighbouring single-qubit gates, so the circuit depth does not grow. Each run uses a fresh random choice, and averaging the measured outcomes over runs gives the outcome of the circuit with twirled noise. Wallman and Emerson (8) call this randomized compiling and show that it tailors general Markovian noise into stochastic Pauli noise, assuming the noise on the easy single-qubit gates does not depend on which gate is applied (weak gate dependence adds only a small, bounded error). The underlying idea of randomizing the Pauli frame goes back to Knill (9). Pauli twirling of two-qubit gates is also the first step of the noise learning protocol of van den Berg et al. (10).
Twirling over a larger group. Averaging over the whole Clifford group removes even more structure: all non-identity fidelities become equal.
Let be a channel on qubits and the Clifford group (modulo phases). Then
Proof sketch
Let . The term for has PTM , since is orthogonal (Proposition 3.5). Paulis are Cliffords, and every Clifford can be written as with from a fixed set of coset representatives; summing over first is a Pauli twirl of and leaves its diagonal (Theorem 3.11). Because is a signed permutation, that diagonal is the fidelity vector of with its labels permuted, with . The Clifford group acts transitively on the non-identity Pauli strings (7), and by the orbit-stabilizer theorem every non-identity label is hit equally often, so the average replaces each non-identity fidelity by the mean . A channel with PTM is (Example 3.4). Dankert et al. (7) give the full argument, which also shows that any unitary 2-design gives the same twirl.
This is the principle behind randomized benchmarking: random unitaries (11), and in practice random Clifford sequences (12), turn gate-independent noise into depolarizing noise with a single parameter, which can be read off a decay curve (Module 6).
The next snippet twirls amplitude damping by the explicit average . The twirled channel has Kraus operators .
def twirl(kraus, n=1): """Kraus operators of the Pauli twirl (1/4^n) sum_c P_c E(P_c . P_c) P_c.""" P = paulis(n) return [Pc @ K @ Pc / 2**n for Pc in P for K in kraus]R_tw = ptm(twirl(amp))assert np.allclose(R_tw, np.diag(np.diag(R))) # twirl keeps the diagonalf_tw = np.diag(R_tw)p_tw = W1 @ f_tw / 4 # probabilities of I, X, Y, Zprint(np.round(p_tw, 4)) # [0.8433 0.075 0.075 0.0067]c = [np.trace(Pa @ K) / 2 for K in amp for Pa in paulis(1)]c = np.array(c).reshape(len(amp), 4) # K_k = sum_a c_ka P_achi = c.T @ c.conj() # chi_ab = sum_k c_ka conj(c_kb)assert np.allclose(np.diag(chi).real, p_tw) # diagonal of chi
Pauli–Lindblad noise
A general Pauli channel on qubits has parameters, still far too many to learn on a large device. Which Pauli channels can be described with few parameters? Physically, errors arise continuously in time from local processes. If each process is a random Pauli kick arriving at rate , the noise is generated by a Lindbladian with Pauli jump operators.
Definition 3.13 (Pauli–Lindblad model).
Fix a set of non-identity Pauli strings (the model set) and rates , . The Pauli–Lindblad generator is
and the Pauli–Lindblad channel is .
The time is absorbed into the rates: with rates is with rates .
Theorem 3.14 (Product form and fidelities of Pauli–Lindblad noise).
Following van den Berg et al. (10), let with as in . Then
where and the factors commute. is a Pauli channel with fidelities
Proof
Each term of the generator is diagonal in the Pauli basis: , which is if and commute and if they anticommute. Diagonal matrices commute, so the commute, and . The PTM of is the exponential of a diagonal matrix: . The map is the Pauli channel with , , so its PTM is by : on Paulis that commute with and on those that anticommute. The two agree exactly when , which is . Multiplying the diagonal PTMs of the factors adds the exponents and gives . Finally gives , so each factor is a Pauli channel, and so is their composition.
Intuition: independent kicks
Read as a sampling recipe: for each independently, apply with probability . The probability is that of an odd number of kicks from a Poisson process with mean , since two kicks cancel (): . A fidelity only feels the generators that anticommute with , and each contributes a factor . Products of independent local kicks also generate correlated errors: kicks and together produce with probability about .
Sparse models. The model of van den Berg, Minev, Kandala and Temme (10) takes to be all weight-one Paulis on every qubit and all weight-two Paulis on every edge of the device’s connectivity graph. That is rates for qubits and edges, for example on a line, instead of probabilities. The number of fidelities is still , but by they are determined by the rates through the linear relation . The rates can be fitted from a few measured fidelities by nonnegative least squares, which is the learning problem of Module 12. With every non-identity Pauli in and rates allowed to be negative, the model covers every Pauli channel with positive fidelities (Problem 3.3); sparsity and are the physical assumptions.
Preview: the cost of inverting the noise. The inverse of the factor has fidelities on anticommuting Paulis, and one checks that it equals . This is a signed combination of channels with total weight . Multiplying over , probabilistic error cancellation can undo Pauli–Lindblad noise at a sampling overhead , which Module 13 derives.
Worked example: twirling amplitude damping, and a two-qubit Pauli–Lindblad model
Every number below is checked in code/tests/test_03_ptm.py, which uses the helpers in code/qlt/pauli_channels.py.
Example 3.15 (Twirling amplitude damping with decay probability 0.3).
Chi-matrix. In Paulis, and . Hence (rows and columns )
It has trace . It splits into a block on and a block on , each with nonnegative diagonal and determinant zero ( and ), so with rank , equal to the Kraus rank, since (Proposition 3.7, Theorem 2.9). The off-diagonal entries and carry the non-unital part of the noise.
Twirl. By Theorem 3.11 the twirled channel has : the translation is gone and the channel is unital. Its error probabilities are the diagonal of ,
and the Walsh–Hadamard transform of the fidelities gives the same numbers, for example . The process fidelity is before and after twirling.
Example 3.16 (A two-qubit Pauli–Lindblad model with three rates).
Take with rates , , . For each of the strings , find the generators that anticommute with , add their rates, and apply . Here anticommutes with when the first site is or , when the second site is or , and when exactly one of the two sites is or . The strings fall into eight pairs:
anticommuting generators
strings
none
,
,
,
,
,
,
,
,
,
,
all three
,
Product form. The weights are , , . The probability of no error is , which equals from . Only the products of generators, (up to phase), have nonzero probability; the largest error probability is .
Inversion cost..
The snippet reproduces the fidelities and the no-error probability.
def sym(a, b): """<a,b>_s for Pauli strings: parity of the sites where they anticommute.""" return sum(x != "I" and y != "I" and x != y for x, y in zip(a, b)) % 2labels = ["".join(s) for s in product("IXYZ", repeat=2)]rates = {"XI": 0.02, "IZ": 0.01, "ZZ": 0.03}f_pl = np.array([np.exp(-2 * sum(lam for k, lam in rates.items() if sym(k, b))) for b in labels])print(np.round(f_pl, 4).reshape(4, 4)) # rows: qubit 1 I,X,Y,Z; cols: qubit 2p_pl = W @ f_pl / 16 # inverse Walsh-Hadamardw = {k: (1 - np.exp(-2 * lam)) / 2 for k, lam in rates.items()}print(round(p_pl[0], 5)) # 0.94242print(round(np.prod([1 - x for x in w.values()]), 5)) # 0.94242print(round(np.exp(2 * sum(rates.values())), 4)) # PEC overhead 1.1275
Figure 3.1 shows twirling on a two-qubit channel with more structure: a coherent over-rotation by followed by amplitude damping ( and ) on the two qubits. Before twirling, the PTM has off-diagonal entries of two kinds: the first column (non-unital translations toward ) and pairs such as (the rotation mixes them). After twirling only the diagonal remains.
Figure 3.1. Pauli transfer matrix of a two-qubit noise channel (a ZZ over-rotation by angle 0.4, then amplitude damping with decay probabilities 0.2 and 0.1), before and after Pauli twirling. Rows are output Paulis, columns input Paulis. Twirling deletes every off-diagonal entry, including the non-unital first column, and keeps the diagonal unchanged.
Figure 3.2 plots the fidelities of Example 3.16 and of a random sparse model on a five-qubit line. The fidelity of a Pauli string is not a function of its weight alone: it depends on which generators anticommute with it, and a weight-two generator can commute with a string that is non-identity on both of its sites.
Figure 3.2. Left: the 16 Pauli fidelities of the two-qubit Pauli-Lindblad model with rates 0.02, 0.01, 0.03 on XI, IZ, ZZ; the strings IZ and II commute with every generator and keep fidelity 1. Right: all 1024 fidelities of a sparse model on a 5-qubit line with 51 random rates in [0, 0.002], plotted against Pauli weight; fidelities spread widely within each weight.
What breaks
Gate-dependent and non-Markovian noise. Twirling assumes that the noise is the same channel every time, whatever random Pauli is applied, and that the environment forgets between uses. If the noise depends on the inserted Paulis, or drifts, or carries memory (correlations in time), the average is not the twirl of a single channel and Theorem 3.11 does not apply.
Twirling needs Clifford gates. The Pauli frame trick requires to be a Pauli, so it works around Clifford gates. Non-Clifford gates (such as or arbitrary rotations) can only be twirled if they are treated as “easy” gates whose noise is gate-independent, or twirled by a group that commutes with them.
Only the average is a Pauli channel. Each single run of a randomized circuit still sees the original coherent noise. Twirling turns it into Pauli noise for averaged expectation values, and the number of random instances needed grows when the noise is far from Pauli.
Exponential size. The PTM has entries and a general Pauli channel . Pauli–Lindblad models are compact only when the noise really is generated by few local terms; long-range crosstalk not in is silently absorbed into wrong rates.
Non-unital information is lost. Twirling erases the translation part of amplitude damping. That is fine for describing average errors, but the twirled model cannot predict the direction of relaxation, which matters for some error-correction and mitigation schemes.
Why it matters
The Pauli transfer matrix is the representation in which the rest of the course thinks about noise. Process tomography and gate-set tomography fit PTMs and chi-matrices (Module 6), and randomized benchmarking rests on the Clifford twirl. Twirling makes the noise a Pauli channel, so learning it means learning fidelities, or a few Pauli–Lindblad rates, from decay curves (Module 12). A diagonal PTM is trivially inverted, so probabilistic error cancellation can sample the inverse with overhead (Module 13), and tensor-network error mitigation can apply the inverse noise to observables in the Pauli basis (Module 14).
Further reading
Greenbaum (1): the PTM, gauge freedom and gate-set tomography, with the conventions used here.
Wood, Biamonte and Cory (13): conversions between all channel representations, including the chi-matrix and the Pauli basis.
Wallman and Emerson (8): randomized compiling, the circuit-level implementation of Pauli twirling.
Flammia and Wallman (5): Pauli fidelities, the Walsh–Hadamard transform and efficient learning of Pauli channels.
van den Berg, Minev, Kandala and Temme (10): sparse Pauli–Lindblad models, their learning and their use in error cancellation.
Dankert, Cleve, Emerson and Livine (7): Clifford twirls and unitary 2-designs.
Greenbaum D. Introduction to Quantum Gate Set Tomography. arXiv preprint arXiv:150902921. 2015;
2.
Nielsen MA, Chuang IL. Quantum Computation and Quantum Information: 10th Anniversary Edition. Cambridge University Press; 2010.
3.
Chuang IL, Nielsen MA. Prescription for experimental determination of the dynamics of a quantum black box. J Mod Opt 44, 2455-2467 (1997). 1997;
4.
Poyatos JF, Cirac JI, Zoller P. Complete Characterization of a Quantum Process: the Two-Bit Quantum Gate. arXiv preprint arXiv:quant-ph/9611013. 1996;
5.
Flammia ST, Wallman JJ. Efficient estimation of Pauli channels. ACM Transactions on Quantum Computing 1 (1), 1-32 (2020). 2020;
6.
Dür W, Hein M, Cirac JI, Briegel HJ. Standard forms of noisy quantum operations via depolarization. Phys Rev A 72, 052326 (2005). 2005;
7.
Dankert C, Cleve R, Emerson J, Livine E. Exact and Approximate Unitary 2-Designs: Constructions and Applications. Physical Review A 80, 012304 (2009). 2009;
8.
Wallman JJ, Emerson J. Noise tailoring for scalable quantum computation via randomized compiling. Phys Rev A 94, 052325 (2016). 2016;
9.
Knill E. Quantum Computing with Very Noisy Devices. Nature 434, 39-44 (2005). 2005;
10.
van den Berg E, Minev ZK, Kandala A, Temme K. Probabilistic error cancellation with sparse Pauli-Lindblad models on noisy quantum processors. arXiv preprint arXiv:220109866. 2022;
11.
Emerson J, Alicki R, Zyczkowski K. Scalable Noise Estimation with Random Unitary Operators. J Opt B: Quantum Semiclass Opt 7 (2005) S347-S352. 2005;
12.
Magesan E, Gambetta JM, Emerson J. Robust randomized benchmarking of quantum processes. Phys Rev Lett 106, 180504 (2011). 2011;
13.
Wood CJ, Biamonte JD, Cory DG. Tensor networks and graphical calculus for open quantum systems. Quant Inf Comp 15, 0759-0811 (2015). 2015;