Quantum Computing based on Tensor Products...

38
Quantum Computing based on Tensor Products Overview and Introduction Guillermo Morales Luna Computer Science Section CINVESTAV-IPN E-mail: [email protected] 5-th International Workshop on Applied Category Theory Graph-Operad Logic Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 1 / 38

Transcript of Quantum Computing based on Tensor Products...

Page 1: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Quantum Computing based on Tensor ProductsOverview and Introduction

Guillermo Morales Luna

Computer Science SectionCINVESTAV-IPN

E-mail: [email protected]

5-th International Workshop on Applied Category TheoryGraph-Operad Logic

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 1 / 38

Page 2: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Agenda

1 Abstract

2 Overview of the whole course

3 References

4 Hilbert Spaces

5 Function Evaluation

6 Deutsch-Jozsa’s Algorithm

7 Quantum Computation of the Discrete Fourier Transform

8 Shor Algorithm

9 Quantum Cryptography

10 Communication Complexity

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 2 / 38

Page 3: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Agenda

1 Abstract

2 Overview of the whole course

3 References

4 Hilbert Spaces

5 Function Evaluation

6 Deutsch-Jozsa’s Algorithm

7 Quantum Computation of the Discrete Fourier Transform

8 Shor Algorithm

9 Quantum Cryptography

10 Communication Complexity

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 3 / 38

Page 4: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Abstract

We present a short introduction to Quantum Computing (QC) from aprocedural point of view. Rather, it is a course of “parallel computing basedon tensor products”. We introduce primitive functions and thecompositional schemes of QC. We use Tensor Product notation instead ofthe more conventional Dirac’s ket notation. We introduce basic notions ofTensor Products and Hilbert Spaces and the qubits as points in the unitcircle in the two-dimensional complex Hilbert space, then any wordconsisting of qubits lies in the corresponding unit sphere of the tensorproduct of these spaces. We illustrate the computing paradigm through theclassical Deutsch-Josza algorithm. Then we show the quantum algorithmto compute the Discrete Fourier Transform in linear time and the famouspolynomial-time Shor algorithm for integer factorization. We finish ourexposition with a basic introduction to Quantum Cryptography andQuantum Communication Complexity.

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 4 / 38

Page 5: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Agenda

1 Abstract

2 Overview of the whole course

3 References

4 Hilbert Spaces

5 Function Evaluation

6 Deutsch-Jozsa’s Algorithm

7 Quantum Computation of the Discrete Fourier Transform

8 Shor Algorithm

9 Quantum Cryptography

10 Communication Complexity

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 5 / 38

Page 6: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Overview of the whole course

Contents

1 Introduction2 Tensor Products

1 Vector and Space Products2 Products of Linear Maps

3 Basic Notions on Quantum Computing1 Measurement Principle2 Qubits and Words of Quantum Information3 Quantum Gates4 Observables and the Heisenberg Principle of Uncertainty5 Evaluation of Boolean Functions6 Deutsch-Jozsa’s Algorithm

4 Quantum Computation of the Discrete Fourier Transform

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 6 / 38

Page 7: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

5 Shor Algorithm1 A Short Refreshment of Number Theory2 Quantum Algorithm to Calculate the Order of a Number

1 Elements whose Order is a Power of 22 Elements with Arbitrary Order

6 Quantum Cryptography: Key Agreement Protocols1 Channels without Noise2 Channels with Noise

7 Communication Complexity1 Parities Addition2 Congruent Functions with the Hamming Weight Map3 Identity Checking4 Inner Product

1 Using an Entangled Pair of Qubits2 Algorithm without Entangled States

5 Deutsch-Josza Relation

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 7 / 38

Page 8: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Agenda

1 Abstract

2 Overview of the whole course

3 References

4 Hilbert Spaces

5 Function Evaluation

6 Deutsch-Jozsa’s Algorithm

7 Quantum Computation of the Discrete Fourier Transform

8 Shor Algorithm

9 Quantum Cryptography

10 Communication Complexity

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 8 / 38

Page 9: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

General references

Quantum Computing

