1

In general Grover's algorithm has a fixed number of solutions. But in special cases, we can't know the exact number of solutions, even the solutions change over time. So how to construct oracle in this case? Specifically, I need to implement the Grover's algorithm with unknown solutions using qiskit or pennylane.

Ren-Xin Zhao
  • 536
  • 3
  • 12
  • Related for general rather than platform-specific: https://quantumcomputing.stackexchange.com/questions/13318/what-to-do-when-the-amount-of-solutions-is-not-known-before-applying-grovers-alg – Joseph Geipel Oct 23 '23 at 21:47

0 Answers0