Categories and Quantum Informatics Week 7: Complementarity Chris - - PowerPoint PPT Presentation

categories and quantum informatics
SMART_READER_LITE
LIVE PREVIEW

Categories and Quantum Informatics Week 7: Complementarity Chris - - PowerPoint PPT Presentation

Categories and Quantum Informatics Week 7: Complementarity Chris Heunen 1 / 31 Overview Incompatible Frobenius structures: mutually unbiased bases DeutschJozsa algorithm: prototypical use of complementarity Quantum groups: strong


slide-1
SLIDE 1

Categories and Quantum Informatics

Week 7: Complementarity Chris Heunen

1 / 31

slide-2
SLIDE 2

Overview

◮ Incompatible Frobenius structures: mutually unbiased bases ◮ Deutsch–Jozsa algorithm: prototypical use of complementarity ◮ Quantum groups: strong complementarity ◮ Qubit gates: quantum circuits

2 / 31

slide-3
SLIDE 3

Idea

◮ Measure qubit in basis {

1

  • ,

1

  • }, then in { 1

√ 2

1

1

  • ,

1 √ 2

1

−1

  • }:

probability of either outcome 1/2.

3 / 31

slide-4
SLIDE 4

Idea

◮ Measure qubit in basis {

1

  • ,

1

  • }, then in { 1

√ 2

1

1

  • ,

1 √ 2

1

−1

  • }:

probability of either outcome 1/2.

◮ First measurement provides no information about second:

Heisenberg’s uncertainty principle.

3 / 31

slide-5
SLIDE 5

Idea

◮ Measure qubit in basis {

1

  • ,

1

  • }, then in { 1

√ 2

1

1

  • ,

1 √ 2

1

−1

  • }:

probability of either outcome 1/2.

◮ First measurement provides no information about second:

Heisenberg’s uncertainty principle.

◮ Orthogonal bases {ai} and {bj} are complementary/unbiased if

ai|bjbj|ai = c for some c ∈ C.

3 / 31

slide-6
SLIDE 6

Complementarity

In braided monoidal dagger category, symmetric dagger Frobenius structures and

  • n the same object are complementary if:

= =

4 / 31

slide-7
SLIDE 7

Complementarity

In braided monoidal dagger category, symmetric dagger Frobenius structures and

  • n the same object are complementary if:

= = Black and white not obviously interchangeable. But by symmetry: = = So could have added two more equalities.

4 / 31

slide-8
SLIDE 8

Complementarity in FHilb

Commutative dagger Frobenius structures in FHilb complementary if and only if they copy complementary bases (with c = 1).

5 / 31

slide-9
SLIDE 9

Complementarity in FHilb

Commutative dagger Frobenius structures in FHilb complementary if and only if they copy complementary bases (with c = 1).

  • Proof. For all a in white basis, and b in black basis:

a b b a

=

a a b b

=

a b

=

a b

= 1

5 / 31

slide-10
SLIDE 10

Twisted knickers

In compact dagger category, if A is self-dual, the following Frobenius structure on A ⊗ A is complementary to pair of pants:

A ⊗ A A ⊗ A A ⊗ A

=

A A A A A A A ⊗ A

=

A A

6 / 31

slide-11
SLIDE 11

Twisted knickers

In compact dagger category, if A is self-dual, the following Frobenius structure on A ⊗ A is complementary to pair of pants:

A ⊗ A A ⊗ A A ⊗ A

=

A A A A A A A ⊗ A

=

A A

= = = So Frobenius structure on A gives complementary pair on A ⊗ A.

6 / 31

slide-12
SLIDE 12

Pauli basis

Three mutually complementary bases of C2: X basis 1 √ 2 1 1

  • , 1

√ 2 1 −1

  • Y basis

1 √ 2 1 i

  • , 1

√ 2 1 −i

  • Z basis

1

  • ,

1

  • 7 / 31
slide-13
SLIDE 13

Pauli basis

Three mutually complementary bases of C2: X basis 1 √ 2 1 1

  • , 1

√ 2 1 −1

  • Y basis

1 √ 2 1 i

  • , 1

√ 2 1 −i

  • Z basis

1

  • ,

1

  • ◮ Largest family of complementary bases for C2:

no four bases all mutually unbiased.

7 / 31

slide-14
SLIDE 14

Pauli basis

Three mutually complementary bases of C2: X basis 1 √ 2 1 1

  • , 1

√ 2 1 −1

  • Y basis

1 √ 2 1 i

  • , 1

√ 2 1 −i

  • Z basis

1

  • ,

1

  • ◮ Largest family of complementary bases for C2:

no four bases all mutually unbiased.

