sympy/sympy — pull request #2692 by jrjohansson (2013-12-18 05:15:55+00:00)
Title: New module in sympy.physics.quantum

for bosonic and fermionic operators and functions for normally ordering expression of such operators.

Here are two IPython notebook that demonstrates how BosonOperator and FermionOperator can be used:

http://nbviewer.ipython.org/gist/jrjohansson/8017549

http://nbviewer.ipython.org/github/jrjohansson/reproduced-papers/blob/master/Reproduce-PRA-87-043804-2013-Johansson.ipynb