원시데이터 수집 시스템
선정목록으로

Fast Algorithm to Calculate Density of States

관련 필름·전자재료 · (16) CPI(투명 폴리이미드)

기본 정보

저자
  1. Belardinelli, R. E.
  2. Pereyra, V. D.
DOI
10.48550/arxiv.cond-mat/0701672
저널
arXiv (Cornell University)
발행년도
2022
발행기관
Cornell University
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.cond-mat/0701672
토픽
Chemical and Physical Properties of Materials
OpenAlex ID
W6910636372

평가 내용

관련도
관련
사업분야
필름·전자재료 · (16) CPI(투명 폴리이미드)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > CPI(투명 폴리이미드)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

An algorithm to calculate the density of states, based on the well-known Wang-Landau method, is introduced. Independent random walks are performed in different restricted ranges of energy, and the resultant density of states is modified by a function of time, F(t)=1/t, for large time. As a consequence, the calculated density of state, gm(E,t), approaches asymptotically the exact value gex(E) as 1/sqrt(t), avoiding the saturation of the error. It is also shown that the growth of the interface of the energy histogram belongs to the random deposition universality class.

본문 28,701자

본문 펼치기
PHYSICAL REVIEW E 75, 046701 �2007� Fast algorithm to calculate density of states R. E. Belardinelli and V. D. Pereyra <sup>*</sup> _Departamento_ _de_ _Física,_ _Laboratorio_ _de_ _Ciencias_ _de_ _Superficie,_ _Universidad_ _Nacional_ _de_ _San_ _Luis,_ _CONICET,_ _Chacabuco_ _917,_ _5700_ _San_ _Luis,_ _Argentina_ <mark>�Received</mark> <mark>13</mark> <mark>June</mark> <mark>2006;</mark> <mark>revised</mark> <mark>manuscript</mark> <mark>received</mark> <mark>6</mark> <mark>February</mark> <mark>2007;</mark> <mark>published</mark> <mark>5 April</mark> <mark>2007�</mark> An algorithm to calculate the density of states, based on the well-known Wang-Landau method, is introduced. Independent random walks are performed in different restricted ranges of energy, and the resultant density of states is modified by a function of time, _F_ - _t_ - - _t_ <sup>−1</sup>, for large time. As a consequence, the calculated density of state, _gm_ - _E_, _t_ �, approaches asymptotically the exact value _gex_ - _E_ - as � _t_ <sup>−1/2</sup>, avoiding the saturation of the error. It is also shown that the growth of the interface of the energy histogram belongs to the random deposition universality class. DOI: 10.1103/PhysRevE.75.046701 PACS number�s�: 02.70.Rr, 64.60.Cn, 05.50.�q I. INTRODUCTION The Wang-Landau �WL� algorithm �1� has been one of the most interesting and refreshing improvements in the Monte Carlo �MC� simulation scheme in the last decade, applying to a broad spectrum of interesting problems in statistical physics and biophysics �1–9�. The method is based in an algorithm to calculate the density of states _g_ - _E_ �—i.e., the number of all possible states �or configurations� for an energy level _E_ of the system. In that way, thermodynamic observables, including free energy over a wide range of temperature, can be calculated with one single simulation. Instead, most conventional Monte Carlo algorithms such as Metropolis importance sampling �10�, Swendsen-Wang cluster flipping �11�, etc. �12�, generate a canonical distribution _g_ - _E_ - _e_ <sup>−</sup> <sup>_E_</sup> <sup>/</sup> <sup>_kBT_</sup> at a given temperature. Such distributions are so narrow that, with conventional Monte Carlo simulations, multiple runs are required to determine thermodynamic quantities over significant ranges of temperatures. It is important to note that the multicanonical ensemble method �13–16� proposed by Berg _et_ _al._ estimates also the density of states _g_ - _E_ - first, then performs a random walk with a flat histogram in the desired region in the phase space. This method has been proven to be very efficient in studying first-order phase transitions where simple canonical simulations have difficulty in overcoming the tunneling barrier between coexisting phases at the transition temperature �13,16–23�. However, in multicanonical simulations, the density of states need not necessarily be very accurate, as long as the simulation generates a relatively flat histogram and overcomes the tunneling barrier in energy space. This is because the subsequent reweighting �13,15� does not depend on the accuracy of the density of states as long as the histogram can cover all important energy levels with sufficient statistics. Since Wang and Landau introduced the multiple-range random walk algorithm to calculate the density of states �DOS�, there have been numerous proposed improvements �24–31� and studies of the efficiency and convergence of this algorithm �26,30�. However, there are limitations of the method which remain still unsolved, such as, for example, the behavior of the tunneling time, which is a bound for the performance of any flat-histogram algorithm, as is discussed in Ref. �30�, where it is shown that it limits the convergence in the WL algorithm. Other important unanswered questions related particularly with the WL method are as follows: �i� How is the flatness of the histogram related to the accuracy? �ii� What is the relation between the modification factor and the error? �iii� Is there some relation between the refinement parameter and the stopping condition that increases the efficiency? �iv� Is there any universality behavior related to this algorithm? In this paper an algorithm based in the WangLandau method is introduced. The main goal of the proposed algorithm is that the refinement parameter needs to be scaled down as 1/ _t_ . The remainder of this paper is arranged as follows. In Sec. II, the Wang-Landau algorithm and its dynamical behavior are discussed. In Sec. III, the algorithm is introduced in detail and some applications are discussed. Finally, the conclusions are given in Sec. IV. II. WANG-LANDAU ALGORITHM In the Wang-Landau algorithm �WL�, an initial energy range of interest is identified, _Emin_ - _E_ - _Emax_, and a random walk is performed in this range. During the random walk, two histograms are updated: one for the density of states, _g_ - _E_ �, which represents the current or running estimate, and one for visits to distinct energy states, _H_ - _E_ �. Before the simulation begins _H_ - _E_ - is set to zero and _g_ - _E_ - is set to unity. The random walk is performed by choosing an initial state _i_ in the energy range _Emin_ - _E_ - _Emax_ . Trial moves are then attempted and moves are accepted according to the transition probability �1� ### p � Ei → Ef � = min�1, g g � � E E f i � � �, where _Ei_ - _Ef_ - is the initial �final� state, respectively, and - rbelar@unsl.edu.ar and vpereyra@unsl.edu.ar *Author to whom correspondence should be addressed. Electronic _p_ - _Ei_ → _Ef_ - is the transition probability from the energy level address: vpereyra@unsl.edu.ar _Ei_ to _Ef_ . Whenever a trial move is accepted, a histogram 1539-3755/2007/75�4�/046701�5� 046701-1 ©2007 The American Physical Society R. E. BELARDINELLI AND V. D. PEREYRA PHYSICAL REVIEW E 75, 046701 �2007� entry corresponding to _n_ is incremented according to _H_ - _En_ = _H_ - _En_ - +1 and _g_ - _En_ - = _g_ - _En_ - _f_, where _f_ is an arbitrary convergence factor, which is generally initialized as _e_ . If a move is rejected, the new configuration is discarded and the histogram entry corresponding to the old configuration is incremented according to _H_ - _E_ 0� = _H_ - _E_ 0� +1; at the same time, the density of states is incremented according to _g_ - _E_ 0� = _g_ - _E_ 0� _f_ . This process is repeated until the energy histogram becomes sufficiently flat. When that happens, the energy histogram is reset to zero and the convergence factor is decreased according to _f_ _k_ +1 = <sup>~~�~~</sup> _f_ _k_, where _f_ _k_ is the convergence factor corresponding to stage _k_ . The process is continued until _f_ becomes sufficiently close to 1 �say, _f_ - exp�10 <sup>−8</sup> ��. In practice, the relation _S_ - _E_ - =log� _g_ - _E_ �� is generally used in order to fit all possible values of _g_ - _E_ - into doubleprecision numbers. In order to understand the WL method and its limitations, let us describe the time behavior of - _H_ - _t_ �� = _N_ <sup><u>1</u></sup> <sup>�</sup> <sup>_EH_</sup> <sup>�</sup> <sup>_E_</sup> <sup>,</sup> <sup>_t_</sup> <sup>�,</sup> where _N_ is the number of states of different energies and _H_ - _E_, _t_ - stands for the mean height of the histogram in _E_ at time _t_ �with _t_ = _j_ / _N_, where _j_ is the number of trial moves attempted� which is the MC time for the rest of the paper. Note that _t_ is normalized to the entire range of energy, _N_, and not to the number of lattice sites, _L_ <sup>2</sup> . The wide histogram is defined as - _H_ - _t_ - = _Hmax_ - _t_ - _Hmin_ - _t_ �, where _Hmax_ - _t_ - and _Hmin_ - _t_ - are the maximum and minimum values of _H_ at time _t_, respectively. Other quantities of interest are �� _HH_ - <sup>,</sup> <sup>the</sup> <sup>function</sup> <sup>_F_</sup> =log� _f_ �, and the errors �� _E_, _t_ - and �� _E_, _t_ �, defined as �2� �� _E_, _t_ - =�1 − <sup><u>log</u></sup> log <sup><u>�</u></sup> - <sup>_<u>g</u>_</sup> _g_ <sup>_<u>n</u>_</sup> _ex_ <sup><u>�</u></sup> <sup>_<u>E</u>_</sup> - _E_ <sup><u>,</u></sup> <sup>_<u>t</u>_</sup> �� <sup><u>���</u></sup> and �3� �� _E_, _t_ - =�1 − <sup>_<u>g</u>_</sup> _g_ <sup>_<u>n</u>_</sup> _ex_ <sup><u>�</u></sup> <sup>_<u>E</u>_</sup> - _E_ <sup><u>,</u></sup> <sup>_<u>t</u>_</sup> - <sup><u>��</u></sup> <sup>,</sup> where _gn_ - _E_, _t_ - and _gex_ - _E_, _t_ - are the experimental and the exact values of the DOS � _gn_ - _E_, _t_ - is normalized with respect to the exact DOS at the ground state�. Then, the mean values are ��� _t_ �� = - _N_ <u>1−1�</u> <sup>�</sup> <sup>_E_</sup> <sup>��</sup> <sup>_E_</sup> <sup>,</sup> <sup>_t_</sup> <sup>�</sup> <sup>and</sup> <sup>���</sup> <sup>_t_</sup> <sup>��</sup> <sup>=</sup> - _N_ <u>1−1�</u> <sup>�</sup> <sup>_E_</sup> <sup>��</sup> <sup>_E_</sup> <sup>,</sup> <sup>_t_</sup> <sup>�.</sup> The dynamics of the WL algorithm can be analyzed observing the behavior of these quantities, as shown in Figs. 1�a� and 1�b�, where - _H_ �, - _H_, - <sup><u>�</u></sup> _H_ <sup>_<u>H</u>_</sup> - <sup>,</sup> <sup>_F_</sup> <sup>,</sup> <sup>���</sup> <sup>_t_</sup> <sup>��,</sup> <sup>and</sup> <sup>���</sup> <sup>_t_</sup> <sup>��</sup> <sup>are</sup> plotted as a function of MC time for the Ising model in a two-dimensional square lattice with _L_ =8, over the whole range of energies, _N_ =63. Note that in this case, _t_ = <sup>_<u>L</u>_</sup> <sup>2</sup> _N_ <sup>_t_</sup> <sup>�,</sup> where _t_ - is normalized to the number of the lattice sites, _L_ <sup>2</sup> . The exact value of the density of states, _gex_ - _E_ �, is obtained from the method developed in Ref. �32�, and _gn_ - _E_, _t_ - is averaged over 256 independent samples. For 0 - _t_ - _tc_, _F_ 0 =const �i.e. _F_ 0 =log� _e_ - =0.434 294 4...�, where _tc_ is the number of MC trial flips between adjacent records in the histogram, typically _tc_ =10000 <sup>_<u>L</u>_</sup> _N_ <sup>2</sup> <sup>MC</sup> <sup>step;</sup> both errors ��� _t_ �� and ��� _t_ �� are very large; the average height of the histogram grows linearly with time as - _H_ - _t_ �� = _t_ ; - _H_ follows the same behavior of - _H_ �, while _Hmin_ =0; as <η ∆ <ε ∆ FIG. 1. Dynamical behavior of �a� _F_, ��� _t_ ��, ��� _t_ �� and �b�� _H_ �, - _H_, - <sup><u>�</u></sup> _H_ <sup>_<u>H</u>_</sup> - <sup>for the Ising model in a two-dimensional square lattice with</sup> _L_ =8 using the Wang-Landau method. The quantities are obtained averaging over 256 independent samples. The flatness criterion was 95%. soon as _Hmin_ - 0, - _H_ remains constant and consequently the rate �� _HH_ - <sup>begins</sup> <sup>to</sup> <sup>decrease</sup> <sup>inversely</sup> <sup>with</sup> <sup>time,</sup> �� _HH_ - <sup>�</sup> <sup>_t_</sup> <sup>−1.</sup> When this parameter fulfills the flatness criteria �i.e., 95%, horizontal line in the figure� and the Monte Carlo time is the adequate _t_ - _tc_, then _F_ is modified to a new value - _Fk_ +1 = _Fk_ /2�, the histogram _H_ - _E_ - is reset, and the errors ��� _t_ �� and ��� _t_ �� are reduced, remaining constant until the parameter _F_ is modified again. New reductions of _F_ lead to lower values of ��� _t_ �� and ��� _t_ �� and the error curves go down. However, after a certain time both errors reach a saturation value. It turns out that - _H_ �, - _H_, and - <sup><u>�</u></sup> _H_ <sup>_<u>H</u>_</sup> - <sup>are</sup> <sup>also</sup> <sup>satu-</sup> rated. It seems that the saturation in the error is due to the fact that the parameter _F_ is reduced in an inadequate way, every time that the histogram becomes flat. In the WL algorithm, any function _F_ may be used for the modification factor, as long as it decreases monotonically to zero. One of the ways of reducing _F_ is to use the following _<u>Fk</u>_ assignment relation: _F_ - _k_ +1� = _m_ <sup>with</sup> <sup>_m_</sup> <sup>=2. One could suggest</sup> _<u>Fk</u>_ assignment relation: _F_ - _k_ +1� = _m_ <sup>with</sup> <sup>_m_</sup> <sup>=2. One could suggest</sup> to change the value of _m_ to optimize the error; however, other values of _m_ present the same behavior, saturating in all cases as is shown in Fig. 2. In order to render the WL method efficient, _m_ should be variable in each interval controlled by the flatness in the histogram. III. _t_ <sup>−1</sup> TIME-DEPENDENT ALGORITHM In this paper an algorithm to obtain the density of states is introduced by determining an appropriate law for the temporary change of _F_ in such a way that the saturation in the 046701-2 FAST ALGORITHM TO CALCULATE DENSITY OF STATES PHYSICAL REVIEW E 75, 046701 �2007� ε ##### ε η ∆ FIG. 2. Dynamical behavior of ��� _t_ �� for different values of the parameter _m_ . The flatness criterion was 95%. As one can see, in all cases the error saturates. errors is avoided. One proceeds in the same way as in the WL method, identifying the range of the energy of interest, performing the random walk in this range, and using the acceptance probability defined in Eq. �1�. The algorithm is as follows: �i� Choose an initial configuration and set _S_ - _E_ - =0, _H_ - _E_ =0 for all _E_ and _F_ 0 =1 and also fix _Ffinal_ . �ii� The system changes from _Ei_ to _Ef_ according to the probability given in Eq. �1�. �iii� Increment the histogram and the density of state, _H_ - _E_ - → _H_ - _E_ - +1, and _S_ - _E_ - → _S_ - _E_ - + _Fk_ . �iv� After some fixed sweeps �i.e., 1000 MC time� check _H_ - _E_ �; if _H_ - _E_ - - 0 for all _E_, then refine _Fk_ +1 = _Fk_ /2 and reset the histogram _H_ - _E_ �. �v� If _Fk_ +1 - _t_ <sup>−1</sup>, then _Fk_ +1 = _F_ - _t_ - = _t_ <sup>−1</sup> and in what follows _F_ - _t_ - is updated at each MC time. _H_ - _E_ - and the step �iv� are not used for the rest of the experiment. �vi� If _F_ - _t_ - - _Ffinal_, then the process is stopped. Otherwise go to �ii�. The main goal of the algorithm proposed here is to find an appropriate variation of the refinement parameter as a function of time, as is given in �v�. To analyze the dynamic of the proposed algorithm it is convenient to introduce a new histogram _H_ �� _E_ - analogous to _H_ - _E_ �, which is not reset in the whole experiment. In Fig. 3 one can observe a test of the algorithm through the time behavior of the quantities �a���� _t_ ��, ��� _t_ ��, and <sup>~~�~~</sup> _F_, and �b�� _H_ �� _t_ ��, - _H_ �, and - <sup><u>�</u></sup> _H_ <sup>_<u>H</u>_</sup> - <sup><u>�</u></sup> - <sup>,</sup> <sup>for</sup> <sup>the</sup> <sup>same</sup> <sup>system</sup> <sup>as</sup> <sup>that</sup> described in Fig. 1. One can see that the errors ��� _t_ �� and ��� _t_ �� are proportional to ~~�~~ <sup><u>1</u></sup> _t_ <sup>and</sup> <sup>_F_</sup> <sup>�</sup> <sup>_t_</sup> <sup>�</sup> <sup>=</sup> <sup>_t_</sup> <sup>−1</sup> <sup>for</sup> <sup>large</sup> <sup>_t_</sup> <sup>.</sup> <sup>On</sup> <sup>the</sup> other hand, � _H_ �� _t_ �� = _t_ for all time _t_ �this is due to the fact that its <u>quantity</u> is not reset during the whole experiment�, - _H_ - <sup>~~�~~</sup> _t_ and <sup><u>�</u></sup> <sup>_<u>H</u>_</sup> <sup><u>�</u></sup> - _H_ �� <sup>�</sup> ~~�~~ <sup><u>1</u></sup> _t_ <sup>.</sup> In the inset of the Fig. 3�b�, the behavior of the nonreset histogram - _H_ �� _t_ ��, - _H_ �, and �� _HH_ ��� <sup>for</sup> <sup>the</sup> <sup>WL</sup> <sup>algorithm</sup> <sup>is</sup> included. Clearly, it is observed that both quantities - _H_ �� _t_ �� and - _H_ - are proportional to _t_ and - <sup><u>�</u></sup> _H_ <sup>_<u>H</u>_</sup> - <sup><u>�</u></sup> - <sup>→</sup> <sup>const</sup> <sup>for</sup> <sup>large</sup> <sup>_t_</sup> <sup>.</sup> <u>One</u> can verify that the errors ��� _t_ �� and ��� _t_ �� go as �� _F_ - _t_ �; this is the main characteristic of the algorithm. On the other hand, the fluctuation of the histogram goes as - _H_ ∆ ∆ FIG. 3. Dynamical behavior of �a� <sup>~~�~~</sup> _F_, ��� _t_ ��, ��� _t_ �� and �b� - _H_ ��, - _H_ �, - <sup><u>�</u></sup> _H_ <sup>_<u>H</u>_</sup> - <sup><u>�</u></sup> - <sup>,</sup> <sup>for</sup> <sup>the</sup> <sup>Ising</sup> <sup>model</sup> <sup>in</sup> <sup>a</sup> <sup>2D</sup> <sup>square</sup> <sup>lattice</sup> <sup>with</sup> <sup>_L_</sup> =8 using the algorithm introduced here. The quantities are obtained averaging over 88 independent samples. In a double-logarithmic scale, the data points for the quantities - _H_ �, - <sup><u>�</u></sup> _H_ <sup>_<u>H</u>_</sup> - <sup><u>�</u></sup> - <sup>,</sup> <sup>���</sup> <sup>_t_</sup> <sup>��,</sup> <sup>and</sup> <sup>���</sup> <sup>_t_</sup> <sup>��</sup> fall on a straight line with the values of the slopes equal to 0.518±0.015, −0.482±0.015, −0.486±0.008, and −0.488±0.008, respectively, for large _t_ . In the inset of �b� the time behavior of � _H_ ��, - _H_ �, and - <sup><u>�</u></sup> _H_ <sup>_<u>H</u>_</sup> - <sup><u>�</u></sup> - <sup>for</sup> <sup>the</sup> <sup>WL algorithm</sup> <sup>is</sup> <sup>shown.</sup> - ~~�~~ _F_ <u>1�</u> _t_ - <sup>; this relation was also obtained by different authors in</sup> Refs. �26,31� for the WL method. Based on the time behavior of the histogram growth and its fluctuation, one can conclude that it belongs to the universality class of the random deposition model �33�. The election of _F_ - _t_ - =1/ - _H_ �� _t_ �� is not arbitrary; in fact, if _F_ - _t_ - decreases more slowly than 1/ - _H_ �� _t_ ��, the algorithm will lose unnecessary time to arrive at the same precision in _g_ - _E_ ��this can be easily tested, changing the exponent in the function _F_ - _t_ - and observing the behavior of the errors�. On the contrary, if _F_ - _t_ - decreases faster than 1/ - _H_ �� _t_ ��, the error saturates, as happens in the WL method. _F_ - _t_ - = _t_ <sup>−1</sup> is a limit function. To compare the speed and convergence of the algorithm proposed here with the WL method, the error ��� _t_ �� versus time _t_ is plotted in Fig. 4 for both cases. It is observed that for any value of the flatness condition in the WL method, the error saturates. Taking the value of the error at the saturation time for each curve, one can observe the _t_ <sup>−1/2</sup> dependence; such behavior suggests the functionality of _F_ - _t_ �. One can also observe that the error calculated by the method proposed here, at a given time _t_, is always smaller than the one corresponding to WL with any value of the flatness condition. On the other hand, the time that the WL algorithm takes is al 046701-3 R. E. BELARDINELLI AND V. D. PEREYRA PHYSICAL REVIEW E 75, 046701 �2007� ##### ε FIG. 4. Comparison between the error ��� _t_ �� calculated using the WL method with different flatness condition and that obtained by our algorithm for the Ising model in a 2D square lattice with _L_ =8. ways greater than that corresponding to our algorithm. Figure 5 shows the errors versus time for one interval of energy, _E_ / _L_ <sup>2</sup> - �−2,0�, for an Ising <u>model</u> with _L_ =50 with #### 80 averages. In the same figure, � F � t � and � � H H � � � are also in cluded. In the inset, one can see �� _E_ - and �� _E_ - as a function of _L_ <sup>_<u>E</u>_</sup> <sup>2</sup> <sup>at</sup> <sup>the</sup> <sup>final</sup> <sup>time</sup> <sup>_tfinal_</sup> <sup>for</sup> <sup>a</sup> <sup>typical</sup> <sup>independent</sup> <sup>sample.</sup> As is expected, in the Ising model one can compare the exact value of the energy density function, at least for size _L_ - 50, with the experimental one. However, the error and �� _HH_ ��� <sup>have</sup> <sup>the</sup> <sup>same</sup> <sup>time</sup> <sup>functionality.</sup> <sup>This</sup> <sup>fact</sup> <sup>is</sup> <sup>necessary</sup> when the exact energy density function is not previously known, as in other statistical models. Then, observing the behavior of - <sup><u>�</u></sup> _H_ <sup>_<u>H</u>_</sup> - <sup><u>�</u></sup> - <sup>as</sup> <sup>a</sup> <sup>function</sup> <sup>of</sup> <sup>time,</sup> <sup>one</sup> <sup>can</sup> <sup>obtain</sup> <sup>infor-</sup> mation about the accuracy and convergence of the algorithm. To check this fact, in Fig. 6 the critical temperature _Tc_ is shown as a function of the size of the lattice for a ten-state Potts model. _Tc_ has been obtained using the method of the η η ε ε FIG. 5. Time behavior of <sup>~~�~~</sup> _F_, �� _HH_ ��� <sup>,</sup> <sup>���</sup> <sup>_t_</sup> <sup>��,</sup> <sup>and</sup> <sup>���</sup> <sup>_t_</sup> <sup>��</sup> <sup>for</sup> <sup>the</sup> whole energy range _E_ / _L_ <sup>2</sup> - �−2,0� for an Ising model in a 2D square lattice with _L_ =50 and _N_ =1250 averaging over 80 independent samples. In a double-logarithmic scale, the data points for the quantities �� _HH_ ��� <sup>,</sup> <sup>���</sup> <sup>_t_</sup> <sup>��,</sup> <sup>and</sup> <sup>���</sup> <sup>_t_</sup> <sup>��</sup> <sup>fall</sup> <sup>on</sup> <sup>a</sup> <sup>straight</sup> <sup>line</sup> <sup>with</sup> <sup>the</sup> values of the slopes equal to −0.51±0.03, −0.51±0.03, and −0.54±0.05, respectively. In the inset the behavior is shown of the errors �and � as a function of the energy _E_ / _L_ <sup>2</sup> at the final stage of the simulation �2�10 <sup>8</sup> MC steps� for a typical independent sample. FIG. 6. Extrapolation of finite lattice “transition temperatures” for the algorithm proposed here �solid circles� and WL algorithm �open triangles� for a <u>2D</u> _Q_ =10 Potts model. In the inset the time behavior of - <sup><u>�</u></sup> _H_ <sup>_<u>H</u>_</sup> - <sup><u>�</u></sup> - <sup>and</sup> <sup>~~�~~</sup> <sup>_F_</sup> <sup>is</sup> <sup>shown</sup> <sup>for</sup> <sup>both</sup> <sup>the</sup> <sup>WL</sup> <sup>�dashed</sup> <sup>lines�</sup> and our algorithm �solid lines�, with _L_ =16. double peak described in Ref. �34�. The size of the lattices goes from _L_ =40 to _L_ =120. To compare both methods, the results given by the WL algorithm �Ref. �1�� are also shown. As one can see, the precision of the proposed algorithm is rather better than that obtained by the WL algorithm �in the same conditions, _f final_ =exp�10 <sup>−8</sup> ��. The critical temperature, obtained by using our algorithm according to finite-size theory, is _Tc_ =0.701 237±0.000 008 �the exact result for the infinite system is _Tc_ =0.701 232...; see Ref. �35��. In the inset of the figure, the time behavior of - <sup><u>�</u></sup> _H_ <sup>_<u>H</u>_</sup> - <sup><u>�</u></sup> - <sup>and</sup> #### � F � t � is shown for the WL and the algorithm proposed here, for _L_ =16. While in the first case, <u>��</u> _<u>HH</u>_ <u>���</u> <sup>goes</sup> <sup>to</sup> <sup>a</sup> <sup>constant</sup> #### value, even for very low values of � F � t �, in the second one, In the inset of the figure, the time behavior of - <sup><u>�</u></sup> _H_ <sup>_<u>H</u>_</sup> - <sup><u>�</u></sup> �� _HH_ ��� <sup>��</sup> <sup>_F_</sup> <sup>�</sup> <sup>_t_</sup> <sup>�</sup> <sup>�</sup> <sup>_t_</sup> <sup>−1/2.</sup> It is important to note that in our method, as in the WL method, during the random walk especially in the early time, the algorithm does not satisfy the detailed balance condition exactly, because _g_ - _E_ - is modified constantly during the random walk. After the refinement parameter assumes the _t_ <sup>−1</sup> functionality, the random walk algorithm satisfies the detailed balance with accuracy proportional to ~~�~~ <sup><u>1</u></sup> _t_ <sup>.</sup> IV. CONCLUSIONS Summarizing, in this paper an accurate algorithm to calculate the energy density function is proposed. The algorithm considers that the refinement parameter _F_ in the well-known WL method is a function of time, which decreases at the same speed as the average height in the energy histogram increases. In this way, the density of states calculated, _gm_ - _E_, _t_ �, approaches asymptotically the exact value _gex_ - _E_ - as - _t_ <sup>−1/2</sup> . This simple law avoids the saturation in the error. Although the function - <sup><u>�</u></sup> _H_ <sup>_<u>H</u>_</sup> - <sup><u>�</u></sup> - <sup>follows the same time behavior</sup> as the error, the histogram is not indispensable in the implementation of the method. In other words, there is a direct relation between the accuracy of the method and the flatness in the histogram, as is shown in this work. Note that in the 046701-4 FAST ALGORITHM TO CALCULATE DENSITY OF STATES PHYSICAL REVIEW E 75, 046701 �2007� present algorithm the energy histogram growth belongs to the universality class of the random deposition model, independently of the statistical model that is simulated. The most important property of the algorithm is the present relation between the error and the function _F_ - _t_ �; this characteristic allows the assignment of the final stopping condition to _F_ - _t_ �, making it as small as one wants. In this way, the total time of simulation is previously determined for a given _Ffinal_, which is not possible to do with the WL algorithm and its variations. �1� F. Wang and D. P. Landau, Phys. Rev. Lett. 86, 2050 �2001�; Phys. Rev. E 64, 056101 �2001�; Comput. Phys. Commun. 147, 674 �2002�;. �2� N. Rathore and J. J. de Pablo, J. Chem. Phys. 116, 7225 �2002�, N. Rathore, T. A. Knotts, and J. J. de Pablo, _ibid._ 118, 4285 �2001�. �3� Q. Yan, R. Faller, and J. J. de Pablo, J. Chem. Phys. 116, 8745 �2002�. �4� M. Chopra and J. J. de Pablo, J. Chem. Phys. 124, 114102 �2006�; E. B. Kim, R. Feller, Q. Yan, N. L. Abbott, and J. J. de Pablo, _ibid._ 117, 7781 �2002�; A. Ethan and J. J. de Pablo, _ibid._ 122, 124109 �2005�. �5� M. S. Shell, P. G. Debenedetti, and A. Z. Panagiotopoulos, Phys. Rev. E 66, 056703 �2002�. �6� C. Yamaguchi and Y. Okabe, J. Phys. A 34, 8781 �2001�. �7� Y. Okabe, Y. Tomita, and C. Yamaguchi, Comput. Phys. Commun. 146, 63 �2002�. �8� E. A. Mastny and J. J. de Pablo, J. Chem. Phys. 122, 124109 �2005�. �9� P. Poulain, F. Calvo, R. Antoine, M. Broyer, and Ph. Dugourd, Phys. Rev. E 73, 056704 �2006�. �10� N. Metropolis, A. Rosembluth, M. Rosembluth, A. Teller, and E. Teller, J. Chem. Phys. 21, 1087 �1953�. �11� R. H. Swendsen and J.-S. Wang, Phys. Rev. Lett. 58, 86 �1987�; U. Wolff, _ibid._ 62, 361 �1989�. �12� D. P. Landau and K. Binder, _A Guide to Monte Carlo Methods_ _in_ _Statistical_ _Physics_ �Cambridge University Press, Cambridge, England, 2000�. �13� B. A. Berg and T. Neuhaus, Phys. Rev. Lett. 68, 9 �1992�. �14� B. A. Berg and T. Celik, Phys. Rev. Lett. 69, 2292 �1992�. �15� B. A. Berg and T. Neuhaus, Phys. Lett. B 267, 249 �1991�. �16� W. Janke and S. Kappler, Phys. Rev. Lett. 74, 212 �1995�. �17� W. Janke, Int. J. Mod. Phys. C, 3, 375 �1992�. In conclusion, the proposed algorithm is more efficient, accurate, and easy to implement than other well-known methods. ACKNOWLEDGMENTS We thank Professor G. Zgrablich for reading the manuscript. This work is partially supported by the CONICET �Argentina�. �18� B. A. Berg, U. Hansmann, and T. Neuhaus, Phys. Rev. B 47, 497 �1993�. �19� W. Janke, Physica A 254, 164 �1998�. �20� B. A. Berg and W. Janke, Phys. Rev. Lett. 80, 4771 �1998�. �21� B. A. Berg, Nucl. Phys. B 63, 982 �1998�. �22� B. A. Berg, T. Celik, and U. Hansmann, Europhys. Lett. 22, 63 �1993�. �23� N. Hatano and J. E. Gubernatis, in _Computer Simulation Stud-_ _ies_ _in_ _Condensed_ _Matter_ _Physics_ _XII_, edited by D. P. Landau, S. P. Lewis, and H.-B. Schuttler �Springer, Berlin, 2000�. �24� B. J. Schulz, K. Binder, and M. Müller, Int. J. Mod. Phys. C 13, 477 �2002�. �25� D. Jayasri, V. S. S. Sastry, and K. P. N. Murthy, Phys. Rev. E 72, 036702 �2005�. �26� C. Zhou and R. N. Bhatt, Phys. Rev. E 72, 025701�R��2005�. �27� A. Troster and C. Dellago, Phys. Rev. E 71, 066705 �2005�. �28� C. Zhou, T. Schulthess, S. Torbrugge, and D. Landau, Phys. Rev. Lett. 96, 120201 �2006�. �29� S. Trebst, D. A. Huse, and M. Troyer, Phys. Rev. E 70, 046701 �2004�. �30� P. Dayal, S. Trebst, S. Wessel, D. Wurtz, M. Troyer, S. Sabhapandit, and S. N. Coppersmith, Phys. Rev. Lett. 92, 097201 �2004�. �31� H. K. Lee, Y. Okabe, and D. P. Landau, Comput. Phys. Commun. 175, 36 �2006�. �32� P. D. Beale, Phys. Rev. Lett. 76, 78 �1996�. �33� A-L. Barabasi and H. E. Stanley, _Fractal_ _Concept_ _in_ _Surface_ _Growth_ �Cambridge University Press, Cambridge, England, 1995�. �34� M. S. S. Challa, D. P. Landau, and K. Binder, Phys. Rev. B 34, 1841 �1986�. �35� F. Y. Wu, Rev. Mod. Phys. 54, 235 �1982�. 046701-5

섹션 본문

섹션 본문이 없습니다.

참고문헌

참고문헌 정보가 없습니다.