◮ What is the maximum number of mutually complementary

bases in a given dimension? Only known for prime power dimensions pn.

7 / 31

slide-15
SLIDE 15

Characterisation

Symmetric dagger Frobenius structures in braided monoidal dagger category complementary if and only if the following is unitary:

8 / 31

slide-16
SLIDE 16

Characterisation

Symmetric dagger Frobenius structures in braided monoidal dagger category complementary if and only if the following is unitary:

  • Proof. Compose with adjoint:

= =

8 / 31

slide-17
SLIDE 17

Characterisation

Symmetric dagger Frobenius structures in braided monoidal dagger category complementary if and only if the following is unitary:

  • Proof. Compose with adjoint:

= = Conversely, if is identity, compose with white counit on top right, black unit on bottom left, to get complementarity.

8 / 31

slide-18
SLIDE 18

Complementarity in Rel

If G, H are nontrivial groups, these are complementary groupoids:

◮ objects g ∈ G, morphisms g (g,h) g, with (g, h′) • (g, h) = (g, hh′) ◮ objects h ∈ H, morphisms h (g,h) h, with (g′, h) ◦ (g, h) = (gh′, h)

9 / 31

slide-19
SLIDE 19

Complementarity in Rel

If G, H are nontrivial groups, these are complementary groupoids:

◮ objects g ∈ G, morphisms g (g,h) g, with (g, h′) • (g, h) = (g, hh′) ◮ objects h ∈ H, morphisms h (g,h) h, with (g′, h) ◦ (g, h) = (gh′, h)

Proof.

(g, h) (g′, h′) (g, k)

  • k

(g, hk−1) (g′, h′) (gg′, h′) [k = h′] (g, hh′−1)

Every input related to unique output, so unitary. Groupoid allows complementary one just when every object has number of outgoing morphisms.

9 / 31

slide-20
SLIDE 20

The Deutsch-Jozsa algorithm

Solves certain problem faster than possible classically

◮ Typical exact quantum decision algorithm (no approximation) ◮ Problem artificial, but other important algorithms very similar:

◮ Shor’s factoring algorithm ◮ Grover’s search algorithm ◮ the hidden subgroup problem

◮ ‘All or nothing’ nature makes it categorical

10 / 31

slide-21
SLIDE 21

The Deutsch-Jozsa algorithm

Problem:

◮ Given 2-valued function A f {0, 1} on a finite set A. ◮ Constant if takes just a single value on every element of A. ◮ Balanced if takes value 0 on exactly half the elements of A. ◮ You are promised that f is either constant or balanced.

You must decide which.

11 / 31

slide-22
SLIDE 22

The Deutsch-Jozsa algorithm

Problem:

◮ Given 2-valued function A f {0, 1} on a finite set A. ◮ Constant if takes just a single value on every element of A. ◮ Balanced if takes value 0 on exactly half the elements of A. ◮ You are promised that f is either constant or balanced.

You must decide which. Best classical strategy:

◮ Sample f on 1 2|A| + 1 elements of A.

If different values then balanced, otherwise constant.

11 / 31

slide-23
SLIDE 23

The Deutsch-Jozsa algorithm

Quantum Deutsch-Jozsa uses f only once! How to access f? Can only apply unitary operators...

12 / 31

slide-24
SLIDE 24

The Deutsch-Jozsa algorithm

Quantum Deutsch-Jozsa uses f only once! How to access f? Can only apply unitary operators... Must embed A f {0, 1} into an oracle. Given Frobenius structures (A, , ) and (B, , ) in monoidal dagger category, oracle is morphism A f B making the following unitary:

A A B B f

12 / 31

slide-25
SLIDE 25

Where to find oracles

Let (A, ), (B, ) and (B, ) be symmetric dagger Frobenius. If , complementary, self-conjugate comonoid homomorphism (A, ) f (B, ) is oracle. Proof.

f f

=

f f

=

f f

=

f f

=

f

=

f

= =

13 / 31

slide-26
SLIDE 26

The Deutsch-Jozsa algorithm

Let A f {0, 1} be given function, and |A| = n. Choose complementary bases = C2, = C[Z2]. Let b = 1

−1

  • , a copyable state of

. The Deutsch–Jozsa algorithm is this morphism:

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

1/ √ 2 1/ √n 1/ √n

f

14 / 31

slide-27
SLIDE 27

Deutsch-Jozsa simplifies

The Deutsch–Jozsa algorithm simplifies to:

b b

1/ √ 2 1/ n

f

  • Proof. Duplicate copyable state b through white dot, and apply

noncommutative spider theorem to cluster of gray dots.

15 / 31

