Quantum Information & Quantum Computation
Total Page:16
File Type:pdf, Size:1020Kb
CS290A, Spring 2005: Quantum Information & Quantum Computation Wim van Dam Engineering 1, Room 5109 vandam@cs http://www.cs.ucsb.edu/~vandam/teaching/CS290/ Administrative • The Final Examination will be: Monday June 6, 12:00–15:00, PHELPS 1401 • New Exercises are posted Try to answer Question 2 before Thursday. Last Week / This Week • Last week we looked at quantum money and quantum cryptography, which uses the qubit states 0,1,+,–. • This week we will extend this idea to describe “quantum fingerprinting”. • Also this week: superdense quantum coding and quantum teleportation of quantum states. Fingerprinting Assume two parties A and B that each have data in the form of a (long) string x and y ∈{0,1} N. A and B want to check if they have the same data, without revealing a priori to the other their strings. They do this by sending (publicly) information about their strings (x and y) to a trusted third party C, who decides. Sending the whole strings is not allowed because the strings are too long / risk of eavesdropping. A and B want to have a way of fingerprinting their strings. Quantum Fingerprinting “Quantum Fingerprinting” refers to a way of mapping the ∈ N strings x,y {0,1} to quantum states | φx〉 and | φy〉, that live in a ‘much smaller than 2 N’-dimensional Hilbert space, such that from ψ and φ we can tell decide whether x=y. ∈ N The set { |φx〉 : x {0,1} } cannot be mutually orthogonal. Instead we will have to work with near orthogonal states. ∈ N Central Idea: Encode x {0,1} into m qubit state |φx〉 (with m much smaller than N). 2 Do this in a way such that | 〈φx|φy〉| ≤ ½ if x≠y. Third party decides if |φx〉 = |φy〉 or not. Simple Example Let x and y be from a set of 6 possibilities. Let | φx〉 and |φy〉 be qubits from the set of 6 states {|0〉, |1〉, (|0〉+|1〉)/ √2, (|0〉–|1〉)/ √2, (|0〉+i|1〉)/ √2, (|0〉–i|1〉)/ √2} 2 For all qubit states with x≠y we have |〈φx|φy〉| ≤ ½. The third party receives two unknown states |φx〉 and |φy〉 that are either the same or very different. How to distinguish between these two possibilities? A Quantum State Equality Tester for unknown states can be implemented with a Controlled Swap Test… Controlled Swap Test • Given two unknown quantum states | ψ〉 and | φ〉, are they the same or not? • You can test this using the Controlled Swap Test” C-SWAP:|0,x,y 〉 # |0,x,y 〉 |0 |0 ? C-SWAP:|1,x,y 〉 # |1,y,x 〉 〉 H H 〉 in the circuit……………. | S φ〉 W | A ψ〉 P • Observing a “0” indicates that |ψ〉 and | φ〉 are close to each other, observing a “1” that they are far apart. • What are the exact probabilities? Probabilities of C-SWAP • The evolution of the system is |0 〉 H H |0 〉? ,0 , a 1 ( ,0 , + ,1 , ) | S φ ψ 2 φ ψ φ ψ φ〉 W A 1 | 〉 a ( ,0 , + ,1 , ) ψ P 2 φ ψ ψ φ a 1 + + − 2 ( ,0 φ,ψ ,1φ,ψ ,0 ψ,φ ,1ψ,φ ) = ⊗ 1 + + ⊗ 1 − 0 2 ( φ,ψ ψ,φ ) 1 2 ( φ,ψ ψ,φ ) The probability of observing a “0” is therefore = 1 + + Prob("0" ) 4 ( φ,ψ ψ,φ )( φ,ψ ψ,φ ) = 1 + + 4 2( ψ,φ φ,ψ φ,ψ ψ,φ ) 2 = 1 + 1 2 2 ψ φ Equality Testing • The previous calculations |0 〉 H H |0 〉? show that if | , |2 1, 〈φ ψ〉 ≈ |φ〉 S then the probability of W |ψ〉 A observing a “0” is ≈ 1. P • If | 〈φ,ψ〉|2 ≈ 0, then the probability of “0” is ≈ ½. • By repeating the experiment a number of times (using fresh copies of | ψ〉 and | φ〉), we can –with near certainty– distinguish between the cases |ψ〉 = | φ〉 and |〈φ,ψ〉|2 ≤ ½. More on Q-Fingerprinting Using methods from error correction it is possible to encode N bits of information into M ≈ c log N qubits 2 such that |〈φx|φy〉| ≤ ½ if x≠y. Even if we have to send many copies of the the fingerprint, it will still be more efficient than sending the N classical bits of the original strings x and y. Added advantage: because we send such a highly compressed quantum state, it is impossible to infer the string x from the fingerprint |φx〉. Communication & Entanglement • Holevo’s bound tells us that we can encode only one bit of information into one qubit. This bound assumes that the qubit is unentangled. • Things change if we allow the communication of qubits that are entangled with qubits of the receiver. • What happens if A and B share a prior entangled pair of qubits |EPR 〉 = (|0 A,0 B〉+|1 A,1 B〉)/ √2 before Alice is to send (quantum) information to Bob? Superdense Quantum Coding • Let A and B share an EPR pair of qubits. Alice wants to transmit classical information to Bob. • Using Superdense coding, A can send two bits of information to B, using only one qubit. • Approach: Depending on A’s input {1,2,3,4} she applies to her side of the EPR pair, one of 4 transformations { I, X, Y, Z}, and sends her EPR qubit to Bob. • From the changed EPR pair, Bob decodes which transformation A has applied. This can be done reliably and will transfer 2 bits of information from A to B. How to Do It? • Look back at Question 1, Exercises 2 (Week 3) )I( a 1 ( 00 + 11 ) • The four transformations 2 give us four entangled (X) a 1 ( 10 + 01 ) states that are mutually 2 orthogonal… (Y) a 1 10i( − i 01 ) 2 )Z( a 1 ( 00 − 11 ) 2 • With a CNOT and a Hadamard, Bob can map those states to the outputs |00 〉, |01 〉, –i|11 〉 |and |10 〉. More on Superdense Coding • One can prove that the 2 bits / 1 qubit ratio is optimal: it is not possible to send (say) 3 bits of information using 1 qubit and lots of entanglement. • Superdense coding is not possible classically. • Experimental implementation of superdense coding: [Zeilinger et al.,1996, Innsbruck, Austria] • Can we do the inverse: Send quantum information using classical communication between A and B? What is Teleportation? Alice unknown q qubit = α 0 + β 1 Alice wants to send her unknown quantum information to Bob A and B do not have a quantum channel: only classical communication is allowed. Alice cannot tell Bob what the values nor can she measure |q Bob. 〉 to see what they are. Solution: Use α,β are, an entangled EPR pair Towards Teleportation The first two qubits are on Alice’s side The 3 rd one is Bob’s After H/CNOT, they share an EPR pair. Alice performs a CNOT and a Hadamard to her 2 qubits and measures them in the 0/1 basis. What can she expect to observe? ?tuOtup q ⊗ EPR = ( 0 + 1 ) ⊗ 1 ( 00 + 11 ) α β 2 = 1 0( , 00+0 , 11+1 , 00+1 , 11) 2 α α β β a 1 0( , 00+0 , 11+1 , 01+1 , 10) 2 α α β β a 1 + + + + 20(α , 001α , 000α , 111α , 11 0β , 01−1β , 01+0β , 10−1β , 10) adeerRlgss of = 1 ⊗ + + 2 00 (α 0 β 1 ) thauele s vα,β 1 10 ⊗ ( 1 + 0 ) + tpho reb atibyli 2 α β fmonuieg ras 1 ⊗ − + 2 01 (α 0 β 1 ) 0{0,,101110}, 1 ⊗ − s iounaetqer.- r 2 11 (α 1 β 0 ) Effect of A’s Measurement = 1 00 ⊗ ( 0 + 1 ) + 2 α β Depending on the two 1 ⊗ + + leftmost qubits (A’s side), 2 01 (α 1 β 0 ) the third qubit (B’s side) 1 ⊗ − + 2 10 (α 0 β 1 ) is 1-out of-4 permutations 1 ⊗ − of the original qubit |q . 2 11 (α 1 β 0 ) 〉 When A measures the Outcome “00”: → α|0 〉+β|1 〉 two bits ∈{00,01,10,11} Outcome “01”: → α|1 〉+β|0 〉 the qubit of B collapses Outcome “10”: → α|0 〉–β|1 〉 to 1 of the 4 versions of q. Outcome “11”: → α|1 〉–β|0 〉 When A tells B which one of the 4 outcomes she has observed, Bob knows what to do to correct his qubit to the original |q 〉. Bob’s Correction “00”: → α|0 〉+β|1 〉 When A tells B which one of the “01”: → α|1 〉+β|0 〉 4 outcomes she has observed, “10”: → α|0 〉–β|1 〉 Bob knows what to do to correct “11”: → α|1 〉–β|0 〉 his qubit to the original |q 〉… If first bit is a “1”, Bob applies a Z gate |b 〉 # (–1) b|b 〉. If 2nd bit is a “1”, Bob applies a NOT |b 〉 # |b ⊕1〉 The outcome will always be α|0 〉+β|1 〉 = |q 〉 Bob has (re)created the unknown qubit q that was on Alice’s side. During the process Alice has ‘lost’ her copy of the qubit (otherwise we would have copied q). Teleportation Alice Shared EPR pair Bob unknown qubit |q 〉 = α|0 〉+β|1 〉. G Alice applies a CNOT and a Hadamard to Bob receives the two q and her EPR half. bits and acts on his side of the EPR, in She measures the bits in a way that recreates the 0/1 basis and sends the unknown qubit the information to Bob. |q 〉 = α|0 〉+β|1 〉. What Just Happened? • Teleportation requires one EPR pair and two classical bits to transfer one qubit from A to B. • Superdense coding requires one EPR pair and one quantum bit to transfer two classical bits of information.