Quantum Algorithm Zoo: Quantum Counterfeit Coins
In this issue, we will create an implementation of the following paper: Quantum Counterfeit Coin Problems. The algorithm is interesting as it shows a quartic speedup in comparison to the classical case. This tutorial should follow the structure of the Deutsch Jozsa algorithm implementationl. Once finished, the implementation will be added to the Quantum Algorithm Zoo, and of course credit will be given to the implementor.
To complete this issue, follow these steps:
- Read the following paper: Quantum Counterfeit Coin Problems.
- Create a new jupyter notebook (.ipynb file). Use any jupyter editor (e.g. jupyter lab, google colab, etc).
- Use Classiq's SDK to create a simple implementation of the paper, and showcase the results. If you have any implementation questions or challenges, the Classiq team will assist you, either on Github or in our slack community. Follow the Deutsch Jozsa algorithm implementation example for the structure of the notebook.
- Create a short mathematical explanation of the work. Jupyter notebooks support markdown cells, which can contain LaTeX. You can view the source or the superposition notebook to see how this is done. Chat GPT is an excellent LaTeX assistant.
- After creating the notebook, make sure you insert the
write_qmod(model, "bell_state.qmod")line. Run the notebook, and you will automatically generate the .qmod file for this example. - Make sure the notebook looks well, does not have any typos / mistakes, and is running properly.
- Follow the contribution guidelines to open a pull request. Submit the tutorial to the directory:
classiq-library/community/advanced_examples/counterfeit_coins
If you have any questions or comments, you can ask them here in the issue, or in our slack community, and the Classiq team will be happy to assist.
Happy quantum coding!
Hi, I would like to implement this paper. Can I do this under the paper implementation project?
Yes, you can take it:) I will assign you to the issue. Please update here on your progress, and make sure to follow the standards