reinforcement-learning Definition Q-Function In reinforcement learning, the function Q measures the expected utility of taking an action a∈A at a state s∈S . Q:S×A→R