T-3: Difference between revisions

From Disordered Systems Wiki
Jump to navigation Jump to search
Created page with "<strong>Goal of these problems: </strong> In this set of problems, we compute the free energy of the spherical <math>p</math>-spin model in the Replica Symmetric (RS) framework, and in the 1-step Replica Symmetry Broken (1-RSB) framework. <br> <strong>Key concepts: </strong> === The order parameters: overlaps, and their meaning === In the lectures, we have introduced the Edwards-Anderson order parameter <center> <math> q_{EA}=\frac{1}{N}\sum_i \overline{\langle..."
 
 
(177 intermediate revisions by the same user not shown)
Line 1: Line 1:
<strong>Goal of these problems: </strong>  
<strong>Goal: </strong> use the replica method to compute the quenched free energy of a prototypical mean-field model of glasses, the spherical <math>p</math>-spin model. <br>
In this set of problems, we compute the free energy of the spherical <math>p</math>-spin model in the Replica Symmetric (RS) framework, and in the 1-step Replica Symmetry Broken (1-RSB) framework.  
<strong>Techniques: </strong> replica trick, Gaussian integrals, saddle point calculations.
<br>
<br>




<strong>Key concepts: </strong>  
== Quenched vs annealed, and the replica trick==
In Problems 1 and 2, we defined the <ins>quenched free energy</ins> as the physically relevant quantity controlling the scaling of the typical value of the partition function <math>Z </math>, which means:


<math display="block">
f= -\lim_{N \to \infty} \, \frac{1}{\beta N} \, \mathbb{E}[ \log Z].
</math>
The <ins>annealed free energy</ins> <math>f_{\text{a}} </math> instead controls the scaling of the average value of  <math>Z </math>, and it is defined by
<math display="block">
f_{\text{a}} = -\lim_{N \to \infty}\, \frac{1}{\beta N} \,\log \mathbb{E}[Z].
</math>
These formulas differ by the order in which the logarithm and the average over disorder are taken.




=== The order parameters: overlaps, and their meaning ===
For the REM, because of the simplicity of the model  we could compute the quenched free-energy by computing the typical value of the number of configurations with a given energy. This can not be done in general, and one has to resort to the computation of the average of the logarithm, which is a hard problem. To address it,  one can use a smart representation of the logarithm, that goes under the name of <ins>replica trick</ins>
In the lectures, we have introduced the Edwards-Anderson order parameter
<math display="block">
<center>
\log x= \lim_{n \to 0} \, \frac{x^n-1}{n}, \quad \quad x>0
<math>
q_{EA}=\frac{1}{N}\sum_i \overline{\langle \sigma_i \rangle^2}
</math>
</math>
</center>
which can be easily shown to be true by Taylor expanding <math>x^n= e^{n \log x}= 1+ n \log x+ O(n^2) </math>. Applying this to the average of the partition function, we see that
This quantity is a measure of <em>ergodicity breaking</em>: when ergodicity is broken, the system at equilibrium explores only a sub-part of the phase space; the Boltzmann measure clusters into <em>pure states</em> (labelled by <math>\alpha </math>) with Gibbs weight <math>\omega_\alpha </math>, meaning that one can re-write the thermal averages <math>\langle \cdot \rangle </math> of any observable <math>A </math> as
<math display="block">
<center>
f= -\lim_{N \to \infty} \lim_{n \to 0}\,\frac{1}{\beta N }\, \frac{\mathbb{E}[Z^n]-1}{n}.
<math>
\langle A \rangle = \sum_{\alpha} \omega_\alpha \langle A \rangle_\alpha, \quad \quad \quad \omega_\alpha= \frac{Z_\alpha}{Z}, \quad \quad \quad Z_\alpha=\int_{\vec{\sigma} \in \text{ state } \alpha} d \vec{\sigma} e^{-\beta E[\vec{\sigma}]}= \langle e^{-\beta E [\vec{\sigma}]} \rangle_\alpha
</math>
</math>
</center>
Therefore, to compute the quenched free-energy we need to compute the moments <math>\mathbb{E}[Z^n]</math> and then take the limit  <math>n \to 0</math>. The calculations in the following Problems rely on this replica trick. The annealed one only requires to do the calculation with <math>n=1</math>.
In the Ising model at low temperature there are two pure states, <math>\alpha= \pm 1 </math>, that correspond to positive and negative magnetization. In a mean-field spin glass, there are more than two pure states. The quantity <math>q_{EA}</math> measures the overlap between configurations belonging to the same pure state, that one expects to be the same for all states:
<br><br>
<center>
 
