Problem 1. Consider the density matrix:

ρ=(5/121/61/61/61/61/61/61/65/12)

show that we have a mixed state. Find the von Neumann entropy.

15.0 μs

Solution.

14.1 μs
46.6 ms
62.0 μs
4.1 μs

First we check if the density matrix is idempotent, i.e. ρ2=ρ, if true the matrix is pure else its mixed.

8.2 μs
false
7.2 μs

So the matrix is not a pure state and indeed a mixed.

The von Neumann entropy can be calculated in two equivalent ways:

S(ρ)=tr(ρlog(ρ))

S(ρ)=iNλilog(λi)

where λi are the eigenvalues. both calculations are given below.

11.2 μs
0.7724450450599503
70.5 μs
36.9 μs
0.7724450450599518
431 ns