SMS: The index theorem and the heat equation method