pycommute is a Python package providing bindings for the libcommute quantum operator algebra library.
You can find a few usage examples and an API reference at pycommute's documentation website.
Automated installation of the PyPI package
$ pip install pycommute
Automated installation of the conda package
$ conda install krivenko::pycommute
Installation from sources
-
Download source code of libcommute 1.0.0 or newer and optionally install it.
-
Install Python prerequisites:
-
Run the following command in the unpacked source archive of pycommute,
LIBCOMMUTE_INCLUDEDIR="<path_to_libcommute>/include" pip install .
<path_to_libcommute> must be either installation or source directory of
libcommute.
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/.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file pycommute-1.0.0.tar.gz.
File metadata
- Download URL: pycommute-1.0.0.tar.gz
- Upload date:
- Size: 111.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a45e8ed1198497030e3b311ebd45908c075903c9ab1ba29ba370a96d60e1b7c2
|
|
| MD5 |
cda3bea9e164e9c644cddf1f5db16f98
|
|
| BLAKE2b-256 |
7d01de52f9f0d22947b7952f66eb58d96e690ec879d14d7a6f3d68425cecdac6
|
Provenance
The following attestation bundles were made for pycommute-1.0.0.tar.gz:
Publisher:
publish-on-pypi.yml on krivenko/pycommute
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pycommute-1.0.0.tar.gz -
Subject digest:
a45e8ed1198497030e3b311ebd45908c075903c9ab1ba29ba370a96d60e1b7c2 - Sigstore transparency entry: 747210570
- Sigstore integration time:
-
Permalink:
krivenko/pycommute@d9cd1f18587160c1793a2ced0192b4708d11b3c7 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/krivenko
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-on-pypi.yml@d9cd1f18587160c1793a2ced0192b4708d11b3c7 -
Trigger Event:
push
-
Statement type: