Pauli Algebra

This module implements Pauli algebra by subclassing Symbol. Only algebraic properties of Pauli matrices are used (we don’t use the Matrix class).

See the documentation to the class Pauli for examples.

See also:

Help function to evaluate Pauli matrices product with symbolic objects

Parameters :arg: symbolic expression that contains Paulimatrices :


>>> from sympy.physics.paulialgebra import Pauli, evaluate_pauli_product
>>> from sympy import I
>>> evaluate_pauli_product(I*Pauli(1)*Pauli(2))
>>> from import x,y
>>> evaluate_pauli_product(x**2*Pauli(2)*Pauli(1))

Previous topic


Next topic

Quantum Harmonic Oscillator in 1-D

This Page