Soon after the discovery of the second law of thermodynamics, James Clerk Maxwell illustrated the probabilistic nature of the law with a gedanken experiment, now known as Maxwell’s demon 1,2. He ...