Jupyter notebook example: Quantum Approximate Optimization Algorithm (QAOA)
In this notebook you will apply cQASM and Quantum Inspire. We will consider a simple quantum algorithm, the quantum approximate optimization algorithm (QAOA), for which you will code the circuit in cQASM and send some jobs to real quantum hardware on the Quantum Inspire platform. Click on the Binder link in the notebook to open an interactive version.
This notebook is written by Jordi Weggemans from the Centrum Wiskunde & Informatica (CWI), the national research institute for mathematics and computer science in the Netherlands.
This tutorial notebook also contains a problem that needs to be solved. The solution can be found in the github repo.
More noteboooks can be found on our github examples repository. You can also use Binder to start an interactive session using the other notebooks.