Installation#
It is recommmended to install within a new Conda environment. To create a new conda environment use
conda create -n <my-env> python=<python_version>
where we recommend 3.10, 3.11 or 3.12 for the version of Python. The environment can then be activated with
conda activate <my-env>
Make sure you’re in the directory where the pyproject.toml
file is situated and install the package and its dependencies using pip
pip install .
If you want to be able to edit the code and have the changes immediately take place without requiring a new installation, use the editable flag
pip install -e .
You can verify the package and dependencies were installed correctly with
pip list
if you installed qse
in editable mode, pip list
should show it having an editable project location.
Installing optional dependencies#
You can install Pulser with qse
using
pip install ".[pulser]"
and myQLM using
pip install ".[myqlm]"