Density operator for mixed quantum states