Hams and Raedt gave a quantum computational algorithm to calculate the density of states of a spin system. Starting with an initial random state, they obtain the time evolution of the state. Later they take the inner product of the evolved state with the initial state. How does the inner product formation fit into the quantum computation model? Is it a measurement on the initial and the evolved states?