trHqvar(S)(X;Q(|ΨΨ|))=trHqvar(S){σi},δi,jΛiΛj|ij|(FδEiσi|ψiψj|EjσjFδ)={σi},δiΛi2FδEiσi|ψiψi|EiσiFδ.

si677_e  (6.55)

On the other hand, we can compute the semi-classical semantics of Y:

Y(i=1nσiδi)|Ψ=i=1nα{σk,δk}ki(i)|i(Si;Q(σiδi)|ψi)=i=1nα{σk,δk}ki(i)|i(FδiEσi|ψi).

si678_e

Furthermore, we obtain:

trHqvar(S)(Y(|ΨΨ|))=trHqvar(S){σi,δi}i,jα{σk,δk}ki(i)(α{σl,δl}lj(j))*|ij|(FδiEiσi|ψiψj|EjσjFδj)={σi},δiα{σk,δk}ki(i)2FδiEiσi|ψiψi|EiσiFδi.

  (6.56)

Comparing equations (6.55) and (6.56), we see that

t

Get Foundations of Quantum Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.