D. Bouwmeester, A. K. Ekert, and A. Zeilinger. The Physics of QuantumInformation: Quantum Cryptography, Quantum Teleportation, QuantumComputation. Springer, Berlin, 2000.G. Brassard. Quantum communication complexity (a survey), 2001.G. Brassard, I. Chuang, S. Lloyds, and C. Monroe. Quantum computing.Proc. Natl. Acad. Sci. USA, 95:11032–11033, Sept. 1998.M. Nielsen and I. Chuang. Quantum Computation and Quantum Information.Cambridge University Press, Cambridge, 2000.

Physics and Math

R. Abraham, J. E. Marsden, and T. Ratiu. Manifolds, Tensor Analysis, andApplications. Springer-Verlag, Berlin, 1998.J. S. Bell. On the Einstein-Podolsky-Rosen paradox. Physics, 1:195, 1964.S. Lang. Algebra, 4-th Edition. Springer-Verlag, Berlin, 2004.

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 9 / 38

Page 10: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Special topics

Classics

D. Deutsch. Quantum Theory, the Church-Turing Principle and the UniversalQuantum Computer. Proceedings of the Royal Society of London Ser. A,400:96–117, 1985.D. Deutsch and R. Jozsa. Rapid solution of problems by quantumcomputation. Proceedings of the Royal Society of London Ser. A,439:553–558, 1992.A. S. Holevo. Some estimates of the information transmitted by a quantumcommunication channel. Probl. Peredachi Inf., 9:3, 1973. Also Probl. Inf.Transm. (USSR) 9, 177 (1973).P. W. Shor. Algorithms for quantum computation: Discrete logarithms andfactoring. In IEEE Symposium on Foundations of Computer Science, pages124–134. IEEE, 1994.P. W. Shor. Polynomial-Time Algorithms for Prime Factorization and DiscreteLogarithms on a Quantum Computer. SIAM Journal on Computing,26:1484–1509, 1997.

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 10 / 38

Page 11: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Algorithmics and Crypto

T. Hogg. Solving highly constrained search problems with quantumcomputers. Journal of Artificial Intelligence Research, 10:39–66, 1999.C. Lavor, L. Manssur, and R. Portugal. Shor’s algorithm for factoring largeintegers. Mar. 2003.S. J. Lomonaco. A Quick Glance at Quantum Cryptography. Cryptologia,23:1–41, 1999.S. J. Lomonaco. A Talk on Quantum Cryptography or How Alice Outwits Eve.arXiv: quant-ph/0102016v1, 2001.

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 11 / 38

Page 12: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Quantum complexity

E. Bernstein and U. Vasirani. Quantum complexity theory. In Proc. of the25-th Annual ACM Symposium on Theory of Computing, AIP ConferenceProceedings. Association of Computing Machinery, 1993.R. Cleve. An introduction to quantum complexity theory, 1999.

Entanglement

G. Brassard, R. Cleve, and A. Tapp. Cost of exactly simulating quantumentanglement with classical communication. Phys. Rev. Lett., 83:1874–1877,1999.H. Buhrman, R. Cleve, and W. van Dam. Quantum entanglement andcommunication complexity. SIAM J. Comp., 30(6):1829–1841, March 2001.S. Massar, D. Bacon, N. Cerf, and R. Cleve. Classical simulation of quantumentanglement without local hidden variables. Phys. Rev. A, 63:52305, 2001.

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 12 / 38

Page 13: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Agenda

1 Abstract

2 Overview of the whole course

3 References

4 Hilbert Spaces

5 Function Evaluation

6 Deutsch-Jozsa’s Algorithm

7 Quantum Computation of the Discrete Fourier Transform

8 Shor Algorithm

9 Quantum Cryptography

10 Communication Complexity

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 13 / 38

Page 14: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Hilbert Spaces

Basic notions

Complex field. C

Vector space. H: Non-empty set. 0 ∈ H

Addition. + : H × H→ H. (H,+) Abelian group

Scalar multiplication. · : C × H→ H. Distributive w.r.t. addition

Inner product. 〈·|·〉 : H × H→ C. Sesquilinear form. Positive definite.

Norm. ‖ · ‖2 : H→ R+, x 7→ ‖ · ‖2 =√〈x|x〉.

