Idenso · latest
On this page

DiracAdjointError

symbolica.community.tensor Class

DiracAdjointError()

Raised when spinor index structure does not define a consistent Dirac adjoint.

Notes

Subclass of ValueError. Catch it around the corresponding tensor operation to handle invalid input or an unsupported symbolic form.

Examples

from symbolica.community.tensor import DiracAdjointError
issubclass(DiracAdjointError, ValueError)