DiracAdjointError

Symbolica documentation for getting started, symbolic expressions, numerical evaluation, pattern matching, and APIs in Python and Rust.

DiracAdjointError

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)
True