slide-28
SLIDE 28

Deutsch-Jozsa correctness: constant

If A f {0, 1} is constant, the Deutsch-Jozsa history is certain.

16 / 31

slide-29
SLIDE 29

Deutsch-Jozsa correctness: constant

If A f {0, 1} is constant, the Deutsch-Jozsa history is certain.

  • Proof. If f(a) = x for all a ∈ A, oracle H f C2 decomposes as:

f

=

x

16 / 31

slide-30
SLIDE 30

Deutsch-Jozsa correctness: constant

If A f {0, 1} is constant, the Deutsch-Jozsa history is certain.

  • Proof. If f(a) = x for all a ∈ A, oracle H f C2 decomposes as:

f

=

x

So history is:

b b

1/ √ 2 1/ n

f

=

x b b

1/ √ 2 1/ n

=

b

1/ √ 2

±1

This has norm 1, so the history is certain.

16 / 31

slide-31
SLIDE 31

Deutsch-Jozsa correctness:balanced

If A f {0, 1} is balanced, the Deutsch–Jozsa history is impossible.

17 / 31

slide-32
SLIDE 32

Deutsch-Jozsa correctness:balanced

If A f {0, 1} is balanced, the Deutsch–Jozsa history is impossible.

  • Proof. The function f is balanced just when the following holds:

b f

= 0 Recall b = 1

−1

  • .

17 / 31

slide-33
SLIDE 33

Deutsch-Jozsa correctness:balanced

If A f {0, 1} is balanced, the Deutsch–Jozsa history is impossible.

  • Proof. The function f is balanced just when the following holds:

b f

= 0 Recall b = 1

−1

  • . Hence the final history equals 0.

17 / 31

slide-34
SLIDE 34

Bialgebras

Complementary classical structures in FHilb are mutually unbiased

  • bases. How to build them?

18 / 31

slide-35
SLIDE 35

Bialgebras

Complementary classical structures in FHilb are mutually unbiased

  • bases. How to build them?

One standard way: let G be finite group, and consider Hilbert space with basis {g ∈ G}, with : g → g ⊗ g : g → 1 : g ⊗ h → gh : 1 →

  • g∈G

g

18 / 31

slide-36
SLIDE 36

Bialgebras

Complementary classical structures in FHilb are mutually unbiased

  • bases. How to build them?

One standard way: let G be finite group, and consider Hilbert space with basis {g ∈ G}, with : g → g ⊗ g : g → 1 : g ⊗ h → gh : 1 →

  • g∈G

g Some nice relationships emerge between and .

18 / 31

slide-37
SLIDE 37

Bialgebras

In a braided monoidal category, a bialgebra consists of a monoid (A, , ) and a comonoid (A, , ) satisfying: = = = =

19 / 31

slide-38
SLIDE 38

Bialgebras

In a braided monoidal category, a bialgebra consists of a monoid (A, , ) and a comonoid (A, , ) satisfying: = = = = Example: monoid M is a bialgebra in Set and hence in Rel and FHilb : m → (m, m) : m → • : (m, n) → mn : • → 1M.

19 / 31

slide-39
SLIDE 39

Frobenius hates bialgebras

In a braided monoidal category, if a monoid (A, , ) and comonoid (A, , ) form a Frobenius structure and a bialgebra, then A ≃ I.

20 / 31

slide-40
SLIDE 40

Frobenius hates bialgebras

In a braided monoidal category, if a monoid (A, , ) and comonoid (A, , ) form a Frobenius structure and a bialgebra, then A ≃ I.

  • Proof. Will show

and are inverses. The bialgebra laws already require

  • = idI. For the other composite:

= = =

20 / 31

slide-41
SLIDE 41

Copyable states

In a braided monoidal category if and form bialgebra, then copyable states for are monoid under .

21 / 31

slide-42
SLIDE 42

Copyable states

In a braided monoidal category if and form bialgebra, then copyable states for are monoid under .

  • Proof. Associativity is immediate. Unitality comes down to third

bialgebra law: is copyable for . Have to prove well-definedness. Let a and b be copyable states for .

a b

=

a b

=

a b a b

Hence

  • copyable states are indeed closed under

.

21 / 31

slide-43
SLIDE 43

Strong complementarity

◮ Consider C2 in FHilb. Computational basis {

1

  • ,

1

  • } gives

dagger Frobenius structure . Orthogonal basis {

  • eiϕ

eiθ

  • ,
  • eiϕ

−eiθ

  • }

gives dagger Frobenius structure . Complementary, but only a bialgebra if ϕ = θ = 0.

22 / 31

slide-44
SLIDE 44

Strong complementarity

