Categorical quantum mechanics Chris Heunen 1 / 76 Categorical - - PowerPoint PPT Presentation

categorical quantum mechanics
SMART_READER_LITE
LIVE PREVIEW

Categorical quantum mechanics Chris Heunen 1 / 76 Categorical - - PowerPoint PPT Presentation

Categorical quantum mechanics Chris Heunen 1 / 76 Categorical Quantum Mechanics? Study of compositional nature of (physical) systems Primitive notion: forming compound systems 2 / 76 Categorical Quantum Mechanics? Study of


slide-1
SLIDE 1

Categorical quantum mechanics

Chris Heunen

1 / 76

slide-2
SLIDE 2

Categorical Quantum Mechanics?

◮ Study of compositional nature of (physical) systems

Primitive notion: forming compound systems

2 / 76

slide-3
SLIDE 3

Categorical Quantum Mechanics?

◮ Study of compositional nature of (physical) systems

Primitive notion: forming compound systems

◮ Operational yet algebraic

◮ Why non-unit state vectors? ◮ Why non-hermitean operators? ◮ Why complex numbers? 2 / 76

slide-4
SLIDE 4

Categorical Quantum Mechanics?

◮ Study of compositional nature of (physical) systems

Primitive notion: forming compound systems

◮ Operational yet algebraic

◮ Why non-unit state vectors? ◮ Why non-hermitean operators? ◮ Why complex numbers?

◮ Powerful graphical calculus

2 / 76

slide-5
SLIDE 5

Categorical Quantum Mechanics?

◮ Study of compositional nature of (physical) systems

Primitive notion: forming compound systems

◮ Operational yet algebraic

◮ Why non-unit state vectors? ◮ Why non-hermitean operators? ◮ Why complex numbers?

◮ Powerful graphical calculus ◮ Allows different interpretation in many different fields

◮ Physics: quantum theory, quantum information theory ◮ Computer science: logic, topology ◮ Mathematics: representation theory, quantum algebra 2 / 76

slide-6
SLIDE 6

3 / 76

slide-7
SLIDE 7

4 / 76

slide-8
SLIDE 8

Outline

Lecture 1:

◮ monoidal categories: graphical calculus ◮ dual objects: entanglement ◮ (co)monoids: no-cloning

Lecture 2:

◮ Frobenius structures: observables ◮ bialgebras: complementarity ◮ complete positivity: mixed states

5 / 76

slide-9
SLIDE 9

Part I Monoidal categories

6 / 76

slide-10
SLIDE 10

Category = systems and processes:

◮ physical systems, and physical processes governing them; ◮ data types, and algorithms manipulating them; ◮ algebraic structures, and structure-preserving functions; ◮ logical propositions, and implications between them.

7 / 76

slide-11
SLIDE 11

Category = systems and processes:

◮ physical systems, and physical processes governing them; ◮ data types, and algorithms manipulating them; ◮ algebraic structures, and structure-preserving functions; ◮ logical propositions, and implications between them.

Monoidal category = category + parallelism:

◮ independent physical systems evolve simultaneously; ◮ running computer algorithms in parallel; ◮ products or sums of algebraic or geometric structures; ◮ using proofs of P and Q to prove conjunction (P and Q).

7 / 76

slide-12
SLIDE 12

A category C is monoidal when equipped with:

◮ a tensor product functor

⊗: C×C C

◮ a unit object

I ∈ Ob(C)

◮ an associator natural isomorphism

(A ⊗ B) ⊗ C

αA,B,C A ⊗ (B ⊗ C) ◮ a left unitor natural isomorphism

I ⊗ A λA A

◮ a right unitor natural isomorphism

A ⊗ I ρA A

8 / 76

slide-13
SLIDE 13

This data must satisfy the triangle and pentagon equations:

(A ⊗ I) ⊗ B A ⊗ (I ⊗ B) A ⊗ B ρA ⊗ idB idA ⊗ λB αA,I,B

  • (A ⊗ B) ⊗ C
  • ⊗ D
  • A ⊗ (B ⊗ C)
  • ⊗ D

A ⊗

  • (B ⊗ C) ⊗ D
  • A ⊗
  • B ⊗ (C ⊗ D)
  • (A ⊗ B) ⊗ (C ⊗ D)

αA,B,C ⊗ idD αA,B⊗C,D idA ⊗ αB,C,D αA⊗B,C,D αA,B,C⊗D

slide-14
SLIDE 14

This data must satisfy the triangle and pentagon equations:

(A ⊗ I) ⊗ B A ⊗ (I ⊗ B) A ⊗ B ρA ⊗ idB idA ⊗ λB αA,I,B

  • (A ⊗ B) ⊗ C
  • ⊗ D
  • A ⊗ (B ⊗ C)
  • ⊗ D

A ⊗

  • (B ⊗ C) ⊗ D
  • A ⊗
  • B ⊗ (C ⊗ D)
  • (A ⊗ B) ⊗ (C ⊗ D)

αA,B,C ⊗ idD αA,B⊗C,D idA ⊗ αB,C,D αA⊗B,C,D αA,B,C⊗D

Theorem (coherence for monoidal categories): If the pentagon and triangle equations hold, then so does any well-typed equation built from α, λ, ρ and their inverses using ⊗, ◦, and id.

9 / 76

slide-15
SLIDE 15

Example: Hilbert spaces

Hilbert spaces and bounded linear maps form a monoidal category:

◮ tensor product is the tensor product of Hilbert spaces ◮ unit object is one-dimensional Hilbert space C ◮ left unitors C ⊗ H λH H are unique linear maps with 1 ⊗ u → u ◮ right unitors H ⊗ C ρH H are unique linear maps with u ⊗ 1 → u ◮ associators (H ⊗ J) ⊗ K αH,J,K H ⊗ (J ⊗ K) are

unique linear maps with (u ⊗ v) ⊗ w → u ⊗ (v ⊗ w)

10 / 76

slide-16
SLIDE 16

Example: sets and functions

Sets and functions form a monoidal category Set:

◮ tensor product is Cartesian product of sets ◮ unit object is a chosen singleton set {•} ◮ left unitors I × A λA A are (•, a) → a ◮ right unitors A × I ρA A are (a, •) → a ◮ associators (A × B) × C αA,B,C A × (B × C) are

functions

  • (a, b), c
  • a, (b, c)
  • (Other tensor products exist.)

11 / 76

slide-17
SLIDE 17

Example: sets and relations

A relation A R B between sets is a subset R ⊆ A × B

A B R

12 / 76

slide-18
SLIDE 18

Example: sets and relations

A relation A R B between sets is a subset R ⊆ A × B

A B R ; = B C S A C S ◦ R

Different notion of process: nondeterministic evolution of states

12 / 76

slide-19
SLIDE 19

Example: sets and relations

A relation A R B between sets is a subset R ⊆ A × B

A B R

 1 1 1 1   Composition is matrix multiplication, with OR and AND for + and ×.

12 / 76

slide-20
SLIDE 20

Example: sets and relations

Sets and relations form a monoidal category Rel:

◮ tensor product is Cartesian product of sets,

acting on relations as: (a, c)(R × S)(b, d) iff aRb and cSd

◮ unit object is a chosen singleton set = {•} ◮ associators (A × B) × C αA,B,C A × (B × C) are

catRelations

  • (a, b), c
  • a, (b, c)
  • ◮ left unitors I × A λA A are given by (•, a) ∼ a

◮ right unitors A × I ρA A are given by (a, •) ∼ a

13 / 76

slide-21
SLIDE 21

Example: sets and relations

Sets and relations form a monoidal category Rel:

◮ tensor product is Cartesian product of sets,

acting on relations as: (a, c)(R × S)(b, d) iff aRb and cSd

◮ unit object is a chosen singleton set = {•} ◮ associators (A × B) × C αA,B,C A × (B × C) are

catRelations

  • (a, b), c
  • a, (b, c)
  • ◮ left unitors I × A λA A are given by (•, a) ∼ a

◮ right unitors A × I ρA A are given by (a, •) ∼ a

Cartesian product is not a categorical product in Rel: If Set is classical, and Hilb is quantum, Rel is ‘in the middle’

13 / 76

slide-22
SLIDE 22

Graphical calculus

For A f B and B g C, draw their composition A g◦f B as

A B C f g

14 / 76

slide-23
SLIDE 23

Graphical calculus

For A f B and B g C, draw their composition A g◦f B as

A B C f g

For A f B and C g D, draw their tensor product A ⊗ C f⊗g B ⊗ D as

