Install with git
Installing the QuTIpy package directly from the official git repository (from source).
If you’d like to be able to update your QuTIpy code occasionally with the latest bug fixes and improvements, follow these instructions:
Manual Installation
Make sure that you have Git installed and that you can run its commands from a shell. (Enter
git help
at a shell prompt to test this.)Check out QuTIpy’s main development branch like so:
This will create a directory
QuTIpy
in your current directory.Make sure that the Python interpreter can load QuTIpy’s code. The most convenient way to do this is to use a virtual environment and pip. The contributing tutorial walks through how to create a virtual environment.
After setting up and activating the virtual environment, run the following command:
This will make QuTIpy’s code importable. In other words, you’re all set!
PIP Installation
Install the package directly from GitHub using pip, like so:
Check if the installation is successfull :
Run the shell command ,
$ echo "import qutipy; print(qutipy.version);" | python
This should output the version of qutipy installed in your system like this ,
$ 0.1.0
When you want to update your copy of the QuTIpy source code, run the command git pull
from within the QuTIpy
directory. When you do this, Git will download any changes.
Last updated