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.

References

R619

https://en.wikipedia.org/wiki/Pauli_matrices

sympy.physics.paulialgebra.evaluate_pauli_product(arg)[source]

Help function to evaluate Pauli matrices product with symbolic objects.

Parameters

arg: symbolic expression that contains Paulimatrices

Examples

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