f g B A D C

“Time” runs upwards, “space” runs sideways

14 / 76

slide-24
SLIDE 24

Graphical calculus

The tensor unit is drawn as the empty diagram:

15 / 76

slide-25
SLIDE 25

Graphical calculus

The tensor unit is drawn as the empty diagram: Unitors are also not drawn:

A A A B C

λA ρA αA,B,C Coherence is essential: as there can only be a single morphism built from associators and unitors of given type, it doesn’t matter that their depiction encodes no information

15 / 76

slide-26
SLIDE 26

Graphical calculus

For example, interchange law: (g ◦ f) ⊗ (j ◦ h) = (g ⊗ j) ◦ (f ⊗ h)

16 / 76

slide-27
SLIDE 27

Graphical calculus

For example, interchange law: (g ◦ f) ⊗ (j ◦ h) = (g ⊗ j) ◦ (f ⊗ h)

f g h j C B A F E D                                                            

=

                                f g h j C B A F E D

16 / 76

slide-28
SLIDE 28

Graphical calculus: sound and complete

Think of diagram as within rectangular region of Rn, with wires terminating at upper and lower boundaries only, morphisms as

  • points. Two diagrams are isotopic when one can be deformed

continuously into the other, keeping the boundaries fixed.

17 / 76

slide-29
SLIDE 29

Graphical calculus: sound and complete

Think of diagram as within rectangular region of Rn, with wires terminating at upper and lower boundaries only, morphisms as

  • points. Two diagrams are isotopic when one can be deformed

continuously into the other, keeping the boundaries fixed. Theorem (correctness): A well-formed equation between morphisms in a monoidal category follows from the axioms iff it holds in the graphical calculus up to planar isotopy.

17 / 76

slide-30
SLIDE 30

Graphical calculus: sound and complete

Think of diagram as within rectangular region of Rn, with wires terminating at upper and lower boundaries only, morphisms as

  • points. Two diagrams are isotopic when one can be deformed

continuously into the other, keeping the boundaries fixed. Theorem (correctness): A well-formed equation between morphisms in a monoidal category follows from the axioms iff it holds in the graphical calculus up to planar isotopy. Soundness: algebraic equality ⇒ graphical isotopy Completeness: algebraic equality ⇐ graphical isotopy

17 / 76

slide-31
SLIDE 31

States

A state of an object A in a monoidal category is a morphism I A.

a A

Tensor unit is trivial system; state is way to bring A into existence

18 / 76

slide-32
SLIDE 32

States

A state of an object A in a monoidal category is a morphism I A.

a A

Tensor unit is trivial system; state is way to bring A into existence

◮ in Hilb: linear functions C

H, correspond to elements of H

◮ in Set: functions {•}

A, correspond to elements of A

◮ in Rel: relations {•} R A, correspond to subsets of A

18 / 76

slide-33
SLIDE 33

Joint states

A morphism I c A ⊗ B is a joint state.

c B A

19 / 76

slide-34
SLIDE 34

Joint states

A morphism I c A ⊗ B is a joint state. It is a product state when:

c B A

=

a b B A

19 / 76

slide-35
SLIDE 35

Joint states

A morphism I c A ⊗ B is a joint state. It is a product state when:

c B A

=

a b B A

It is entangled when it is not a product state

19 / 76

slide-36
SLIDE 36

Joint states

A morphism I c A ⊗ B is a joint state. It is a product state when:

c B A

=

a b B A

It is entangled when it is not a product state

◮ entangled states in Hilb: vectors of H ⊗ K with Schmidt rank > 1 ◮ entangled states in Set: don’t exist ◮ entangled states in Rel: non-square subsets of A × B

19 / 76

slide-37
SLIDE 37

Braiding

A monoidal category is braided when equipped with natural iso A ⊗ B

σA,B B ⊗ A

satisfying the hexagon equations

(A ⊗ B) ⊗ C A ⊗ (B ⊗ C) (B ⊗ C) ⊗ A B ⊗ (C ⊗ A) (B ⊗ A) ⊗ C B ⊗ (A ⊗ C) α−1

A,B,C

σA,B⊗C α−1

B,C,A

σA,B ⊗ idC αB,A,C idB ⊗ σA,C A ⊗ (B ⊗ C) (A ⊗ B) ⊗ C C ⊗ (A ⊗ B) (C ⊗ A) ⊗ B A ⊗ (C ⊗ B) (A ⊗ C) ⊗ B αA,B,C σA⊗B,C αC,A,B idA ⊗ σB,C α−1

A,C,B

σA,C ⊗ idB

20 / 76

slide-38
SLIDE 38

Braiding

Draw σ as and its inverse as

21 / 76

slide-39
SLIDE 39

Braiding

Invertibility: = = Naturality:

f g

=

g f f g

=

g f

Hexagon: = =

21 / 76

slide-40
SLIDE 40

Braiding

Invertibility: = = Naturality:

f g

=

g f f g

=

g f

Hexagon: = = Theorem (correctness): A well-formed equation between morphisms in a braided monoidal category follows from the axioms iff it holds in the graphical language up to 3-dimensional isotopy.

21 / 76

slide-41
SLIDE 41

Symmetry

A braided monoidal category is symmetric when σB,A ◦ σA,B = idA⊗B Graphically: no knots =

22 / 76

slide-42
SLIDE 42

Symmetry

A braided monoidal category is symmetric when σB,A ◦ σA,B = idA⊗B Graphically: no knots = Theorem (correctness): A well-formed equation between morphisms in a symmetric monoidal category follows from the axioms iff it holds in graphical language up to 4-dimensional isotopy.

◮ in Hilb: linear extension of a ⊗ b → b ⊗ a ◮ in Set: function (a, b) → (b, a) ◮ in Rel: relation (a, b) ∼ (b, a)

22 / 76

slide-43
SLIDE 43

Scalars

A scalar in a monoidal category is a morphism I a I

a

23 / 76

slide-44
SLIDE 44

Scalars

A scalar in a monoidal category is a morphism I a I

a

Lemma: in a monoidal category, scalar composition is commutative Proof: either algebraically:

I I I ⊗ I I ⊗ I I I I ⊗ I I ⊗ I a b b a ⊗ idI λI ρI ρ−1

I

λ−1

I

idI ⊗ b a ⊗ idI idI ⊗ b λ−1

I

ρ−1

I

a λI ρI

23 / 76

slide-45
SLIDE 45

Scalars

A scalar in a monoidal category is a morphism I a I

a

Lemma: in a monoidal category, scalar composition is commutative Proof: or graphically:

a b

=

b a

23 / 76

slide-46
SLIDE 46

Scalar multiplication

Scalar multiplication A a•f B of scalar I a I and morphism A f B

s f

satisfies many familiar properties in any monoidal category:

◮ idI • f = f ◮ a • b = a ◦ b ◮ a • (b • f) = (a • b) • f ◮ (b • g) ◦ (a • f) = (b ◦ a) • (g ◦ f)

24 / 76

slide-47
SLIDE 47

Scalar multiplication

Scalar multiplication A a•f B of scalar I a I and morphism A f B

s f

satisfies many familiar properties in any monoidal category:

◮ idI • f = f ◮ a • b = a ◦ b ◮ a • (b • f) = (a • b) • f ◮ (b • g) ◦ (a • f) = (b ◦ a) • (g ◦ f)

In our examples:

◮ in Hilb: a • f is the morphism x → af(x) ◮ in Set: id1 • f = f is trivial ◮ in Rel: true • R = R and false • R = ∅

24 / 76

slide-48
SLIDE 48

Dagger

A dagger on a category C is a contravariant functor †: C C satisfying A† = A on objects and f †† = f on morphisms.

◮ Hilb is a dagger category using adjoints ◮ Rel is a dagger category using converse: bR†a iff aRb ◮ Set is not a dagger category

25 / 76

slide-49
SLIDE 49

Dagger

A dagger on a category C is a contravariant functor †: C C satisfying A† = A on objects and f †† = f on morphisms.

◮ Hilb is a dagger category using adjoints ◮ Rel is a dagger category using converse: bR†a iff aRb ◮ Set is not a dagger category

Graphically: flip about horizontal axis

A B f †

B A f †

25 / 76

slide-50
SLIDE 50

Dagger

A dagger on a category C is a contravariant functor †: C C satisfying A† = A on objects and f †† = f on morphisms.

◮ Hilb is a dagger category using adjoints ◮ Rel is a dagger category using converse: bR†a iff aRb ◮ Set is not a dagger category

