Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • $\begingroup$ Yes sorry, that 6 was from a previous edit $\endgroup$ Commented May 20, 2018 at 15:36
  • 3
    $\begingroup$ Thank you for your answer. I fixed the miswriting. What's the point of executing the algorithm if in order to build the oracle I need to know the position of the searched element? $\endgroup$ Commented May 20, 2018 at 15:39
  • 1
    $\begingroup$ @incud Indeed it does not make sense. I've updated the answer. $\endgroup$ Commented May 20, 2018 at 16:10
  • 1
    $\begingroup$ Why, or rather how, does the Oracle know this? In a real world scenario, a programmer would write a quantum program Grover's search that would also include an Oracle. But at the time of writing the code, the programmer (who is also writing the code for the Oracle) would have no idea about where the ace of spades is. If he did, what's the point of using an algorithm at all? $\endgroup$ Commented Jan 5, 2021 at 17:23