◮ Consider C2 in FHilb. Computational basis {

1

  • ,

1

  • } gives

dagger Frobenius structure . Orthogonal basis {

  • eiϕ

eiθ

  • ,
  • eiϕ

−eiθ

  • }

gives dagger Frobenius structure . Complementary, but only a bialgebra if ϕ = θ = 0.

◮ In a braided monoidal dagger category, two dagger symmetric

Frobenius structures are strongly complementary when they are complementary, and also form a bialgebra.

22 / 31

slide-45
SLIDE 45

Strong complementarity in FHilb

In FHilb, strongly complementary symmetric dagger Frobenius structures, one of which is commutative, correspond to finite groups.

23 / 31

slide-46
SLIDE 46

Strong complementarity in FHilb

In FHilb, strongly complementary symmetric dagger Frobenius structures, one of which is commutative, correspond to finite groups. Proof.

◮ Given strongly complementary symmetric dagger Frobenius

structures, the states that are self-conjugate, copyable and deletable for ( , ) form a group under .

◮ By the classification theorem for commutative dagger Frobenius

structures, there is an entire basis of such states for .

23 / 31

slide-47
SLIDE 47

Qubit gates

In a braided monoidal dagger category, let ( , ) and ( , ) be complementary classical structures with antipode s. Then the first bialgebra law holds if and only if:

s s s

=

24 / 31

slide-48
SLIDE 48

Qubit gates

Proof.

s s s

=

s

=

s

iso

=

s

=

s

=

s

= = = = =

25 / 31

slide-49
SLIDE 49

Qubit gates in FHilb

Fix A to be qubit C2; let ( , ) copy computational basis {|0, |1}, and ( , ) copy the X basis. The three antipodes s become identities. The three unitaries reduce to three CNOT gates: CNOT =     1 1 1 1    

26 / 31

slide-50
SLIDE 50

Qubit gates in FHilb

Fix A to be qubit C2; let ( , ) copy computational basis {|0, |1}, and ( , ) copy the X basis. The three antipodes s become identities. The three unitaries reduce to three CNOT gates: CNOT =     1 1 1 1     These two classical structures are transported into each other by Hadamard gate: H = 1 √ 2 1 1 1 −1

  • =

H

26 / 31

slide-51
SLIDE 51

Controlled Z

The CZ gate in FHilb can be defined as follows. CZ =

H

27 / 31

slide-52
SLIDE 52

Controlled Z

The CZ gate in FHilb can be defined as follows. CZ =

H

  • Proof. Rewrite as:

CZ =

H H

Hence CZ = (id ⊗ H) ◦ CNOT ◦ (id ⊗ H) =     1 1 1 −1    

27 / 31

slide-53
SLIDE 53

Controlled Z

If (A, ) and (A, ) complementary classical structures in braided monoidal dagger category, and A H A satisfies H ◦ H = idA, then CZ makes sense and satisfies CZ ◦ CZ = id.

28 / 31

slide-54
SLIDE 54

Controlled Z

If (A, ) and (A, ) complementary classical structures in braided monoidal dagger category, and A H A satisfies H ◦ H = idA, then CZ makes sense and satisfies CZ ◦ CZ = id. Proof.

H H

=

H H

=

H H

=

H H

=

28 / 31

slide-55
SLIDE 55

Measurement-based computing

Single-qubit unitaries can be implemented via Euler angles: unitary C2 u C2 allows phases ϕ, ψ, θ with u = Zθ ◦ Xψ ◦ Zϕ, where Zθ is rotation in Z basis over angle θ, and Xϕ in X basis over angle ϕ.

29 / 31

slide-56
SLIDE 56

Measurement-based computing

Single-qubit unitaries can be implemented via Euler angles: unitary C2 u C2 allows phases ϕ, ψ, θ with u = Zθ ◦ Xψ ◦ Zϕ, where Zθ is rotation in Z basis over angle θ, and Xϕ in X basis over angle ϕ. If unitary C2 u C2 in FHilb has Euler angles ϕ, ψ, θ, then:

u = ϕ ψ θ H H H H

29 / 31

slide-57
SLIDE 57

Measurement-based computing

  • Proof. Use phased spider theorem to reduce to:

ϕ H ψ H θ H H

But by transport lemma, this is just:

ϕ ψ θ

which equals u, by definition of the Euler angles.

30 / 31

slide-58
SLIDE 58

Summary

◮ Incompatible Frobenius structures: mutually unbiased bases ◮ Deutsch-Jozsa algorithm: prototypical use of complementarity ◮ Quantum groups: strong complementarity ◮ Qubit gates: use in quantum circuits

31 / 31