Graphically: flip about horizontal axis

A B f †

B A f

25 / 76

slide-51
SLIDE 51

Dagger

A morphism f in a dagger category is:

◮ self-adjoint when f = f † ◮ unitary when f † ◦ f = id and f ◦ f † = id ◮ positive when f = g† ◦ g for some g

26 / 76

slide-52
SLIDE 52

Dagger

A morphism f in a dagger category is:

◮ self-adjoint when f = f † ◮ unitary when f † ◦ f = id and f ◦ f † = id ◮ positive when f = g† ◦ g for some g

In a monoidal dagger category:

◮ (f ⊗ g)† = f † ⊗ g† ◮ the associators and unitors are unitary

26 / 76

slide-53
SLIDE 53

Dagger

A morphism f in a dagger category is:

◮ self-adjoint when f = f † ◮ unitary when f † ◦ f = id and f ◦ f † = id ◮ positive when f = g† ◦ g for some g

In a monoidal dagger category:

◮ (f ⊗ g)† = f † ⊗ g† ◮ the associators and unitors are unitary

In a braided/symmetric monoidal dagger category, the braiding is additionally unitary

26 / 76

slide-54
SLIDE 54

Part II Dual objects

27 / 76

slide-55
SLIDE 55

Dual objects

An object L is left-dual to an object R, and R is right-dual to L, written L ⊣ R, when there are morphisms I η R ⊗ L and L ⊗ R ε I with:

L L ⊗ I L ⊗ (R ⊗ L) L I ⊗ L (L ⊗ R) ⊗ L ρ−1

L

idL idL ⊗ η α−1

L,R,L

ε ⊗ idL λL R I ⊗ R (R ⊗ L) ⊗ R R R ⊗ I R ⊗ (L ⊗ R) λ−1

R

idR η ⊗ idR αR,L,R idR ⊗ ε ρR

28 / 76

slide-56
SLIDE 56

Dual objects

An object L is left-dual to an object R, and R is right-dual to L, written L ⊣ R, when there are morphisms I η R ⊗ L and L ⊗ R ε I with: = = where we draw η and ε as:

R L L R

28 / 76

slide-57
SLIDE 57

Dual objects: examples

Every finite-dimensional Hilbert space H is both right dual and left dual to its dual Hilbert space H∗:

◮ cap H ⊗ H∗

C is evaluation: |φ ⊗ ψ| → ψ|φ

◮ cup C

H∗ ⊗ H is maximally entangled state: 1 →

ii| ⊗ |i for any orthonormal basis {|i}

Infinite-dimensional Hilbert spaces do not have duals

29 / 76

slide-58
SLIDE 58

Dual objects: examples

Every finite-dimensional Hilbert space H is both right dual and left dual to its dual Hilbert space H∗:

◮ cap H ⊗ H∗

C is evaluation: |φ ⊗ ψ| → ψ|φ

◮ cup C

H∗ ⊗ H is maximally entangled state: 1 →

ii| ⊗ |i for any orthonormal basis {|i}

Infinite-dimensional Hilbert spaces do not have duals In Rel, every object is self-dual:

◮ cap A × A

1 is • ∼ (a, a) for all a ∈ A

◮ cup 1

A × A is (a, a) ∼ •

29 / 76

slide-59
SLIDE 59

Map-state duality

The category Set only has duals for singletons. The name I f A∗ ⊗ B and coname A ⊗ B∗ f I of a morphism A f B, given dual objects A ⊣ A∗ and B ⊣ B∗, are

B A∗ f A B∗ f

30 / 76

slide-60
SLIDE 60

Map-state duality

The category Set only has duals for singletons. The name I f A∗ ⊗ B and coname A ⊗ B∗ f I of a morphism A f B, given dual objects A ⊣ A∗ and B ⊣ B∗, are

B A∗ f A B∗ f

Conversely,

A B f

=

B A f

Proof: There is only one function A 1, so all conames A ⊗ B∗ 1 are equal, so all functions A B are equal.

30 / 76

slide-61
SLIDE 61

Dual objects: properties

Robustly defined:

◮ Suppose L ⊣ R. Then L ⊣ R′ iff R ≃ R′. ◮ If (L, R, η, ε) and (L, R, η, ε′) are dualities, then ε = ε′.

31 / 76

slide-62
SLIDE 62

Dual objects: properties

Robustly defined:

◮ Suppose L ⊣ R. Then L ⊣ R′ iff R ≃ R′. ◮ If (L, R, η, ε) and (L, R, η, ε′) are dualities, then ε = ε′.

Monoidal:

◮ Always I ⊣ I. ◮ If L ⊣ R and L′ ⊣ R′, then L ⊗ L′ ⊣ R′ ⊗ R. L R L′ R′

=

L L′

=

L L′

31 / 76

slide-63
SLIDE 63

Dual objects: properties

Robustly defined:

◮ Suppose L ⊣ R. Then L ⊣ R′ iff R ≃ R′. ◮ If (L, R, η, ε) and (L, R, η, ε′) are dualities, then ε = ε′.

Monoidal:

◮ Always I ⊣ I. ◮ If L ⊣ R and L′ ⊣ R′, then L ⊗ L′ ⊣ R′ ⊗ R.

Symmetric:

◮ If L ⊣ R in a braided monoidal category, then also R ⊣ L.

= =

31 / 76

slide-64
SLIDE 64

Duals functor

For A f B and A ⊣ A∗, B ⊣ B∗, the right dual B∗ f∗ A∗ is defined as:

A∗ B∗ f ∗

:=

A∗ B∗ f

32 / 76

slide-65
SLIDE 65

Duals functor

For A f B and A ⊣ A∗, B ⊣ B∗, the right dual B∗ f∗ A∗ is defined as:

A∗ B∗ f ∗

:=

A∗ B∗ f

=:

A∗ B∗ f

32 / 76

slide-66
SLIDE 66

Duals functor

For A f B and A ⊣ A∗, B ⊣ B∗, the right dual B∗ f∗ A∗ is defined as:

A∗ B∗ f ∗

:=

A∗ B∗ f

=:

A∗ B∗ f

Examples:

◮ in FHilb: usual dual f ∗ : K∗

H∗ given by f ∗(e) = e ◦ f

◮ in Rel: R∗ = R†

32 / 76

slide-67
SLIDE 67

Duals functor: properties

Lemma: (g ◦ f)∗ = f ∗ ◦ g∗, and

f

=

f f

=

f

33 / 76

slide-68
SLIDE 68

Duals functor: properties

Lemma: (g ◦ f)∗ = f ∗ ◦ g∗, and

f

=

f f

=

f

Lemma: A∗∗ ⊗ B∗∗ ≃ (A ⊗ B)∗∗

A∗∗ B∗∗ (A ⊗ B)∗∗ εA⊗B η(A⊗B)∗

33 / 76

slide-69
SLIDE 69

Compact categories

A symmetric monoidal category is compact when every object has a (simultaneously left and right) dual. Theorem (correctness): A well-formed equation between morphisms in a compact category follows from the axioms if and only if it holds in the graphical language up to spatial oriented isotopy.

f

34 / 76

slide-70
SLIDE 70

Compact categories

A symmetric monoidal category is compact when every object has a (simultaneously left and right) dual. Theorem (correctness): A well-formed equation between morphisms in a compact category follows from the axioms if and only if it holds in the graphical language up to spatial oriented isotopy.

f

=

f

34 / 76

slide-71
SLIDE 71

Compact categories

A symmetric monoidal category is compact when every object has a (simultaneously left and right) dual. Theorem (correctness): A well-formed equation between morphisms in a compact category follows from the axioms if and only if it holds in the graphical language up to spatial oriented isotopy.

f

=

f

=

f

34 / 76

slide-72
SLIDE 72

Compact categories

A symmetric monoidal category is compact when every object has a (simultaneously left and right) dual. Theorem (correctness): A well-formed equation between morphisms in a compact category follows from the axioms if and only if it holds in the graphical language up to spatial oriented isotopy.

f

=

f

=

f

=

f

34 / 76

slide-73
SLIDE 73

Dagger dual objects

Lemma: In a monoidal dagger category, L ⊣ R ⇔ R ⊣ L.

35 / 76

slide-74
SLIDE 74

Dagger dual objects

Lemma: In a monoidal dagger category, L ⊣ R ⇔ R ⊣ L. In a symmetric monoidal dagger category, a dagger dual A ⊣ A∗ has:

η

=

ε

35 / 76

slide-75
SLIDE 75

Dagger dual objects

