Density matrix and von Neumann entropy - why does basis matter?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 4K views
Eigenentity
Messages
7
Reaction score
0
Density matrix and von Neumann entropy -- why does basis matter?

I'm very confused by why I'm unable to correctly compute the von Neumann entropy

[tex]S = - \mathrm{Tr}(\rho \log_2{\rho})[/tex]

for the pure state

[tex]| \psi \rangle = \left(|0\rangle + |1\rangle\right)/ \sqrt 2[/tex]

Now, clearly the simplest thing to do is to express [tex]|\psi\rangle[/tex] in the [tex]|+\rangle,|-\rangle[/tex] basis, where it's clear that

[tex]\rho = |+\rangle\langle+|[/tex]

In this basis, [tex]S = 0[/tex] as we'd expect for a pure state.

What I can't fathom (and I'm sure I'm missing something really obvious) is why if I evaluate the entropy in the [tex]|0\rangle,|1\rangle[/tex] basis,

[tex]\rho = \begin{pmatrix}<br /> 1/2 & 1/2 \\ <br /> 1/2 & 1/2 <br /> \end{pmatrix}[/tex]

and thus

[tex] S = - \mathrm{Tr} \left( \begin{pmatrix}<br /> 1/2 & 1/2 \\ <br /> 1/2 & 1/2 <br /> \end{pmatrix} \begin{pmatrix}<br /> -1 & -1 \\ <br /> -1 & -1 <br /> \end{pmatrix} \right) = - \mathrm{Tr} \begin{pmatrix}<br /> -1 & -1 \\ <br /> -1 & -1 <br /> \end{pmatrix} = 2[/tex]

Do I have to use the diagonal basis!? If not, what idiotic mistake am I making?
 
Physics news on Phys.org


To anyone wondering. No, basis does not matter. The error in the above reasoning is the assumption that the logarithm of a matrix is performed elementwise. This is true for diagonal matrices, but not general ones.

More concretely:

[tex]\log_2 \begin{pmatrix}<br /> 1/2 & 1/2 \\ <br /> 1/2 & 1/2 <br /> \end{pmatrix} \neq \begin{pmatrix}<br /> -1 & -1 \\ <br /> -1 & -1<br /> \end{pmatrix}[/tex]

Gah! Well, glad that's sorted.
 
Last edited: