Operational Definition of the Temperature of a Quantum State.