The easiest way is to download the tutorials. Unzip the archive in the directory of your choice.
More advanced users may choose to use git
. If you have git
installed, run
git clone https://github.com/Qiskit/aqua-tutorials.git
If you need to install git
follow the instructions here.
Aqua depends on Qiskit Terra. While installation of Aqua will automatically install Qiskit Terra we encourage you to read the Qiskit tutorial installation and follow the recommendation there for setting up a virtual environment.
Note: If you plan to run the Aqua Chemistry you may like to skip to step 4 below, since that will automatically install Aqua as its dependency.
The latest release version of Aqua should be the one installed.
The latest release can be installed using
pip install qiskit-aqua
If you have an older version pre-installed then it can be updated using
pip install -U qiskit-aqua
If you plan to run the Aqua Chemistry notebooks or samples then this needs to be installed as well. This will automatically install Aqua as a dependency, so in this case manually carrying out step 3 above is not necessary.
The latest release version of Aqua Chemistry should be the one installed.
The latest release can be installed using
pip install qiskit-aqua-chemistry
If you have an older version pre-installed then it can be updated using
pip install -U qiskit-aqua-chemistry
In step 2 above, if you followed the recommendation of a virtual environment then please refer to Qiskit explore the tutorials for information on how to activate the environment.
You can now start Jupyter with the index notebook
jupyter notebook index.ipynb