#project
I have made a guessing game using Grover's algorithm. What it does is, you pick a number, and if that number is in the list, it will find where it is in a very short try (O(sqrt N)), where N is the length of the list. If we think of the numbers as coins, it will toss all the coins into the air and will mark the one we picked (by magic), increasing the chance of getting the marked one and reducing those that aren't marked. So, when we measure, we get the place (index) we want.
Does it work well? It's a probability; that's why it's a game for the computer to get it right (not really, it's just prone to errors, that's all).
Link
I have made a guessing game using Grover's algorithm. What it does is, you pick a number, and if that number is in the list, it will find where it is in a very short try (O(sqrt N)), where N is the length of the list. If we think of the numbers as coins, it will toss all the coins into the air and will mark the one we picked (by magic), increasing the chance of getting the marked one and reducing those that aren't marked. So, when we measure, we get the place (index) we want.
Does it work well? It's a probability; that's why it's a game for the computer to get it right (not really, it's just prone to errors, that's all).
Link
🔥19❤2👍1
Idk how that sketch came from the reference but yeah
ohhh I know when I can't draw sth,I change it
ohhh I know when I can't draw sth,I change it
🔥13👍4🤡1
This media is not supported in your browser
VIEW IN TELEGRAM
also I just saw this feature
I have been using this app for more than two years and I'm so happy I discovered it just now😃
I have been using this app for more than two years and I'm so happy I discovered it just now😃
⚡5
so this week I made two mini projects: Quantum random number generator and Quantum coin flipping game(totally random). It was fun and easy.
these are my baby steps to this field.
#project
these are my baby steps to this field.
#project
👏11👍4🔥4