A neuron based on a single flux qubit