<math>
== The spherical p-spin model ==
q_{EA}= q_{\alpha \alpha}= \frac{1}{N}\sum_i \langle \sigma_i \rangle_\alpha \langle \sigma_i \rangle_\alpha.
We discuss the Replica formalism for a mean-field model that is slightly more complicated than the REM: the spherical <math>p</math>-spin model. In the spherical <math>p</math>-spin model the configurations <math> \vec{\sigma}=(\sigma_1, \cdots, \sigma_N) </math> satisfy the spherical constraint <math> \sum_{i=1}^N \sigma_i^2=N </math>, and the energy associated to each configuration is
<math display="block">
E(\vec{\sigma}) =\sum_{1 \leq i_1 <i_2 <\cdots i_p \leq N} J_{i_1 \,i_2 \cdots i_p} \sigma_{i_1} \sigma_{i_2} \cdots \sigma_{i_p},
</math>
</math>
</center>
where the coupling constants <math>J_{i_1 \,i_2 \cdots i_p}</math> are independent random variables with Gaussian distribution with zero mean and variance <math> p!/ N^{p-1},</math> and <math> p \geq 3</math> is an integer.
This non-zero in a spin-glass phase, but it is also different from zero in unfrustrated ferromagnets: in the low-T phase of an Ising model, it equals to <math>m^2</math>, where <math>m</math> is the magnetization.
One can generalize this and consider also the overlap between configurations in different pure states, and the overlap distribution:
<center>
<math>
q_{\alpha \beta}= \frac{1}{N}\sum_i \langle \sigma_i \rangle_\alpha \langle \sigma_i \rangle_\beta, \quad \quad \quad {P}(q)= \sum_{\alpha, \beta} \omega_\alpha\, \omega_\beta\, \delta(q- q_{\alpha \beta}).
</math>
</center>
The disorder average of quantities can be computed within the replica formalism, and one finds:
<center>
<math>
\overline{P}(q)=\lim_{n \to 0} \frac{2}{n(n-1)}\sum_{a>b}\delta \left(q- Q_{ab}^{SP}\right),\quad \quad \quad q_{EA}= \max \left\{ Q_{a \neq b}^{SP} \right\}
</math>
</center>
where <math> Q_{ab}^{SP}</math> are the saddle point values of the overlap matrix introduced in Problem 2.2. The solution of the saddle point equations for the overlap matrix <math> Q</math> thus contain the information on whether spin glass order emerges, which corresponds to having a
non-trivial distribution <math> \overline{P}(q)</math>. This distribution measures the probability that two copies of the system, equilibrating in the sae disordered environment, end up having overlap <math>q</math>. In the Ising case, a low temperature one has  <math> q_{\alpha \alpha}=m^2</math> and <math> q_{\alpha \neq \beta}=-m^2</math>, and thus <math> \overline{P}(q)</math> has two peaks at <math> \pm m^2</math>.


=== Problem 3.1: the RS (Replica Symmetric) calculation===
== Problems==


We go back to the saddle point equations for the spherical <math>p</math>-spin model derived in the previous problems. Let us consider the simplest possible ansatz for the structure of the matrix Q, that is the Replica Symmetric (RS) ansatz:
<!-- === Problem 3.1: correlations, p-spin vs REM ===
 
<br>
<center>
At variance with the REM, in the spherical <math>p</math>-spin the energies at different configurations are correlated. Show that  
<math>
<math display="block">
Q=\begin{pmatrix}
\overline{E(\vec{\sigma}) E(\vec{\tau})}= N \, q(\vec{\sigma}, \vec{\tau})^p + o(N) , \quad \quad \text{where} \quad \quad q(\vec{\sigma}, \vec{\tau})= \frac{1}{N}\sum_{i=1}^N \sigma_i \tau_i
1 & q_0 &q_0 \cdots& q_0\\
q_0 & 1 &q_0 \cdots &q_0\\
&\cdots& &\\
q_0 & q_0 &q_0 \cdots &1
\end{pmatrix}
</math>
</math>
</center>
is the overlap between the two configurations. Why can we say that for <math>p \to \infty </math> this model converges with the REM?
Under this assumption, there is a unique saddle point variable, that is <math>q_0</math>. We denote with <math>q_0^{SP}</math> its value at the saddle point.
<br>-->


