Quantum systems are very different from their classical counterparts. This is captured within the quantum mechanical formalism as follows:
A compound quantum system is not described by a Cartesian structure — i.e. a structure in which all the properties of a joint system can be traced back to those of its components — but by a genuinely linear tensor. Physically, this fact is witnessed by ‘entangled states’.
A Hilbert space admits many different choices of a basis. Physically this means that a quantum system admits ‘incompatible observables’ to which no sharp values can be simultaneously attributed. Via the eigenvector-eigenvalue connection each of the bases also represents the classical data type corresponding to the observable.
These features will be the key players in a general abstract theory of quantum systems, and in particular, a theory of classical-quantum interaction. In [AC04] Abramsky and Coecke axiomatized entangled states in terms of dagger compact categories. Here, we refer to the objects in such a dagger compact category, each coming with a chosen Bell state, as quantum systems. In [CP07] Coecke and Pavlovic axiomatized quantum observables within this context as special dagger Frobenius algebras, to which we refer here as classical structures, or basis structures.
One can think of quantum observables as the ‘classical interfaces’ which provide (limited) access to a ‘quantum universe’; we will explore how information gets extracted by measurement at these interfaces, how it gets processed by applying suitable quantum operations, and how these operations are classically controlled.
In section 2, we describe the basic structures of quantum categorical semantics, i.e. the quantum universe, and its classical interfaces.
In section 3, we describe the families of morphisms between the classical interfaces, used to control the classical information flows. They include deterministic operations (functions, permutations), non-deterministic operations (relations) as well as probabilistic operations (stochastic matrices).
In Section 4, we describe how the quantum universe interacts with a fixed classical interface, a classical structure X, how information flows from the quantum universe to X, and how X controls the quantum universe. We consider both closed (pure) and open (mixed) quantum systems. We then let X vary over the different classical structures, connected by the morphisms described in section 3.
Section 5 unifies the above and poses a challenge for future research.
Previous structural models for quantum-classical interaction required either additional completeness assumptions, most notably biproducts, to model quantum spectra [AC04, Sel04, Sel07], or a second monoidal structure [Coe07a]. Our notion of classicality is internal, emergent from symmetric monoidal dagger structure by articulating the local capabilities, in terms of symmetric monoidal dagger language only, and hence formalizable in purely diagrammatic terms.
An earlier version of this paper has been in circulation since 2007 under the title Classical and quantum structures [CPP07]. Besides a complementary formal development, it contains several applications not discussed in this paper. A more detailed account on these is also in the 2nd author’s PhD. thesis [Paq08].
Elements of quantum semantics
We expect the reader to be familiar with symmetric monoidal categories and also to have some familiarity with compact (closed) categories [KL80, AC05, Sel07], as well as with the corresponding graphical calculus [JS91, FY89, Sel07].
By a symmetric monoidal dagger category we mean a symmetric monoidal category C together with an involutive contravariant identity-on-objects-functor
which coherently preserves the symmetric monoidal structure. In particular, this means that the natural isomorphisms θ of the symmetric monoidal structure are all unitary, that is, θ−1=θ†.
When the confusion seems unlikely, we elide g∘f to gf and X⊗A⊗B to XAB. The tensorial symmetry is denoted by \sigma:AB\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces BA. The set of abstract vectors, denoted as C(A), is just the hom-set C(I,A). An abstract scalar is just a morphism in C(I,I).
In the graphical calculus, morphisms are drawn upward. The identity on an object A is depicted as
A A morphism f:A→B is depicted as
A<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>B</mi></mrow><annotationencoding="application/x−tex">B</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.6833em;"></span><spanclass="mordmathnormal"style="margin−right:0.0502em;">B</span></span></span></span></span>f Given two morphisms f:A→B and g:B→C, their composition g∘f:A→C is depicted as
A<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>B</mi></mrow><annotationencoding="application/x−tex">B</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.6833em;"></span><spanclass="mordmathnormal"style="margin−right:0.0502em;">B</span></span></span></span></span>f<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>g</mi></mrow><annotationencoding="application/x−tex">g</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.625em;vertical−align:−0.1944em;"></span><spanclass="mordmathnormal"style="margin−right:0.0359em;">g</span></span></span></span></span>C Given two morphisms f:A→B and g:C→D, their tensor product f\otimes g:A\otimes C\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces B\otimes D is depicted as
A<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>B</mi></mrow><annotationencoding="application/x−tex">B</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.6833em;"></span><spanclass="mordmathnormal"style="margin−right:0.0502em;">B</span></span></span></span></span>f<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>g</mi></mrow><annotationencoding="application/x−tex">g</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.625em;vertical−align:−0.1944em;"></span><spanclass="mordmathnormal"style="margin−right:0.0359em;">g</span></span></span></span></span>CD Finally, given a morphism f:A→B, the corresponding morphism f†:B→A is depicted by flipping graphical components upside-down [Sel07].
Below we assume C to be a symmetric monoidal dagger category. We use it to model simple quantum processes, algorithms and protocols, along the lines of [AC04, Sel07, CP07, CD08, CPP08].
1 Bell states
Categorical quantum semantics started with the observation by Abramsky and one of the authors that the duality (or compactness) in monoidal dagger categories can be used to model interaction of entangled states and effects (or co-states) [AC04]. Our Bell state structure thus consists of dualities, modeled in terms of compact structures [KL80].
If C is viewed as a bicategory with one object, then a compact structure makes the 1-cell A∗ into a right adjoint of A [KL80].
A dagger compact category is a symmetric monoidal dagger category where each object comes with a chosen Bell state. We call such objects quantum systems. For an arbitrary symmetric monoidal dagger category C, we denote by Cq the category with classical structures (X,X∗,η) as objects and with Cq((X,X∗,ηX),(Y,Y∗,ηY))=C(X,Y).
Obviously, rather than introducing Cq we could as well have assumed that in the symmetric monoidal dagger category C all objects come with coherently chosen Bell-states. Constructing Cq removes the need to single out a specific Bell state for each object.
When the structure is clear from the context, we often leave it implicit. For instance, we write A instead of (A,A∗,ηA) in the case of a Bell state; the same also applies to classical structures defined below. We write (−)∗ for the contravariant transpose endofunctor on a compact category, that is, for a morphism f:A\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces B we have
We write (−)∗=(−)†∗=(−)∗† for the covariant conjugate endofunctor. The dimension of an object A relative to a compact structure is
As usual we represent ε and η as:
A∗<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>A</mi></mrow><annotationencoding="application/x−tex">A</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.6833em;"></span><spanclass="mordmathnormal">A</span></span></span></span></span>AA∗ so that compactness becomes:
=<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mo>=</mo></mrow><annotationencoding="application/x−tex">=</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.3669em;"></span><spanclass="mrel">=</span></span></span></span></span>A∗<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msup><mi>A</mi><molspace="0em"rspace="0em">∗</mo></msup></mrow><annotationencoding="application/x−tex">A∗</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.7387em;"></span><spanclass="mord"><spanclass="mordmathnormal">A</span><spanclass="msupsub"><spanclass="vlist−t"><spanclass="vlist−r"><spanclass="vlist"style="height:0.7387em;"><spanstyle="top:−3.113em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">∗</span></span></span></span></span></span></span></span></span></span></span></span></span>A<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>A</mi></mrow><annotationencoding="application/x−tex">A</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.6833em;"></span><spanclass="mordmathnormal">A</span></span></span></span></span>A∗<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msup><mi>A</mi><molspace="0em"rspace="0em">∗</mo></msup></mrow><annotationencoding="application/x−tex">A∗</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.7387em;"></span><spanclass="mord"><spanclass="mordmathnormal">A</span><spanclass="msupsub"><spanclass="vlist−t"><spanclass="vlist−r"><spanclass="vlist"style="height:0.7387em;"><spanstyle="top:−3.113em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">∗</span></span></span></span></span></span></span></span></span></span></span></span></span>AA — the arrows on the identities distinguish the object A from A∗.
2 Classical structure
Classical structures, first considered for this purpose in [CP07], are described using special commutative Frobenius algebras [Law69, CW87].
A Frobenius algebra in a symmetric monoidal category is an internal monoid
A classical structure (X,∇,⊥) in a dagger symmetric monoidal category C is a commutative special Frobenius algebra for which
We denote by Cc the category with classical structures (X,∇,⊥) as objects and with Cc((X,∇X,⊥X),(Y,∇Y,⊥Y))=C(X,Y).
In the category FdHilb of finite dimensional Hilbert spaces and linear maps with the tensor product as monoidal structure, classical structures are in bijective correspondence with orthonormal bases. This fact was established by Vicary and two of the authors in [CPV08]. It supports the name ‘classical’ in terms of standard quantum theory, since given an orthonormal basis {∣i⟩} there is a corresponding non-degenerate observable with projector spectrum {∣i⟩⟨i∣}. Concretely, the bijective correspondence is as follows: each classical structure arises as
for some orthonormal basis {∣i⟩}. There, the comultiplication copies the vectors of the corresponding basis while its unit uniformly deletes them. Hence classical structure counterfactually addresses the no-cloning and no-deleting theorems for quantum data [Die82, WZ82, PB00, Abr08]. The papers [CP07, CPV08] provide more details on this.
While the morphisms of Cc are initially completely oblivious to the classical structures, it will be convenient to have the category Cc at hand. The gamut of classical categories that we shall analyze in the next section will be extracted from Cc, as the morphisms are constrained to preserve various fragments of classical structure.
If the category C is viewed as a bicategory with a single 0-cell, then the objects of C are 1-cells. In the internal sense of this bicategory, classical structures are just those 1-cells which happen to be both monads and comonads. Such a structure is studied in [EM65] — one of the earliest papers about monads — in which Eilenberg and Moore introduced the monadic view of universal algebra.
The monoidal structure of the unit I is a canonical classical structure (I,λI:I≃I⊗I,idI). Moreover, if (X,∇X,⊥X) and (Y,∇X,⊥X) are classical structures, then so is (X⊗Y,∇X,Y,⊥X,Y) where
From this, it follows that Cc is a symmetric monoidal dagger category. The forgetful functor {\bf C}_{c}\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces{\bf C} is thus full and faithful, monoidal, and preserves the dagger.
We represent Δ,⊤,∇,⊥ respectively as:
For example, the Frobenius condition corresponds to:
== The following fact is discussed in detail in [Lac04, CP08].
If in graphical representation a morphism generated from classical structure and symmetric monoidal dagger structure is connected, then it is completely characterized by its domain and codomain. So if the domain is nX⊗…⊗X and the codomain is mX⊗…⊗X then it can be reduced to a “spider” with n input and m output wires:
………………….…………….moutputsninputs All the defining axioms of classical structure follow from this rewriting principle, since all expressions involved have connected graphical representations.
Each classical structure (X,∇,⊥) induces a ‘self-dual’ Bell state on X namely
Moreover, by commutativity of the monoid, we have
Hence, the category Cc of classical structures is dagger compact.
Eq.(2) tells us that we can omit the arrows when depicting the Bell state induced by a classical structure. The equation η=Δ∘⊥ then corresponds to:
Typically, a quantum system will admit more than one classical structure corresponding to incompatible observables — we won’t explicitly impose this in this paper, and refer the reader to [CD08] for work in this direction. In the light of proposition 2.4 this means that a Bell state may ‘factor’ in many different ways into a classical structure. Bell states extracted from different classical structures on the same object may be different, a fact which turns out to be closely related to the self-duality of those Bell states [CPP08].
For some constructions in this paper it is important to rely on a fixed Bell state for each quantum system, hence the dagger compact category Cq. For several other constructions involving a specific classical structure it is important that the Bell state is the one extracted from that classical structure, hence the dagger compact category Cc.
Classical varieties
In this section, we study the categories spanned by classical structures. The largest one is Cc itself, spanned by classical structures, and all C-morphisms between them, ignoring the classical structure. The smallest nontrivial one is a groupoid, where the morphisms preserve all of the classical structure, i.e. both monoid and comonoid homomorphisms [Koc03]. For C=FdHilb, it then follows from [CPV08] that this groupoid boils down to finite sets and permutations between them.
Let C be a dagger category. An endomorphism e∈C(A,A) is positive if there exist a morphism g:C\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces A such that
If an endomorphism e:A\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces A is positive then for every ‘element’ x∈C(A) the scalar
is also positive. The converse holds if I generates.
Let C be a monoidal dagger category. We call a morphism f:X\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces Y in C classical relative to classical structures (X,∇X,⊥X) and (Y,∇Y,⊥Y) if the endomorphism
f<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msup><mi>g</mi><molspace="0em"rspace="0em">†</mo></msup></mrow><annotationencoding="application/x−tex">g†</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:1.0935em;vertical−align:−0.1944em;"></span><spanclass="mord"><spanclass="mordmathnormal"style="margin−right:0.0359em;">g</span><spanclass="msupsub"><spanclass="vlist−t"><spanclass="vlist−r"><spanclass="vlist"style="height:0.8991em;"><spanstyle="top:−3.113em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">†</span></span></span></span></span></span></span></span></span></span></span></span></span>g<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mo>=</mo></mrow><annotationencoding="application/x−tex">=</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.3669em;"></span><spanclass="mrel">=</span></span></span></span></span>X<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>Y</mi></mrow><annotationencoding="application/x−tex">Y</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.6833em;"></span><spanclass="mordmathnormal"style="margin−right:0.2222em;">Y</span></span></span></span></span>X<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>Y</mi></mrow><annotationencoding="application/x−tex">Y</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.6833em;"></span><spanclass="mordmathnormal"style="margin−right:0.2222em;">Y</span></span></span></span></span>X<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>Y</mi></mrow><annotationencoding="application/x−tex">Y</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.6833em;"></span><spanclass="mordmathnormal"style="margin−right:0.2222em;">Y</span></span></span></span></span>X<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>Y</mi></mrow><annotationencoding="application/x−tex">Y</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.6833em;"></span><spanclass="mordmathnormal"style="margin−right:0.2222em;">Y</span></span></span></span></span>C Classical maps are closed under composition:
f<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mo>=</mo></mrow><annotationencoding="application/x−tex">=</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.3669em;"></span><spanclass="mrel">=</span></span></span></span></span>f′<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>f</mi></mrow><annotationencoding="application/x−tex">f</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.8889em;vertical−align:−0.1944em;"></span><spanclass="mordmathnormal"style="margin−right:0.1076em;">f</span></span></span></span></span>f′<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mo>=</mo></mrow><annotationencoding="application/x−tex">=</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.3669em;"></span><spanclass="mrel">=</span></span></span></span></span>f<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msup><mi>f</mi><momathvariant="normal"lspace="0em"rspace="0em">′</mo></msup></mrow><annotationencoding="application/x−tex">f′</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.9963em;vertical−align:−0.1944em;"></span><spanclass="mord"><spanclass="mordmathnormal"style="margin−right:0.1076em;">f</span><spanclass="msupsub"><spanclass="vlist−t"><spanclass="vlist−r"><spanclass="vlist"style="height:0.8019em;"><spanstyle="top:−3.113em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">′</span></span></span></span></span></span></span></span></span></span></span></span></span>=<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msup><mi>g</mi><molspace="0em"rspace="0em">†</mo></msup></mrow><annotationencoding="application/x−tex">g†</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:1.0935em;vertical−align:−0.1944em;"></span><spanclass="mord"><spanclass="mordmathnormal"style="margin−right:0.0359em;">g</span><spanclass="msupsub"><spanclass="vlist−t"><spanclass="vlist−r"><spanclass="vlist"style="height:0.8991em;"><spanstyle="top:−3.113em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">†</span></span></span></span></span></span></span></span></span></span></span></span></span>g<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msup><msup><mi>g</mi><momathvariant="normal"lspace="0em"rspace="0em">′</mo></msup><molspace="0em"rspace="0em">†</mo></msup></mrow><annotationencoding="application/x−tex">g′†</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:1.2353em;vertical−align:−0.1944em;"></span><spanclass="mord"><spanclass="mord"><spanclass="mord"><spanclass="mordmathnormal"style="margin−right:0.0359em;">g</span><spanclass="msupsub"><spanclass="vlist−t"><spanclass="vlist−r"><spanclass="vlist"style="height:0.8019em;"><spanstyle="top:−3.113em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">′</span></span></span></span></span></span></span></span></span></span><spanclass="msupsub"><spanclass="vlist−t"><spanclass="vlist−r"><spanclass="vlist"style="height:1.0409em;"><spanstyle="top:−3.2548em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">†</span></span></span></span></span></span></span></span></span></span></span></span></span>g′<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>h</mi></mrow><annotationencoding="application/x−tex">h</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.6944em;"></span><spanclass="mordmathnormal">h</span></span></span></span></span>h† Since identities are also classical, it follows that classical structures and classical maps form a subcategory Cc◯ of Cc.
As explained above, classical structures in FdHilb are in one-to-one correspondence with orthonormal bases. If a linear map f:X\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces Y is represented as an n×m-matrix in the bases induced by the classical structures X and Y, then the operation on f described in (4) redistributes the entries of this matrix over the diagonal of an (n×m)×(n×m) matrix. Classical maps in FdHilb thus correspond to the matrices with non-negative entries. They map basis vectors to linear combinations of basis vectors involving only non-negative coefficients.
[Sel07] Let A and B be quantum systems in the dagger compact category Cq. A morphism f:A^{*}A\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces B^{*}B in Cq is called completely positive if its transpose
f<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msup><mi>g</mi><molspace="0em"rspace="0em">†</mo></msup></mrow><annotationencoding="application/x−tex">g†</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:1.0935em;vertical−align:−0.1944em;"></span><spanclass="mord"><spanclass="mordmathnormal"style="margin−right:0.0359em;">g</span><spanclass="msupsub"><spanclass="vlist−t"><spanclass="vlist−r"><spanclass="vlist"style="height:0.8991em;"><spanstyle="top:−3.113em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">†</span></span></span></span></span></span></span></span></span></span></span></span></span>g<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mo>=</mo></mrow><annotationencoding="application/x−tex">=</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.3669em;"></span><spanclass="mrel">=</span></span></span></span></span>A<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msup><mi>B</mi><molspace="0em"rspace="0em">∗</mo></msup></mrow><annotationencoding="application/x−tex">B∗</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.7387em;"></span><spanclass="mord"><spanclass="mordmathnormal"style="margin−right:0.0502em;">B</span><spanclass="msupsub"><spanclass="vlist−t"><spanclass="vlist−r"><spanclass="vlist"style="height:0.7387em;"><spanstyle="top:−3.113em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">∗</span></span></span></span></span></span></span></span></span></span></span></span></span>A<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msup><mi>B</mi><molspace="0em"rspace="0em">∗</mo></msup></mrow><annotationencoding="application/x−tex">B∗</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.7387em;"></span><spanclass="mord"><spanclass="mordmathnormal"style="margin−right:0.0502em;">B</span><spanclass="msupsub"><spanclass="vlist−t"><spanclass="vlist−r"><spanclass="vlist"style="height:0.7387em;"><spanstyle="top:−3.113em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">∗</span></span></span></span></span></span></span></span></span></span></span></span></span>A<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msup><mi>B</mi><molspace="0em"rspace="0em">∗</mo></msup></mrow><annotationencoding="application/x−tex">B∗</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.7387em;"></span><spanclass="mord"><spanclass="mordmathnormal"style="margin−right:0.0502em;">B</span><spanclass="msupsub"><spanclass="vlist−t"><spanclass="vlist−r"><spanclass="vlist"style="height:0.7387em;"><spanstyle="top:−3.113em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">∗</span></span></span></span></span></span></span></span></span></span></span></span></span>AB∗ A completely positive element is called mixed state. Let PC be the category with the same objects as Cq and with
for which the transpose (cf. map-state duality)
is positive, that is, it is a density operator up to a positive real scalar multiple. So these transposes provide the mixed states of the usual quantum mechanical formalism. General completely positive maps
Complete positivity and the category PC of mixed states and completely positive maps can be defined in any symmetric monoidal category, even in the absence of compactness [Coe07b].
It is easy to see that the constraint on f in Def. 3.4 is equivalent to:
f<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msub><mi>g</mi><molspace="0em"rspace="0em">∗</mo></msub></mrow><annotationencoding="application/x−tex">g∗</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.625em;vertical−align:−0.1944em;"></span><spanclass="mord"><spanclass="mordmathnormal"style="margin−right:0.0359em;">g</span><spanclass="msupsub"><spanclass="vlist−tvlist−t2"><spanclass="vlist−r"><spanclass="vlist"style="height:0.1757em;"><spanstyle="top:−2.55em;margin−left:−0.0359em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">∗</span></span></span></span></span><spanclass="vlist−s"></span></span><spanclass="vlist−r"><spanclass="vlist"style="height:0.15em;"><span></span></span></span></span></span></span></span></span></span></span>g<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mo>=</mo></mrow><annotationencoding="application/x−tex">=</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.3669em;"></span><spanclass="mrel">=</span></span></span></span></span>h<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msub><mi>h</mi><molspace="0em"rspace="0em">∗</mo></msub></mrow><annotationencoding="application/x−tex">h∗</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.8444em;vertical−align:−0.15em;"></span><spanclass="mord"><spanclass="mordmathnormal">h</span><spanclass="msupsub"><spanclass="vlist−tvlist−t2"><spanclass="vlist−r"><spanclass="vlist"style="height:0.1757em;"><spanstyle="top:−2.55em;margin−left:0em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">∗</span></span></span></span></span><spanclass="vlist−s"></span></span><spanclass="vlist−r"><spanclass="vlist"style="height:0.15em;"><span></span></span></span></span></span></span></span></span></span></span>=<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msup><mi>A</mi><molspace="0em"rspace="0em">∗</mo></msup></mrow><annotationencoding="application/x−tex">A∗</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.7387em;"></span><spanclass="mord"><spanclass="mordmathnormal">A</span><spanclass="msupsub"><spanclass="vlist−t"><spanclass="vlist−r"><spanclass="vlist"style="height:0.7387em;"><spanstyle="top:−3.113em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">∗</span></span></span></span></span></span></span></span></span></span></span></span></span>A<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msup><mi>B</mi><molspace="0em"rspace="0em">∗</mo></msup></mrow><annotationencoding="application/x−tex">B∗</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.7387em;"></span><spanclass="mord"><spanclass="mordmathnormal"style="margin−right:0.0502em;">B</span><spanclass="msupsub"><spanclass="vlist−t"><spanclass="vlist−r"><spanclass="vlist"style="height:0.7387em;"><spanstyle="top:−3.113em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">∗</span></span></span></span></span></span></span></span></span></span></span></span></span>B<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msup><mi>B</mi><molspace="0em"rspace="0em">∗</mo></msup></mrow><annotationencoding="application/x−tex">B∗</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.7387em;"></span><spanclass="mord"><spanclass="mordmathnormal"style="margin−right:0.0502em;">B</span><spanclass="msupsub"><spanclass="vlist−t"><spanclass="vlist−r"><spanclass="vlist"style="height:0.7387em;"><spanstyle="top:−3.113em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">∗</span></span></span></span></span></span></span></span></span></span></span></span></span>B<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msup><mi>A</mi><molspace="0em"rspace="0em">∗</mo></msup></mrow><annotationencoding="application/x−tex">A∗</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.7387em;"></span><spanclass="mord"><spanclass="mordmathnormal">A</span><spanclass="msupsub"><spanclass="vlist−t"><spanclass="vlist−r"><spanclass="vlist"style="height:0.7387em;"><spanstyle="top:−3.113em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">∗</span></span></span></span></span></span></span></span></span></span></span></span></span>A<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msup><mi>A</mi><molspace="0em"rspace="0em">∗</mo></msup></mrow><annotationencoding="application/x−tex">A∗</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.7387em;"></span><spanclass="mord"><spanclass="mordmathnormal">A</span><spanclass="msupsub"><spanclass="vlist−t"><spanclass="vlist−r"><spanclass="vlist"style="height:0.7387em;"><spanstyle="top:−3.113em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">∗</span></span></span></span></span></span></span></span></span></span></span></span></span>A<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msup><mi>B</mi><molspace="0em"rspace="0em">∗</mo></msup></mrow><annotationencoding="application/x−tex">B∗</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.7387em;"></span><spanclass="mord"><spanclass="mordmathnormal"style="margin−right:0.0502em;">B</span><spanclass="msupsub"><spanclass="vlist−t"><spanclass="vlist−r"><spanclass="vlist"style="height:0.7387em;"><spanstyle="top:−3.113em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">∗</span></span></span></span></span></span></span></span></span></span></span></span></span>B As explained in [Sel07, CPP08], in order to keep the graphs of the compact structure planar, we swap the wires of the conjugate morphisms:
h<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>A</mi></mrow><annotationencoding="application/x−tex">A</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.6833em;"></span><spanclass="mordmathnormal">A</span></span></span></span></span>B<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>C</mi></mrow><annotationencoding="application/x−tex">C</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.6833em;"></span><spanclass="mordmathnormal"style="margin−right:0.0715em;">C</span></span></span></span></span>D<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msub><mi>h</mi><molspace="0em"rspace="0em">∗</mo></msub></mrow><annotationencoding="application/x−tex">h∗</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.8444em;vertical−align:−0.15em;"></span><spanclass="mord"><spanclass="mordmathnormal">h</span><spanclass="msupsub"><spanclass="vlist−tvlist−t2"><spanclass="vlist−r"><spanclass="vlist"style="height:0.1757em;"><spanstyle="top:−2.55em;margin−left:0em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">∗</span></span></span></span></span><spanclass="vlist−s"></span></span><spanclass="vlist−r"><spanclass="vlist"style="height:0.15em;"><span></span></span></span></span></span></span></span></span></span></span>B∗<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msup><mi>D</mi><molspace="0em"rspace="0em">∗</mo></msup></mrow><annotationencoding="application/x−tex">D∗</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.7387em;"></span><spanclass="mord"><spanclass="mordmathnormal"style="margin−right:0.0278em;">D</span><spanclass="msupsub"><spanclass="vlist−t"><spanclass="vlist−r"><spanclass="vlist"style="height:0.7387em;"><spanstyle="top:−3.113em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">∗</span></span></span></span></span></span></span></span></span></span></span></span></span>A∗C∗ Since each classical structure (X,∇,⊥) induces a self-dual compact structure (X,X,η†,η) where η=Δ∘⊥ and hence σ∘η=η, the notion of complete positivity applies to the morphisms in the form
between the classical structures X and Y. The following proposition is then easily proven in graphical language.
For a morphism f:X\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces Y between classical structures X and Y the following statements are equivalent :
induced by a classical structure on X is called a decoherence. Decoherent morphisms are completely positive maps that preserve decoherences, like in (5). The subcategory of P(Cc) consisting of all classical structures with decoherent completely positive maps is denoted by CΞ.
In FdHilb a mixed states is decoherent for a classical structure — that is, an orthonormal basis — if its matrix representation in that basis is diagonal. Indeed, decoherences are completely positive maps which, when applied to a density matrix, erase the non-diagonal elements [CP07]. This justifies their name: they maximally destroy coherence. Physically, this means that these states correspond to a probability distribution on the basis vectors, up to a positive real scalar multiple. Since we interpret these basis vectors as classical data, decoherent mixed states correspond to probability distributions on classical data, up to a positive real scalar multiple. A completely positive map is decoherent if it maps mixed states with diagonal matrices to mixed states with diagonal matrices. Hence they map probability distributions on classical data to probability distributions on classical data, all again up to positive real scalar multiples. In Section 3.5 we define normalised probability distributions on classical data and corresponding mappings, i.e. stochastic maps.
Graphically, complete positivity of fΞ means
f<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mo>=</mo></mrow><annotationencoding="application/x−tex">=</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.3669em;"></span><spanclass="mrel">=</span></span></span></span></span>g∗g As in Proposition 2.3, decoherences are graphically depicted as
Given a classical morphism f:X\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces Y, a completely positive map of the form
is decoherent. Indeed, since classical structures are special, we have
f<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msub><mi>f</mi><mimathvariant="normal">Ξ</mi></msub></mrow><annotationencoding="application/x−tex">fΞ</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.8889em;vertical−align:−0.1944em;"></span><spanclass="mord"><spanclass="mordmathnormal"style="margin−right:0.1076em;">f</span><spanclass="msupsub"><spanclass="vlist−tvlist−t2"><spanclass="vlist−r"><spanclass="vlist"style="height:0.3283em;"><spanstyle="top:−2.55em;margin−left:−0.1076em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">Ξ</span></span></span></span></span><spanclass="vlist−s"></span></span><spanclass="vlist−r"><spanclass="vlist"style="height:0.15em;"><span></span></span></span></span></span></span></span></span></span></span>f= Conversely, if a completely positive map g is decoherent then
=g<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msub><mi>g</mi><mtext>c◯</mtext></msub></mrow><annotationencoding="application/x−tex">gc◯</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.708em;vertical−align:−0.2774em;"></span><spanclass="mord"><spanclass="mordmathnormal"style="margin−right:0.0359em;">g</span><spanclass="msupsub"><spanclass="vlist−tvlist−t2"><spanclass="vlist−r"><spanclass="vlist"style="height:0.3448em;"><spanstyle="top:−2.4226em;margin−left:−0.0359em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordtextmtight"><spanclass="mordaccentmtight"><spanclass="vlist−t"><spanclass="vlist−r"><spanclass="vlist"style="height:0.8889em;"><spanstyle="top:−2.7em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="mordmtight"><spanclass="mordmtight">c</span></span></span><spanstyle="top:−2.8944em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="accent−bodyaccent−full"style="left:0em;top:.2em;"><spanclass="mordmtight">◯</span></span></span></span></span></span></span></span></span></span></span></span><spanclass="vlist−s"></span></span><spanclass="vlist−r"><spanclass="vlist"style="height:0.2774em;"><span></span></span></span></span></span></span></span></span></span></span>g so it indeed has the desired form, and that gc◯ is a classical morphism follows from g being completely positive.
The category Cc◯ of classical structures and classical morphisms is isomorphic to the category CΞ of classical structures and decoherent morphisms:
In the case of FdHilb the isomorphism (−)Ξ of corollary 3.7 takes a column vector with positive real entries and maps it on on a diagonal matrix with these entries on the diagonal, i.e. a mixed state. Similarly, it maps matrices with positive real entries on a map which takes these diagonal mixed states to other diagonal mixed states in the same way as the initial matrix transforms the underlying vectors.
A morphism in a dagger compact category is real if
preserves dagger symmetric monoidal structure. Hence Cc◯ is a symmetric monoidal dagger category. Since for classical structure (X,∇,⊥) the two morphisms ∇ and ⊥ are both classical morphisms relative to (X,∇,⊥), Cc◯ inherits classical structures from Cc along this inclusion. Hence Cc◯ is also dagger compact. Moreover, all morphisms in Cc◯ are real.
For instance, that the comultiplication of a classical structure is itself classical relative to that classical structure holds by Proposition 2.3:
Δ=gg† Similarly, we prove that classical maps are real:
f<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mo>=</mo></mrow><annotationencoding="application/x−tex">=</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.3669em;"></span><spanclass="mrel">=</span></span></span></span></span>f<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msub><mi>g</mi><molspace="0em"rspace="0em">∗</mo></msub></mrow><annotationencoding="application/x−tex">g∗</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.625em;vertical−align:−0.1944em;"></span><spanclass="mord"><spanclass="mordmathnormal"style="margin−right:0.0359em;">g</span><spanclass="msupsub"><spanclass="vlist−tvlist−t2"><spanclass="vlist−r"><spanclass="vlist"style="height:0.1757em;"><spanstyle="top:−2.55em;margin−left:−0.0359em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">∗</span></span></span></span></span><spanclass="vlist−s"></span></span><spanclass="vlist−r"><spanclass="vlist"style="height:0.15em;"><span></span></span></span></span></span></span></span></span></span></span>g<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mo>=</mo></mrow><annotationencoding="application/x−tex">=</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.3669em;"></span><spanclass="mrel">=</span></span></span></span></span>g<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msub><mi>g</mi><molspace="0em"rspace="0em">∗</mo></msub></mrow><annotationencoding="application/x−tex">g∗</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.625em;vertical−align:−0.1944em;"></span><spanclass="mord"><spanclass="mordmathnormal"style="margin−right:0.0359em;">g</span><spanclass="msupsub"><spanclass="vlist−tvlist−t2"><spanclass="vlist−r"><spanclass="vlist"style="height:0.1757em;"><spanstyle="top:−2.55em;margin−left:−0.0359em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">∗</span></span></span></span></span><spanclass="vlist−s"></span></span><spanclass="vlist−r"><spanclass="vlist"style="height:0.15em;"><span></span></span></span></span></span></span></span></span></span></span>=<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msub><mi>f</mi><molspace="0em"rspace="0em">∗</mo></msub></mrow><annotationencoding="application/x−tex">f∗</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.8889em;vertical−align:−0.1944em;"></span><spanclass="mord"><spanclass="mordmathnormal"style="margin−right:0.1076em;">f</span><spanclass="msupsub"><spanclass="vlist−tvlist−t2"><spanclass="vlist−r"><spanclass="vlist"style="height:0.1757em;"><spanstyle="top:−2.55em;margin−left:−0.1076em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">∗</span></span></span></span></span><spanclass="vlist−s"></span></span><spanclass="vlist−r"><spanclass="vlist"style="height:0.15em;"><span></span></span></span></span></span></span></span></span></span></span>= where we used (co)commutativity of the (co)multiplication.
2 Relations
Given classical structures X and Y, we define the convolution monoid
Given the convolution monoid on C(X) induced by classical structure X we can recover the inner-product of x,y∈C(X) as
Moreover, for morphisms f,g∈C(X,Y) we have by compactness that
where (Xf)∘η,(Xg)∘η∈C(X⊗Y), that is
f<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>g</mi></mrow><annotationencoding="application/x−tex">g</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.625em;vertical−align:−0.1944em;"></span><spanclass="mordmathnormal"style="margin−right:0.0359em;">g</span></span></span></span></span>=<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>f</mi></mrow><annotationencoding="application/x−tex">f</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.8889em;vertical−align:−0.1944em;"></span><spanclass="mordmathnormal"style="margin−right:0.1076em;">f</span></span></span></span></span>g<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>f</mi><mo>⋆</mo><mi>g</mi></mrow><annotationencoding="application/x−tex">f⋆g</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.8889em;vertical−align:−0.1944em;"></span><spanclass="mordmathnormal"style="margin−right:0.1076em;">f</span><spanclass="mspace"style="margin−right:0.2222em;"></span><spanclass="mbin">⋆</span><spanclass="mspace"style="margin−right:0.2222em;"></span></span><spanclass="base"><spanclass="strut"style="height:0.625em;vertical−align:−0.1944em;"></span><spanclass="mordmathnormal"style="margin−right:0.0359em;">g</span></span></span></span></span>((Xf)∘η)⋆((Xg)∘η) Hence, knowing how −⋆− acts on states implies knowing how it acts on morphisms. Speciality of classical structure just means that idX is an idempotent element of the convolution monoid C(X,X). In general it is, of course, not the only idempotent.
A morphism r∈Cc(X,Y) is a relation if it is an idempotent of the convolution monoid, that is,
Every commutative monoid is a semilattice iff it is idempotent. Therefore, convolution of relations is written as the intersection operation
All relations are classical morphisms, and hence also real. If (X,∇,⊥) is a classical structure then ∇ and ⊥ are relations relative to this classical structure.
That relations are classical is established as follows:
f<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mo>=</mo></mrow><annotationencoding="application/x−tex">=</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.3669em;"></span><spanclass="mrel">=</span></span></span></span></span>f<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msub><mi>f</mi><molspace="0em"rspace="0em">∗</mo></msub></mrow><annotationencoding="application/x−tex">f∗</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.8889em;vertical−align:−0.1944em;"></span><spanclass="mord"><spanclass="mordmathnormal"style="margin−right:0.1076em;">f</span><spanclass="msupsub"><spanclass="vlist−tvlist−t2"><spanclass="vlist−r"><spanclass="vlist"style="height:0.1757em;"><spanstyle="top:−2.55em;margin−left:−0.1076em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">∗</span></span></span></span></span><spanclass="vlist−s"></span></span><spanclass="vlist−r"><spanclass="vlist"style="height:0.15em;"><span></span></span></span></span></span></span></span></span></span></span>f†<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>f</mi></mrow><annotationencoding="application/x−tex">f</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.8889em;vertical−align:−0.1944em;"></span><spanclass="mordmathnormal"style="margin−right:0.1076em;">f</span></span></span></span></span>=<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msup><mi>g</mi><molspace="0em"rspace="0em">†</mo></msup></mrow><annotationencoding="application/x−tex">g†</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:1.0935em;vertical−align:−0.1944em;"></span><spanclass="mord"><spanclass="mordmathnormal"style="margin−right:0.0359em;">g</span><spanclass="msupsub"><spanclass="vlist−t"><spanclass="vlist−r"><spanclass="vlist"style="height:0.8991em;"><spanstyle="top:−3.113em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">†</span></span></span></span></span></span></span></span></span></span></span></span></span>g where we relied again on prop. 2.3.
In general, relations are not closed under composition in C however, they are closed under the tensor. We show below how composition in C induces a new composition on relations.
In FdHilb, the abstract relations as defined above correspond to the matrices f such that fij=fij2. Since the only idempotent complex numbers are and 1, these matrices correspond to the usual matrix representation of a binary relation, in this case relating basis vectors in Hilbert spaces. Relative to these bases they are the classical maps involving only ’s and 1’s as coefficients. However, this family of matrices is not closed under composition in FdHilb, for example,
is not a relation. However, when considering relational composition instead, we obtain:
Rather than a subcategory, FdHilbr can be viewed as a quotient category of FdHilbc◯. The quotient {\bf FdHilb}_{\copyright}\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces{\bf FdHilb}_{r} is identity on the objects, and it maps each matrix of non-negative reals into a matrix of s and 1s, keeping the s, and mapping all positive reals to 1.
In general, settingFor clarity of the argument we assume all meets involved to be finite, as it is for example the case in FdHilb.
for classical maps f:X\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces Y, we can define an equivalence relation
When restricting to the subcategory of Cc◯ generated by all relations, which we denote by D, the equivalence turns out to be a congruence with respect to composition, and hence we obtain a quotient
Explicitly, the objects of Cr are the same as those of Cc, the morphisms are the equivalence classes for ∼, and composition is inherited.
Classical structures and relations between them constitute a symmetric monoidal dagger category Cr. It is moreover a locally thin bicategory for the partial ordering ≤.
In Cr all morphisms are lax comonoid homomorphisms with respect to the partial ordering ≤.
For r∈Cr(X,Y) to be a lax comonoid homomorphism means
Unfolding the definition of ≤ the first inequality becomes an equality
which indeed holds since graphically we have
=r<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>r</mi></mrow><annotationencoding="application/x−tex">r</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.4306em;"></span><spanclass="mordmathnormal"style="margin−right:0.0278em;">r</span></span></span></span></span>rr=r<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>r</mi></mrow><annotationencoding="application/x−tex">r</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.4306em;"></span><spanclass="mordmathnormal"style="margin−right:0.0278em;">r</span></span></span></span></span>r where the first step uses r=r⋆r=r⋆(r⋆r) and the second one uses Proposition 2.3. Similarly, the second inequality becomes the equality
=rr where we again used Proposition 2.3.
If (X,Δ,⊤) is a classical structure then Δ and ⊤ have right adjoints in Cr with respect to the partial ordering ≤, namely ∇=Δ† and ⊥=⊤†.
For r∈Cr(X,Y) and s∈Cr(Y,X) we have r⊣s iff
==r<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>s</mi></mrow><annotationencoding="application/x−tex">s</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.4306em;"></span><spanclass="mordmathnormal">s</span></span></span></span></span>r<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>s</mi></mrow><annotationencoding="application/x−tex">s</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.4306em;"></span><spanclass="mordmathnormal">s</span></span></span></span></span>rs and for the specific case of δ⊣δ† these become
== which hold by Proposition 2.3. Similarly, for ε⊣ε† we have
By Propositions 3.12, and 3.14, the category Cr of classical structures and relations is a cartesian bicategory of relations in the sense of Carboni and Walters [CW87]. More specifically, it is a dagger cartesian bicategory of relations.
For a symmetric monoidal category C the corresponding category Cr is a dagger cartesian bicategory of relations, that is,
a symmetric monoidal locally posetal dagger bicategory,
in which every object comes with a classical structure,
in which each morphism is a lax comonoid homomorphism,
and in which the classical structures (Δ,⊥) are left adjoint to (Δ†,⊥†), with respect to the partial ordering ≤.
The canonical example in [CW87] of a cartesian bicategory of relations is FRel. As shown above, we recover this example as FdHilbr, which has sets of basis vectors of orthonormal bases in FdHilb as objects, and ordinary relations between these as morphisms.
Surprisingly, FRelr=FRel! Indeed, recently it was shown by Edwards and one of the authors that on the two elements set in FRel there is not only one, but there are two very different kinds of classical structures [CE08]. Setting I:={∗} and II:={0,1}, the ‘expected’ classical structure on II is
is a classical structure, which has very different properties than the above one, for example, it only has one ‘classical point’ — see [CE08] for the definition of this. All the classical structures in FRel, of which there are plenty, have been classified by one of the authors in [Pav09]. These ‘non-standard’ classical structures result in some fascinating facts which we intend to present elsewhere. For example, consider the relation r:I→II::∗∼0. Then we have ΔX∘r:I→II×II::∗∼(0,1),(1,0) while (r⊗r)∘λI:I→II×II::∗∼(0,0). Hence r does not seem to be a lax comonoid homomorphism, contradicting Corollary 3.15. What resolves this is the fact that r⋆Xr=∗∼1=r. That is, as strange as it may sound, r is not a relation relative to (II,ΔX,⊤X)! But on the other hand, r′:I→II::∗∼1 does satisfy r′⋆Xr′=∗∼1=r so it is a relation. Now we have ΔX∘r′:I→II×II::∗∼(0,0),(1,1) while (r′⊗r′)∘λI:I→II×II::∗∼(1,1). Since r′ being a lax comonoid homomorphism requires ΔX∘r′=∗∼(0,0),(1,1) to be below (r′⊗r′)∘λI=∗∼(1,1) in the partial order on relations, this again seems to be in contradiction with Corollary 3.15. What resolves this is the fact that the partial order on relations depends on the classical structure relative to which we define it, and indeed, {(0,0),(1,1)}≤X{(1,1)}!
Our definition differs from the one in [CW87] in that we do not assume that on each object there is no other classical structure which is also a comonoid homomorphism. While we do not know of a counterexample, we were not able to prove that relative to a fixed local order induced by chosen classical structures, these classical structures are the only ones that have right adjoints relative to it. In particular, the classical structures discussed in [CE08] which differ from the ones that provide FRel with the structure of a dagger cartesian bicategory of relations do not admit right adjoint with respect to the local ordering in FRel, since the structure maps are proper relations, not functions (cf. Definition 1.5 and Lemma 2.5 in [CW87]).
3 Functions
Following Carboni and Walters in [CW87], the preservation of the parts of the comonoid structure corresponds to the familiar properties of relations. A relation r∈Cr(X,Y) is called
single-valued if ΔY∘r=(r⊗r)∘ΔX ;
function if it is both total and single-valued.
In FdHilb, these notions correspond to the standard ones:
the matrix of a single-valued relation has at most one 1 in each column, while the remaining entries must be 0 ;
the matrix of a total relation has at least one 1 in each column ;
the matrix of a function has exactly one 1 in each column.
The following are equivalent for f∈Cc(X,Y):
f is a function i.e. a total single-valued relation ;
f is a real comonoid homomorphism, i.e. we have that f=f∗, and that the following two diagrams commute :
Restricting to comonoid homomorphisms makes the comonoid components of the classical structures into natural transformations
It is easy to see that a tensor with such natural transformation is just a cartesian product from which [Fox76]:
The category Cf of classical structures and functions is cartesian. The inclusion functor
maps cartesian products of Cf to symmetric monoidal structure of Cc.
4 Permutations
If a relation r has an inverse r′ then r is a function.
Indeed, one easily verifies that if a relation r has an inverse r′, then r⊣r′, so by Definition 1.5 and Theorem 1.6 in [CW87] it is a function.
If both r and r† are functions, then they are invertible.
Indeed, if both r and r† are functions then r is both a monoid and a comonoid homomorphism, and in [Koc03] it was shown that a morphism between Frobenius algebras which is both a monoid and a comonoid homomorphism must be invertible.
If r and r† are functions, then r†∘r=id.
r<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msup><mi>r</mi><molspace="0em"rspace="0em">†</mo></msup></mrow><annotationencoding="application/x−tex">r†</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.8991em;"></span><spanclass="mord"><spanclass="mordmathnormal"style="margin−right:0.0278em;">r</span><spanclass="msupsub"><spanclass="vlist−t"><spanclass="vlist−r"><spanclass="vlist"style="height:0.8991em;"><spanstyle="top:−3.113em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">†</span></span></span></span></span></span></span></span></span></span></span></span></span>r∗<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>r</mi></mrow><annotationencoding="application/x−tex">r</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.4306em;"></span><spanclass="mordmathnormal"style="margin−right:0.0278em;">r</span></span></span></span></span>r==== where we relied on eq.(8) and on the assumption that r† is total. So if both r and r† are functions then they must be unitary.
The following are equivalent for r∈Cr(X,Y) :
A permutation is a relation which satisfies the equivalent conditions of Proposition 3.21.
We denote by Cp the groupoid of classical structures and permutations. The cartesian category Cf is in general not self-dual, so it is not a dagger category. The category Cp, on the other hand, has a degenerate dagger, mapping each f:X\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces Y to its inverse f^{\dagger}:Y\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces X.
5 Stochastic maps
In Section 3.1 we defined classical morphisms, and in FdHilb these classical morphisms maps probability distributions to probability distributions, up to a positive real scalar. We now define the normalised counterpart.
A total classical morphism s∈Cc(X,Y) is called stochastic. It is doubly stochastic if both s and s† are stochastic. Denote by Cs the category of classical structures and stochastic morphisms.
The inclusion {\bf C}_{s}\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@hook{1}}}}}}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces{\bf C}_{\copyright} is both functorial and monoidal, but obviously, Cs does not inherit dagger structure nor compact structure in general. If h:A\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces B is doubly stochastic then dim(A)=dim(B).
For two objects of the same dimension we denote by Cds(A,B) the set of all doubly stochastic maps of type A\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces B.
Since all relations are positive, permutations are doubly stochastic.
In FdHilb all the concepts defined in this section coincide with the usual ones. That is, states in FdHilbs(H) are probability distributions and maps in FdHilbs(H,H′) send probability distributions to probability distributions. Majorization on ⋃HH′FdHilbs(H,H′) extends the usual notion of majorisation which is typically only defined for probability distributions [AU83, Nie99].
6 Hierarchy of classical varieties
We order all classical varieties extracted from Cc that is: permutations Cp, functions Cf, stochastic maps Cs, relations Cr, and classical morphisms Cc◯.
Relativizing over classical interfaces
Every object X in a symmetric monoidal dagger category C induces an endofunctor X\otimes(-):{\bf C}\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces{\bf C}. The endofunctors F:{\bf C}\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces{\bf C} that are in this form can be recognized by their strength, viz the natural isomorphism F(A⊗B)≅FA⊗B. Indeed, every monoidal category is equivalent with the category of strong endofunctors on it. Extending this correspondence, a monoid structure on X induces a monad structure on the corresponding endofunctor X⊗(−); a comonoid structure on X corresponds to a comonad structure on it. Since a classical structure X carries both a monoid and a comonoid structure, the induced endofunctor X⊗(−) is both a monad and a comonad. The structure of such correspondences, and the particular logical meaning of the comonads X⊗(−) was analyzed in [Pav97].
The case when C is a cartesian category, i.e. when the tensor ⊗ is the cartesian product ×, goes back to the early days of categorical logic: the comonads in the form X×(−) were analysed by Lambek and Scott already in [LS86]. In general, the Kleisli category CX induced by a comonad X\otimes(-):{\bf C}\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces{\bf C}, induced by a comonoid object X in a monoidal category C, captures the data flows relative to the data type X.
When C is a symmetric monoidal dagger category, then these data flows can be construed as quantum flows relative to the classical data of type X. Commutative Frobenius algebra structure of X assures that CX is also a symmetric monoidal dagger category [Pav08].
In the sequel, we often abbreviate X⊗(−) to X(−). Recall that the Kleisli category CX, induced by the comonad
given f:XA\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces B and g:XB\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces C, the composite is
The monoidal structure of CX is
for A,B∈∣C∣ the tensor A⊗XB=A⊗B is the same as in C
for f:XA\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces B and h:XC\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces D, the tensor is
the monoid unit is IX=I, but the scalars in CX are C(X,I).
The dagger structure of CX makes the full use of the classical structure of X:
given f∈CX(A,B), i.e. an arrow f∈C(XA,B), f†X∈CX(B,A) is defined to be the transpose of its adjoint f†∈C(B,XA), i.e.
Composition, tensor and dagger in CX respectively depict as:
f<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>g</mi></mrow><annotationencoding="application/x−tex">g</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.625em;vertical−align:−0.1944em;"></span><spanclass="mordmathnormal"style="margin−right:0.0359em;">g</span></span></span></span></span>h<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>f</mi></mrow><annotationencoding="application/x−tex">f</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.8889em;vertical−align:−0.1944em;"></span><spanclass="mordmathnormal"style="margin−right:0.1076em;">f</span></span></span></span></span>f† The Kleisli category CX for the monad X(-):{\bf C}\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces{\bf C} has the hom-sets CX(A,B)=C(A,XB), and a structure dual to the above. The duality is in fact formal, by transposing the X-type:
make the Kleisli categories CX and CX isomorphic.
can now be graphically presented as follows:
f<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>f</mi></mrow><annotationencoding="application/x−tex">f</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.8889em;vertical−align:−0.1944em;"></span><spanclass="mordmathnormal"style="margin−right:0.1076em;">f</span></span></span></span></span>ff It is easy to see that F is a monoidal functor, but U is not. The monoidal functor F enables to interpret of quantum flows which do not involve the classical data type X.
[Pav08] For X a classical structure, the Kleisli category CX inherits all classical structures from C along F, and therefore
if C is dagger compact then so is CX ;
we can consider (CX)Y and (CX)Y, for which we have
All constructions available in dagger compact categories thus lift to CX, but now relative to the classical data type X. For example, the inner-product of x,y∈CX(A) is
whereas the transpose and conjugate of f∈CX(A,B) are
f<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msup><mi>f</mi><molspace="0em"rspace="0em">†</mo></msup></mrow><annotationencoding="application/x−tex">f†</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:1.0935em;vertical−align:−0.1944em;"></span><spanclass="mord"><spanclass="mordmathnormal"style="margin−right:0.1076em;">f</span><spanclass="msupsub"><spanclass="vlist−t"><spanclass="vlist−r"><spanclass="vlist"style="height:0.8991em;"><spanstyle="top:−3.113em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">†</span></span></span></span></span></span></span></span></span></span></span></span></span>y<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msup><mi>x</mi><molspace="0em"rspace="0em">†</mo></msup></mrow><annotationencoding="application/x−tex">x†</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.8991em;"></span><spanclass="mord"><spanclass="mordmathnormal">x</span><spanclass="msupsub"><spanclass="vlist−t"><spanclass="vlist−r"><spanclass="vlist"style="height:0.8991em;"><spanstyle="top:−3.113em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">†</span></span></span></span></span></span></span></span></span></span></span></span></span>X<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>X</mi></mrow><annotationencoding="application/x−tex">X</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.6833em;"></span><spanclass="mordmathnormal"style="margin−right:0.0785em;">X</span></span></span></span></span>X<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>A</mi></mrow><annotationencoding="application/x−tex">A</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.6833em;"></span><spanclass="mordmathnormal">A</span></span></span></span></span>A<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>B</mi></mrow><annotationencoding="application/x−tex">B</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.6833em;"></span><spanclass="mordmathnormal"style="margin−right:0.0502em;">B</span></span></span></span></span>B 4.1.1 Mixing and convex closure Let p be a stochastic state, that is, p∈Cs(I,X) where X is a classical structure. Then define mappings
and we call these operations mixing or convex combining. We call morphisms in the range of ωpA,B mixtures or convex combinations.
Both stochastic maps and doubly stochastic maps are ‘convex closed’, that is, respectively, for p∈Cc(X),
Hence, convex combinations of permutations are doubly stochastic.
This family of conceptually meaningful mappings is neither monoidal nor functorial. It connects quantum categorical semantics with the framework of convex theories [BBLW06, and references therein].
1.2 Sum
As a slight variation of the above we define mappings
and we call these operations sum. This notion of sum for CX induces a notion of sum for CX which we denote by ∑X.
In FdHilb, if x=(x1,…,xn) and y=(y1,…,yn) are coordinate vectors relative to a chosen basis, then we have
2 Indexed pure quantum states and operations
The W-constructionWas originally called WProj-construction. for dagger compact categories is introduced in [Coe07a] to factor out redundant global phases, and involves a passage from vector representation to density matrix representation for pure states. The category WC consists of the same objects as Cq and morphism f∈WC(A,B) are of the form f=φ∗⊗φ for some φ∈Cq(A,B).
[Coe07a] A pure quantum state is an element ψ∈WC(A). A pure quantum evolution is a unitary operation U∈WC(A,B).
We will now see that applying the W-construction to CX brings in important complementary features. The category WCX consists of
morphism f∈WCX(A,B) are of the form
for some φ∈C(XA,B), that is graphically:
φφ∗ The isomorphism CX≅CX induces the isomorphism WCX≅WCX and the morphism fX∈WCX(A,B) corresponding to the above morphism f∈WCX(A,B) is in the form
where π=φX, that is graphically:
ππ∗ Remark. The above pictures display the important fact that the tensors ⊗X of CX and ⊗X effectively correlate the components over the classical interface X, in contrast with the tensor ⊗ of C, which leaves them separate, as in
ν∗ν Definition 4.5 [CP07] A pure quantum measurement on A of quantity X is a self-adjoint morphism m=π∗X⊗Xπ∈WCX(A) with
We refer to this last condition as m being spectral. Explicitly we have
ππ†=π<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>π</mi></mrow><annotationencoding="application/x−tex">π</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.4306em;"></span><spanclass="mordmathnormal"style="margin−right:0.0359em;">π</span></span></span></span></span>π=π= A pure quantum measurement on A of quantity X is a morphism e∈WCX(A,I) which is such that e†∘e is a self-adjoint and spectral.
The 3rd equation can also be rewritten as
When syntactically distinguishing between identical index types as X and X′ and setting δX,X′ for ∇⊗A the 2nd one can be rewritten as
so we recover an analogue of the properties of a projector spectrum.
It was shown in [CP07] that definition 4.5, instantiated to the category FdHilb, captures the usual pure measurements, i.e. spectra of orthogonal projectors indexed by basis vectors of the classical structure X, which now represent the outcomes of the measurement. The argument showing this is based on eqs.(24, 25, 26).
Each classical structure induces a canonical measurement, namely, the one obtained by taking π to be ΔX. This is a measurement against the ‘basis’ specified by the classical structure X.
The following definition captures the idea that certain operations may depend on values of some classical data type X, for example, the outcomes of previously performed measurements. This is for example essential in teleportation-like protocols and measurement-based quantum computational schemes.
An operation controlled by X is a morphism in WCX.
pure quantum states controlled by X are ψ∈WCX(A) ;
pure quantum evolution controlled by X are unitary U∈WCX(A,B) ;
pure quantum measurements on A of quantity Y controlled by quantity X are self-adjoint spectral m∈W(CY)X(A,A).
The pure quantum states and operations of defn. 4.4 can be represented in WCX via the canonical functor
and the pure quantum measurement of quantity X of defn. 4.5 can be represented in WCX along the isomorphism (−)X:WCX≅WCX.
With the above definitions, we can now model quantum protocols in WCX, assuming that X is the space of classical data, and interpreting the classical flows in terms of the Kleisli structure. For example, the teleportation protocol is simply the composite
Showing that T=idA boils down to an easy exercise using the compositionality lemmas for compact categories [AC04]. In the graphical language of the dagger compact category WCX this proof is just
=U∗U=UU† So the diagrammatic proof of teleportation with classical data flow in WCX is just the diagrammatic proof of post-selected (or conditional) teleportation in WC. In the graphical language of the dagger compact category Cq this unfolds to the following diagrammatic equation:
(*)(*)==(**) where the annotated elements are:
U<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msub><mi>U</mi><molspace="0em"rspace="0em">∗</mo></msub></mrow><annotationencoding="application/x−tex">U∗</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.8333em;vertical−align:−0.15em;"></span><spanclass="mord"><spanclass="mordmathnormal"style="margin−right:0.109em;">U</span><spanclass="msupsub"><spanclass="vlist−tvlist−t2"><spanclass="vlist−r"><spanclass="vlist"style="height:0.1757em;"><spanstyle="top:−2.55em;margin−left:−0.109em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">∗</span></span></span></span></span><spanclass="vlist−s"></span></span><spanclass="vlist−r"><spanclass="vlist"style="height:0.15em;"><span></span></span></span></span></span></span></span></span></span></span>U†U∗(**) =UU∗(*) = The distinction of ‘quantum vs. classical’ is thus displayed as the distinction of ‘two wires vs. one wire’. Compared with the concise graphical representation of the same process in WCX, this unfolded picture displays the details of the interaction between the classical and quantum data flow. In particular, the equality
U<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msub><mi>U</mi><molspace="0em"rspace="0em">∗</mo></msub></mrow><annotationencoding="application/x−tex">U∗</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.8333em;vertical−align:−0.15em;"></span><spanclass="mord"><spanclass="mordmathnormal"style="margin−right:0.109em;">U</span><spanclass="msupsub"><spanclass="vlist−tvlist−t2"><spanclass="vlist−r"><spanclass="vlist"style="height:0.1757em;"><spanstyle="top:−2.55em;margin−left:−0.109em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">∗</span></span></span></span></span><spanclass="vlist−s"></span></span><spanclass="vlist−r"><spanclass="vlist"style="height:0.15em;"><span></span></span></span></span></span></span></span></span></span></span>U†U∗= is a consequence of unitarity of U in WCX, because the unitarity equation U∘XU†X=id, unfolded in the graphical language of C, is just
3 Indexed mixed quantum states and operations
The P-construction of definition 3.4 can be viewed as the hull of the W-construction in the sense that the canonical functor {\bf C}\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces{\cal P}{\bf C} factors
Mixed states arise from pure states by mixing. If f∈WCX then one can show that ωp(f)∈PC by relying on prop. 3.5. Conversely, one can also show that all mixed states arise in this manner. Hence, PC(A) is the ‘abstract’ convex closure of WC(A).
Repeating the above but now for the P-construction will allow us to extend our dictionary of quantum operations from pure to mixed ones.
The category PCX consists of
morphism f∈PCX(A,B) are of the form
for some φ∈(XA,VB), that is graphically:
φφ∗ The isomorphism CX≅CX induces the isomorphism PCX≅PCX, and the morphism fX∈PCX(A,B) depict graphically as:
ππ∗ for some π∈(VA,XB).
A mixed quantum state controlled by quantity X is an element of PCX(A) and a mixed quantum evolution controlled by quantity X is a morphism in PCX(A,B).
For generalized measurements or PMVMs we refer the reader to [CP08]. The reader can easily come up with many variations on the same theme.
Similarly as in the case of pure operations, protocols involving mixed operations can now be represented in PCX.
4 Conjoining classical interfaces
In section 3 we introduced classical operations and in section 4 we adjoined a classical interface to a quantum universe. Each classical interface lived in a different category. The task in this section is to conjoin all these classical interfaces of the quantum universe within one category, and to apply the classical operations between the classical interfaces. We will then be able to feed processed data obtained at one interface (= observable) as control data into another interface.
A C-indexed category is a contravariant functor from C into CAT [JP78]. The collection of classical interfaces together with the functions between them can be packaged as a Cf-indexed category as follows:
where each \mbox{\Large\wp}\varphi is an identity-on-objects-functor with the arrow part
In the graphical language of C we have:
\stackrel{{\scriptstyle\mbox{\Large\wp}\varphi}}{{\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@stopper}}}}}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces}}<span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi>Y</mi></mrow><annotation encoding="application/x-tex">Y</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.6833em;"></span><span class="mord mathnormal" style="margin-right:0.2222em;">Y</span></span></span></span></span>\varphi<span class="katex-display"><span class="katex"><span class="katex-mathml"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block"><semantics><mrow><mi>X</mi></mrow><annotation encoding="application/x-tex">X</annotation></semantics></math></span><span class="katex-html" aria-hidden="true"><span class="base"><span class="strut" style="height:0.6833em;"></span><span class="mord mathnormal" style="margin-right:0.0785em;">X</span></span></span></span></span>ff The well-definedness of ℘ and the reason for restricting to functions is explained in the following proposition.
Let \varphi:X\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces Y be a morphism between classical structures. With the above notations, \mbox{\Large\wp}\varphi(g):A^{*}XA\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces B^{*}B is in PCX for every g∈PCX if and only if φ is a classical map, and \mbox{\Large\wp}\varphi:{\cal P}{\bf C}_{Y}\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces{\cal P}{\bf C}_{X} is a functor if and only if φ is a function.
The first part of this proposition follows by proposition 3.5. For \mbox{\Large\wp}\varphi to preserve composition φ needs to preserve Δ, while for \mbox{\Large\wp}\varphi to preserve identities φ needs to preserve ⊤, and the converse also holds. We invite the reader to draw the appropriate pictures to verify this.
Given any indexed category X, its total category, which is obtained by applying the Grothendieck construction, pairs morphisms in the indexing category with morphisms in the indexed categories. In the case of ℘, it pairs functions on classical data with controlled completely positive maps on quantum data. Explicitly, we obtain a category
pairs ⟨X,A⟩ with X∈Cf and A\in\mbox{\Large\wp}X as objects, that is,
as morphisms of type \langle X,A\rangle\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces\langle Y,B\rangle, with φ∈Cf(X,Y) and g\in\mbox{\Large\wp}X(A,B) — since ℘ is an identity-on-objects-functor and hence we have \mbox{\Large\wp}\varphi(B)=B — i.e.
In the graphical calculus of C the morphism \mbox{\Large\wp}\varphi(g)\circ_{X}f is:
g<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>f</mi></mrow><annotationencoding="application/x−tex">f</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.8889em;vertical−align:−0.1944em;"></span><spanclass="mordmathnormal"style="margin−right:0.1076em;">f</span></span></span></span></span>φ<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>Y</mi></mrow><annotationencoding="application/x−tex">Y</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.6833em;"></span><spanclass="mordmathnormal"style="margin−right:0.2222em;">Y</span></span></span></span></span>X Proposition 4.9 SC is a symmetric monoidal category.
Since Cf is not a dagger category neither is SC.
From the composition law in SC it easily follows that we need to interpret a pair of morphisms \langle\varphi:X\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces Y,g\rangle as follows:
The components are a classical operation φ and a X-controlled quantum operation g, applied in parallel, hence each consuming one copy of the initially available classical data of type X. After this joint process the available classical data is now of type Y.
The ability to vary classical data types in particular enables erasure of classical data. For example, erasure of all classical data is just the cartesian map to I as the final object of Cf
while the erasure of part of it is just the cartesian projection
We can write down pairs consisting of measurement data obtained in a measurement and the corresponding ⟨bra∣ e.g.
where we can rely on the categorical axiomatisation of unbiased observables in [CD08, CPP08] to provide explicit categorical semantics for the X-, Y- and Z-measurements. In a picture we have:
Ψcluster<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msub><mo>+</mo><mi>Y</mi></msub></mrow><annotationencoding="application/x−tex">+Y</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.7333em;vertical−align:−0.15em;"></span><spanclass="mord"><spanclass="mbin">+</span><spanclass="msupsub"><spanclass="vlist−tvlist−t2"><spanclass="vlist−r"><spanclass="vlist"style="height:0.3283em;"><spanstyle="top:−2.55em;margin−left:0em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmathnormalmtight"style="margin−right:0.2222em;">Y</span></span></span></span></span><spanclass="vlist−s"></span></span><spanclass="vlist−r"><spanclass="vlist"style="height:0.15em;"><span></span></span></span></span></span></span></span></span></span></span>+Y<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msub><mo>+</mo><mi>X</mi></msub></mrow><annotationencoding="application/x−tex">+X</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.7333em;vertical−align:−0.15em;"></span><spanclass="mord"><spanclass="mbin">+</span><spanclass="msupsub"><spanclass="vlist−tvlist−t2"><spanclass="vlist−r"><spanclass="vlist"style="height:0.3283em;"><spanstyle="top:−2.55em;margin−left:0em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmathnormalmtight"style="margin−right:0.0785em;">X</span></span></span></span></span><spanclass="vlist−s"></span></span><spanclass="vlist−r"><spanclass="vlist"style="height:0.15em;"><span></span></span></span></span></span></span></span></span></span></span>+X<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msub><mo>−</mo><mi>Z</mi></msub></mrow><annotationencoding="application/x−tex">−Z</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.7333em;vertical−align:−0.15em;"></span><spanclass="mord"><spanclass="mbin">−</span><spanclass="msupsub"><spanclass="vlist−tvlist−t2"><spanclass="vlist−r"><spanclass="vlist"style="height:0.3283em;"><spanstyle="top:−2.55em;margin−left:0em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmathnormalmtight"style="margin−right:0.0715em;">Z</span></span></span></span></span><spanclass="vlist−s"></span></span><spanclass="vlist−r"><spanclass="vlist"style="height:0.15em;"><span></span></span></span></span></span></span></span></span></span></span>−Zf where the bra’s and Ψcluster each in fact correspond to two triangles:
Embedding measurements and controls, limitations and final remarks
Unfortunately, due to Proposition 4.8 which prohibits probabilistic classical data operations in SC, we cannot represent stochastic variables within SC. For this reason, we also cannot represent the quantum measurements except for in post-selected fashion as we did above. More concretely, measurement of classical data type Y ‘would be’ a composite
where m∈PCY(A,A) corresponds via
to a pure quantum measurement in the sense of Definition 4.5, if it wasn’t for the fact that \bot_{Y}:I\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces Y is not a function. Indeed:
= 5.1 Classicality = decoherence The characterisation in Proposition 3.5 of classical information flows in terms of decoherence indicates a type-wise distinction between classical and quantum data flows by requiring the former to be decoherent. In other words: we will characterise classical data by the fact that it is invariant under the application of corresponding decoherences.
For a morphism f:A^{*}XA\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces B^{*}YB where X and Y are classical structures the following are equivalent :
Moreover, there is an identity-on-objects isomorphism of categories:
where the categories Cc◯q and CΞq both have the same objects as SC and where the morphisms of type \langle X,A\rangle\lx@xy@svg{\hbox{\raise 0.0pt\hbox{\kern 3.0pt\hbox{\ignorespaces\immediate\immediate\immediate{\ignorespaces{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}{\immediate}\hbox{\vtop{{\immediate}\kern 0.0pt\offinterlineskip\halign{\entry@#!@&&\entry@@#!@\cr{\immediate}{\immediate}{\immediate}&{\immediate}{\immediate}{\immediate}\crcr}{\immediate}}}{\immediate}{\immediate}\ignorespaces{\immediate}{\immediate}\ignorespaces}\immediate\immediate\ignorespaces\ignorespaces\ignorespaces{\hbox{\kern-3.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{\ignorespaces\ignorespaces\ignorespaces\ignorespaces}}}}}}}}\ignorespaces\ignorespaces\ignorespaces\ignorespaces{}{\hbox{\lx@xy@droprule}}\ignorespaces{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\lx@xy@tip{1}\lx@xy@tip{-1}}}}}}{\hbox{\lx@xy@droprule}}{\hbox{\lx@xy@droprule}}{\hbox{\kern 21.0pt\raise 0.0pt\hbox{\hbox{\kern 0.0pt\raise 0.0pt\hbox{\hbox{\kern 3.0pt\raise 0.0pt\hbox{\textstyle{}}}}}}}}}}}}\ignorespaces\langle Y,B\rangle are respectively those of form gc◯X,Y and fΞX,Y subject to the conditions stipulated above.
These morphisms are graphically represented by:
gfΞX,Y=fgc◯X,Y= Proposition 5.2 The category Cc◯q is dagger compact.
The category SC canonically embeds in Cc◯q via the identity-on-objects-functor
f<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><mi>φ</mi></mrow><annotationencoding="application/x−tex">φ</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.625em;vertical−align:−0.1944em;"></span><spanclass="mordmathnormal">φ</span></span></span></span></span>fφ, Probabilistic operations Cc◯ also live in Cc◯q via the functor
and one easily verifies that all measurements and any other operations defined in this paper all live within Cc◯q.
In the previous example we can now replace the ‘conditional’ measurements by genuine measurements. We can also represent controlled measurements which depend on outcomes of other measurements:
Ψcluster<spanclass="katex−display"><spanclass="katex"><spanclass="katex−mathml"><mathxmlns="http://www.w3.org/1998/Math/MathML"display="block"><semantics><mrow><msub><mi>m</mi><mn>1</mn></msub></mrow><annotationencoding="application/x−tex">m1</annotation></semantics></math></span><spanclass="katex−html"aria−hidden="true"><spanclass="base"><spanclass="strut"style="height:0.5806em;vertical−align:−0.15em;"></span><spanclass="mord"><spanclass="mordmathnormal">m</span><spanclass="msupsub"><spanclass="vlist−tvlist−t2"><spanclass="vlist−r"><spanclass="vlist"style="height:0.3011em;"><spanstyle="top:−2.55em;margin−left:0em;margin−right:0.05em;"><spanclass="pstrut"style="height:2.7em;"></span><spanclass="sizingreset−size6size3mtight"><spanclass="mordmtight"><spanclass="mordmtight">1</span></span></span></span></span><spanclass="vlist−s"></span></span><spanclass="vlist−r"><spanclass="vlist"style="height:0.15em;"><span></span></span></span></span></span></span></span></span></span></span>m2m3 as well as the measurements which depend on a coin-toss:
If the ultimate goal of categorical quantum mechanics is a full categorical description of the interaction between classical and quantum information flows, then the category SC built in this paper is not big enough. Indeed, it does not capture probabilistic operations on classical data as well as on quantum measurements. On the other hand, Cc◯q is ‘not satisfactory’ for a number of reasons, including:
Cc◯q does not encode the properties of classical data flow in a structural manner in a similar manner in which co-Kleilsli composition in SC embodies clone-ability and delete-ability of classical data.
Cc◯q lacks the clear separation between classical operations and classically controlled quantum operations of SC.
So why do the constructions in Section 4 prohibit probabilistic classical data? The answer is simply that while deterministic classical data can be cloned, probabilistic classical data can’t. Moreover, the composition mechanism underlying Kleisli indexing — and consequently the interaction between classical and quantum data in SC — allows us to distinguish classical data from quantum data because only the former can be cloned.
If we want to separate probabilistic classical data from quantum data we should not appeal to their distinct behaviour under cloning but to their distinct behaviour under broadcasting [BCFJS96]. Solving the equation in the title of this section remains an open challenge.