Discrete four-stroke quantum heat engine exploring the origin of friction | Synapse