<!--=== Problem 3.2: the annealed free energy ===
As a preliminary exercise, we compute the annealed free energy of the spherical <math>p</math>-spin model.


<ol>
<ol>
<li>
<li> <em> Energy contribution.</em> Show that computing <math>\overline{Z}</math> boils down to computing the average <math> \overline{e^{-\beta J_{i_1 \, \cdots i_p} \sigma_{i_1} \cdots \sigma_{i_p}}}</math>, which is a Gaussian integral. Compute this average. <br>
Under this assumption, what is the overlap distribution <math>\overline{P}(q)</math> and what is <math>q_{EA}</math>? In which sense the RS ansatz corresponds to assuming the existence of a unique pure state?
Hint: if <math>X</math> is a centered Gaussian variable with variance <math>v</math>, then <math>\overline{e^{\alpha X}}=e^{\frac{\alpha^2 v}{2} }</math>.
</li>
</li><br>
</ol>
<br>


<ol start="2">
<li>
Check that the inverse of the overlap matrix is
<center>
<math>
Q^{-1}=\begin{pmatrix}
\alpha & \beta &\beta \cdots& \beta\\
\beta & \alpha &\beta \cdots &\beta\\
&\cdots& &\\
\beta & \beta &\beta \cdots &\alpha
\end{pmatrix} 
\quad
\quad
\text{with}
\quad
\alpha= \frac{1}{1-q_0}
\quad
\text{and}
\quad
\beta=\frac{-1}{(1-q_0)[1+(n-1)q_0]}
</math>
</center>
Compute the saddle point equation for  <math>q_0</math> in the limit  <math>n \to 0</math>, and show that this equation admits always the solution <math>q_0= 0</math>: why is this called the <em>paramagnetic</em> solution?
</li>
</ol>
<br>


<ol start="3">
<li> <em> Entropy contribution.</em> The volume of a sphere  <math>\mathcal{S}_N</math> of radius <math>\sqrt{N}</math> in dimension <math>N</math> is given by <math>N^{\frac{N}{2}} \pi^{\frac{N}{2}}/\left(\frac{N}{2}\right)!</math>. Use the large-<math>N</math> asymptotic of this to conclude the calculation of the annealed free energy:
<li>
<center><math>
Compute the free energy corresponding to the solution <math>q_0= 0</math>, and show that it reproduces the annealed free energy. Do you have an interpretation for this?
f_{\text{a}}= - \frac{1}{\beta}\left( \frac{\beta^2}{2}+ \frac{1}{2}\log (2 \pi e)\right).
</li>
</math></center>
This result is only slightly different with respect to the annealed free-energy of the REM: can you identify the source of this difference? </li>
</ol>
</ol>
<br>
<br>-->
 
=== Problem 3.2: the 1-RSB (Replica Symmetry Broken) calculation===
In the previous problem, we have chosen a certain parametrization of the overlap matrix <math>Q</math>, which corresponds to assuming that typically all the copies of the systems fall into configurations that are at overlap  <math>q_0</math> with each others, no matter what is the pair of replicas considered. This assumption is however not the good one at low temperature. We now assume a different parametrisation, that corresponds to breaking the symmetry between replicas: in particular, we assume that typically the <math>n</math> replicas fall into configurations that are organized in <math>n/m</math> groups of size <math>m</math>; pairs of replicas in the same group are more strongly correlated and have overlap <math>q_1</math>, while pairs of replicas belonging to different groups have a smaller overlap <math>q_0<q_1</math>.  This corresponds to the following block structure for the overlap matrix:
<center>
<math>
Q=\begin{pmatrix}
1 & q_1 &q_1& q_0 & q_0 \cdots& q_0\\
q_1 & 1 &q_1& q_0 & q_0 \cdots& q_0\\
q_1 & q_1 &1& q_0 & q_0 \cdots& q_0\\
\cdots\\
\cdots\\
\cdots\\
q_0 & q_0 \cdots& q_0&1 & q_1 &q_1\\
q_0 & q_0 \cdots& q_0&q_1 & 1 &q_1\\
q_0 & q_0 \cdots& q_0&q_1 & q_1 &1\\
\end{pmatrix}
</math>
</center>
Here we have three parameters: <math>m, q_0, q_1</math> (in the sketch above, <math>m=3</math>). We denote with <math>m^{SP}, q_0^{SP}, q_1^{SP}</math> their values at the saddle point.
 


