Quantum connectionism and the emergence of cognition