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.



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 sympy.abc import x,y
>>> evaluate_pauli_product(x**2*Pauli(2)*Pauli(1))

Table Of Contents

Previous topic


Next topic

Quantum Harmonic Oscillator in 1-D

This Page