|q⟩ Bad Qubits

advanced · Physics · Quantum Channels & Open Systems

Trace Preservation

Complete positivity makes a map physically allowed; trace preservation makes it deterministic — it guarantees that a normalized state stays normalized, so no probability leaks away. Together they form the CPTP condition that defines a quantum channel. This lesson shows exactly where trace preservation lives in each representation and how to check it.

The condition on the map

A channel E\mathcal{E} is trace preserving if

tr⁡ E(ρ)=tr⁡ρfor all ρ.\operatorname{tr}\,\mathcal{E}(\rho) = \operatorname{tr}\rho \qquad \text{for all } \rho.

By linearity it is enough to demand tr⁡ E(X)=tr⁡X\operatorname{tr}\,\mathcal{E}(X) = \operatorname{tr}X on a basis of operators XX, since every operator is a linear combination of density operators.

In the Kraus picture: the completeness relation

Write E(ρ)=∑kKkρKk†\mathcal{E}(\rho) = \sum_k K_k\rho K_k^\dagger. Using cyclicity of the trace,

tr⁡ E(ρ)=∑ktr⁡(KkρKk†)=∑ktr⁡(Kk†Kk ρ)=tr⁡ ⁣[(∑kKk†Kk)ρ].\operatorname{tr}\,\mathcal{E}(\rho) = \sum_k \operatorname{tr}\big(K_k \rho K_k^\dagger\big) = \sum_k \operatorname{tr}\big(K_k^\dagger K_k\,\rho\big) = \operatorname{tr}\!\Big[\Big(\textstyle\sum_k K_k^\dagger K_k\Big)\rho\Big].

This equals tr⁡ρ=tr⁡(1 ρ)\operatorname{tr}\rho = \operatorname{tr}(\mathbb{1}\,\rho) for all ρ\rho precisely when the bracket is the identity. Hence

  ∑kKk†Kk=1  \boxed{\;\sum_k K_k^\dagger K_k = \mathbb{1}\;}

is necessary and sufficient for trace preservation. This is the completeness relation, the single equation you check to certify that a CP map is a genuine channel. Note that ∑kKkKk†\sum_k K_k K_k^\dagger (the other order) need not be the identity — when it is, the channel is additionally unital (E(1)=1\mathcal{E}(\mathbb{1}) = \mathbb{1}), a strictly stronger property.

In the Choi picture: a partial trace

The same condition reads, on the Choi operator J(E)=∑ijE(∣i⟩⟨j∣)⊗∣i⟩⟨j∣J(\mathcal{E}) = \sum_{ij}\mathcal{E}(|i\rangle\langle j|)\otimes|i\rangle\langle j|,

tr⁡B J(E)=1A,\operatorname{tr}_B\, J(\mathcal{E}) = \mathbb{1}_A,

i.e. tracing out the output system of the Choi operator leaves the identity on the input system. So "CPTP" is the pair of conditions J(E)⪰0J(\mathcal{E}) \succeq 0 (complete positivity) and tr⁡BJ=1A\operatorname{tr}_B J = \mathbb{1}_A (trace preservation) — two clean tests on one operator.

Trace non-increasing maps and instruments

If instead ∑kKk†Kk⪯1\sum_k K_k^\dagger K_k \preceq \mathbb{1}, the map is trace non-increasing: tr⁡ E(ρ)≤tr⁡ρ\operatorname{tr}\,\mathcal{E}(\rho) \le \operatorname{tr}\rho. The "missing" trace is the probability that some measurement outcome did not occur. A collection of such maps {Em}\{\mathcal{E}_m\} with ∑mEm\sum_m \mathcal{E}_m trace preserving is a quantum instrument: each Em\mathcal{E}_m is the (unnormalized) post-measurement update for outcome mm, and the normalization tr⁡ Em(ρ)\operatorname{tr}\,\mathcal{E}_m(\rho) is the probability of mm.

Try it

The amplitude-damping channel (next lesson) has Kraus operators

K0=(1001−γ),K1=(0γ00),K_0 = \begin{pmatrix} 1 & 0 \\ 0 & \sqrt{1-\gamma} \end{pmatrix}, \qquad K_1 = \begin{pmatrix} 0 & \sqrt{\gamma} \\ 0 & 0 \end{pmatrix},

with γ=0.3\gamma = 0.3. Verify trace preservation by computing M=K0†K0+K1†K1M = K_0^\dagger K_0 + K_1^\dagger K_1 and returning the Frobenius distance ∥M−1∥F=∑ij∣Mij−δij∣2\big\lVert M - \mathbb{1}\big\rVert_F = \sqrt{\sum_{ij} |M_{ij} - \delta_{ij}|^2}. A genuine channel gives exactly 00.

Run your code to see the quantum state.

Sign in on the full site to ask questions and join the discussion.