Joint probabilities. In the forward process the first measurement on the Gibbs state gives En
with probability e−βEnTrΠn/Z0 and leaves Πn/TrΠn (the Gibbs state is a function of
H0, so the post-measurement state is uniform on the eigenspace). The second gives Em′ with
conditional probability Tr[Πm′UΠnU†]/TrΠn. Hence
pF(n,m)=Z0e−βEnTmn,Tmn=Tr[Πm′UΠnU†].
In the backward process, starting from the Gibbs state of H1 and applying U†, the same reasoning
gives pB(m,n)=Z1e−βEm′Tr[ΠnU†Πm′U]=Z1e−βEm′Tmn
by cyclicity of the trace.
Crooks. Whenever Tmn=0,
pB(m,n)pF(n,m)=Z0Z1eβ(Em′−En)=eβ(W−ΔF),W=Em′−En.
The backward work for the pair (m,n) is En−Em′=−W. Summing pF(n,m)=eβ(W−ΔF)pB(m,n)
over all pairs with Em′−En=W gives PF(W)=eβ(W−ΔF)PB(−W).
Jarzynski. Multiply by e−βW and sum over W:
⟨e−βW⟩F=e−βΔF∑WPB(−W)=e−βΔF. Directly:
∑n,me−βEnTmne−β(Em′−En)/Z0=∑me−βEm′∑nTmn/Z0=∑me−βEm′TrΠm′/Z0=Z1/Z0,
using ∑nΠn=I.
Second law. The exponential is convex, so by Jensen's inequality
e−β⟨W⟩≤⟨e−βW⟩=e−βΔF, i.e. ⟨W⟩≥ΔF.
The argument follows Talkner, Lutz and Hänggi and the review of
Campisi, Hänggi and Talkner.