Completeness. Every Cauchy sequence is convergent.

Autoduality. For each T ∈ H∗ exists y ∈ H: T(x) = 〈y|x〉.

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 14 / 38

Page 15: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Geometrical properties: m-dimensional Hilbert spaces

Canonical basis. ej = (δij)i<m

Unit sphere. Em = {v ∈ H|1 = vHv =: 〈v|v〉}

Unitary map. U : H→ H linear s.t. MHM = 1mm. U|Em : Em → Em

Tensor products

Spaces. dim(U) = n & dim(V) = m ⇒ dim(U ⊗ V) = nm.U × V ⊂ U ⊗ V. The difference consists of entangled states.

Vectors. x ∈ U & y ∈ V ⇒ x ⊗ y ∈ U ⊗ V.

Maps. S : U1 → V1 & T : U2 → V2 ⇒ S ⊗ T : U1 ⊗U2 → V1 ⊗V2.

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 15 / 38

Page 16: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Measurement Principle

In current state

v = (vi1)i<m =m−1∑i=0

∈ Em,

for each i < m, with probability |vi1|2 the following is performed:

The index i is output and

the computing control is transferred to the state ei .

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 16 / 38

Page 17: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Qubits and Quregisters

Spaces and basis

H1 = C2; Hn = Hn−1 ⊗ H1

dim(Hn) = 2n

e0 = [1 0]T and e1 = [0 1]T basis in H1.

(eεn−1···ε1ε0)εn−1,...,ε1,ε0∈{0,1} basis in Hn.

Qubits. z ∈ E2 unit sphere in H1.

Quregister. z1 ⊗ · · · ⊗ zn−1 ⇐= zi , i ∈ N, qubitsz1 ⊗ · · · ⊗ zn−1 ∈ E2n ⊂ Hn

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 17 / 38

Page 18: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Quantum speed-up

Conventional Dirac’s “ket” notation

|εn−1 · · · ε1ε0〉 := eεn−1···ε1ε0

= eεn−1 ⊗ · · · ⊗ eε1 ⊗ eε0=: |εn−1〉 · · · |ε1〉 |ε0〉 (1)

Any state in Hn, σ(z) =∑ε∈{0,1}n zεeε is determined by 2n coordinates. If

U : Hn → Hn is a quantum operator, the target state σ(Uz) consists alsoof 2n coordinates.A calculus involving an exponential number of terms is performed in just“one step” of the quantum computation.

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 18 / 38

Page 19: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Agenda

1 Abstract

2 Overview of the whole course

3 References

4 Hilbert Spaces

5 Function Evaluation

6 Deutsch-Jozsa’s Algorithm

7 Quantum Computation of the Discrete Fourier Transform

8 Shor Algorithm

9 Quantum Cryptography

10 Communication Complexity

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 19 / 38

Page 20: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Function Evaluation

V = {0, 1}: binary digits

Each index in the set {0, . . . , 2n − 1} corresponds to a stringε = (εn−1, . . . , ε1, ε0) ∈ Vn which in turn corresponds to eε ∈ Hn.

Let f : Vn → Vm be a function.

A quantum algorithm Uf : Hn+m → Hn+m computes f if

Uf : eε ⊗ 0 7→ eε ⊗ εef(ε)

where |ε| = 1. A final measurement on last qubits provides the value f(ε),with probability 1.

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 20 / 38

Page 21: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Agenda

1 Abstract

2 Overview of the whole course

3 References

4 Hilbert Spaces

5 Function Evaluation

6 Deutsch-Jozsa’s Algorithm

7 Quantum Computation of the Discrete Fourier Transform

8 Shor Algorithm

9 Quantum Cryptography

10 Communication Complexity

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 21 / 38

Page 22: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Deutsch-Jozsa’s Algorithm

Let V = {0, 1} be the set of classical truth values.

Deutsch-Jozsa’s problem

Decide, for a given f : V → V , whether it is constant or balanced “in justone computing step”.

Given f , let Uf be the 22 × 22-matrix s.t. Uf (ex ⊗ ez) = (ex ⊗ e(z+f(x)) mod 2).We have H2Uf H2 : e0 ⊗ e1 7→ εeS ⊗ e1

