Oracle questions in Grover's Algorithm

Click For Summary
SUMMARY

Grover's Algorithm requires sqrt(N) invocations of the Oracle, where N equals 2^L and L is the number of qubits. This is essential for amplifying the probability of the correct answer amidst environmental noise, despite the Oracle knowing the correct bits on the first invocation. The algorithm's strength lies in its ability to efficiently search for solutions to verifiable questions, even when the underlying function is complex. David Deutsch's explanation of diffusion using NAND and XOR gates further illustrates the algorithm's mechanics.

PREREQUISITES
  • Understanding of quantum computing principles
  • Familiarity with Grover's Algorithm
  • Knowledge of qubits and quantum states
  • Basic programming concepts related to verification functions
NEXT STEPS
  • Study the mathematical foundation of Grover's Algorithm
  • Explore the role of amplitude amplification in quantum algorithms
  • Learn about the implementation of quantum gates, specifically NAND and XOR
  • Investigate the impact of noise on quantum computations
USEFUL FOR

Quantum computing enthusiasts, researchers in algorithm design, and professionals looking to understand the intricacies of Grover's Algorithm and its applications in searching and optimization problems.

dakshina gandikota
Messages
2
Reaction score
0
Following these links:

https://people.cs.umass.edu/~strubell/doc/quantum_tutorial.pdf
https://www.codeproject.com/Articles/1131573/Grovers-Search-Algorithm-explained

I have these questions:
  1. The Oracle "knows" the correct bits in the first invocation itself. So why do sqrt(N) invocations where N is the number of states given by N=2L and L is the number of qubits?
  2. Conversely, the intent seems: to increase the amplitude of the answer bits taking into account the noise from the environment during computation. I don't find any other reason to invoke the oracle beyond once. Anyone agree?
In this video



David Deutsch explains the diffusion in the algorithm using NAND and XOR gates. Can anyone explain to me what he means by that?
 
Physics news on Phys.org
> The Oracle "knows" the correct bits in the first invocation itself. So why do sqrt(N) invocations where N is the number of states given by N=2L and L is the number of qubits?

Just because you have a computer program that will output True for some value X, that doesn't mean you can easily figure out X or that the writer of the program needed to know X. For example, pick a random ten thousand bit prime P, then write:

Code:
P = ...
def is_period(x):
    return pow(2, x, P) == 1

This program is easy to evaluate, but its not so easy to figure out an x that makes it return true.

The power of Grover's algorithm is that it works in these situations where you only have a checker program. Anything you can phrase as a verifiable question, you can use Grover's algorithm to search for a satisfying answer.

The reason you need sqrt(N) evaluations is not so simple. See Section 4 of https://www.cs.cmu.edu/~odonnell/quantum15/lecture11.pdf .
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K