Skip to main content

Python bindings for the libcommute C++ library

Project description

pycommute logo

Package on PyPI Build and test Documentation

pycommute is a Python package 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

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

Docker images

Docker images of tagged releases of pycommute are available from Docker Hub.

docker run --rm -p 8888:8888 ikrivenko/pycommute:latest

This command will pull the most recent image and launch a Jupyter notebook server accessible at http://127.0.0.1:8888/. The server is run in a directory with a few interactive example notebooks.

Citing

If you find this package useful for your research, you can help me by citing it using the following BibTeX entry.

@article{pycommute,
    title = {{libcommute/pycommute: A quantum operator algebra domain-specific
              language and exact diagonalization toolkit}},
    author = {Igor Krivenko},
    journal = {SoftwareX},
    volume = {17},
    pages = {100937},
    year = {2022},
    issn = {2352-7110},
    doi = {10.1016/j.softx.2021.100937}
}

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.

Source Distribution

pycommute-0.7.1.tar.gz (32.9 kB view details)

Uploaded Source

File details

Details for the file pycommute-0.7.1.tar.gz.

File metadata

  • Download URL: pycommute-0.7.1.tar.gz
  • Upload date:
  • Size: 32.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for pycommute-0.7.1.tar.gz
Algorithm Hash digest
SHA256 3b88f62b5b62148910412a734a2ee7f31b22f453929d9cd94f7e7793870f0bed
MD5 e21e12bab208bb38caf5e5bfaa2b14cf
BLAKE2b-256 52af44623159d071b56f93ef7bab94b47c2594e74e520be4d5091144f10cdee0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page