spheres.symmetrization.sym_spin

spheres.symmetrization.sym_spin(sym, map=None)[source]

Converts a state of 2j symmetrized qubits into a spin-j state. Constructs the linear map if not provided.

Parameters

sym (qt.Qobj) – Pure or mixed state of 2j symmetrized qubits.

Returns

spin – Pure or mixed spin state.

Return type

qt.Qobj