|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

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

By linearity it is enough to demand trE(X)=trX\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,

trE(ρ)=ktr(KkρKk)=ktr(KkKkρ)=tr ⁣[(kKkKk)ρ].\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

  kKkKk=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(ij)ijJ(\mathcal{E}) = \sum_{ij}\mathcal{E}(|i\rangle\langle j|)\otimes|i\rangle\langle j|,

trBJ(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 trBJ=1A\operatorname{tr}_B J = \mathbb{1}_A (trace preservation) — two clean tests on one operator.

Trace non-increasing maps and instruments

If instead kKkKk1\sum_k K_k^\dagger K_k \preceq \mathbb{1}, the map is trace non-increasing: trE(ρ)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 trEm(ρ)\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=K0K0+K1K1M = K_0^\dagger K_0 + K_1^\dagger K_1 and returning the Frobenius distance M1F=ijMijδij2\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.