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

An Efficient Monte-Carlo Method for Calculating Free-Energy in Long-Range Interacting Systems

관련 산업용 섬유 · (9) 타이어코드

기본 정보

저자
  1. Watanabe Kazuya
  2. Sasaki, Munetaka
DOI
10.48550/arxiv.1102.0134
저널
arXiv (Cornell University)
발행년도
2022
발행기관
Cornell University
피인용수
0
라이선스
0
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.48550/arxiv.1102.0134
토픽
Chemical and Physical Properties of Materials
OpenAlex ID
W6891646876

평가 내용

관련도
관련
사업분야
산업용 섬유 · (9) 타이어코드
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '산업용 섬유 > 타이어코드' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

We present an efficient Monte-Carlo method for long-range interacting systems to calculate free energy as a function of an order parameter. In this method, a variant of the Wang-Landau method regarding the order parameter is combined with the stochastic cutoff method, which has recently been developed for long-range interacting systems. This method enables us to calculate free energy in long-range interacting systems with reasonable computational time despite the fact that no approximation is involved. This method is applied to a three-dimensional magnetic dipolar system to measure free energy as a function of magnetization. By using the present method, we can calculate free energy for a large system size of $16^3$ spins despite the presence of long-range magnetic dipolar interactions. We also discuss the merits and demerits of the present method in comparison with the conventional Wang-Landau method in which free energy is calculated from the joint density of states of energy and order parameter.

본문 20,470자

