Question

Quantum Operator • Here is the quantum circuit that implementation of the function f: gives a unitary x}ly) 3 x) ly+f(x)) —

Exercise 18.6: Show that |0Of(x)> – |10f(x)> = (-1)f(x)(10> – 11>) Hint: You can check that this works for each of the possib

Problem regarding the Deutsh algorithm for Quantum computing.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

It is given in the question that this problem can be solved by a trial and error method.

The possible values of f(x) is 0 and 1

For f(x) = 0,

The LHS is

10602-11 +0>

From the tabular column, this is

000> -10 >= 0 > -1 >

on the RHS,

(-1)^f(x) = -1^0 = 1

So,

the RHS becomes

RHS=1*(0 > -1>) = 0 > -1 >= LHS

For f(x) = 1,

The LHS is

101>-|11>

From the tabular column, this is

000> -10 >= 1 >-0>

on the RHS,

(-1)^f(x) = -1^1 = -1

So,

the RHS becomes

RHS = -1*(1 >-0>) = 0 > -1 >= LHS

Since LHS = RHS for all possible values of f(x), the equation is true

Add a comment
Know the answer?
Add Answer to:
Problem regarding the Deutsh algorithm for Quantum computing. Quantum Operator • Here is the quantum circuit...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 9. (5 points) Please describe an algorithm that takes as input a list of n integers...

    9. (5 points) Please describe an algorithm that takes as input a list of n integers and finds the number of negative integers in the list. 10. (5 points) Please devise an algorithm that finds all modes. (Recall that a list of integers is nondecreasing if each term of the list is at least as large as the preceding term.) 11. (5 points) Please find the least integer n such that f() is 0(3") for each of these functions f()...

  • Undecimal to decimal&decimal to undecimal #Your code here Thank you! Binary-to-Decimal In a previous lab, we...

    Undecimal to decimal&decimal to undecimal #Your code here Thank you! Binary-to-Decimal In a previous lab, we considered converting a byte string to decimal. What about converting a binary string of arbitrary length to decimal? Given a binary string of an arbitrarily length k, bk-1....bi .box the decimal number can be computed by the formula 20 .bo +21.b, + ... + 2k-1. bx-1- In mathematics, we use the summation notation to write the above formula: k- 2.b; i=0) In a program,...

  • This C++ Program consists of: operator overloading, as well as experience with managing dynamic memory allocation...

    This C++ Program consists of: operator overloading, as well as experience with managing dynamic memory allocation inside a class. Task One common limitation of programming languages is that the built-in types are limited to smaller finite ranges of storage. For instance, the built-in int type in C++ is 4 bytes in most systems today, allowing for about 4 billion different numbers. The regular int splits this range between positive and negative numbers, but even an unsigned int (assuming 4 bytes)...

  • I need help preparing a bank reconcilliation for Roberts Lawn Service. The bank statement information is...

    I need help preparing a bank reconcilliation for Roberts Lawn Service. The bank statement information is in the first picture. The book information is in the 2nd and 3rd picture. Extra information is also included Date Number Description Withdrawals Deposits Balance 12/1/2018 Deposit 30,000.00 30,000.00 12/5/2018 101 Check 750.00 29,250.00 12/5/2018 100 Check 8,000.00 21,250.00 12/6/2018 102 Check 1,200.00 20,050.00 12/11/2018 103 Check 90.00 19,960.00 12/12/2018 104 Check 400.00 19,560.00 12/15/2018 Deposit 1,400.00 20,960.00 12/21/2018 105 Check 230.00 20,730.00 12/29/2018...

  • CASE 1-5 Financial Statement Ratio Computation Refer to Campbell Soup Company's financial Campbell Soup statements in...

    CASE 1-5 Financial Statement Ratio Computation Refer to Campbell Soup Company's financial Campbell Soup statements in Appendix A. Required: Compute the following ratios for Year 11. Liquidity ratios: Asset utilization ratios:* a. Current ratio n. Cash turnover b. Acid-test ratio 0. Accounts receivable turnover c. Days to sell inventory p. Inventory turnover d. Collection period 4. Working capital turnover Capital structure and solvency ratios: 1. Fixed assets turnover e. Total debt to total equity s. Total assets turnover f. Long-term...

  • Question 7 is related to the force vs mass graph that is provided and the first...

    Question 7 is related to the force vs mass graph that is provided and the first section of the excel sheet. Question 3 has to do with the force bs acceleration graph and second section of the excel sheet. The first two files are showing the equations that are supposed to be used to find these answers. Any help would be greatly appreciated. I mainly need assistance on number 1 and 2 now. The question with the free body diagram...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT