On Spin-inspired Realization of Quantum and Probabilistic Computing