TsallisEntropy
Compute the Tsallis entropy based on the probabilities of the possible configurations of the system and the entropic-index
ResourceFunction["TsallisEntropy"][prob,q,k] returns the Tsallis entropy for the list of associated probablities prob of the possible configurations for the entropic-index q and constant k. | |
ResourceFunction["TsallisEntropy"][dist,q] returns the Tsallis entropy of the continuous probability distribution dist for the entropic-index q. | |
ResourceFunction["TsallisEntropy"]["Formula"] return the equations for Tsallis entropy for a set of discrete probabilities and for a continuous probability distribution. |
Details and Options
Examples
Basic Examples (2) 
Compute the Tsallis entropy for a discrete set of probability:
| In[1]:= |
| Out[1]= |
For a continuous probability distribution:
| In[2]:= |
| Out[2]= |
Scope (1) 
Examine the equations for the Tsallis entropy:
| In[3]:= |
| Out[3]= |
Possible Issues (1) 
The probabilities must sum 1:
| In[4]:= |
| Out[4]= |
Neat Examples (4) 
Under neat examples, for the 1st example, add a line saying S_q is concave (convex) for q > 0 (q < 0). Plot the Tsallis entropy Sq({pi}) for W=2, k=1 and typical values of q:
| In[5]:= |
| Out[6]= |
Plot the value of the Tsallis entropy at its extremum (equiprobability) for k=1 and typical values of q:
| In[7]:= |
| Out[7]= |
Probe non-additivity Sq(A,B)=Sq(A)+Sq(B)+(1-q)Sq(A)Sq(B) for two independent systems A and B with discrete sets of probability:
| In[8]:= |
| Out[9]= |
Probe non-additivity Sq(A,B)=Sq(A)+Sq(B) for two independent systems A and B with continuous probability distributions and q=1:
| In[10]:= |
| Out[10]= |