=== Problem 3: the replica trick and the quenched free energy ===
In this Problem, we set up the replica calculation of the quenched free energy. This will be done in 3 steps, that are general in each calculation of this type.


<ol>
<li> <em> Step 1: average over the disorder.</em> By using the same Gaussian integration discussed above, show that the <math>n</math>-th moment of the partition function is


<math display="block">
\mathbb{E}[Z^n]= \int_{S_N} \prod_{a=1}^n d \vec{\sigma}^a \; \text{exp}\left({\frac{\beta^2}{2} \sum_{a,b=1}^n \left[q({\vec{\sigma}^a, \vec{\sigma}^b})\right]^p}\right)
</math>


<ol>
Justify why averaging over the disorder induces a coupling between the replicas.
<li>
What is the overlap distribution in this case?
</li>
</li>
</ol>
</ol>
Line 132: Line 80:


<ol start="2">
<ol start="2">
<li>
<li><em> Step 2: identify the order parameter.</em> Using the identity <math> 1=\int dq_{ab}\, \delta \left( q({\vec{\sigma}^a, \vec{\sigma}^b})- q_{ab}\right) </math>, show that <math>\mathbb{E}[Z^n]</math> can be rewritten as an integral over <math>n(n-1)/2</math> variables  only, as:
Using that  
 
<center>
<math display="block">
<math>\log \det Q=n\frac{m-1}{m} \log (1-q_1)+ \frac{n-m}{m} \log [m(q_1-q_0) + 1-q_1]+ \log \left[nq_0+ m(q_1-q_0)+ 1-q_1 \right]</math>
\mathbb{E}[Z^n]= \int \prod_{a<b} d q_{ab} e^{\frac{N\beta^2}{2} \sum_{a,b=1}^n q_{ab}^p+ \frac{Nn}{2} \log (2 \pi e) + \frac{N}{2} \log \det Q+ o(N)} \equiv \int \prod_{a<b} d q_{ab} e^{N \mathcal{A}[Q]+ o(N)}, \quad \quad Q_{ab} \equiv \begin{cases}
</center>
&q_{ab} \text{ if  } a <b\\
show that the free energy now becomes:
&1 \text{ if  } a =b\\
<center>
&q_{ba}\text{ if  } a >b
\end{cases}</math>
 
In the derivation, you can use the fact that
<math>
<math>
f_{1RSB}= - \frac{1}{2 \beta} \left[ \frac{\beta^2}{2} \left(1+ (m-1)q_1^p - m q_0^p \right)+ \frac{m-1}{m} \log (1-q_1)+ \frac{1}{m} \log [m(q_1-q_0) + 1-q_1]+ \frac{q_0}{m(q_1-q_0)+ 1-q_1} \right]
\int_{S_N} \prod_{a=1}^n d \vec{\sigma}^a \, \prod_{a<b}\delta \left(q({\vec{\sigma}^a, \vec{\sigma}^b})- q_{ab} \right)= e^{N S[Q]+ o(N)}</math>, where <math>  S[Q]= n \log (2 \pi e)/2 + (1/2)\log \det Q</math>. The matrix <math> Q</math> is an order parameter: explain the analogy with the magnetisation in the mean-field solution of the Ising model.
</math>
 
</center>
Under which limit this reduces to the replica symmetric expression?
</li>
</li>
</ol>
</ol>
Line 149: Line 98:


<ol start="3">
<ol start="3">
<li>
<li><em> Step 3: the saddle point (RS).</em> For large N, the integral can be computed with a saddle point approximation for general <math>n</math>. The saddle point variables are the matrix elements <math> q_{ab}</math> with <math> a \neq b</math>. Show that the saddle point equations read
Compute the saddle point equations with respect to the parameter <math> q_0, q_1 </math> and <math> m </math> are. Check that <math> q_0=0</math> is again a valid solution of these equations, and that for <math> q_0=0</math> the remaining equations reduce to:
 
