History state formalism for scalar particles