For density matrices  and  on a Hilbert space, the quantum relative entropy from  to  is defined to be
In quantum information science the minimum of  over all separable states  can also be used as a measure of entanglement in the state .