spheres.utils.spinj_xyz

spheres.utils.spinj_xyz(state)[source]

Returns XYZ expectation values for a spin-j state.

Parameters

state (qt.Qobj) – Spin-j state.

Returns

xyz – XYZ expectation values.

Return type

np.array