Lemma: In a monoidal dagger category, L ⊣ R ⇔ R ⊣ L. In a symmetric monoidal dagger category, a dagger dual A ⊣ A∗ has:

η

=

ε

Lemma: Dagger dualities correspond to maximally entangled states

η η

=

ε η

=

ε η

=

35 / 76

slide-76
SLIDE 76

Dagger dual objects

Lemma: In a monoidal dagger category, L ⊣ R ⇔ R ⊣ L. In a symmetric monoidal dagger category, a dagger dual A ⊣ A∗ has:

η

=

ε

Lemma: Dagger dualities correspond to maximally entangled states

η η

=

ε η

=

ε η

= Dagger duals, and hence maximally entangled states, are unique up to unique unitary

35 / 76

slide-77
SLIDE 77

Compact dagger categories

A compact dagger category is both compact and dagger, and duals are dagger duals.

=

=

36 / 76

slide-78
SLIDE 78

Compact dagger categories

A compact dagger category is both compact and dagger, and duals are dagger duals.

=

= Lemma: Duals and daggers commute (f ∗)† =     

f

    

=

f

=

f

= (f †)∗ Conjugation is the functor (−)∗ := (−)∗† = (−)†∗

36 / 76

slide-79
SLIDE 79

Conjugation

f f

f∗ : A∗ B∗ f : A B conjugation

f f

f ∗ : B∗ A∗ f † : B A dual dagger

37 / 76

slide-80
SLIDE 80

Traces

The trace of A f A is the scalar

f

38 / 76

slide-81
SLIDE 81

Traces

The trace of A f A is the scalar

f

Examples:

◮ in FHilb, it is the ordinary trace ◮ in Rel, it detects fixed points

38 / 76

slide-82
SLIDE 82

Traces

The trace of A f A is the scalar

f

Examples:

◮ in FHilb, it is the ordinary trace ◮ in Rel, it detects fixed points

Lemma: Trace is cyclic, Tr(f ⊗ g) = Tr(f) ◦ Tr(g), and Tr(f †) = Tr(f)†

f g

=

f g

=

g f

38 / 76

slide-83
SLIDE 83

Dimension

The dimension of A is the scalar dim(A) := Tr(idA)

A

Lemma:

◮ dim(I) = idI ◮ dim(A ⊗ B) = dim(A) ◦ dim(B) ◮ if A ≃ B then dim(A) = dim(B)

39 / 76

slide-84
SLIDE 84

Dimension

The dimension of A is the scalar dim(A) := Tr(idA)

A

Lemma:

◮ dim(I) = idI ◮ dim(A ⊗ B) = dim(A) ◦ dim(B) ◮ if A ≃ B then dim(A) = dim(B) ◮ infinite-dimensional Hilbert spaces do not have duals

39 / 76

slide-85
SLIDE 85

Teleportation

In FHilb:

◮ begin with a single system L ◮ prepare a joint system R ⊗ L in a maximally entangled state ◮ perform a joint measurement on the first two systems ◮ perform a unitary operation on the remaining system L L Ui Ui

40 / 76

slide-86
SLIDE 86

Teleportation

In FHilb:

◮ begin with a single system L ◮ prepare a joint system R ⊗ L in a maximally entangled state ◮ perform a joint measurement on the first two systems ◮ perform a unitary operation on the remaining system L L Ui Ui

=

L L Ui Ui

40 / 76

slide-87
SLIDE 87

Teleportation

In FHilb:

◮ begin with a single system L ◮ prepare a joint system R ⊗ L in a maximally entangled state ◮ perform a joint measurement on the first two systems ◮ perform a unitary operation on the remaining system L L Ui Ui

=

L L Ui Ui

=

L L

40 / 76

slide-88
SLIDE 88

Teleportation

In FHilb:

◮ begin with a single system L ◮ prepare a joint system R ⊗ L in a maximally entangled state ◮ perform a joint measurement on the first two systems ◮ perform a unitary operation on the remaining system L L Ui Ui

=

L L Ui Ui

=

L L

=

L L

40 / 76

slide-89
SLIDE 89

Teleportation

In FHilb:

◮ begin with a single system L ◮ prepare a joint system R ⊗ L in a maximally entangled state ◮ perform a joint measurement on the first two systems ◮ perform a unitary operation on the remaining system L L Ui Ui

=

L L Ui Ui

=

L L

=

L L

In Rel: encrypted communication using one-time pad

40 / 76

slide-90
SLIDE 90

Part III (Co)monoids

41 / 76

slide-91
SLIDE 91

Comonoids

A comonoid in a monoidal category is an object A with comultiplication A d A ⊗ A and counit A e I satisfying

d d

=

d d e d

= =

e d

42 / 76

slide-92
SLIDE 92

Comonoids

A comonoid in a monoidal category is an object A with comultiplication A A ⊗ A and counit A I satisfying = = = Examples:

◮ in Set, any object has unique cocommutative comonoid

with comultiplication a → (a, a) and counit a → •

◮ in Rel, any group forms a comonoid

with comultiplication g ∼ (h, h−1g) and counit 1 ∼ •

◮ in FHilb, any choice of basis {ei} gives cocommutative comonoid

with comultiplication ei → ei ⊗ ei and counit ei → 1

42 / 76

slide-93
SLIDE 93

Monoids

A monoid in a monoidal category consists of maps I A A ⊗ A satisfying associativity and unitality. Lemma: In braided monoidal category, two (co)monoids combine Lemma: In monoidal dagger category, monoid gives comonoid

43 / 76

slide-94
SLIDE 94

Pair of pants

Map-state duality: composition A g◦f A becomes I g◦f A∗ ⊗ A.

g f

=

g ◦ f

44 / 76

slide-95
SLIDE 95

Pair of pants

Map-state duality: composition A g◦f A becomes I g◦f A∗ ⊗ A. Lemma: If A ⊣ A∗, then A∗ ⊗ A is pair of pants monoid

A A A A A A A A

44 / 76

slide-96
SLIDE 96

Pair of pants

Map-state duality: composition A g◦f A becomes I g◦f A∗ ⊗ A. Lemma: If A ⊣ A∗, then A∗ ⊗ A is pair of pants monoid

A A A A A A A A

Example: Pair of pants on Cn in FHilb is n-by-n matrices Mn Proof: define (Cn)∗ ⊗ Cn → Mn by j| ⊗ |i → eij

44 / 76

slide-97
SLIDE 97

Pair of pants: one size fits all

Map-state duality: composition A g◦f A becomes I g◦f A∗ ⊗ A. Lemma: If A ⊣ A∗, then A∗ ⊗ A is pair of pants monoid

A A A A A A A A

Example: Pair of pants on Cn in FHilb is n-by-n matrices Mn Proof: define (Cn)∗ ⊗ Cn → Mn by j| ⊗ |i → eij Proposition: Any monoid (A, , ) embeds into (A∗ ⊗ A, , )

R

=

44 / 76

slide-98
SLIDE 98

Cloning

A braided monoidal category has cloning if there is natural A dA A ⊗ A with cocommutativity, coassociativity, dI = ρI, and

A B A B B A dA dB

=

A B B A B A dA⊗B

45 / 76

slide-99
SLIDE 99

Cloning

A braided monoidal category has cloning if there is natural A dA A ⊗ A with cocommutativity, coassociativity, dI = ρI, and

A B A B B A dA dB

=

A B B A B A dA⊗B

Set has cloning, but compact categories like Rel or FHilb cannot Lemma: If compact category has cloning, then

A∗ A A∗ A

=

A∗ A A∗ A

45 / 76

slide-100
SLIDE 100

Cloning

A braided monoidal category has cloning if there is natural A dA A ⊗ A with cocommutativity, coassociativity, dI = ρI, and

A B A B B A dA dB

=

A B B A B A dA⊗B

Set has cloning, but compact categories like Rel or FHilb cannot Lemma: If compact category has cloning, then ... Proof: First, consider the following equality (∗).

A∗ A A∗ A = A∗ A A∗ A dI

=

A∗ A A A∗ dA∗⊗A

=

A∗ A A A∗ dA∗ dA

45 / 76

slide-101
SLIDE 101

Cloning

A braided monoidal category has cloning if there is natural A dA A ⊗ A with cocommutativity, coassociativity, dI = ρI, and

A B A B B A dA dB

=

A B B A B A dA⊗B

Set has cloning, but compact categories like Rel or FHilb cannot Lemma: If compact category has cloning, then

A∗ A A∗ A

=

A∗ A A A∗ dA∗ dA