<center>
<math display="block">
<math>
\frac{\partial \mathcal{A}[Q]}{\partial q_{ab}}=\beta^2\, p q_{ab}^{p-1}\left(Q^{-1}\right)_{ab} \Big|_{Q=Q^*}=0 \quad \quad \text{for } \quad a <b,
(m-1) \left[ \frac{\beta^2}{q}p q_1^{p-1}-\frac{1}{m}\frac{1}{1-q_1}+ \frac{1}{m}\frac{1}{1+ (m-1)q_1} \right]=0, \quad \quad
\frac{\beta^2}{2} q_1^p + \frac{1}{m^2}\log \left( \frac{1-q_1}{1+ (m-1)q_1}\right)+ \frac{q_1}{m [1+(m-1)q_1]}=0
</math>
</math>
</center>
where we called <math> Q^*=(Q_{ab}^*) </math> the value at which the saddle point is attained.
How does one recover the paramagnetic solution?
To solve these equations and get the free energy, one first needs to make an assumption on the structure of the matrix <math> Q</math>, i.e., on the space where to look for the saddle point solutions. We discuss this in the next set of problems.
</li>
</li>
</ol>
</ol>
<br>
<br>


<ol start="4">
== The physics within the replica formalism: a first hint==
<li>
In Problem 2, we have introduced the overlap distribution, that for the spherical <math> p</math>-spin model takes the form:
We now look for a solution different from the paramagnetic one. To begin with, we set  <math> m=1 </math> to satisfy the first equation, and look for a solution of
 
<center>
<math display="block">
<math>
P_{N, \beta}(q)= \int_{\mathcal{S}_N} d \vec{\sigma} \, \int_{\mathcal{S}_N} d \vec{\tau} \frac{e^{-\beta E(\vec{\sigma})}}{Z}\frac{e^{-\beta E(\vec{\tau})}}{Z}\delta \left(q- q(\vec{\sigma}, \vec{\tau}) \right)
\frac{\beta^2}{2} q_1^p + \log \left(1-q_1\right)+ q_1=0
</math>
This is the distribution of overlaps between configurations extracted at equilibrium, in a fixed given realisation of disorder. On the other hand, the problems above show that replicas play exactly this game: they are different configurations of the system, extracted with a Boltzmann weight at a given realisation of the random energy landscape. They serve as probes for capturing correlations between equilibrium configurations. The saddle point solution <math> q_{ab}^* </math> capture precisely the information on the average distribution of overlaps in the system. More precisely, one can show that
<math display="block">
\mathbb{E}[P_\beta(q)]=\lim_{N \to \infty} \mathbb{E}[P_{N, \beta}(q)]=\lim_{n \to 0} \; \frac{2}{n(n-1)}\; \sum_{a>b}\delta \left(q- q_{ab}^{*}\right),
</math>
The solution of the saddle point equations for the overlap matrix <math> Q</math> thus contain the information on whether spin glass order emerges, which corresponds to having a non-trivial distribution <math> \mathbb{E}[P_\beta (q)]</math>. Moreover, the Edwards-Anderson order parameter introduced by Alberto in Lecture 1 can also be read out from the formalism:
<math display="block">
q_{EA}= \max \left\{ q_{a \neq b}^{*} \right\}.
</math>
</math>
</center>
 
Plot this function for <math> p=3</math> and different values of <math> \beta</math>, and show that there is a critical temperature <math> T_c</math> where a solution <math> q_1 \neq 0</math> appears: what is the value of this temperature (determined numerically)?
== Check out: key concepts and exercises==
</li>
 
</ol>
Annealed vs quenched averages, replica trick, fully-connected models, order parameters, the three steps of a replica calculation.<br>
<br>
To practice on the calculations, you can do <code>Exercise 9 </code>
 
