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 (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.