pycommute
Python bindings for the libcommute quantum operator algebra DSL and exact diagonalization toolkit for C++
Python bindings for the libcommute quantum operator algebra DSL and exact diagonalization toolkit for C++
To install this package, run one of the following:
These bindings inherit a subset of functionality supported by the C++ template library: They expose polynomial expression and linear operator types with real and complex coefficients built out of fermionic, bosonic and spin operators (user-defined operator algebras are also supported). As a bonus, pycommute features a handful of Python functions that help construct Hamiltonians of some models widely used in the theory of quantum many-body systems, quantum optics and the theory of spin lattices.
Summary
Python bindings for the libcommute quantum operator algebra DSL and exact diagonalization toolkit for C++
Information Last Updated
Dec 6, 2025 at 17:18
License
MPL-2.0
Total Downloads
0
Platforms
GitHub Repository
https://github.com/krivenko/pycommuteDocumentation
https://krivenko.github.io/pycommute/