=

A A∗A A∗ dA∗ dA

=

A∗ A A∗ A

45 / 76

slide-102
SLIDE 102

No-cloning

Theorem: If braided monoidal category with duals has cloning, then f = Tr(f) • idA for any A f A

46 / 76

slide-103
SLIDE 103

No-cloning

Theorem: If braided monoidal category with duals has cloning, then f = Tr(f) • idA for any A f A Proof: First, consider equation (∗):

A A A A

=

A A A A

=

A A A A

46 / 76

slide-104
SLIDE 104

No-cloning

Theorem: If braided monoidal category with duals has cloning, then f = Tr(f) • idA for any A f A Proof: First, consider equation (∗). Then:

A A f

=

A A f

=

A A f

=

A A f

46 / 76

slide-105
SLIDE 105

No-cloning

Theorem: If braided monoidal category with duals has cloning, then f = Tr(f) • idA for any A f A Proof: First, consider equation (∗). Then:

f

=

f

=

f

=

f

46 / 76

slide-106
SLIDE 106

Summary

◮ Monoidal categories

scalars, sound and complete graphical calculus

◮ Dual objects

entanglement, teleportation, encrypted communication

◮ Monoids

no cloning

47 / 76

slide-107
SLIDE 107

Part IV Frobenius structures

48 / 76

slide-108
SLIDE 108

Frobenius structure

A Frobenius structure in a monoidal category is pair of comonoid (A, , ) and monoid (A, , ) satisfying Frobenius law: = If = , called dagger Frobenius structure.

49 / 76

slide-109
SLIDE 109

Frobenius structure

A Frobenius structure in a monoidal category is pair of comonoid (A, , ) and monoid (A, , ) satisfying Frobenius law: = If = , called dagger Frobenius structure. Example in FHilb: copying an orthogonal basis

ei ej ej δijei ej

=

ej ei ei ei δijej

49 / 76

slide-110
SLIDE 110

Frobenius structure

A Frobenius structure in a monoidal category is pair of comonoid (A, , ) and monoid (A, , ) satisfying Frobenius law: = If = , called dagger Frobenius structure. Example in FHilb: matrix algebra

eij ekl eml δjk

  • m eim

ekm

=

ekl eij

  • m eim

emj δjkeml

49 / 76

slide-111
SLIDE 111

Frobenius structure

A Frobenius structure in a monoidal category is pair of comonoid (A, , ) and monoid (A, , ) satisfying Frobenius law: = If = , called dagger Frobenius structure. Example in FHilb: group algebra of finite group

g h kh

  • k gk−1

k−1

=

h g

  • k gk

k k−1h

49 / 76

slide-112
SLIDE 112

Frobenius structure

A Frobenius structure in a monoidal category is pair of comonoid (A, , ) and monoid (A, , ) satisfying Frobenius law: = If = , called dagger Frobenius structure. Example in Rel: set of morphisms of groupoid

g h l k x

⇐ ⇒ h ◦ l−1 = g−1 ◦ k ⇐ ⇒

h g k x l

49 / 76

slide-113
SLIDE 113

Frobenius structure

A Frobenius structure in a monoidal category is pair of comonoid (A, , ) and monoid (A, , ) satisfying Frobenius law: = If = , called dagger Frobenius structure. Example in any compact dagger category: pair of pants =

49 / 76

slide-114
SLIDE 114

Frobenius law

Lemma: Any Frobenius structure satisfies: = = Proof: Suffices to prove one of the equalities = = = = =

50 / 76

slide-115
SLIDE 115

Classical structures

A classical structure is a special and commutative Frobenius structure = =

51 / 76

slide-116
SLIDE 116

Classical structures

A classical structure is a special and commutative Frobenius structure = = Examples:

◮ in FHilb: copying orthonormal basis is classical structure ◮ in FHilb: matrix algebra only special when trivial ◮ in FHilb: group algebra only special when trivial ◮ in Rel: groupoid always special ◮ in general: pair of pants only special when trivial

51 / 76

slide-117
SLIDE 117

Symmetry

Frobenius structure in monoidal category is symmetric when: =

52 / 76

slide-118
SLIDE 118

Symmetry

Frobenius structure in monoidal category is symmetric when: = In braided monoidal category, this is equivalent to: =

52 / 76

slide-119
SLIDE 119

Symmetry

Frobenius structure in monoidal category is symmetric when: = In braided monoidal category, this is equivalent to: = Examples:

◮ in FHilb: copying orthonormal basis is symmetric ◮ in FHilb: matrix algebra symmetric as Tr(ab) = Tr(ba) ◮ in FHilb: group algebra symmetric as inverses are two-sided ◮ in Rel: groupoid symmetric as inverses are two-sided ◮ in general: pair of pants symmetric

52 / 76

slide-120
SLIDE 120

Self-duality

Proposition: If (A, , , , ) Frobenius structure in monoidal category, then A ⊣ A is self-dual

A A

=

A A A A

=

A A

53 / 76

slide-121
SLIDE 121

Self-duality

Proposition: If (A, , , , ) Frobenius structure in monoidal category, then A ⊣ A is self-dual

A A

=

A A A A

=

A A

Proof: Snake equation: = = =

53 / 76

slide-122
SLIDE 122

Self-duality

Proposition: If (A, , , , ) Frobenius structure in monoidal category, then A ⊣ A is self-dual

A A

=

A A A A

=

A A

Conversely, monoid (A, , ) forms Frobenius structure with some comonoid (A, , ) iff allows nondegenerate form: map : A I with part of self-duality A ⊣ A.

53 / 76

slide-123
SLIDE 123

Normal forms

Two ways to think about graphical calculus diagram:

◮ representing morphism; shorthand for e.g. linear map ◮ entity in its own right; can be manipulated by replacing parts

54 / 76

slide-124
SLIDE 124

Normal forms

Two ways to think about graphical calculus diagram:

◮ representing morphism; shorthand for e.g. linear map ◮ entity in its own right; can be manipulated by replacing parts

Theorem: if (A, , , , ) is Frobenius structure, any connected morphism A⊗m A⊗n built out of finitely many pieces , , , and id, using ◦ and ⊗ equals normal form

n

  • m

54 / 76

slide-125
SLIDE 125

Normal forms

Two ways to think about graphical calculus diagram:

◮ representing morphism; shorthand for e.g. linear map ◮ entity in its own right; can be manipulated by replacing parts

Theorem: if (A, , , , ) is special Frobenius structure, any connected morphism A⊗m A⊗n built out of finitely many pieces , , , and id, using ◦ and ⊗ equals normal form

n

  • m

54 / 76

slide-126
SLIDE 126

Normal forms

Two ways to think about graphical calculus diagram:

◮ representing morphism; shorthand for e.g. linear map ◮ entity in its own right; can be manipulated by replacing parts

Theorem: if (A, , , , ) is special commutative Frobenius structure, any connected morphism A⊗m A⊗n built out of finitely many pieces , , , and id and , using ◦ and ⊗ equals normal form

n

  • m

54 / 76

slide-127
SLIDE 127

Involutive monoids

Map-state duality: f → f † is involution on pair of pants A = H∗ ⊗ H

55 / 76

slide-128
SLIDE 128

Involutive monoids

Map-state duality: f → f † is involution on pair of pants A = H∗ ⊗ H

◮ anti-linear, so A

A∗; but A∗ = (H∗ ⊗ H)∗ ≃ H∗ ⊗ H∗∗ ≃ A

◮ morphism to opposite monoid: (g ◦ f)† = f † ◦ g†

55 / 76

slide-129
SLIDE 129

Involutive monoids

Map-state duality: f → f † is involution on pair of pants A = H∗ ⊗ H

◮ anti-linear, so A

A∗; but A∗ = (H∗ ⊗ H)∗ ≃ H∗ ⊗ H∗∗ ≃ A

◮ morphism to opposite monoid: (g ◦ f)† = f † ◦ g†

If (A, m, u) monoid, A ⊣ A∗ dagger dual, then (A∗, m∗, u∗) monoid too

55 / 76

slide-130
SLIDE 130

Involutive monoids

Map-state duality: f → f † is involution on pair of pants A = H∗ ⊗ H

◮ anti-linear, so A

A∗; but A∗ = (H∗ ⊗ H)∗ ≃ H∗ ⊗ H∗∗ ≃ A

◮ morphism to opposite monoid: (g ◦ f)† = f † ◦ g†

