Quantum thermodynamics of general quantum processes.