본문 펼치기
Typeset with jpsj3.cls <ver.1.0> Letter An Efficient Monte-Carlo Method for Calculating Free Energy in Long-Range Interacting Systems Kazuya Watanabe and Munetaka Sasaki <sup>∗</sup> Department of Applied Physics, Tohoku University, Sendai 980-8579 (Received November 16, 2018) We present an efficient Monte-Carlo method for long-range interacting systems to calculate free energy as a function of an order parameter. In this method, a variant of the Wang-Landau method regarding the order parameter is combined with the stochastic cutoff method, which has recently been developed for long-range interacting systems. This method enables us to calculate free energy in long-range interacting systems with reasonable computational time despite the fact that no approximation is involved. This method is applied to a three-dimensional magnetic dipolar system to measure free energy as a function of magnetization. By using the present method, we can calculate free energy for a large system size of 16 <sup>3</sup> spins despite the presence of long-range magnetic dipolar interactions. We also discuss the merits and demerits of the present method in comparison with the conventional Wang-Landau method in which free energy is calculated from the joint density of states of energy and order parameter. KEYWORDS: Monte Carlo, long-range interacting system, Wang-Landau method, free energy measure ment, magnetic dipolar system In general, Monte Carlo (MC) simulations in longrange interacting systems are much more difficult than those in short-range interacting systems because we have to take a large number of interactions into consideration. For example, in the case of systems with pairwise interactions, the number of interactions is proportional to N <sup>2</sup>, where N is the number of elements of the system. Therefore, if a naive MC simulation is carried out in such systems, the computational time per MC step rapidly increases in proportion to N <sup>2</sup>, which is in contrast to that in the case of short-range interacting systems in which the computational time increases in proportion to N . In order to overcome this difficulty, many simulation methods have been proposed. <sup>1–11)</sup> Recently, one of the authors and Matsubara have developed an efficient MC method called the stochastic cutoff (SCO) method for long-range interacting systems. <sup>12)</sup> In the SCO method, each of the pairwise interactions Vij is stochastically switched to either 0 or a pseudointeraction V <sup>¯</sup> ij by the stochastic potential switching (SPS) algorithm. <sup>13, 14)</sup> The switching probability to 0 and that to V <sup>¯</sup> ij are Pij and 1 − Pij, respectively. Since the pseudointeraction V <sup>¯</sup> ij and switching probability Pij are chosen properly in the SPS algorithm, the SCO method strictly satisfies the detailed balance condition concerning the original Hamiltonian. <sup>13–15)</sup> This means that the SCO method does not involve any approximation. Furthermore, since most of the distant and weak interactions are switched to 0 and an efficient method to switch potentials has been developed, <sup>12)</sup> the SCO method enables us to reduce the computational time of long-range interactions markedly. For example, in the case of threedimensional dipolar systems, to which our new method will be applied later, the computational time is reduced from O(N <sup>2</sup> ) to O(N log N ) by the SCO method. <sup>12)</sup> We O(N <sup>2</sup> ) computation by a method proposed in ref. 15. An efficient method to combine the SCO method with the replica exchange method <sup>16)</sup> has also been developed there. In this letter, we propose an efficient MC method of combining the SCO method with the Wang-Landau method. <sup>17, 18)</sup> This method enables us to calculate free energy as a function of an order parameter with reasonable computational time even in long-range interacting systems. In the case of three-dimensional magnetic dipolar systems, computational time per MC step is reduced from O(N <sup>2</sup> ) to O(N log N ). As will be shown later, this method enables us to calculate free energy in a three-dimensional magnetic dipolar system with a size of 16 <sup>3</sup> spins. This system size is much larger than that of the previous work, <sup>19)</sup> i.e., 10 <sup>3</sup> spins, in spite of the fact that long-range dipolar interactions are included in the present work and they are not included in the previous work. We now start to present our new MC method. As an example, we hereafter consider to measure free energy as a function of the z-component of the magnetization in a classical Heisenberg spin system. It is straightforward to generalize the method for other cases. Free energy is defined by exp[−βF (β; mz)] ≡ CTr{S i} exp[−βH{Si}]δ(mz − mz <sup>∗{Si}),</sup> <sup>(1)</sup> where where N is the number of spins, β is the inverse temperature, H{Si} is the Hamiltonian of the spin system, and C is a constant It is not important how we choose <sup>∗</sup> z <sup>{Si} ≡</sup> <sup>1</sup> m <sup>∗</sup> z N i <sup>S</sup> i <sup>z,</sup> (2) 2 J. Phys. Soc. Jpn. Letter Online-Journal Subcommittee of all the states with a magnetization mz. In the present method, we use a variant of the WangLandau method regarding the order parameter. A similar method has been proposed in ref. 20 to calculate free energy by the multicanonical ensemble method. <sup>21, 22)</sup> The basic idea is as follows: We perform an MC simulation with the Hamiltonian H <sup>′</sup> {Si} = H{Si} − β <sup>−1</sup> G(m <sup>∗</sup> z <sup>{Si}).</sup> (3) During the simulation, G(mz) in eq. (3) is modified so that P (mz) becomes a constant, where P (mz) is the probability that a state with a magnetization mz is sampled. Then, the resultant function G(mz) is related to the free energy F (β; mz) by G(mz) = βF (β; mz) + constant. (4) This can be easily shown as P (mz) ∝ Tr{S i} exp[−βH <sup>′</sup> {Si}]δ(mz - mz <sup>∗{Si})</sup> = exp[G(mz)]Tr{S i} exp[−βH{Si}]δ(mz − mz <sup>∗{Si})</sup> = exp[G(mz)]C <sup>−1</sup> exp[−βF (β; mz)] = constant, (5) where we have used eq. (1) to go from the third line to the fourth. To modify G(mz) so that P (mz) becomes a constant, we use the conventional procedure of the WangLandau method, <sup>17, 18)</sup> i.e., we modify G(mz) as G(mz) → G(mz) − ∆F, (∆F - 0) (6) after each trial to update a single spin. If we start our simulation with G(mz) = 0, as conventionally performed, states with low free energies are frequently sampled at the beginning of the simulation. However, since the weights of such states are reduced more by the reduction in G(mz) [recall that the Hamiltonian is given by eq. (3)], G(mz) is adjusted by this procedure so that P (mz) becomes a constant. As is conventionally performed in the Wang-Landau method, <sup>17, 18)</sup> the constant ∆F in eq. (6) is gradually reduced as the simulation proceeds. Now, we briefly compare the present method with the conventional Wang-Landau method in which one evaluates the joint density of states as a function of energy and magnetization n(E, mz) ≡ Tr{S i}δ(E −H{Si})δ(mz − mz <sup>∗{Si}),</sup> <sup>(7)</sup> and calculates free energy from n(E, mz) as Landau method. Note that the above-mentioned simulation method is still time-consuming if H in eq. (3) involves long-range interactions because we need to carry out an MC simulation with the Hamiltonian H <sup>′</sup> . To overcome such difficulty, we simply use the SCO method. Since the SCO method with the Hamiltonian H <sup>′</sup> samples a state according to the Boltzmann weight exp(−βH <sup>′</sup> ) as in the conventional MC method, we can measure F (β; mz) in the same way as before. In the case of three-dimensional magnetic dipolar systems, the number of interactions per spin is reduced from N − 1 to O(log N ) by the SCO method. <sup>12)</sup> Therefore, the computational time per MC step becomes O(N log N ). Because the SCO method can be applied to a part of the Hamiltonian, <sup>13, 15)</sup> we only apply the SCO method to a long-range part in H. To summarize, we show the whole procedure of our method. When the original Hamiltonian consists of long i<j <sup>Vij</sup> <sup>(Si, Sj) (Vij</sup> <sup>is a</sup> pairwise interaction) and short-range ones H <sup>(S)</sup> {Si}, the range interactionsprocedure proceeds Has <sup>(L)</sup> follows:{Si} = <sup>�</sup> 1) Set G(mz) = 0 and H(mz) = 0, where H(mz) is a histogram to check whether or not all the magnetizations are sampled with equal probabilities. The initial ∆F in eq. (6) is set sufficiently large so that G(mz) is adjusted quickly in the early stage of the Wang-Landau method. 2) Repeat the following two steps as a basic MC procedure: a) Switch each of Vij in H <sup>(L)</sup> to either 0 or V <sup>¯</sup> ij with a probability of Pij or 1 − Pij, respectively. The method proposed in ref. 12 is used to switch potentials efficiently. The probability Pij is Pij (Si, Sj) = exp[β(Vij (Si, Sj) − Vij <sup>∗)],</sup> (9) where β is the inverse temperature and Vij <sup>∗</sup> <sup>is</sup> <sup>a</sup> constant equal to (or greater than) the maximum Vij (Si, Sj). The pseudopotential V <sup>¯</sup> ij is defined by V¯ij (Si, Sj) ≡ Vij (Si, Sj)−β <sup>−1</sup> log[1−Pij(Si, Sj)]. (10) This potential switching step is performed every tswitch MC steps. b) Perform a standard MC simulation with the Hamiltonian H <sup>′</sup> {Si} = H <sup>(S)</sup> {Si}+ z <sup>{Si}),</sup> (11) �′ V¯ij (Si, Sj)−G(m∗ exp[−βF (β; mz)] = −∞ - ∞ dE exp(−βE)n(E, mz). (8) (11) switched to V <sup>¯</sup> ij in step a). During the simulation, whereG(mz)theis changedsum <sup>�′</sup> accordingruns over topotentialseq. (6) afterwhicheachare trial to update a spin. This adjustment of G(mz) is performed regardless of whether or not the trial is accepted. We also change the histogram as In the conventional Wang-Landau method, we modify a two-variable function G(E, mz), which becomes proportional to n(E, mz) at the end of the simulation, by a method similar to eq. (6). Therefore, we have to calculate E and mz after each update of a single spin. Since the number of interactions per spin is N −1 in long-range interacting systems, the computational time for calculating the new energy is O(N ). In contrast, we only need to H(mz) → H(mz) + 1, (12) after each trial. 3) Check whether or not the histogram H(mz) is flat. J. Phys. Soc. Jpn. Letter Online-Journal Subcommittee 3 300 250 200 150 100 50 0 0 0.2 0.4 0.6 0.8 1 mz T=0.7J T=0.9J T=1.1J T=1.3J 0.02 0.04 0.06 0.08 0.1 D/J D=0 D=0.02J D=0.04J D=0.06J D=0.08J D=0.1J 7 6 5 4 3 2 1 0 Fig. 1. (Color online) mz dependences of F (β; mz) for D = 0, 0.02, 0.04, 0.06, 0.08, and 0.1 J. The system size N is 16 <sup>3</sup> and the temperature T is 0.7 J. All the data are shown by lines without error bars. Symbols are drawn with error bars at several data points. The average is taken over 10 different runs. 4) Stop the simulation if ∆F is small enough. Otherwise, return to 2). To check the efficiency of the method, we apply it to measure free energy as a function of mz in a threedimensional magnetic dipolar system. The Hamiltonian is given as H = −J ⟨ij⟩ <sup>Si · Sj</sup> <sup>−</sup> <sup>Cu</sup> i <sup>(S</sup> i <sup>z)2</sup> ,(13) Fig. 2. (Color online) Average number n¯ of potentials per site that are switched to V <sup>¯</sup> ij `̸` = 0 is plotted as a function of D for T = 0.7, 0.9, 1.1, and 1.3 J (from top to bottom). The result of the free energy measurement at T = 0.7 J is shown in Fig. 1, where we set the Boltzmann constant kB to unity. The temperature is well below the critical temperature of the model for Cu = D = 0, which is estimated to be about 1.44 J. <sup>23)</sup> For each D, we carried out 10 different runs with different initial conditions and random sequences to estimate the means and error bars of the data. As a result, we have found that the error bars are less than 1.0 J for all the data. In Fig. 1, symbols are drawn with error bars. The error bars are much smaller than the symbols. From the smallness of the error bars, we consider that correct data are obtained by the present method. We also see that the position of the global minimum changes from mz ≈ 0.8 to mz = 0 as D increases. This result is reasonable because dipolar interactions prefer demagnetized states. The case D = 0.04 J is a marginal one in which free energies at the two minima are almost the same. To estimate the efficiency of the present method, we first measure the average number n¯ of potentials per site that survive as V <sup>¯</sup> ij for several temperatures and D’s. The result is shown in Fig. 2. The average number n¯ increases with decreasing temperature and increasing D. However, it is about 7 even when T = 0.7 J and D = 0.1 J. This means that more than 99.8% of the interactions are cut off by being switched to V <sup>˜</sup> ij = 0. We next examine how tMC depends on temperature, where tMC is the total number of MC steps until ∆F is halved 20 times and the simulation is stopped. Figure 3 shows the result. The average is taken over 50 different runs. We measure tMC for D/J = 0 and D/J = 0.04. We do not use the SCO method in the former case because long-range dipolar interactions are absent. In both cases, tMC increases with decreasing temperature since relaxation becomes slower at lower temperatures. tMC for D/J = 0.04 increases more rapidly than that for D/J = 0. However, the temperature dependence is not so strong. We also find that tMC’s for D/J = 0 and D/J = 0 04 are not very differ +D i<j - 3 <sup>(Si · rij</sup> <sup>)(Sj</sup> <sup>· rij)</sup> Si · Sj - rij <sup>3</sup> rij <sup>3</sup> ij rij <sup>5</sup> ij where Si is a classical Heisenberg spin of |Si| = 1, ⟨ij⟩ runs over all the nearest-neighboring pairs, rij is a vector spanned from site i to site j in the unit of the lattice constant a, and rij = |rij |. On the right-hand side of eq. (13), the first term describes ferromagnetic exchange interactions, the second term uniaxial magnetocrystalline anisotropy energies whose easy axis is parallel to the z-direction, and the third term magnetic dipolar interactions. As mentioned above, the system size N is 16 <sup>3</sup> . The boundary condition is open in all directions. We fix the ratio Cu/J to 0.1 and change D/J to see how the structure of free energy depends on the strength of dipolar interactions. In the present simulations, we set the initial ∆F in eq. (6) to J. We stop our simulation after we halve ∆F 20 times. Therefore, the final ∆F is J × 2 <sup>−20</sup> . We have checked that G(mz) converges well in later stages of the Wang-Landau method. The histogram H(mz) is checked every 10,000 MC steps. We regard the histogram as flat when H(mz) for all the magnetizations is not less than 80% of the average histogram ⟨H(mz)⟩. We estimate F (β; mz) in the range of 0 ≤ mz ≤ 0.98 on a grid of 40, 142 bins. Since F (β; mz) is an even function of mz, we calculate F (β; mz) for positive magnetizations. The SCO method is applied only to dipolar interactions. They 4 J. Phys. Soc. Jpn. Letter Online-Journal Subcommittee 10e+7 9e+7 8e+7 7e+7 6e+7 0.7 0.9 1.1 1.3 T/J Fig. 3. (Color online) Temperature dependences of the total number of MC steps tMC in the free energy calculation for D = 0 (full circle) and D = 0.04 J (full square). The average is taken over 50 different runs. per run for T = 0.7 J and D = 0.1 J, which is the most time-consuming case we have examined, was about ten days by a single-core calculation with a Core-i7 2.8 GHz processor. Finally, we again compare the present method with the conventional Wang-Landau method in which the joint density of states defined by eq. (7) is evaluated. The first merit of the present method is that the computational time for long-range interactions is markedly reduced by the use of the variant of the Wang-Landau method and the SCO method. As mentioned before, the difficulty in the conventional Wang-Landau method in long-range interacting systems is that we have to calculate the Hamiltonian H{Si} after each update of a single spin. It is very desirable to develop a method of combining the conventional Wang-Landau method with the SCO method. To this end, an approach used in ref. 15 might be helpful. The second merit of the present method is that the function G(mz) to be adjusted is a one variable function. In contrast, we have to adjust a twovariable function G(E, mz) in the conventional WangLandau method. This is the main reason why the system size accessible by the present method is larger than that by the conventional Wang-Landau method. <sup>19)</sup> However, the trade-off for this merit is that the temperature is kept constant. Therefore, in the present method, we can only estimate free energy at one temperature by a single simulation. In contrast, we can estimate free energy at any temperatures by a single simulation of the conventional Wang-Landau method because free energy at any temperatures can be calculated from the joint density of states using eq. (8). Furthermore, the present method has another drawback when the simulation is performed at low temperatures. In the conventional Wang-Landau method, high-energy states with high entropies are the source of fast relaxation, and the system rapidly forgets the present state when the system reaches a high-energy method when the temperature is low. Note that, in the present method, the zero-magnetization state is not a high-entropy state. When the temperature is low, the present method samples only a small portion of the states with low energies at any magnetization. This means that it is not trivial in the present method that equilibrium sampling is realized at low temperatures. Therefore, we should carefully check whether or not equilibrium sampling is realized. As performed in the present work, an effective way to check equilibration is by measuring free energy several times using different initial conditions and random sequences and by checking whether or not the same result is obtained. One should keep in mind that the present method has these drawbacks. In summary, we have developed an efficient MC method of free energy calculation in long-range interacting systems by combining a variant of the WangLandau method with the stochastic cutoff method. The efficiency of the method has been confirmed by applying the method to a free energy calculation in a three-dimensional magnetic dipolar system. We have also discussed the merits and demerits of the present method in comparison with the conventional WangLandau method. The authors would like to thank Professor K. Sasaki for valuable discussions and comments. This work is supported by a Grant-in-Aid for Scientific Research (No. 21740279) from MEXT. 1) A. W. Appel: SIAM J. Sci. Stat. Comput. 6 (1985) 85. 2) J. Barnes and P. Hut: Nature 324 (1986) 446. 3) L. Greengard: The Rapid Evolution of Potential Fields in Particle Systems (MIT Press, Cambridge, MA, 1988). 4) J. Carrier, L. Greengard, and V. Rokhlin: SIAM J. Sci. Stat. Comput. 9 (1988) 669. 5) M. Saito: Mol. Simul. 8 (1992) 321. 6) H.-Q. Ding, N. Karasawa, and W. A. Goddard III: J. Chem. Phys. 97 (1992) 4309. 7) E. Luijten and H. W. J. Bl¨ote: Int. J. Mod. Phys. C 6 (1995) 359. 8) J. Sasaki and F. Matsubara: J. Phys. Soc. Jpn. 66 (1996) 2138. 9) B. Het´enyi, K. Bernacki, and B. J. Berne: J. Chem. Phys. 117 (2002) 8203. 10) K. Bernacki, B. Het´enyi, and B. J. Berne: J. Chem. Phys. 121 (2004) 44. 11) K. Fukui and S. Todo: J. Comp. Phys. 228 (2009) 2629. 12) M. Sasaki and F. Matsubara: J. Phys. Soc. Jpn. 77 (2008) 024004. 13) C. H. Mak: J. Chem. Phys. 122 (2005) 214110. 14) C. H. Mak and A. K. Sharma: Phys. Rev. Lett. 98 (2007) 180602. 15) M. Sasaki: Phys. Rev. E 82 (2010) 031118. 16) K. Hukushima and K. Nemoto: J. Phys. Soc. Jpn. 65 (1996) 1604. 17) F. Wang and D. P. Landau: Phys. Rev. Lett. 86 (2001) 2050. 18) F. Wang and D. P. Landau: Phys. Rev. E 64 (2001) 056101. 19) C. Zhou, T. C. Schulthess, S. Torbr¨ugge, and D. P. Landau: Phys. Rev. Lett. 96 (2006) 120201. 20) B. A. Berg, U. Hansmann, and T. Neuhaus: Phys. Rev. B 47 (1993) 497. 21) B. Berg and T. Neuhaus: Phys. Lett. B 267 (1991) 249. 22) B. Berg and T. Neuhaus: Phys. Rev. Lett. 68 (1992) 9. 23) K. Chen, A. M. Ferrenberg and D. P. Landau: Phys. Rev. B

섹션 본문

섹션 본문이 없습니다.

참고문헌

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