If (A, m, u) monoid, A ⊣ A∗ dagger dual, then (A∗, m∗, u∗) monoid too Monoid on object A with dagger dual is involutive monoid when equipped with monoid morphism A

i A∗ satisfying i∗ ◦ i = idA A A i i

=

A A

55 / 76

slide-131
SLIDE 131

Involutive monoids

Map-state duality: f → f † is involution on pair of pants A = H∗ ⊗ H

◮ anti-linear, so A

A∗; but A∗ = (H∗ ⊗ H)∗ ≃ H∗ ⊗ H∗∗ ≃ A

◮ morphism to opposite monoid: (g ◦ f)† = f † ◦ g†

If (A, m, u) monoid, A ⊣ A∗ dagger dual, then (A∗, m∗, u∗) monoid too Monoid on object A with dagger dual is involutive monoid when equipped with monoid morphism A

i A∗ satisfying i∗ ◦ i = idA A A i i

=

A A B A f iB

=

A B iA f

Morphisms A f B of involutive monoids satisfy iB ◦ f = f∗ ◦ iA

55 / 76

slide-132
SLIDE 132

Frobenius law and dagger

set of maps A A closed under composition = submonoid of pair of pants A∗ ⊗ A.

56 / 76

slide-133
SLIDE 133

Frobenius law and dagger

set of maps A A closed under composition and dagger = involutive submonoid of pair of pants A∗ ⊗ A.

56 / 76

slide-134
SLIDE 134

Frobenius law and dagger

set of maps A A closed under composition and dagger = involutive submonoid of pair of pants A∗ ⊗ A. Theorem: Let A ⊣ A∗ be duals. Monoid (A, , ) is dagger Frobenius structure iff Cayley embedding is involutive monoid morphism with

i

= “Frobenius law = coherence law between dagger and closure”

56 / 76

slide-135
SLIDE 135

Frobenius law and dagger

set of maps A A closed under composition and dagger = involutive submonoid of pair of pants A∗ ⊗ A. Theorem: Let A ⊣ A∗ be duals. Monoid (A, , ) is dagger Frobenius structure iff Cayley embedding is involutive monoid morphism with

i

= “Frobenius law = coherence law between dagger and closure”

◮ matrix algebra in FHilb: involution Mn

M∗

n is f → f † ◮ groupoid in Rel: involution G

G∗ is g ∼ g−1

◮ pair of pants in general: involution invisible

=      

=

56 / 76

slide-136
SLIDE 136

Classification

Corollary: Dagger Frobenius structures in FHilb are C*-algebras Proof: Correspond to A ⊆ Mn closed under addition, scalar multiplication, matrix multiplication, adjoint, and contain identity

57 / 76

slide-137
SLIDE 137

Classification

Corollary: Dagger Frobenius structures in FHilb are C*-algebras Proof: Correspond to A ⊆ Mn closed under addition, scalar multiplication, matrix multiplication, adjoint, and contain identity Corollary: Classical structures in FHilb are orthonormal bases Proof: If Mk1 ⊕ · · · ⊕ Mkn commutive must have k1 = · · · = kn = 1

57 / 76

slide-138
SLIDE 138

Classification

Corollary: Dagger Frobenius structures in FHilb are C*-algebras Proof: Correspond to A ⊆ Mn closed under addition, scalar multiplication, matrix multiplication, adjoint, and contain identity Corollary: Classical structures in FHilb are orthonormal bases Proof: If Mk1 ⊕ · · · ⊕ Mkn commutive must have k1 = · · · = kn = 1 Theorem: Special dagger Frobenius structures in Rel are groupoids

f g f idcod(f) iddom(f)

=

f idcod(f) f iddom(f) f

57 / 76

slide-139
SLIDE 139

Classification

Corollary: Dagger Frobenius structures in FHilb are C*-algebras Proof: Correspond to A ⊆ Mn closed under addition, scalar multiplication, matrix multiplication, adjoint, and contain identity Corollary: Classical structures in FHilb are orthonormal bases Proof: If Mk1 ⊕ · · · ⊕ Mkn commutive must have k1 = · · · = kn = 1 Theorem: Special dagger Frobenius structures in Rel are groupoids

f g f idcod(f) iddom(f)

=

f idcod(f) f iddom(f) f

Corollary: Classical structures in Rel are abelian groupoids

57 / 76

slide-140
SLIDE 140

Phases

A state I a A of a Frobenius structure is a phase when

a a

= =

a a

58 / 76

slide-141
SLIDE 141

Phases

A state I a A of a Frobenius structure is a phase when

a a

= =

a a

Proposition: phases of dagger Frobenius structure in (braided) monoidal dagger category form (abelian) phase group

58 / 76

slide-142
SLIDE 142

Phases

A state I a A of a Frobenius structure is a phase when

a a

= =

a a

Proposition: phases of dagger Frobenius structure in (braided) monoidal dagger category form (abelian) phase group

◮ phase group of C*-algebra is its unitary group ◮ phase group of orthonormal basis are powers of circle group ◮ phase group of a group is group itself ◮ phase group of pair or pants are unitary endomorphisms

=

f f

=

f f

58 / 76

slide-143
SLIDE 143

Part V Complementarity

59 / 76

slide-144
SLIDE 144

Complementarity

Symmetric dagger Frobenius structures and

  • n the same object

in a braided monoidal dagger category are complementary when = =

60 / 76

slide-145
SLIDE 145

Complementarity

Symmetric dagger Frobenius structures and

  • n the same object

in a braided monoidal dagger category are complementary when = = Black and white not obviously interchangeable. But by symmetry = =

60 / 76

slide-146
SLIDE 146

Complementarity: examples

Proposition: classical structures in FHilb are complementary iff they copy mutually unbiased orthonormal bases |di|ej|2 = 1 dim(H)

61 / 76

slide-147
SLIDE 147

Complementarity: examples

Proposition: classical structures in FHilb are complementary iff they copy mutually unbiased orthonormal bases |di|ej|2 = 1 dim(H) Lemma: if A dagger self-dual in braided monoidal dagger category, then pair of pants and twisted knickers on A ⊗ A are complementary

A A A A A A A A A A A A A A A A

Symmetric Frobenius structure A gives complementary pair on A ⊗ A

61 / 76

slide-148
SLIDE 148

Complementarity in Rel

Example: Let G and H be nontrivial groups, A = G × H,

◮ G totally disconnected groupoid: objects G and G(g, g) = H; ◮ H totally disconnected groupoid: objects H and H(h, h) = G.

Then G and H give rise to complementary Frobenius structures.

62 / 76

slide-149
SLIDE 149

Complementarity in Rel

Example: Let G and H be nontrivial groups, A = G × H,

◮ G totally disconnected groupoid: objects G and G(g, g) = H; ◮ H totally disconnected groupoid: objects H and H(h, h) = G.

Then G and H give rise to complementary Frobenius structures. Proposition: equivalent for groupoids G, H on set A of morphisms:

◮ give complementary Frobenius structures ◮ map A

Ob(G) × Ob(H), a →

  • domG(a), domH(a)
  • is bijective

62 / 76

slide-150
SLIDE 150

Complementarity and dagger

Proposition: symmetric dagger Frobenius structures in braided category complementary iff the following morphism is unitary

63 / 76

slide-151
SLIDE 151

Complementarity and dagger

Proposition: symmetric dagger Frobenius structures in braided category complementary iff the following morphism is unitary Proof: = =

63 / 76

slide-152
SLIDE 152

Oracles

An oracle is a morphism A f B together with Frobenius structures

  • n A and
  • n B such that the following morphism is unitary:

A A B B f

64 / 76

slide-153
SLIDE 153

Oracles

An oracle is a morphism A f B together with Frobenius structures

  • n A and
  • n B such that the following morphism is unitary:

A A B B f

Example: Extension of function between mutually unbiased bases

64 / 76

slide-154
SLIDE 154

Oracles

An oracle is a morphism A f B together with Frobenius structures

  • n A and
  • n B such that the following morphism is unitary:

A A B B f

Example: Extension of function between mutually unbiased bases Proposition: Let (A, ), (B, ) and (B, ) be symmetric dagger Frobenius structures. Self-conjugate comonoid morphism (A, ) f (B, ) is oracle (A, ) (B, ) iff complements

64 / 76

slide-155
SLIDE 155

Deutsch–Josza algorithm

Let function {1, . . . , n} f {0, 1} be promised balanced or constant. Extend to oracle Cn C2; latter with computational and X bases. Write b =

  • 1/

√ 2 −1/ √ 2

  • .

b C2 Prepare initial states Apply a unitary map Measure the first system

1/ √n 1/ √n

f

65 / 76

slide-156
SLIDE 156

Deutsch–Josza algorithm

Let function {1, . . . , n} f {0, 1} be promised balanced or constant. Extend to oracle Cn C2; latter with computational and X bases. Write b =

  • 1/

√ 2 −1/ √ 2

  • .

b C2 Prepare initial states Apply a unitary map Measure the first system

1/ √n 1/ √n

f

History is certain when f constant, impossible when f balanced.

65 / 76

slide-157
SLIDE 157

Bialgebras

Complementarity related to Hopf algebras = = = =

66 / 76

slide-158
SLIDE 158

Bialgebras

Complementarity related to Hopf algebras = = = = Strong complementarity = complementarity + bialgebra (in FHilb and Rel: complementary

  • nly if commutative

bialgebra)

66 / 76

slide-159
SLIDE 159

Bialgebras

Complementarity related to Hopf algebras = = = = Strong complementarity = complementarity + bialgebra (in FHilb and Rel: complementary

  • nly if commutative

bialgebra) Theorem: the strongly complementary classical structures in FHilb are the group algebras

66 / 76

slide-160
SLIDE 160

Part VI Complete positivity

67 / 76

slide-161
SLIDE 161

Morphisms of Frobenius structures

Lemma: If a morphism between Frobenius structures preserves (co)multiplication and (co)unit, then it is an isomorphism. Proof:

B B f f

=

B B f

=

B B

=

B B

68 / 76

slide-162
SLIDE 162

Mixed states

State I m A of dagger Frobenius structure is mixed when

A A m

=

A A X √m √m

69 / 76

slide-163
SLIDE 163

Mixed states

State I m A of dagger Frobenius structure is mixed when

A A m

=

A A X √m √m

Examples:

◮ In FHilb: mixed state of C*-algebra is positive element a = b∗b ◮ In Rel: mixed state of groupoid is inverse-closed set of arrows ◮ In general: mixed state of pair of pants is name of positive map

69 / 76

slide-164
SLIDE 164

Completely positive maps

If (A, , ) and (B, , ) are dagger Frobenius structures, a morphism A f B is completely positive when I (f⊗id)◦m B ⊗ E is mixed state for mixed state I m A ⊗ E and any dagger Frobenius structure (E, , ). Examples:

◮ Unitary evolution A∗ ⊗ A u∗⊗u A∗ ⊗ A for unitary A u A

70 / 76

slide-165
SLIDE 165

Completely positive maps

If (A, , ) and (B, , ) are dagger Frobenius structures, a morphism A f B is completely positive when I (f⊗id)◦m B ⊗ E is mixed state for mixed state I m A ⊗ E and any dagger Frobenius structure (E, , ). Examples:

◮ Unitary evolution A∗ ⊗ A u∗⊗u A∗ ⊗ A for unitary A u A ◮ Preparation of mixed state: completely positive map I

A∗ ⊗ A

70 / 76

slide-166
SLIDE 166

Completely positive maps

If (A, , ) and (B, , ) are dagger Frobenius structures, a morphism A f B is completely positive when I (f⊗id)◦m B ⊗ E is mixed state for mixed state I m A ⊗ E and any dagger Frobenius structure (E, , ). Examples:

◮ Unitary evolution A∗ ⊗ A u∗⊗u A∗ ⊗ A for unitary A u A ◮ Preparation of mixed state: completely positive map I

A∗ ⊗ A

◮ Measurement: completely positive map A∗ ⊗ A

Cn in FHilb is precisely positive-operator valued measure

70 / 76

slide-167
SLIDE 167

Completely positive maps

If (A, , ) and (B, , ) are dagger Frobenius structures, a morphism A f B is completely positive when I (f⊗id)◦m B ⊗ E is mixed state for mixed state I m A ⊗ E and any dagger Frobenius structure (E, , ). Examples:

◮ Unitary evolution A∗ ⊗ A u∗⊗u A∗ ⊗ A for unitary A u A ◮ Preparation of mixed state: completely positive map I

A∗ ⊗ A

◮ Measurement: completely positive map A∗ ⊗ A

Cn in FHilb is precisely positive-operator valued measure

◮ Completely positive maps G

H in Rel respect inverses: g ∼ h implies g−1 ∼ h−1 and iddom(g) ∼ iddom(h)

70 / 76

slide-168
SLIDE 168

The CP condition

Lemma: Assume f ⊗ idE ≥ 0 = ⇒ f ≥ 0. If A f B is completely positive, then CP condition holds

B A B A f

=

X A B A B

  • f
  • f

71 / 76

slide-169
SLIDE 169

The CP condition

Lemma: Assume f ⊗ idE ≥ 0 = ⇒ f ≥ 0. If A f B is completely positive, then CP condition holds

B A B A f

=

X A B A B

  • f
  • f

Proof: Let E = A ⊗ A∗ be pair of pants, define I m A ⊗ E as:

A A A

71 / 76

slide-170
SLIDE 170

The CP condition

Lemma: Assume f ⊗ idE ≥ 0 = ⇒ f ≥ 0. If A f B is completely positive, then CP condition holds

B A B A f

=

X A B A B

  • f
  • f

Proof: Let E = A ⊗ A∗ be pair of pants, define I m A ⊗ E Then m is a mixed state

A ⊗ E A ⊗ E m

=

A A A A A A

=

A A A A A A

=

A A A A A A

71 / 76

slide-171
SLIDE 171

The CP condition

Lemma: Assume f ⊗ idE ≥ 0 = ⇒ f ≥ 0. If A f B is completely positive, then CP condition holds

B A B A f

=

X A B A B

  • f
  • f

Proof: Let E = A ⊗ A∗ be pair of pants, define I m A ⊗ E Then m is a mixed state, as is (f ⊗ idE) ◦ m.

B A A A A B f

=

Y A B A A B A h h

71 / 76

slide-172
SLIDE 172

The CP condition

Lemma: Assume f ⊗ idE ≥ 0 = ⇒ f ≥ 0. If A f B is completely positive, then CP condition holds

B A B A f

=

X A B A B

  • f
  • f

Proof: Let E = A ⊗ A∗ be pair of pants, define I m A ⊗ E Then m is a mixed state, as is (f ⊗ idE) ◦ m. Hence:

B A B A A A f

=

B B A A A A f

=

Y B A B A A A h h

71 / 76

slide-173
SLIDE 173

The CP condition

Lemma: Assume f ⊗ idE ≥ 0 = ⇒ f ≥ 0. If A f B is completely positive, then CP condition holds

B A B A f

=

X A B A B

  • f
  • f

Theorem (Stinespring): If A f B satisfies CP condition, then it is completely positive.

71 / 76

slide-174
SLIDE 174

The CP construction

Theorem: If C is a monoidal dagger category, there is a new category CP[C]:

◮ objects in CP[C] are special dagger Frobenius structures in C ◮ morphisms in CP[C] are morphisms in C satisfying CP condition C A C A g ◦ f

=

A C A C f g

=

X Y A A C C

  • f
  • f

√g √g

72 / 76

slide-175
SLIDE 175

The CP construction

Theorem: If C is a braided monoidal dagger category, there is a new monoidal category CP[C]:

◮ objects in CP[C] are special dagger Frobenius structures in C ◮ morphisms in CP[C] are morphisms in C satisfying CP condition ◮ tensor product in CP[C] is as in C A A B B C D D C f g

=

D A A D B B C C

  • f
  • f

√g √g

72 / 76

slide-176
SLIDE 176

The CP construction

Theorem: If C is a symmetric monoidal dagger category, there is a new symmetric monoidal category CP[C]:

◮ objects in CP[C] are special dagger Frobenius structures in C ◮ morphisms in CP[C] are morphisms in C satisfying CP condition ◮ tensor product in CP[C] is as in C A B B A A B B A

=

A B B A A B B A

72 / 76

slide-177
SLIDE 177

The CP construction

Theorem: If C is a symmetric monoidal dagger category, there is a new symmetric monoidal dagger category CP[C]:

◮ objects in CP[C] are special dagger Frobenius structures in C ◮ morphisms in CP[C] are morphisms in C satisfying CP condition ◮ tensor product in CP[C] is as in C ◮ dagger in CP[C] is as in C B A B A f

=

A A B B f

=

A A B B f

=

B A B A f

=

B A B A

  • f
  • f

(duality between Schr¨

  • dinger and Heisenberg pictures)

72 / 76

slide-178
SLIDE 178

The CP construction

