Qubit simulator for neural information processing