2

In grover's algorithm the oracle gives the output 1 if the element we want is there, my question is, how does the function know what element is to be searched for or how do you put in the element you want to teach for specifically to the oracle?

In simple words, we manually design the oracle for the input we want it to search right?

glS
  • 24,708
  • 5
  • 34
  • 108

0 Answers0