Theorem: If C is a symmetric monoidal dagger category, there is a new compact dagger category CP[C]:

◮ objects in CP[C] are special dagger Frobenius structures in C ◮ morphisms in CP[C] are morphisms in C satisfying CP condition ◮ tensor product in CP[C] is as in C ◮ dagger in CP[C] is as in C ◮ dual in CP[C] is (A,

, )∗ := (A, , ) with : I A∗ ⊗ A = = =

72 / 76

slide-179
SLIDE 179

The CP construction

Theorem: If C is a symmetric monoidal dagger category, there is a new dagger category CP[C]:

◮ objects in CP[C] are special dagger Frobenius structures in C ◮ morphisms in CP[C] are morphisms in C satisfying CP condition ◮ tensor product in CP[C] is as in C ◮ dagger in CP[C] is as in C ◮ dual in CP[C] is (A,

, )∗ := (A, , ) with : I A∗ ⊗ A Examples:

◮ CP[FHilb] = fin-dim C*-algebras and completely positive maps ◮ CP[Rel] = groupoids and inverse-respecting relations

72 / 76

slide-180
SLIDE 180

Classical and quantum structures

Consider full subcategory CPc[C] of classical structures. Lemma: CPc[FHilb] ≃ stochastic matrices (rows sum to 1)

73 / 76

slide-181
SLIDE 181

Classical and quantum structures

Consider full subcategory CPc[C] of classical structures. Lemma: CPc[FHilb] ≃ stochastic matrices (rows sum to 1) Consider full subcategory CPq[C] of pairs of pants. (Normalizable Frobenius structures are isomorphic to special ones.)

73 / 76

slide-182
SLIDE 182

Classical and quantum structures

Consider full subcategory CPc[C] of classical structures. Lemma: CPc[FHilb] ≃ stochastic matrices (rows sum to 1) Consider full subcategory CPq[C] of pairs of pants. (Normalizable Frobenius structures are isomorphic to special ones.) Example: CPq[FHilb] ≃ Hilbert spaces and completely positive maps

73 / 76

slide-183
SLIDE 183

Classical and quantum structures

Consider full subcategory CPc[C] of classical structures. Lemma: CPc[FHilb] ≃ stochastic matrices (rows sum to 1) Consider full subcategory CPq[C] of pairs of pants. (Normalizable Frobenius structures are isomorphic to special ones.) Example: CPq[FHilb] ≃ Hilbert spaces and completely positive maps Proposition: Assuming all objects have positive dimension There is functor P: C CPq[C] given by P(A) = (A∗ ⊗ A, , ) and P(f) = f∗ ⊗ f that preserves tensor products and daggers

73 / 76

slide-184
SLIDE 184

Classical and quantum structures

Consider full subcategory CPc[C] of classical structures. Lemma: CPc[FHilb] ≃ stochastic matrices (rows sum to 1) Consider full subcategory CPq[C] of pairs of pants. (Normalizable Frobenius structures are isomorphic to special ones.) Example: CPq[FHilb] ≃ Hilbert spaces and completely positive maps Proposition: Assuming all objects have positive dimension There is functor P: C CPq[C] given by P(A) = (A∗ ⊗ A, , ) and P(f) = f∗ ⊗ f that preserves tensor products and daggers Lemma (“P is faithful up to phase”):

◮ if P(f) = P(g), then s • f = t • g and s† • s = t† • t for some I s,t I ◮ if s • f = t • g and s† • s = idI = t† • t, then P(f) = P(g)

73 / 76

slide-185
SLIDE 185

Environment

An environment structure for compact dagger category Cpure is

◮ a compact dagger category C of which Cpure is subcategory ◮ for each object A in Cpure, a discarding map

: A I in C

74 / 76

slide-186
SLIDE 186

Environment

An environment structure for compact dagger category Cpure is

◮ a compact dagger category C of which Cpure is subcategory ◮ for each object A in Cpure, a discarding map

: A I in C with:

= = =

◮ f f

=

g g

in Cpure ⇐ ⇒

f

=

g

in C

74 / 76

slide-187
SLIDE 187

Environment

An environment structure with purification for category Cpure is

◮ a compact dagger category C of which Cpure is subcategory ◮ for each object A in Cpure, a discarding map

: A I in C with:

= = =

◮ f f

=

g g

in Cpure ⇐ ⇒

f

=

g

in C

◮ every map in C is of the form f

for f in Cpure (Hence C and Cpure must have same objects)

74 / 76

slide-188
SLIDE 188

Environment

An environment structure with purification for category Cpure is

◮ a compact dagger category C of which Cpure is subcategory ◮ for each object A in Cpure, a discarding map

: A I in C with... Example: Cpure has environment structure in CPq[Cpure].

74 / 76

slide-189
SLIDE 189

Environment

An environment structure with purification for category Cpure is

◮ a compact dagger category C of which Cpure is subcategory ◮ for each object A in Cpure, a discarding map

: A I in C with... Example: Cpure has environment structure in CPq[Cpure]. Theorem: If Cpure has environment structure with purification, there is isomorphism F: CPq[Cpure] C with F(A) = A on objects, F(f ⊗ g) = F(f) ⊗ F(g) on morphisms, that preserves daggers

74 / 76

slide-190
SLIDE 190

Decoherence

A decoherence structure for Cpure is

◮ an environment structure C with discarding maps

: A I in C

◮ for each special dagger Frobenius structure (A,

, ) in Cpure, an object A in C and a measuring map : A A in C, with:

75 / 76

slide-191
SLIDE 191

Decoherence

A decoherence structure for Cpure is

◮ an environment structure C with discarding maps

: A I in C

◮ for each special dagger Frobenius structure (A,

, ) in Cpure, an object A in C and a measuring map : A A in C, with:

◮ I I

=

A ⊗ B (A ⊗ B)

=

A A A A ◮ A A A

=

A A A A A

=

A A

75 / 76

slide-192
SLIDE 192

Decoherence

A decoherence structure with purification for Cpure is

◮ an environment structure C with discarding maps

: A I in C

◮ for each special dagger Frobenius structure (A,

, ) in Cpure, an object A in C and a measuring map : A A in C, with:

◮ I I

=

A ⊗ B (A ⊗ B)

=

A A A A ◮ A A A

=

A A A A A

=

A A ◮ every map in C is of the form A B f

for f in Cpure (Hence each object in C is of form A )

75 / 76

slide-193
SLIDE 193

Decoherence

A decoherence structure with purification for Cpure is

◮ an environment structure C with discarding maps

: A I in C

◮ for each special dagger Frobenius structure (A,

, ) in Cpure, an object A in C and a measuring map : A A in C, with ... Example: Cpure has decoherence structure in CP[Cpure] with (A∗ ⊗ A, , ) = (A, , ) and measuring map

75 / 76

slide-194
SLIDE 194

Decoherence

A decoherence structure with purification for Cpure is

◮ an environment structure C with discarding maps

: A I in C

◮ for each special dagger Frobenius structure (A,

, ) in Cpure, an object A in C and a measuring map : A A in C, with ... Example: Cpure has decoherence structure in CP[Cpure] with (A∗ ⊗ A, , ) = (A, , ) and measuring map Theorem: If Cpure has decoherence structure with purification, there is isomorphism F: CP[Cpure] C that preserves daggers and satisfies F(f ⊗ g) = F(f) ⊗ F(g)

75 / 76

slide-195
SLIDE 195

Teleportation

Theorem: If (A, , ) and (A, , ) complementary dagger Frobenius in braided monoidal dagger category C, and commutative, then in CP[C]:

A input

  • utput

preparation measurement correction classical communication A

=

A A Alice Bob

76 / 76

slide-196
SLIDE 196

Teleportation

Theorem: If (A, , ) and (A, , ) complementary dagger Frobenius in braided monoidal dagger category C, and commutative, then in CP[C]:

◮ mixed states ◮ arbitrary systems ◮ ‘classical communication’ only in sense of ‘copied’ by Frobenius

structures, one of which noncommutative

◮ ‘two bits’ of classical communication: two channels used, maybe

more than two copyable states

◮ tensor product and composition only

76 / 76

slide-197
SLIDE 197

Summary

◮ Monoidal categories

scalars, sound and complete graphical calculus

◮ Dual objects

entanglement, teleportation, encrypted communication

◮ Monoids

no cloning

◮ Frobenius structures

normal form, classical structures, observables, classification

◮ Complementarity

Deutsch-Josza

◮ Completely positive maps

mixed states, axiomatization, teleportation

77 / 76