qat.core.spins.integer_to_spins()
Translates a decimal number into a spin configuration
qat.core.spins.spins_to_integer()
Translates a spin configuration into a decimal number