Fork me on GitHub

Ψ

Symbolic Quantum Mechanics

with Python and SymPy

The SymPsi Python library is an experimental fork and extension of the quantum module in SymPy. It provides support for bosonic and fermionic operators, Pauli Sigma operators, unitary transformations, normal ordering of operators and other techniques that are useful in quantum optics and related fields.

Installation

SymPsi requires a recent version of SymPy. To install SymPy (see also the SymPy installation instructions), run:

$ pip install sympy

The SymPsi package can be installed using:

$ pip install git+https://github.com/sympsi/sympsi.git

and to upgrade an existing installation, just add the --upgrade flag:

$ pip install --upgrade git+https://github.com/sympsi/sympsi.git

Examples

IPython notebooks demonstrating some of the features and possible applications of the sympsi library.

Basic

Advanced


This page was created with bootstrap, by J. Robert Johansson and Eunjong Kim.