Python bindings for the libcommute C++ library
Project description
pycommute
pycommute is a Python module providing bindings for the libcommute quantum operator algerba library.
You can find a few usage examples and an API reference at pycommute's documentation website.
Installation from sources
-
Download source code of libcommute and optionally install it.
-
Install Python prerequisites:
-
Run the following command in the unpacked source archive of pycommute,
LIBCOMMUTE_INCLUDEDIR="<path_to_libcommute>/include" python setup.py install
<path_to_libcommute>
must be either installation or source directory of
libcommute.
Automated installation using pip
LIBCOMMUTE_INCLUDEDIR="<path_to_libcommute>/include" pip install pycommute
License
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.