spheres.stars.mixed

Implementation of the “Majorana stars” formalism for mixed states (and operators) of higher spin.

Functions

operator_spherical_decomposition(O[, T_basis])

Decomposes an operator into a linear combination of spherical tensors.

operator_spins(O[, T_basis])

Expresses an operator as a set of spins.

spherical_decomposition_operator(decomposition)

Recomposes an operator from its spherical tensor decomposition.

spherical_decomposition_spins(decomposition)

Expresses the spherical tensor decomposition of an operator as a list of unnormalized, integer \(j\) spin states.

spherical_tensor(j, sigma, mu)

Constructs spherical tensor operator for a given \(j, \sigma, \mu\).

spherical_tensor_basis(j)

Constructs a basis set of spherical tensor operators for a given \(j\), for all \(\sigma\) from \(0\) to \(2j\), and \(\mu\) from \(-\sigma\) to \(\sigma\).

spins_operator(spins[, T_basis])

Recomposes an operator, given a list of spin states.

spins_spherical_decomposition(spins)

Converts a list of spin states back into a dictionary of spherical tensor coefficients.