Text this: Communication: Relating the pure and ensemble density matrix functional