Lean, informalized

Nielsen & Chuang · Chapter 9, Distance measures for quantum information · p. 401

Exercise 9.5 - The classical trace distance as the largest excess of pp over qq on a single event

The trace distance as a maximum over events.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

The Exercise

A classical experiment has a finite set XX of outcomes, and two probability distributions pp and qq on it give the outcome xx the probabilities pxp_x and qxq_x. An event is a subset SS of XX, and its probability under pp is the sum p(S)=∑x∈Spxp(S) = \sum_{x \in S} p_x of the probabilities of its outcomes; q(S)q(S) is the same sum for qq. The exercise is to show that the trace distance between the two distributions is the largest amount by which a single event can be more likely under pp than under qq: the maximum of the signed difference p(S)−q(S)p(S) - q(S) over all events SS.✦

The Trace Distance

For two real functions pp and qq on a finite set XX, the classical trace distance D(p,q)D(p,q) is the real number equal to half the sum, over all points of XX, of the absolute differences of their values: D(p,q)=12∑x∈X|px−qx|.D(p,q) = \frac{1}{2} \sum_{x \in X} \lvert p_x - q_x \rvert .(1)✦ For two probability distributions pp and qq on XX, the classical trace distance D(p,q)D(p,q) is the trace distance of the exercise.

The Claim

Theorem 1. Let pp and qq be real functions on a finite set XX with the same total, ∑xpx=∑xqx\sum_{x} p_x = \sum_{x} q_x. Then D(p,q)=maxS⊆X(p(S)−q(S)).D(p,q) = \max_{S \subseteq X} \bigl( p(S) - q(S) \bigr) .(2)✦

Theorem 2. Let pp and qq be real functions on XX that each have total one, ∑xpx=1\sum_{x} p_x = 1 and ∑xqx=1\sum_{x} q_x = 1. Then D(p,q)=maxS⊆X(p(S)−q(S)).D(p,q) = \max_{S \subseteq X} \bigl( p(S) - q(S) \bigr) .(3)✦

Two probability distributions on XX satisfy both hypotheses, and either theorem is then the exercise.

What Is Checked

The claim is stated over the classical trace distance (1) of two real functions on a finite set, set against their totals p(S)p(S) and q(S)q(S) over every subset.