I am studying Quantum Information now, and I need to understand the entropy of a quantum system. But before I go there, I need to understand Shannon Entropy which is defined as :
$H(X) = -\sum_{i=1}^{n} {p(x_i) \log_2{p(x_i)}} $
where $X$ is a discrete random variable with possible outcomes $x_{1},...,x_{n}$ which occur with probability $p_{1},...,p_{n}$. This is entropy that works in information theory, but we know that entropy is already defined back way in thermodynamics by Clausius as :
$$dS = \frac{\delta Q}{T}$$
Then, in statistical physics, entropy is defined by Boltzmann as :
$S=k_B \ln{\Omega}$
where $\Omega$ is the number of microstates of a system. How can I derive the Shannon entropy from these thermodynamics and statistical physics entropy definitions?