Install with git
Installing the QuTIpy package directly from the official git repository (from source).
Last updated
Installing the QuTIpy package directly from the official git repository (from source).
Last updated
If you’d like to be able to update your QuTIpy code occasionally with the latest bug fixes and improvements, follow these instructions:
Make sure that you have 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 . The 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!
Install the package directly from using pip, like so:
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.