The partial trace can be viewed as a quantum operation. Consider a quantum mechanical system whose state space is the tensor product H_A \otimes H_B of Hilbert spaces. A mixed state is described by a density matrix ρ, that is