== To know more ==
* Castellani, Cavagna. Spin-Glass Theory for Pedestrians [https://arxiv.org/abs/cond-mat/0505032]

Latest revision as of 14:33, 13 February 2026

Goal: use the replica method to compute the quenched free energy of a prototypical mean-field model of glasses, the spherical p-spin model.
Techniques: replica trick, Gaussian integrals, saddle point calculations.


Quenched vs annealed, and the replica trick

In Problems 1 and 2, we defined the quenched free energy as the physically relevant quantity controlling the scaling of the typical value of the partition function Z, which means:

f=limN1βN𝔼[logZ].

The annealed free energy fa instead controls the scaling of the average value of Z, and it is defined by fa=limN1βNlog𝔼[Z]. These formulas differ by the order in which the logarithm and the average over disorder are taken.


For the REM, because of the simplicity of the model we could compute the quenched free-energy by computing the typical value of the number of configurations with a given energy. This can not be done in general, and one has to resort to the computation of the average of the logarithm, which is a hard problem. To address it, one can use a smart representation of the logarithm, that goes under the name of replica trick: logx=limn0xn1n,x>0 which can be easily shown to be true by Taylor expanding xn=enlogx=1+nlogx+O(n2). Applying this to the average of the partition function, we see that f=limNlimn01βN𝔼[Zn]1n. Therefore, to compute the quenched free-energy we need to compute the moments 𝔼[Zn] and then take the limit n0. The calculations in the following Problems rely on this replica trick. The annealed one only requires to do the calculation with n=1.

The spherical p-spin model

We discuss the Replica formalism for a mean-field model that is slightly more complicated than the REM: the spherical p-spin model. In the spherical p-spin model the configurations σ=(σ1,,σN) satisfy the spherical constraint i=1Nσi2=N, and the energy associated to each configuration is E(σ)=1i1<i2<ipNJi1i2ipσi1σi2σip, where the coupling constants Ji1i2ip are independent random variables with Gaussian distribution with zero mean and variance p!/Np1, and p3 is an integer.

Problems

Problem 3: the replica trick and the quenched free energy

In this Problem, we set up the replica calculation of the quenched free energy. This will be done in 3 steps, that are general in each calculation of this type.

  1. Step 1: average over the disorder. By using the same Gaussian integration discussed above, show that the n-th moment of the partition function is 𝔼[Zn]=SNa=1ndσaexp(β22a,b=1n[q(σa,σb)]p) Justify why averaging over the disorder induces a coupling between the replicas.


  1. Step 2: identify the order parameter. Using the identity 1=dqabδ(q(σa,σb)qab), show that 𝔼[Zn] can be rewritten as an integral over n(n1)/2 variables only, as: 𝔼[Zn]=a<bdqabeNβ22a,b=1nqabp+Nn2log(2πe)+N2logdetQ+o(N)a<bdqabeN𝒜[Q]+o(N),Qab{qab if a<b1 if a=bqba if a>b In the derivation, you can use the fact that SNa=1ndσaa<bδ(q(σa,σb)qab)=eNS[Q]+o(N), where S[Q]=nlog(2πe)/2+(1/2)logdetQ. The matrix Q is an order parameter: explain the analogy with the magnetisation in the mean-field solution of the Ising model.


  1. Step 3: the saddle point (RS). For large N, the integral can be computed with a saddle point approximation for general n. The saddle point variables are the matrix elements qab with ab. Show that the saddle point equations read 𝒜[Q]qab=β2pqabp1+(Q1)ab|Q=Q*=0for a<b, where we called Q*=(Qab*) the value at which the saddle point is attained. To solve these equations and get the free energy, one first needs to make an assumption on the structure of the matrix Q, i.e., on the space where to look for the saddle point solutions. We discuss this in the next set of problems.


The physics within the replica formalism: a first hint

In Problem 2, we have introduced the overlap distribution, that for the spherical p-spin model takes the form:

PN,β(q)=𝒮Ndσ𝒮NdτeβE(σ)ZeβE(τ)Zδ(qq(σ,τ)) This is the distribution of overlaps between configurations extracted at equilibrium, in a fixed given realisation of disorder. On the other hand, the problems above show that replicas play exactly this game: they are different configurations of the system, extracted with a Boltzmann weight at a given realisation of the random energy landscape. They serve as probes for capturing correlations between equilibrium configurations. The saddle point solution qab* capture precisely the information on the average distribution of overlaps in the system. More precisely, one can show that 𝔼[Pβ(q)]=limN𝔼[PN,β(q)]=limn02n(n1)a>bδ(qqab*), The solution of the saddle point equations for the overlap matrix Q thus contain the information on whether spin glass order emerges, which corresponds to having a non-trivial distribution 𝔼[Pβ(q)]. Moreover, the Edwards-Anderson order parameter introduced by Alberto in Lecture 1 can also be read out from the formalism: qEA=max{qab*}.

Check out: key concepts and exercises

Annealed vs quenched averages, replica trick, fully-connected models, order parameters, the three steps of a replica calculation.
To practice on the calculations, you can do Exercise 9

To know more

  • Castellani, Cavagna. Spin-Glass Theory for Pedestrians [1]