In general, the expectation of any observable can be calculated by replacing Q with the appropriate operator. For example, to calculate the average momentum, one uses the momentum operator in configuration space, p = − − i ℏ ℏ d d x . Explicitly, its expectation value is