Deficiency Indices

Implements the method of arXiv:2610.33545

Enter a polynomials in a, adag or x, p — use ^ for powers, * or spaces for multiplication, i for the imaginary unit, comm(A, B) for commutators.

Examples