density matrices