spheres.stars.star_utils

Useful Majorana star related functions.

Functions

antipodal(to_invert[, from_cartesian, …])

If given an extended complex coordinate, takes the point to its antipode on the sphere via the map:

basis(d, i[, up])

Similar to pauli_eigenstate, only parameterized by dimension.

pauli_eigenstate(j, m, direction)

Returns eigenstates of Pauli operators.

poleflip(to_flip[, from_cartesian, …])

Flips the pole of projection.

spherical_inner(a, b)

\(\langle a \mid b \rangle\) via an integral over the sphere.

spin_coherent(j, coord[, from_cartesian, …])

Returns the spin-j coherent state which is defined by having all its Majorana stars located at a single point on the sphere.