Problem Set 5
Assigned: April 29, 2008
Due: May 13, 2008
1.
Let a puzzle generator be a polynomial-time algorithm that maps a random string to a pair , where is a 3SAT instance and is a satisfying assignment for , such that for all polynomial-time algorithms ,
is negligible (less than ). Show that puzzle generators exist if and only if one-way functions exist.
2.
The following questions concern the RSA cryptosystem.
(a) Recall that, having chosen primes and such that and are not divisible by , a key step in RSA is to find an integer such that
Give a simple procedure to find such a given and , which requires only arithmetic operations.
(b) Given a product of two primes, , show that if an eavesdropper can efficiently determine (the order of the multiplicative group mod ), then she can also efficiently determine and themselves.
3.
Recall that the VC-dimension of a concept class , or , is the largest for which there exist points such that for all possible Boolean values of , there exists a concept that realizes those values. If such exist for arbitrarily large finite , then .
(a) Let be the concept class consisting of all filled-in rectangles in the plane, whose sides are aligned with the and axes. Show that .
(b) Show that if is finite, then .
(c) Show that there is a class with countably many concepts such that .
4.
Show that if you apply Hadamard gates to qubits and , followed by a CNOT gate from to , followed by Hadamard gates to and again, the end result is the same as if you had applied a CNOT gate from to . Pictorially,
This illustrates a principle of quantum mechanics you may have heard about: that any physical interaction by which influences can also cause to influence (so for example, it is impossible to measure a particle’s state without affecting it).
5.
Consider the following game played by Alice and Bob. Alice receives a bit and Bob receives a bit , with both bits uniformly random and independent. The players win if Alice outputs a bit and Bob outputs a bit such that . (Alice and Bob are cooperating in this game, not competing.) The players can agree on a strategy in advance, but once they receive and no further communication between them is allowed.
(a) Give a deterministic strategy by which Alice and Bob can win this game with probability.
(b) Show that no deterministic strategy lets them win with more than probability.
(c) [Extra credit] Show that no probabilistic strategy lets them win with more than probability.
Now suppose Alice and Bob share the entangled state
with Alice holding one qubit and Bob holding the other qubit. Suppose they use the following strategy: if , then Alice applies the unitary matrix
to her qubit, otherwise she doesn’t. She then measures her qubit in the standard basis and outputs the result. If , then Bob applies the unitary matrix
to his qubit, otherwise he doesn’t. He then measures his qubit in the standard basis and outputs the result.
(d) Show that if , then Alice and Bob win the game with probability using this strategy.
(e) Show that if and (or vice versa), then Alice and Bob win with probability
(f) Show that if , then Alice and Bob win with probability .
(g) Combining parts (d)-(f), conclude that Alice and Bob win with greater overall probability than would be possible in a classical universe.
You have just proved the CHSH/Bell Inequality — one of the most famous results of quantum mechanics — which showed the impossibility of Einstein’s dream of removing “spooky action at a distance” from quantum mechanics. Alice and Bob’s ability to win the above game more than of the time using quantum entanglement was experimentally confirmed in the 1980’s.