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/qiskit-acqua-tutorials.git
If you need to install git
follow the instructions here.
QISKit ACQUA depends on QISKit Core. While installation of QISKit ACQUA will automatically install QISKit 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 QISKit ACQUA Chemistry you may like to skip to step 4 below, since that will automatically install QISKit ACQUA as its dependency.
The latest release version of QISKit ACQUA should be the one installed.
The latest release can be installed using
pip install qiskit-acqua
If you have an older version pre-installed then it can be updated using
pip install -U qiskit-acqua
If you plan to run the QISKit ACQUA Chemistry notebooks or samples then this needs to be installed as well. This will automatically install QISKit ACQUA as a dependency, so in this case manually carrying out step 3 above is not necessary.
The latest release version of QISKit ACQUA Chemistry should be the one installed.
The latest release can be installed using
pip install qiskit-acqua-chemistry
If you have an older version pre-installed then it can be updated using
pip install -U qiskit-acqua-chemistry
In step 2 above, if you followed the QISKit 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