Installation
Install QS-2024
Install Python
If you don’t have Python installed, you can download it from the official website: https://www.python.org/downloads/
Note
Some Python distributions use
python3instead ofpython.If you are using a distribution that uses
python3, you should replacepythonwithpython3in all commands.Similarly,
pip3may need to be used instead ofpip.Create a directory
Create a directory where you want to install QS-2024. Run the following command:
mkdir qs-2024This will create a new directory called
qs-2024. Next, run:cd qs-2024
This will move you to the directory you just created.
Set up a virtual environment
It is recommended to set up a virtual environment to install QS-2024. Run the following command:
python -m venv .venv
This will create a new directory called
.venvwith the virtual environment. Then, call:source .venv/bin/activate
This will activate the virtual environment.
Install from
pipInstall QS-2024 from
pipwith the following command:pip install quantumspectra-2024
This will install all dependencies, the QS-2024 package, and the command line interface. Everything is now installed! You’re ready to proceed to Usage.
Update QS-2024
To update QS-2024, activate the environment and run the following command:
pip install --upgrade quantumspectra-2024
Configure GPU calculations
TODO