5. (8 points) (Determining a hidden dot product vector) Consider the problem where one is given...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
5. (8 points) (Determining a hidden "dot product vector") Consider the problem where one is given black-box access to a function f: {0, 1}" → {0, 1} such that f(x) = a-z, where a {0,1}" is unknown. (Here a-1 =₁²₁ +₂2₂ + ...+ ann mod 2, the dot product of a and z in modulo-2 arithmetic.) The goal is to determine the n-bit string a. (a) (2 points) Give a classical (i.e., not quantum) algorithm that solves this problem with n queries. (b) (2 points) Show that no classical algorithm can solve this problem with fewer than n queries. (Hint: you may use the fact that a system of k linear equations in n variables cannot have a unique solution if k <n, even in the setting of modulo-2 arithmetic.) (c) (2 points) Here and in part (d) we'll construct a quantum algorithm that solves this problem with a single query to f. The first step is to construct the (n+1)-qubit state (0) 0) 10) 11) and apply a Hadamard operation to each of the n+1 qubits. The second step is to query the oracle for f. What is the state after performing these two steps? (d) (2 points) Describe a measurement on the state obtained from part (c) whose result is the bits a10₂... (Hint: the state from part (c) is not entangled; it can be expressed as a tensor product of 1-qubit states, and it might clarify matters if you express it in such a factorized form.) 5. (8 points) (Determining a hidden "dot product vector") Consider the problem where one is given black-box access to a function f: {0, 1}" → {0, 1} such that f(x) = a-z, where a {0,1}" is unknown. (Here a-1 =₁²₁ +₂2₂ + ...+ ann mod 2, the dot product of a and z in modulo-2 arithmetic.) The goal is to determine the n-bit string a. (a) (2 points) Give a classical (i.e., not quantum) algorithm that solves this problem with n queries. (b) (2 points) Show that no classical algorithm can solve this problem with fewer than n queries. (Hint: you may use the fact that a system of k linear equations in n variables cannot have a unique solution if k <n, even in the setting of modulo-2 arithmetic.) (c) (2 points) Here and in part (d) we'll construct a quantum algorithm that solves this problem with a single query to f. The first step is to construct the (n+1)-qubit state (0) 0) 10) 11) and apply a Hadamard operation to each of the n+1 qubits. The second step is to query the oracle for f. What is the state after performing these two steps? (d) (2 points) Describe a measurement on the state obtained from part (c) whose result is the bits a10₂... (Hint: the state from part (c) is not entangled; it can be expressed as a tensor product of 1-qubit states, and it might clarify matters if you express it in such a factorized form.)
Expert Answer:
Answer rating: 100% (QA)
a One classical algorithm that solves this problem with n queries is as follows 1 Initialize an nbit ... View the full answer
Related Book For
An Introduction To Statistical Methods And Data Analysis
ISBN: 9781305465527
7th Edition
Authors: R. Lyman Ott, Micheal T. Longnecker
Posted Date:
Students also viewed these programming questions
-
What type of analysis helps engineers, designers and decision makers asses the designs purpose and likely acceptance in the marketplace?
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
Lacoste t-shirts come with an average price of $ 120 a piece, at their factory outlet with a std. deviation of $ 17. But at the Seasonal Sale (Discount) outlets of these t- shirts, it was also...
-
How fast must an average pion be moving to travel 15m before it decays? The average lifetime, at rest, is 2.6 X 10-8s.
-
Would a 5% or 10% increase in the price of a product lead you to switch to another product? For what fraction of purchases? Would an increase in the price of a broader collection of products (such as...
-
Provide examples for sequential access, both real and virtual.
-
A manager wants to assign tasks to workstations to achieve an hourly output rate of 33 units. Assume that the shop works 60 minutes per hour (i.e., no breaks). a. Assign the tasks shown in the...
-
Discuss the 4 types of dividends.Whichof the 4 isused most often, and why?What may happen to a company's share price when dividends areannounced orpaid?Why do you think this is so?
-
"Part 1: The Performance Lawn Equipment database contains data needed to develop a pro forma income statement. Dealers selling PLE products all receive 18% of sales revenue for their part of doing...
-
While shutdown, the core accidentally went critical and the reactor pressure vessel rose in temperature and was hot for two hours, but all instrumentation has failed and no one is sure what the...
-
A cannonball has just been shot out of a cannon aimed 45 above the horizontal. Drag cannot be neglected.
-
True or False: If AW(A) < AW(B), then AW(B-A) > 0.
-
A bicyclist rides down a hill with a 3.0 slope; he attains a terminal speed of 15.0 m/s. What terminal speed would he reach if he went down a 6.0 slope? a. 17 m/s b. 21 m/s c. 26 m/s d. 30 m/s e. 33...
-
In a car crash, large accelerations of the head can lead to severe injuries or even death. A driver can probably survive an acceleration of 50g that lasts for less than 30 ms, but in a crash with a...
-
Upon impact, bicycle helmets compress, thus lowering the potentially dangerous acceleration experienced by the head. A new kind of helmet uses an airbag that deploys from a pouch worn around the...
-
4. Design a 5-bit magnitude comparator using IC 7485 shown below. Please show your full work including any truth tables or K-maps that you derive or additional gates/circuits that you come up with....
-
Using Gauss-Jordan elimination, invert this matrix ONLY 0 0 0 0 1
-
Refer to Exercise 3.24. Average the three group means, the three group medians, and the three group modes, and compare your results to those of part (b). Comment on your findings. In exercise Rate...
-
Nylon bars were tested for brittleness. Each of 280 bars was molded under similar conditions and was tested by placing a fixed stress at specified locations on the bar. Assuming that each bar has...
-
Refer to Exercise 10.73. For each of the four levels of frequency of purchase, compute the proportion of customers in each of the four adequacy of selection categories. Describe the trends in the...
-
Use Minitab to obtain the results of Tukey's test for the shear bond strength data from Example 1 in Section 13.1. Approach The steps for obtaining the results of Tukey's test using Minitab, Excel,...
-
Another scientist examines how the presence of a nonnative bird species, the starling, affects other species of birds. Is this a population-level study, a community-level study, or an ecosystem-level...
-
What is the function of the placenta?
Study smarter with the SolutionInn App