spheres.stars.pure

Implementation of the “Majorana stars” formalism for pure states of higher spin.

Functions

c_spin(c)

Takes 2j roots on the extended complex plane and returns the corresponding spin-j state (up to complex phase).

poly_roots(poly)

Takes a Majorana polynomial to its roots.

poly_spin(poly)

Converts a Majorana polynomial into a spin-j state.

roots_poly(roots)

Takes a set of points on the extended complex plane and forms the polynomial which has these points as roots.

sph_spin(sph)

Takes 2j “stars” given in spherical coordinates and returns the corresponding spin-j state (up to complex phase).

spin_c(spin)

Takes a spin-j state and returns its decomposition into 2j roots on the extended complex plane.

spin_poly(spin[, projective, homogeneous, …])

Converts a spin into its Majorana polynomial, which is defined as follows:

spin_sph(spin)

Takes a spin-j state and returns its decomposition into 2j “stars” given in spherical coordinates.

spin_spinors(spin)

Takes a spin-j state and returns its decomposition into 2j spinors.

spin_xyz(spin)

Takes a spin-j state and returns the cartesian coordinates on the unit sphere corresponding to its “Majorana stars.” Each contributes a quantum of angular momentum \(\frac{1}{2}\) to the overall spin.

spinors_spin(spinors)

Given 2j spinors returns the corresponding spin-j state (up to phase).

xyz_spin(xyz)

Given the cartesian coordinates of a set of “Majorana stars,” returns the corresponding spin-j state, which is defined only up to complex phase.