Quantum Gates and Simon's Algorithm

Quantum Gates and Simon's Algorithm

Introduction to Quantum Algorithms Part I: Quantum Gates and Simon’s Algorithm Martin Rotteler¨ NEC Laboratories America, Inc. 4 Independence Way, Suite 200 Princeton, NJ 08540, U.S.A. International Summer School on Quantum Information, Max-Planck-Institut fur¨ Physik komplexer Systeme Dresden, August 31, 2005 Martin Rotteler,¨ NEC Laboratories America Introduction to Quantum Algorithms Overview Today: Introduction to qubits, quantum gates, and circuits. Appetizer: Two-bit problem where quantum beats classical! The power of quantum computing: Simon’s algorithm Basic principles used: Computing in superposition Constructive/destructive interference Tomorrow: Shor’s algorithm and Grover’s algorithm Martin Rotteler,¨ NEC Laboratories America Introduction to Quantum Algorithms Basics: Quantum Information Quantum–bit (qubit) A qubit is a normalized state in C2: α |0i + β |1i , α, β ∈ C, where |α|2 + |β|2 = 1. Quantum register A quantum register of length n is a collection of qubits q1,..., qn. Possible operations / dynamics A quantum computer can perform unitary operations on quantum registers measure single qubits Martin Rotteler,¨ NEC Laboratories America Introduction to Quantum Algorithms Basics: Quantum Information Quantum–bit (qubit) A qubit is a normalized state in C2: α |0i + β |1i , α, β ∈ C, where |α|2 + |β|2 = 1. Quantum register A quantum register of length n is a collection of qubits q1,..., qn. Possible operations / dynamics A quantum computer can perform unitary operations on quantum registers measure single qubits Martin Rotteler,¨ NEC Laboratories America Introduction to Quantum Algorithms Basics: Quantum Information Quantum–bit (qubit) A qubit is a normalized state in C2: α |0i + β |1i , α, β ∈ C, where |α|2 + |β|2 = 1. Quantum register A quantum register of length n is a collection of qubits q1,..., qn. Possible operations / dynamics A quantum computer can perform unitary operations on quantum registers measure single qubits Martin Rotteler,¨ NEC Laboratories America Introduction to Quantum Algorithms Bits vs Qubits One classical bit One quantum bit (qubit) is in one of the basis states is in a coherent superposition ↑ =b High =b 1 |Ψi = α |↑i + β |↓i ↓ = Low = 0 b b of the basis states |↑i, |↓i 2 Boolean state space: Quantum state space H2 = C : n 2 2 o IF2 = {↑, ↓} = {0, 1} α |↑i + β |↓i : |α| + |β| = 1 consisting of 2 elements of 2 dimensions Martin Rotteler,¨ NEC Laboratories America Introduction to Quantum Algorithms Bits vs Qubits One classical bit One quantum bit (qubit) is in one of the basis states is in a coherent superposition ↑ =b High =b 1 |Ψi = α |↑i + β |↓i ↓ = Low = 0 b b of the basis states |↑i, |↓i 2 Boolean state space: Quantum state space H2 = C : n 2 2 o IF2 = {↑, ↓} = {0, 1} α |↑i + β |↓i : |α| + |β| = 1 consisting of 2 elements of 2 dimensions Martin Rotteler,¨ NEC Laboratories America Introduction to Quantum Algorithms Two Bits vs Two Qubits Two classical bits Two bits can hold either of the 4 states in the state space {0, 1} × {0, 1} = {0, 1}2 = {↑↑, ↓↑, ↑↓, ↓↓}. Two coupled qubits A register of two coupled qubits can hold any of the states |Ψi = α |↑↑i + β |↓↑i + γ |↑↓i + δ |↓↓i 2 2 in the state space H2 ⊗ H2 = C ⊗ C . Two separate qubits Two separate qubits can hold any of the product states |Ψ1i ⊗ |Ψ2i = (α1 |↑i + β1 |↓i)⊗(α2 |↑i + β2 |↓i) 2 2 in the state space H2 ⊕ H2 ⊂ C ⊕ C . Martin Rotteler,¨ NEC Laboratories America Introduction to Quantum Algorithms Two Bits vs Two Qubits Two classical bits Two bits can hold either of the 4 states in the state space {0, 1} × {0, 1} = {0, 1}2 = {↑↑, ↓↑, ↑↓, ↓↓}. Two coupled qubits A register of two coupled qubits can hold any of the states |Ψi = α |↑↑i + β |↓↑i + γ |↑↓i + δ |↓↓i 2 2 in the state space H2 ⊗ H2 = C ⊗ C . Two separate qubits Two separate qubits can hold any of the product states |Ψ1i ⊗ |Ψ2i = (α1 |↑i + β1 |↓i)⊗(α2 |↑i + β2 |↓i) 2 2 in the state space H2 ⊕ H2 ⊂ C ⊕ C . Martin Rotteler,¨ NEC Laboratories America Introduction to Quantum Algorithms Two Bits vs Two Qubits Two classical bits Two bits can hold either of the 4 states in the state space {0, 1} × {0, 1} = {0, 1}2 = {↑↑, ↓↑, ↑↓, ↓↓}. Two coupled qubits A register of two coupled qubits can hold any of the states |Ψi = α |↑↑i + β |↓↑i + γ |↑↓i + δ |↓↓i 2 2 in the state space H2 ⊗ H2 = C ⊗ C . Two separate qubits Two separate qubits can hold any of the product states |Ψ1i ⊗ |Ψ2i = (α1 |↑i + β1 |↓i)⊗(α2 |↑i + β2 |↓i) 2 2 in the state space H2 ⊕ H2 ⊂ C ⊕ C . Martin Rotteler,¨ NEC Laboratories America Introduction to Quantum Algorithms Many Bits vs Many Qubits Classical register of n bits n holds one of the 2 states = 1 ··· n of the state space {0, 1}n = {0, 1} × · · · × {0, 1}. Quantum register of n qubits can hold any coherent superposition X |Ψi = α1···n |1i ⊗ |2i ⊗ · · · ⊗ |ni ∈{0,1}n n 2 2 2 2n in the 2 dimensional space H2n = C ⊗C ⊗ · · · ⊗C = C . Product states of n qubits can only hold a product state |Ψ1i ⊗ |Ψ2i ⊗ · · · ⊗ |Ψni = (α1 |↑i + β1 |↓i) ⊗ · · · ⊗ (αn |↑i + βn |↓i) (thus, only linear scaling of system and dimension) Martin Rotteler,¨ NEC Laboratories America Introduction to Quantum Algorithms Many Bits vs Many Qubits Classical register of n bits n holds one of the 2 states = 1 ··· n of the state space {0, 1}n = {0, 1} × · · · × {0, 1}. Quantum register of n qubits can hold any coherent superposition X |Ψi = α1···n |1i ⊗ |2i ⊗ · · · ⊗ |ni ∈{0,1}n n 2 2 2 2n in the 2 dimensional space H2n = C ⊗C ⊗ · · · ⊗C = C . Product states of n qubits can only hold a product state |Ψ1i ⊗ |Ψ2i ⊗ · · · ⊗ |Ψni = (α1 |↑i + β1 |↓i) ⊗ · · · ⊗ (αn |↑i + βn |↓i) (thus, only linear scaling of system and dimension) Martin Rotteler,¨ NEC Laboratories America Introduction to Quantum Algorithms Many Bits vs Many Qubits Classical register of n bits n holds one of the 2 states = 1 ··· n of the state space {0, 1}n = {0, 1} × · · · × {0, 1}. Quantum register of n qubits can hold any coherent superposition X |Ψi = α1···n |1i ⊗ |2i ⊗ · · · ⊗ |ni ∈{0,1}n n 2 2 2 2n in the 2 dimensional space H2n = C ⊗C ⊗ · · · ⊗C = C . Product states of n qubits can only hold a product state |Ψ1i ⊗ |Ψ2i ⊗ · · · ⊗ |Ψni = (α1 |↑i + β1 |↓i) ⊗ · · · ⊗ (αn |↑i + βn |↓i) (thus, only linear scaling of system and dimension) Martin Rotteler,¨ NEC Laboratories America Introduction to Quantum Algorithms Our Model of Measurements von Neumann measurements of one qubit First, specify a basis B for C2, e. g. {|0i , |1i}. The outcome of measuring the state α |0i + β |1i is described by a random variable X. The probabilities to observe “0” or “1” are given by Pr(X = 0) = |α|2, Pr(X = 1) = |β|2. Measuring a state in Cn in an orthonormal basis B Recall: Orthonormal Basis of CN B = {|ψi i : i = 1,..., N}, where hψi |ψj i = δi,j PN PN 2 Let |ϕi = i=1 αi |ii, where i=1 |αi | = 1. Then measuring |ϕi in the basis B gives random variable XB taking values 1,..., N: 2 2 Pr(XB = 1) = |hψ1|ϕi| ,..., Pr(XB = N) = |hψN |ϕi| . Martin Rotteler,¨ NEC Laboratories America Introduction to Quantum Algorithms Our Model of Measurements von Neumann measurements of one qubit First, specify a basis B for C2, e. g. {|0i , |1i}. The outcome of measuring the state α |0i + β |1i is described by a random variable X. The probabilities to observe “0” or “1” are given by Pr(X = 0) = |α|2, Pr(X = 1) = |β|2. Measuring a state in Cn in an orthonormal basis B Recall: Orthonormal Basis of CN B = {|ψi i : i = 1,..., N}, where hψi |ψj i = δi,j PN PN 2 Let |ϕi = i=1 αi |ii, where i=1 |αi | = 1. Then measuring |ϕi in the basis B gives random variable XB taking values 1,..., N: 2 2 Pr(XB = 1) = |hψ1|ϕi| ,..., Pr(XB = N) = |hψN |ϕi| . Martin Rotteler,¨ NEC Laboratories America Introduction to Quantum Algorithms Two Important Types of Operations Local operations U U 1N ⊗ U = , where U ∈ U(2). . .. U Conditioned operation: the controlled NOT (CNOT) |00i 7→ |00i 1 ··· • |01i 7→ |01i · 1 ·· = = |10i 7→ |11i b ··· 1 b |11i 7→ |10i ·· 1 · i Martin Rotteler,¨ NEC Laboratories America Introduction to Quantum Algorithms Two Important Types of Operations Local operations U U 1N ⊗ U = , where U ∈ U(2). . .. U Conditioned operation: the controlled NOT (CNOT) |00i 7→ |00i 1 ··· • |01i 7→ |01i · 1 ·· = = |10i 7→ |11i b ··· 1 b |11i 7→ |10i ·· 1 · i Martin Rotteler,¨ NEC Laboratories America Introduction to Quantum Algorithms Notation for Quantum Gates Gate in Feynman notation Corresponding transformation 2 3 1 · 1 · 6 · 1 · 17 H2 √1 6 7 2 41 · −1 ·5 · 1 · −1 2 3 1 ··· 6 7 6 ·· 1 ·7 @ 4 5 @ · 1 ·· ··· 1 2 3 1 ··· 6 7 6 · 1 ·· 7 4 5 s ·· u11 u12 U ·· u21 u22 Martin Rotteler,¨ NEC Laboratories America Introduction to Quantum Algorithms Notation for Quantum Gates Gate in Feynman notation Corresponding transformation 2 3 1 · 1 · 6 · 1 · 17 H2 √1 6 7 2 41 · −1 ·5 · 1 · −1 2 3 1 ··· 6 7 6 ·· 1 ·7 @ 4 5 @ · 1 ·· ··· 1 2 3 1 ··· 6 7 6 · 1 ·· 7 4 5 s ·· u11 u12 U ·· u21 u22 Martin Rotteler,¨ NEC Laboratories America Introduction to Quantum Algorithms Two Constructions for Matrices Tensor product ! ! T1 ⊗ T2 = (T1 ⊗ I)(I ⊗ T2) = I ⊗ T2 classically parallel T1 ⊗ T2 quantum parallel =⇒ independent dynamics classical: expensive, quantum: easy, since local operations Direct sum ! T1 ⊕ T2 = (T1 ⊕ I)(I ⊕ T2) = I ⊕ T2 conditional operation T1 ⊕ T2 CASE operator =⇒ coupled dynamics classical: easy, quantum: difficult, since entangled Martin Rotteler,¨ NEC Laboratories America Introduction to Quantum Algorithms Two Constructions for Matrices Tensor product ! ! T1 ⊗ T2 = (T1 ⊗ I)(I ⊗ T2) = I ⊗ T2 classically parallel T1 ⊗ T2 quantum parallel =⇒ independent dynamics classical: expensive, quantum: easy, since local operations Direct sum ! T1 ⊕ T2 = (T1 ⊕ I)(I ⊕ T2) = I ⊕ T2 conditional operation T1 ⊕ T2 CASE operator =⇒ coupled dynamics classical: easy, quantum: difficult, since entangled Martin Rotteler,¨ NEC Laboratories America Introduction to Quantum Algorithms The Hadamard Transform The Hadamard transform on one qubit 1 1 1 H2 = √ 2 1 −1 1 X = √ (−1)xy |xi hy| .

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    247 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us