The repository contains an example implementation of quantum search. The code is described further in the blog post.
-
Create and activate a Python virtual env:
python3 -m venv venv source venv/bin/activate
-
Install requirements:
pip install -r requirements.txt
-
Run the Jupyter Lab:
jupyter lab
-
Open the notebook in a browser:
open http://localhost:8888/doc/tree/quantum_search.ipynb
-
To re-run the notebook, in the top menu select
Kernel
>Restart Kernel and Run All Cells...
.