Quantum Programming handout with homeworks
To get started:
How the platform works:
From zero to writing your first quantum program, and submitting a job to a quantum device
HW5_Problem2.ipynb guides you through implementing Deutsch's algorithm.
HW5_Problem3.ipynb guides you through implementing a quantum circuit for the CHSH game. How good of a CHSH violation, if any, do the available quantum devices achieve? :)
HW6_Problem2.ipynb guides you through implementing Grover's algorithm to search for a marked input of length 3. This is definitely more challenging than the previous two problems. It takes quite a bit of care to get this to work properly. Even then, does any of the quantum devices give a meaningful result?
Customizing notebooks and creating your own shareable repository:
All of the notebook files are editable within qBraid Lab. You can also create new ones, as well as new folders. If you'd like to share your notebooks with your class (in the same way as you imported the notebooks for this tutorial) you can do the following:
Download the notebooks of interest from qBraid Lab (you can do this by right-clicking on a notebook file, and then clicking on "Download").
Create a new Github repo, and upload your notebook files there.
Edit the README.md file from this tutorial by swapping the URL that it references with the URL of your Github repo. Upload the new README file to your Github repo.
If you visit your Github repo, you should see the same "Launch on qBraid" button that you used for this tutorial, except that it now imports the files in your repo.