The mean-field theory of a Q-state neural network model | Synapse