In physics , classical mechanics and quantum mechanics are the two major sub-fields of mechanics .
The two parts are classical mechanics and quantum mechanics .