I want to know how can i compute the support of a database using only quantum algorihtm

tried to use Grover algorihtm but i did not have the result i want

  • is 100% self-contained — someone can copy-paste exactly what is here and run it to
    reproduce the behaviour you are observing
  • includes comments
# Put code here

If you want help with diagnosing an error, please put the full error message below:

# Put full error message here

And, finally, make sure to include the versions of your packages. Specifically, show us the output of qml.about().

Hi @chaymae_Lakrafli , welcome to the Forum!

I encourage you to follow our demo on Grover’s algorithm or our Codebook modules about this if you want to learn more about it!

If it’s your first time exploring Grover’s I’d recommend the Codebook resources first.

I hope this helps!