pycommute

Python bindings for the libcommute quantum operator algebra DSL and exact diagonalization toolkit for C++.

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 [1]. To learn more about basic concepts and features of this library, please, refer to libcommute’s documentation. As a bonus, pycommute features a handful of Python functions to easily construct Hamiltonians of some models widely used in the theory of quantum many-body systems, quantum optics and the theory of spin lattices.

For now, there are a few usage examples and an API reference for the pycommute.expression pycommute.loperator, and pycommute.models modules.

Contents