where H2 is Hadamard’s operator, ε ∈ {−1, 1} is a sign and S is a signalindicating whether f is balanced or not.S coincides with f(0) ⊕ f(1).

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 22 / 38

Page 23: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Agenda

1 Abstract

2 Overview of the whole course

3 References

4 Hilbert Spaces

5 Function Evaluation

6 Deutsch-Jozsa’s Algorithm

7 Quantum Computation of the Discrete Fourier Transform

8 Shor Algorithm

9 Quantum Cryptography

10 Communication Complexity

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 23 / 38

Page 24: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Quantum Computation of the Discrete Fourier Transform

Given f =∑n−1

j=0 f(j)ej ∈ Cn, its discrete Fourier transform is

DFT(f) = f̂ =n−1∑j=0

1√

n

n−1∑k=0

exp(2πijk

n

)f(k)

ej ∈ Cn.

DFT is linear transform and, w.r.t. the canonical basis, it is represented bythe unitary matrix DFT = 1√

n

(exp

(2πijk

n

))jk

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 24 / 38

Page 25: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

If n = 2ν, Hν = Cn, and by identifying each j ∈ [[0, 2ν − 1]] withεj = εj,ν−1 · · · εj,1εj,0:

DFT(eεj ) =ν−1⊗k=0

1√

2

(e0 + exp

(πij2k

)e1

)= 1√

2

(e0+exp

(πij20

)e1

)⊗ 1√

2

(e0+exp

(πij21

)e1

)⊗···⊗ 1√

2

(e0+exp

(πij

2ν−1

)e1

)(2)

The products appearing in this tensor product suggest the operatorsQk : H1 → H1 and their “controlled” versions:

Qk =

1 00 exp

(πi2k

) , Qckj =

1 00 exp

(πi j

2k

) .

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 25 / 38

Page 26: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Algorithm for the Fourier transform

Input. n = 2ν, f ∈ Cn = Hν.

Output. f̂ = DFT(f) ∈ Hν.

Procedure DFT(n, f)1 Let x0 := H(e0).2 For each j ∈ [[0, 2ν − 1]], or equivalently, for each

(εj,ν−1 · · · εj,1εj,0) ∈ {0, 1}ν, do (in parallel):1 For each k ∈ [[0, ν − 1]] do (in parallel):

1 Let δ := Rk

(εj

∣∣∣k

)be the reverse of the chain consisting of

the (k + 1) less significant bits.2 Let yjk := x0.3 For ` = 0 to k do { yjk := Qc2(yjk , eδj,`) }

2 Let yj := yj0 ⊗ · · · ⊗ yj,ν−1 .

3 Output as result f̂ =∑2ν−1

j=0 fjyj .

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 26 / 38

Page 27: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Agenda

1 Abstract

2 Overview of the whole course

3 References

4 Hilbert Spaces

5 Function Evaluation

6 Deutsch-Jozsa’s Algorithm

7 Quantum Computation of the Discrete Fourier Transform

8 Shor Algorithm

9 Quantum Cryptography

10 Communication Complexity

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 27 / 38

Page 28: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Let n be an integer to be factored

1 Select an integer m such that 1 < m < n.2 If gcd(n,m) = d > 1, then d is a non-trivial factor of n.3 Otherwise, m is in the multiplicative group of remainders of n.

1 If m has an even order r , then k = mr2 will be such that k 2 = 1 mod n,

and (k − 1)(k + 1) = 0 mod n.2 By calculating gcd(n, k − 1) and gcd(n, k + 1), one gets non-trivial

factors of n.

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 28 / 38

Page 29: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Biggest problem

Calculate the order of a current element m in Φ(n)

Let ν = dlog2 ne, ν is the size of n.O(n) = O(2ν), thus an exhaustive procedure has exponential complexitywith respect to the input size. Shor’s algorithm is based over apolynomial-time procedure in ν to calculate the order of an element.

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 29 / 38

Page 30: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Agenda

1 Abstract

2 Overview of the whole course

3 References

4 Hilbert Spaces

5 Function Evaluation

6 Deutsch-Jozsa’s Algorithm

7 Quantum Computation of the Discrete Fourier Transform

8 Shor Algorithm

9 Quantum Cryptography

10 Communication Complexity

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 30 / 38

Page 31: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Quantum Cryptography: Key Agreement Protocols

Two entities, Alice and Bob, should agree in private a common key.They may use two transmission channels

Quantum channel Transmits just one-way, say from Alice to Bob.

Classical channel Transmits bidirectionally.

We will present the BB84 Protocol, without and with noise.

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 31 / 38

Page 32: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Quantum computing elements

E0 = {e00 = (1, 0), e0

1 = (0, 1)}: canonical basis of H1

H(E0) = E1 = {e10, e

11}: basis of H1 obtained by applying Hadamard’s

operator to E0.E0 corresponds to a spin with vertical–horizontal polarization, E0 = {↑,→},whileE1 corresponds to a spin with oblique or NW–NE polarization,E1 = {↖,↗}.The same sequence of qubits can be measured either w.r.t. to E0 or E1.

An eavesdropper can be detected quite directly!This is characteristic of Quantum Cryptography.

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 32 / 38

Page 33: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Agenda

1 Abstract

2 Overview of the whole course

3 References

4 Hilbert Spaces

5 Function Evaluation

6 Deutsch-Jozsa’s Algorithm

7 Quantum Computation of the Discrete Fourier Transform

8 Shor Algorithm

9 Quantum Cryptography

10 Communication Complexity

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 33 / 38

Page 34: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Communication Complexity

The complexity of a communication process is determined by the minimuminformation quantity that should be transmitted, in order that the totalinformation can be recovered by the receiving part, within a given context.

Optimal Transmission

Let us assume that three sets X , Y , Z are given and a functionf : X × Y → Z . At some moment, Alice, who is a communicating part,possesses a point x ∈ X , Bob, who is a second part, possesses a pointy ∈ Y and both parts should calculate z = f(x, y), by interchanging theminimum information quantity.

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 34 / 38

Page 35: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Identity Checking

Exact and obvious method

If f : (x, y) 7→ χ=(x, y) is the characteristic function of the identity relation:

f(x, y) = 1 if and only if x = y,

then Alice and Bob should interchange n bits to calculate f(x, y).

n is exponential with respect to its size!

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 35 / 38

Page 36: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

An interesting question is whether an exact algorithm can be obtained withlogarithmic complexity.The following theorem excludes the possibility to communicate more thank (classical) bits of information by transmitting k qubits.

Holevo’s Theorem

The information quantity recovered from a register of qubits is upperlybounded by the value of von Neumann’s entropy, which is bounded byShannon’s entropy. Both entropies coincide whenever the qubits arepairwise orthogonal.

However, in Quantum Computing the use of the notion of entangled statesimproves the communication complexities of several procedures.

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 36 / 38

Page 37: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

Deutsch-Josza Relation

Pseudotelepathy Game

Given four sets X , Y , A and B, a relation R ⊂ X × and × A × B, and thefact that Alice and Bob are separated, far from each other, at a givenmoment Alice receives a point x ∈ X , Bob a y ∈ Y and they, trying tointerchange the minimum information, should produce, respectively, a ∈ Aand b ∈ B such that (x, y, a, b) ∈ R.

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 37 / 38

Page 38: Quantum Computing based on Tensor Products …delta.cs.cinvestav.mx/~gmorales/QuTutorial/qcsli01.pdf · Quantum Computing based on Tensor Products Overview and Introduction Guillermo

In particular, for n = 2k a power of 2, X = {0, 1}n = Y , A = {0, 1}k = B

R is Deutsch-Josza relation

(x, y, a, b) ∈ R ⇔[(Hn(x, y) = 0 ∧ a = b) ∨

(Hn(x, y) =

n2∧ a , b

)∨

Hn(x, y) <{0,

n2

}](3)

If the points x and y of Alice and Bob coincide, then the sequencesthat they produce should coincide

If x and y differ exactly in half of the bits, then the producedsequences should differ

In any other case no restrictions on produced sequences

Morales-Luna (CINVESTAV) QC based on Tensor Products 5-th Int. WS App. Cat. Th. 38 / 38