Controlling the temperature of nanoscale quantum systems is becoming increasingly important in efforts to develop thermal devices such as heat valves, engines, and refrigerators explore fundamental concepts thermodynamics. In practice, however, it challenging generate arbitrary time-dependent temperatures, similarly what has been achieved for electronic voltage pulses. To overcome this problem,...