spheres.stars.pure.poly_roots

spheres.stars.pure.poly_roots(poly)[source]

Takes a Majorana polynomial to its roots. We use numpy’s polynomial solver. The number of initial coefficients which are 0 are intepreted as the number of roots at \(\infty\). In other words, to the extent that the degree of a Majorana polynomial corresponding to a spin-j state is less than 2j+1, we add that many roots at \(\infty\).

Parameters

poly (np.ndarray) – 2j+1 Majorana polynomial coefficients.

Returns

roots – Roots on the extended complex plane.

Return type

list