spheres.symmetrization.spin_sym

spheres.symmetrization.spin_sym(spin, map=None)[source]

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

Parameters

spin (qt.Qobj) – Pure or mixed spin state.

Returns

sym – Pure or mixed state of 2j symmetrized qubits.

Return type

qt.Qobj