2
$\begingroup$

I have seen different authors define von Neumann entropy in different ways. In particular, some use the natural logarithm and others log to base 2. What is the reasoning for this? Does it make any difference? What is the accepted definition?

Thank you in anticipation of your help.

$\endgroup$
1
  • 1
    $\begingroup$ Use that different logarithms are proportional $\log_b \rho =\frac{\ln \rho}{\ln b}$. $\endgroup$
    – Qmechanic
    Commented Mar 31, 2013 at 10:47

2 Answers 2

9
$\begingroup$

The different conventions give values for entropy that differ by a constant multiplicative factor. You can think of them as different units for measuring entropy.

The entropy with the base-2 logarithm is measured in "bits", and the entropy with the natural logarithm is measured in "nats".

$\endgroup$
1
  • 3
    $\begingroup$ +1. To push the point home: the difference amounts to measuring distances in either meters, or feet. The scalar factor doesn't have any impact on anything that matters, and really just amounts to a choice of units. $\endgroup$ Commented Mar 31, 2013 at 0:09
2
$\begingroup$

In computer science and/or information theory, people call von Neumann entropy Shannon entropy. (The true connection between the two is still being debated, in my knowledge, but that is not important here, I hope). Since the choice of log to base 2 is natural in Computer Science, a lot of authors in that field just define entropy that way. This makes it easier to apply the concept of entropy in programming, where entropy is a fundamental concept in several sub-fields, such as algorithm design. It can also be used for fun-stuff, such as programming a hang-man game.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.