spheres.stars.mixed.operator_spins

spheres.stars.mixed.operator_spins(O, T_basis=None)[source]

Expresses an operator as a set of spins. Constructs the spherical tensor basis if not provided. This is a generalization of the Majorana representation: for an operator, instead of one constellation, we have several constellations on concentric spheres, whose radii can be interpreted as the norms of the spin states. They transform nicely under rotations and partial traces. Hermitian operators have constellations with antipodal symmetry, which is broken by unitary operators.

Parameters
  • O (qt.Qobj) –

  • T_basis (dict) –

Returns

spins

Return type

list