Quantum chemical calculation program, quantum chemical calculation method, and information processing device
The quantum chemical calculation method addresses the computational inefficiencies in DFT by introducing convergence conditions for force and energy change rate, reducing the number of DFT repetitions and calculation time while ensuring accurate stable structure determination.
Patent Information
- Application Number
- PCT/JP2024/010198
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-27
- Filing Date
- 2024-03-15
- Publication Date
- 2024-10-31
AI Technical Summary
In material development, density functional theory (DFT) calculations for structural optimization of molecules require significant computational resources, especially as the number of atoms increases, leading to lengthy calculation times due to the O(N^3) complexity and difficulty in converging force calculations for atoms with low energy, resulting in excessive repetitions of DFT calculations.
A quantum chemical calculation method that employs convergence conditions for both the magnitude of force and energy change rate to terminate the update process of atomic positions, reducing the overall calculation burden by determining stability through a logical sum of these conditions, thereby reducing the number of DFT repetitions needed.
This approach significantly decreases the computational requirements for finding stable molecular structures by earlier convergence determination using both force and energy change rate conditions, thereby reducing calculation time and maintaining accuracy.
Smart Images

Figure JP2024010198_31102024_PF_FP_ABST
Abstract
Description
Quantum chemistry calculation program, quantum chemistry calculation method, and information processing device
[0001] The present invention relates to a quantum chemical calculation program, a quantum chemical calculation method, and an information processing device.
[0002] In recent years, in the field of materials development, materials informatics (MI) has been progressing globally as a data-driven R&D initiative aimed at shortening R&D time and reducing costs. The accumulation of high-quality materials data is crucial for MI. Therefore, there are high expectations for efficient data accumulation through simulations such as quantum chemistry in addition to experiments.
[0003] One of the main calculation methods in quantum chemistry is density functional theory (DFT). In DFT, the electron density of the material to be calculated is first calculated using the self-consistent field (SCF) method. Then, physical quantities that indicate the state of the material (such as total energy) are calculated based on the obtained electron density.
[0004] In materials development, DFT is used for structural optimization to find the stable structure of molecules that govern the properties of a material. In structural optimization, DFT is repeatedly performed while gradually changing the three-dimensional structure of the molecule, searching for the stable structure that minimizes the total energy.
[0005] If the number of atoms is N (N is a natural number), the computational complexity of DFT is O(N 3 ) and the larger the system to be calculated, the greater the amount of calculation required. Therefore, when using DFT to find a stable molecular structure, it is necessary to reduce the amount of calculation as much as possible.
[0006] As a technique for determining the stable structure of a substance, for example, a molecular design support system has been proposed that parallelizes the calculation of atomic coordinate derivatives of total energy to determine stable molecular structures at high speed with low storage capacity.
[0007] Japanese Patent Application Publication No. 6-187404
[0008] In structural optimization calculations to find a stable structure of a substance, it may take a long time until the convergence conditions of the calculation are satisfied. For example, in structural optimization, for one or more atoms arranged in space or a coordinate system, the atomic arrangement is repeatedly modified and the total energy is calculated by DFT at that atomic arrangement until the forces (strains) of all atoms converge. In such a structural optimization calculation process, the total energy may transition to a small fluctuation. When the total energy transitions to a small fluctuation, it becomes difficult for the forces to converge for some atoms. As a result, the number of iterations of the DFT calculation increases, and the calculation time becomes longer.
[0009] In one aspect, the present invention aims to reduce the amount of calculation required to determine a stable structure of a substance.
[0010] One proposal provides a quantum chemistry calculation program that causes a computer to execute the following processes. The computer initially sets the positions of the multiple atoms in position information indicating the positions of the multiple atoms that constitute a substance, and then repeatedly updates the positions of the multiple atoms in a direction that stabilizes the state of the substance. When the positions of the multiple atoms are initially set or updated, the computer calculates the total energy of the substance based on the position information. When the positions of the multiple atoms are initially set or updated, the computer calculates the magnitude of the force acting on each of the multiple atoms based on the position information. When the positions of the multiple atoms are updated, the computer calculates an energy change rate that indicates the degree of change in the total energy of the substance before and after the update. The computer determines whether at least one of a first convergence condition for the magnitude of the force and a second convergence condition for the energy change rate is satisfied. When at least one of the first convergence condition and the second convergence condition is satisfied, the computer terminates the process of updating the positions of the multiple atoms and obtains the position information at the end point.
[0011] According to one aspect, the amount of calculation required to determine a stable structure of a substance is reduced.
[0012] 1 is a diagram showing an example of a quantum chemistry calculation method according to a first embodiment; FIG. 2 is a diagram showing an example of a system configuration; FIG. 3 is a diagram showing an example of hardware of a control node; FIG. 4 is a diagram showing an example of hardware configuration of a calculation node; FIG. 5 is a diagram showing the relationship between the magnitude of atomic energy and the ease of convergence of Force; FIG. 6 is a diagram showing an example of the number of DFT iterations until the convergence condition of Force is satisfied; FIG. 7 is a diagram showing an example of convergence determination of structural optimization by the logical sum of two convergence conditions; FIG. 8 is a diagram showing an example of the number of DFT iterations until two convergence conditions are satisfied; FIG. 9 is a block diagram showing an example of functions realized by a calculation system; FIG. 10 is a flowchart showing an example of the procedure of structural optimization processing; FIG. 11 is a flowchart showing an example of the procedure of structural optimization processing; FIG. 12 is a diagram showing an example of speeding up structural optimization calculations by jointly using a convergence condition related to the energy change rate; FIG. 13 is a diagram showing an example of a wide-area search technology service;
[0013] The present embodiment will be described below with reference to the drawings. Note that each embodiment can be implemented by combining a plurality of embodiments within a consistent range. [First Embodiment] The first embodiment is a quantum chemical calculation method that reduces the amount of calculation required to determine the stable structure (ground state) of a substance.
[0014] Fig. 1 is a diagram showing an example of a quantum chemistry calculation method according to the first embodiment. Fig. 1 shows an information processing device 10 for implementing the quantum chemistry calculation method according to the first embodiment. The information processing device 10 can implement the quantum chemistry calculation method according to the first embodiment by, for example, executing a quantum chemistry calculation program.
[0015] The information processing device 10 includes a storage unit 11 and a processing unit 12. The storage unit 11 is, for example, a memory or a storage device included in the information processing device 10. The processing unit 12 is, for example, a processor or an arithmetic circuit included in the information processing device 10.
[0016] The storage unit 11 stores, for example, substance information 1 that indicates a substance for which a stable structure is to be determined. The substance information 1 indicates, for example, the molecular structure of the substance. The processing unit 12 calculates the atomic arrangement when the substance indicated by the substance information 1 has a stable structure. A substance has a stable structure when, for example, the energy of the substance is minimized. Such processing for determining the stable structure of a substance is also called structural optimization. For example, the processing unit 12 performs the following processing.
[0017] The processing unit 12 initially sets the positions of the atoms in position information 2, which indicates the positions of the atoms that make up the substance indicated in the substance information 1. Furthermore, the processing unit 12 repeatedly updates the positions of the atoms in a direction that stabilizes the state of the substance.
[0018] When the positions of the multiple atoms are initially set or updated, the processing unit 12 calculates the total energy of the substance based on the position information 2. For example, the processing unit 12 calculates the electron density in the space in which the substance exists by DFT, and calculates the total energy based on the electron density.
[0019] When the positions of the multiple atoms are initially set or updated, the processing unit 12 calculates the magnitude of the force acting on each of the multiple atoms based on the position information 2. For example, the processing unit 12 calculates, for each of the multiple atoms, the sum of the potential of the Coulomb force between each atom and other atoms based on the distance between each atom and the other atoms. The processing unit 12 calculates the magnitude of the force acting on each atom based on the sum of the potential for each of the multiple atoms.
[0020] When the positions of multiple atoms are updated, the processing unit 12 calculates an energy change rate that indicates the degree of change in the total energy of the material before and after the update. For example, the processing unit 12 calculates the difference between a first total energy of the material based on the position information after the nth update (n is a natural number) and a representative value of a second total energy of the material based on the position information after the mth update (m is a natural number equal to or less than n-1) to the n-1th update. The processing unit 12 then divides the calculated difference by the representative value of the second total energy, and determines the absolute value of the division result as the energy change rate.
[0021] After determining the magnitude of the force acting on each of the plurality of atoms and the rate of energy change of the substance, the processing unit 12 determines whether or not at least one of the first convergence condition 3 for the magnitude of the force and the second convergence condition 4 for the rate of energy change is satisfied. This means that the convergence condition for the iterative process is the logical sum of the first convergence condition 3 and the second convergence condition 4.
[0022] For example, the processing unit 12 determines that the first convergence condition 3 is satisfied when the magnitude of the force for all of the atoms is equal to or less than a first allowable value. The processing unit 12 also determines that the second convergence condition 4 is satisfied when the rate of energy change is equal to or less than a second allowable value.
[0023] When at least one of the first convergence condition 3 and the second convergence condition 4 is satisfied, the processing unit 12 ends the process of updating the positions of the plurality of atoms and acquires position information 2 at the time of completion. The positions of the plurality of atoms set in the acquired position information 2 at this time indicate a stable structure of the substance.
[0024] In this way, if at least one of the first convergence condition 3 and the second convergence condition 4 is satisfied, the updating of the atomic positions is terminated and position information 2 at that time is acquired, thereby reducing the amount of calculation required to determine a stable structure of a substance. In other words, even if the magnitude of the force acting on some atoms exceeds the first allowable value, as long as the rate of energy change is equal to or less than the second allowable value, the repeated process of updating the atomic positions, calculating the total energy, calculating the force magnitude, and calculating the rate of energy change is terminated. Therefore, convergence can be determined earlier than, for example, when convergence is determined based only on the first convergence condition 3 regarding the magnitude of the force acting on atoms, and the amount of calculation is reduced.
[0025] For example, in the example of FIG. 1, the first tolerance value "|F|" is "1.00", and the second tolerance value "RCE_TH" is "1.0×10 -5". At this time, the magnitude of the force |F2| acting on the second atom of the material is equal to or less than the first tolerance value after the fourth iteration. On the other hand, the magnitude of the force |F1| acting on the first atom of the material exceeds the first tolerance value even after the fifth iteration. Therefore, if only the first convergence condition 3 is satisfied, the iterative process will not end even after the fifth iteration.
[0026] The energy change rate is equal to or less than the second allowable value at the fifth iteration. Therefore, by also performing a convergence determination under the second convergence condition 4, the iterative process ends at the fifth iteration. As a result, the amount of calculation required to identify a stable structure of a substance is reduced.
[0027] It should be noted that a case where it takes a long time for the force acting on any atom to satisfy the first convergence condition 3 may occur, for example, when the energy of some atoms is small. When the energy of an atom is small, the magnitude of the force acting on that atom repeatedly increases and decreases each time the position of the atom is updated, and it may take a long time for the first convergence condition 3 to be satisfied.
[0028] When the magnitude of the force acting on an atom repeatedly increases and decreases, the amount of movement required to update the position of that atom increases as the force increases. However, even if the amount of movement of an atom with relatively low energy is somewhat large, the impact on the total energy is small. In other words, even if the magnitude of the force acting on an atom with relatively low energy exceeds the first allowable value, if the rate of energy change is small enough to be equal to or less than the second allowable value, the effect of the increase or decrease in the magnitude of the force acting on that atom on the total energy is minimal. In such a case, it can be determined that the total energy is approximately at its minimum value.
[0029] The position of the atom where the total energy is minimum indicates the stable structure of the substance. That is, the processing unit 12 determines the convergence of the iterative process by the logical sum of the first convergence condition 3 and the second convergence condition 4, thereby making it possible to reduce the amount of calculation without reducing the accuracy of the stable structure of the substance that is finally determined.
[0030] Furthermore, if the rate of energy change used in the second convergence condition 4 is equal to or less than the second allowable value, it is guaranteed that the value of the total energy has also been sufficiently reduced. Therefore, by using the second convergence condition 4 for the rate of energy change, when a user judges the usefulness of a material having a structure obtained by structural optimization based on the total energy of the material, the user can make the judgment appropriately.
[0031] Second Embodiment The second embodiment is a calculation system that reduces the number of DFT iterations when calculating the molecular structure of a substance using DFT by HPC (High-performance Computing).
[0032] 2 is a diagram showing an example of a system configuration. A computing system 30 that realizes HPC includes a control node 100 and multiple computing nodes 200a, 200b, etc. The multiple computing nodes 200a, 200b, etc. are connected to each other by an interconnect 32 that enables high-speed communication. The interconnect 32 is a network that interconnects processors, for example, by a six-dimensional mesh / torus.
[0033] Each of the computation nodes 200a, 200b, and so on is also connected to a control network 31. A control node 100 is further connected to the control network 31. The control node 100 is a computer that issues job execution instructions to the computation nodes 200a, 200b, and so on.
[0034] The control node 100 is connected to a terminal 40 via a network 20. The terminal 40 is a computer that registers information about jobs to be executed by the calculation nodes 200a, 200b, ... in the control node 100 based on a user's operation. The control node 100 instructs the calculation nodes 200a, 200b, ... to perform DFT calculations in accordance with instructions from the terminal 40.
[0035] For example, a user can obtain physical quantities such as the total energy of an electron system defined by DFT by having the calculation nodes 200a, 200b, . . . perform calculations of the state of a substance using DFT.
[0036] 3 is a diagram illustrating an example of hardware of a control node. The entire control node 100 is controlled by a processor 101. A memory 102 and multiple peripheral devices are connected to the processor 101 via a bus 109. The processor 101 may be a multiprocessor. The processor 101 is, for example, a central processing unit (CPU), a micro processing unit (MPU), or a digital signal processor (DSP). At least some of the functions realized by the processor 101 executing a program may be realized by an electronic circuit such as an application specific integrated circuit (ASIC) or a programmable logic device (PLD).
[0037] The memory 102 is used as a main storage device of the control node 100. The memory 102 temporarily stores at least a portion of the OS (Operating System) program and application programs to be executed by the processor 101. The memory 102 also stores various data used in processing by the processor 101. As the memory 102, for example, a volatile semiconductor storage device such as a RAM (Random Access Memory) is used.
[0038] The peripheral devices connected to the bus 109 include a storage device 103, a GPU (Graphics Processing Unit) 104, an input interface 105, an optical drive device 106, a device connection interface 107, and network interfaces 108a and 108b.
[0039] The storage device 103 electrically or magnetically writes and reads data to and from a built-in recording medium. The storage device 103 is used as an auxiliary storage device for the control node 100. The storage device 103 stores the OS program, application programs, and various data. Note that the storage device 103 may be, for example, a hard disk drive (HDD) or a solid state drive (SSD).
[0040] The GPU 104 is an arithmetic unit that performs image processing and is also called a graphics controller. A monitor 21 is connected to the GPU 104. The GPU 104 displays images on the screen of the monitor 21 in accordance with commands from the processor 101. The monitor 21 may be a display device using organic electroluminescence (EL) or a liquid crystal display device.
[0041] The input interface 105 is connected to a keyboard 22 and a mouse 23. The input interface 105 transmits signals sent from the keyboard 22 and the mouse 23 to the processor 101. The mouse 23 is an example of a pointing device, and other pointing devices can also be used. Examples of other pointing devices include a touch panel, a tablet, a touch pad, and a trackball.
[0042] The optical drive device 106 uses a laser beam or the like to read data recorded on an optical disc 24 or write data to the optical disc 24. The optical disc 24 is a portable recording medium on which data is recorded so that it can be read by reflected light. Examples of the optical disc 24 include a DVD (Digital Versatile Disc), a DVD-RAM, a CD-ROM (Compact Disc Read Only Memory), and a CD-R (Recordable) / RW (Rewritable).
[0043] The device connection interface 107 is a communication interface for connecting peripheral devices to the control node 100. For example, a memory device 25 or a memory reader / writer 26 can be connected to the device connection interface 107. The memory device 25 is a recording medium equipped with a function for communicating with the device connection interface 107. The memory reader / writer 26 is a device for writing data to a memory card 27 or reading data from the memory card 27. The memory card 27 is a card-type recording medium.
[0044] The network interface 108a is connected to the network 20. The network interface 108a transmits and receives data to and from other computers or communication devices, such as the terminal 40, via the network 20. The network interface 108b is connected to the control network 31. The network interface 108b transmits and receives data to and from the computation nodes 200a, 200b, ... via the control network 31.
[0045] The network interfaces 108a and 108b are wired communication interfaces that are connected by cables to wired communication devices such as switches and routers, or may be wireless communication interfaces that are connected by radio waves to wireless communication devices such as base stations and access points.
[0046] The control node 100 realizes the processing functions of the second embodiment by executing a program recorded on, for example, a computer-readable recording medium. The program describing the processing to be executed by the control node 100 can be recorded on various recording media. For example, the program to be executed by the control node 100 can be stored in the storage device 103. The processor 101 loads at least a portion of the program in the storage device 103 into the memory 102 and executes the program. The program to be executed by the control node 100 can also be recorded on a portable recording medium such as the optical disk 24, the memory device 25, or the memory card 27. The program stored on the portable recording medium becomes executable after being installed on the storage device 103, for example, under the control of the processor 101. The processor 101 can also read and execute the program directly from the portable recording medium.
[0047] 4 is a diagram showing an example of the hardware configuration of a computing node. The computing node 200a has a CPU / memory unit 201 and a router 202. The CPU / memory unit 201 and the router 202 are connected by a plurality of communication interfaces (NICs) 203. The CPU / memory unit 201 is also connected to a NIC 204 for connecting to the control network 31.
[0048] The CPU / memory unit 201 includes a CPU 201a having multiple cores and a memory 201b. A process (a processing execution unit) is generated for each core in the CPU / memory unit 201. When a process for each core in the CPU / memory unit 201 performs synchronized processing with a process in another computing node, the process communicates with the other computing nodes 200b, ... via a router 202.
[0049] The router 202 communicates with adjacent computation nodes in, for example, three-dimensional directions. The router 202 transmits data to be transmitted from the CPU / memory unit 201 to another computation node to the adjacent computation node in a direction corresponding to the position of the computation node in the interconnect 32. Furthermore, when the router 202 receives data for a process in the CPU / memory unit 201 from an adjacent computation node, it transmits the data to the CPU / memory unit 201. Furthermore, when the data received from an adjacent computation node is data destined for another computation node, the router 202 transmits the data to the adjacent computation node in a direction corresponding to the position of the destination computation node in the interconnect 32.
[0050] The other computing nodes 200b, etc. have the same hardware configuration as the computing node 200a. The hardware computing nodes 200a, 200b, etc. as shown in Figure 4 are connected in a mesh / torus pattern in three dimensions to form a three-dimensional mesh / torus interconnect 32.
[0051] The processing functions of the second embodiment can be realized by the above-described hardware control node 100 and the computation nodes 200a, 200b, etc. The information processing device 10 shown in the first embodiment can also be realized by the same hardware as the control node 100 or the computation node 200a.
[0052] The calculation system 30 calculates stable structures of molecules that make up a substance through structural optimization using DFT. Here, the reason why the amount of calculation increases in structural optimization using DFT will be explained.
[0053] In structural optimization, the atomic positions are repeatedly updated and DFT calculations are performed on the updated atomic positions until the forces of all atoms arranged in space or a coordinate system converge. Force is the magnitude of the force (e.g., Coulomb force) acting on each atom. If the forces for all atoms are sufficiently small, the molecule structure at that time is stable. Such convergence criteria can be expressed as follows:
[0054] Convergence criterion: |F i|≦|F| (1) where i is the identification number of an atom contained in the molecule. |F i | is the magnitude of the force of the i-th atom. |F| is the tolerance of the force. The total energy of the molecule when all atoms satisfy the convergence criterion is the total energy of the stable structure.
[0055] At this time, if any of the following conditions are met, the total energy transitions to a small fluctuation. The first condition is that an atom exists that has a small effect on the total energy (a low-energy atom), and that atom is not yet converged. A low-energy atom is, for example, an atom that only has electrons in orbits (electron shells) closer to the nucleus. Also, even if an atom has electrons in an outer electron shell, if there is another atom that shares that electron with it, it will have a stable structure and become a low-energy atom.
[0056] The second condition is that small-energy atomic vibrations (periodic atomic displacements due to atomic forces) occur. For atoms that satisfy either of these conditions, there is a possibility that the total energy will transition to small vibrations. When the total energy transitions to small fluctuations, atoms whose forces do not satisfy the above convergence criteria will remain indefinitely. As a result, the number of iterative DFT calculations in the structure optimization increases, and the calculation time becomes longer.
[0057] 5 is a graph showing the relationship between the magnitude of atomic energy and the ease of convergence of the force. In the graph 50 shown in FIG. 5, the horizontal axis represents the number of DFT iterations, and the vertical axis represents the atomic force |F i The solid curve in graph 50 represents the change in Force with increasing number of DFT iterations for low-energy atoms (e.g., atoms with the lowest energy). The dashed curve in graph 50 represents the change in Force with increasing number of DFT iterations for high-energy atoms (e.g., atoms with the highest energy).
[0058] Graph 50 is an example of a case where only the convergence condition related to force is used as the convergence condition. For atoms with high energy, when DFT is repeated, the force falls below the allowable value at an early stage. In contrast, for atoms with low energy, the force decreases smoothly up to a certain point as the number of DFT iterations increases, but after that, even if the number of DFT iterations increases, the force decreases slowly, fluctuating repeatedly. Therefore, for atoms with low energy, the number of DFT iterations until the force meets the convergence criterion is greater than for atoms with high energy.
[0059] 6 is a diagram showing an example of the number of DFT iterations until the force convergence condition is satisfied. A force calculation result table 51 shows the force calculation results for atoms with low and high energy obtained by each DFT iteration. The force tolerance is "1.00".
[0060] In the force calculation result table 51, the force of the high-energy atom is "1.00" which is below the allowable value after the fourth DFT calculation. On the other hand, the force of the low-energy atom is "1.00" which is below the allowable value after the seventh DFT calculation.
[0061] The convergence condition for the structural optimization is that the force satisfies the convergence criterion for all atoms. When the force calculation results are as shown in the force calculation result table 51, the DFT calculation is repeated seven times until the structural optimization process converges.
[0062] As described above, since the ease of convergence of the force differs significantly for each atom, the number of DFT iterations required to complete convergence for all atoms increases. Therefore, the calculation system 30 according to the second embodiment determines whether or not the structural optimization has converged by performing a logical sum of the convergence condition for the force (first convergence condition) and the convergence condition for the degree of change in the total energy (rate of change of energy (RCE)) (second convergence condition).
[0063] The first convergence condition is that the Force for all atoms satisfies the convergence criterion (below the Force tolerance "|F|"). The second convergence condition is that the energy change rate satisfies the convergence criterion (below the energy change rate tolerance "RCE_TH").
[0064] The rate of energy change is a value that represents the degree of change between the previous total energy and the current total energy. The rate of energy change is given, for example, by the following formula: Rate of energy change (RCE) = |(current value - previous value) ÷ previous value| (2) The current value is the total energy value obtained from the result of the most recent DFT. The previous value is the total energy value obtained from the result of the DFT immediately before the most recent DFT. Note that instead of the previous value, a representative value (e.g., average value) of the total energy obtained from the results of the past several DFTs can also be used. For example, when the most recent DFT is the nth DFT, the past several DFTs are the mth (m≦n)th to n-1th DFTs.
[0065] The calculation system 30 determines that the calculation result of the structural optimization has converged if either of these two convergence conditions is satisfied. FIG. 7 is a diagram showing an example of determining the convergence of the structural optimization by the logical sum of the two convergence conditions. Graph 52 shows the determination result of the first convergence condition. The horizontal axis of the graph 52 is the number of iterations of the DFT, and the vertical axis is the atomic Force "|F i Graph 52 shows the change in force with an increase in the number of DFT iterations for atoms with low energy, as a curve. The horizontal line in graph 52 indicates the allowable force value "|F|".
[0066] Graph 53 shows the determination result of the second convergence condition. The horizontal axis of graph 53 is the number of DFT iterations, and the vertical axis is the rate of energy change "RCE." Graph 53 shows a curve that indicates the change in the total energy of the molecule as the number of DFT iterations increases. The horizontal line in graph 53 indicates the allowable value "RCE_TH" for the rate of energy change.
[0067] As can be seen from a comparison of graphs 52 and 53, the energy change rate meets the convergence criterion faster than the atomic force meets the convergence criterion. In other words, by using not only the first convergence condition but also the second convergence condition to determine the convergence of the structural optimization, the number of DFT iterations required until convergence is achieved is reduced. As a result, the calculation time for the structural optimization is also shortened.
[0068] In the case shown in Figure 7, even if the atomic position updates and DFT calculations are repeated until the first convergence condition is satisfied, the structure of the material (atomic arrangement) does not change much from the point when the second convergence condition is satisfied.
[0069] The atomic arrangement obtained by structural optimization may be a locally optimal solution, which is a solution that minimizes the total energy in a local space, but is not a solution that minimizes the total energy in the entire search space (global optimal solution).
[0070] In actual structural optimization, the user checks whether the atomic arrangement when the convergence condition is satisfied is a local optimum. For example, if the total energy is higher than that of a similar structural optimization performed in the past, it is considered to be a local optimum. If a local optimum is found, the user will, for example, change the initial positions of the atoms and have the calculation system 30 perform structural optimization again.
[0071] Since a local optimum may result in this way, even if the second convergence condition is satisfied and the structural optimization is continued thereafter until the first convergence condition is satisfied, there is a possibility that the accuracy of the atomic positions resulting in the local optimum may merely be improved. If the structural optimization process is terminated when the second convergence condition is satisfied and a process for confirming whether or not a local optimum has been reached is carried out, recalculation of the structural optimization when a local optimum has been reached can be carried out early, and the work of searching for a stable structure of a substance will become more efficient.
[0072] 8 is a diagram showing an example of the number of DFT iterations until two convergence conditions are satisfied. The force calculation result table 54 shows the force calculation results for atoms with low and high energy obtained by each DFT iteration. Here, the allowable force value is assumed to be "1.00".
[0073] In the force calculation result table 54, the force of the high-energy atom is "1.00" which is below the allowable value after the fourth DFT calculation. On the other hand, the force of the low-energy atom is "1.00" which is below the allowable value after the seventh DFT calculation.
[0074] The RCE calculation result table 55 shows the calculation results of the energy change rate "RCE" obtained in each DFT iteration. Here, the total energy tolerance "RCE_TH" is 1.0×10 -5 It is assumed that:
[0075] In the RCE calculation result table 55, the energy change rate obtained by DFT decreases with each increase in the number of repetitions, and by the fifth DFT calculation, the energy change rate is below the allowable value.
[0076] In the example of Figure 8, the first convergence condition for Force is satisfied in the seventh DFT calculation, but the second convergence condition for the energy change rate is satisfied in the fifth DFT calculation. By taking the logical sum of the first convergence condition and the second convergence condition, it is determined that the structural optimization calculation has converged in the fifth DFT calculation. In other words, the amount of calculation required to determine a stable molecular structure is reduced.
[0077] Even if atoms with Forces exceeding the tolerance remain, as long as the energy change rate is below the tolerance, further repetition of the DFT calculations will likely not significantly reduce the total energy. Therefore, even if a second convergence condition is added as a convergence condition for the structural optimization, the total energy ultimately obtained will be close to the minimum value. In other words, it is possible to identify a stable molecular structure with sufficiently high accuracy.
[0078] 9 is a block diagram showing an example of functions realized by a computing system 30. The computing system 30 has a storage unit 110, a calculation instruction unit 120, and a structural optimization unit 210. The storage unit 110 and the calculation instruction unit 120 are functions possessed by, for example, the control node 100. The structural optimization unit 210 is a function possessed by, for example, the computing nodes 200a, 200b, ...
[0079] The storage unit 110 stores information about the substance to be calculated (such as the atoms contained therein). When the calculation instruction unit 120 receives an instruction to analyze the stable structure of a predetermined substance from the terminal 40, it instructs the structure optimization unit 210 to execute a structure optimization process for the substance.
[0080] The structure optimization unit 210 uses DFT to calculate the positions of atoms that will result in a stable molecule structure. For example, the structure optimization unit 210 arranges atoms contained in the molecule in the space to be analyzed. The structure optimization unit 210 calculates the electron density in the space when the atoms are at the arranged positions using DFT. In calculating the electron density, the structure optimization unit 210 repeats SCF calculations until the total energy at the current atomic arrangement is minimized. When the structure optimization unit 210 obtains the minimum value of the total energy at the current atomic arrangement, it moves the positions of the atoms so that the energy decreases. The structure optimization unit 210 repeats such DFT calculations and updating of the atomic positions. In this way, the atomic arrangement that minimizes the total energy is obtained. The atomic arrangement that minimizes the total energy is a stable molecular structure.
[0081] 9 can be realized by, for example, having a computer execute a program module corresponding to that element. For example, the control node 100 executes a program corresponding to the calculation instruction unit 120 to realize the calculation instruction unit 120. The calculation instruction unit 120 realized in the control node 100 instructs one or more of the multiple calculation nodes 200a, 200b, ... to execute a job corresponding to the structural optimization unit 210. The instructed calculation node realizes the structural optimization unit 210 by executing a program corresponding to the specified job.
[0082] Next, the procedure of the structural optimization process will be described. Fig. 10 is a flowchart showing an example of the procedure of the structural optimization process. Below, the process shown in Fig. 10 will be described in order of step number.
[0083] [Step S101] The calculation instruction unit 120 sets a convergence criterion to be applied to structural optimization. For example, a user inputs a force tolerance value "|F|" and an energy change rate tolerance value "RCE_TH" to the terminal 40. The terminal 40 transmits the input force tolerance value "|F|" and energy change rate tolerance value "RCE_TH" to the control node 100. The calculation instruction unit 120 sets the transmitted force tolerance value "|F|" and energy change rate tolerance value "RCE_TH" as parameters indicating the convergence criterion in the structural optimization processing job.
[0084] [Step S102] The calculation instruction unit 120 instructs the structural optimization unit 210 to execute a structural optimization job. The structural optimization unit 210 then executes the structural optimization process. [Step S103] The calculation instruction unit 120 outputs the structural optimization calculation results. For example, the calculation instruction unit 120 transmits the analysis results, including coordinates indicating the atomic arrangement in a stable structure, the total energy in the stable structure, and the like, to the terminal 40. The terminal 40 displays the analysis results, for example, on a monitor.
[0085] Next, the procedure of the structural optimization process will be described in detail. Fig. 11 is a flowchart showing an example of the procedure of the structural optimization process. Below, the process shown in Fig. 11 will be described in order of step number.
[0086] [Step S111] The structure optimization unit 210 initializes the atomic positions. For example, the structure optimization unit 210 sets pre-specified initial values to the coordinates indicating the position of each atom included in the molecule.
[0087] [Step S112] The structure optimization unit 210 calculates the electron density in the space to be analyzed for the current atomic configuration using DFT. The electron density calculation is performed using, for example, the SCF method.
[0088] [Step S113] The structure optimization unit 210 calculates the total energy of the molecule based on the electron density for each coordinate in space. [Step S114] The structure optimization unit 210 calculates the rate of energy change "RCE" in the second and subsequent DFT calculations.
[0089] [Step S115] The structure optimization unit 210 calculates the Force "|F" of each atom. i Calculate the force of each atom, i |" can be calculated based on the sum of the potentials of interactions with all other atoms. For example, the structure optimization unit 210 calculates the gradient of the potential at the position of each atom. The calculated gradient represents the direction and strength of the force acting on the atom.
[0090] [Step S116] The structure optimization unit 210 calculates the atomic Force "|F" for all atoms. i It is determined whether or not |" is equal to or less than the allowable value "|F|" (|F i |≦|F|). The structure optimization unit 210 performs the optimization for all atoms by using the formula "|F i If |≦|F| is satisfied, the structure optimization process is terminated. i If |≦|F| is not satisfied, the process proceeds to step S117.
[0091] [Step S117] The structural optimization unit 210 determines whether the energy change rate "RCE" is equal to or less than the allowable value "RCE_TH" of the energy change rate (RCE≦RCE_TH). If "RCE≦RCE_TH" is satisfied, the structural optimization unit 210 terminates the structural optimization process. If "RCE≦RCE_TH" is not satisfied, the structural optimization unit 210 proceeds to step S118. Note that the structural optimization unit 210 may execute the processes of steps S116 and S117 in the reverse order.
[0092] [Step S118] The structure optimization unit 210 updates the positions of the atoms so that the total energy decreases. For example, the structure optimization unit 210 moves each atom in the opposite direction of the force acting on it by an amount corresponding to the magnitude of the force. The structure optimization unit 210 can also determine the direction and amount of movement of the atoms using a quasi-Newton method or a conjugate gradient method. After that, the structure optimization unit 210 proceeds to step S112.
[0093] In this way, when either the first convergence condition regarding Force or the second convergence condition regarding the rate of change of energy is satisfied, it is determined that the structural optimization has converged, and the structural optimization process ends.
[0094] FIG. 12 is a diagram showing an example of speeding up structural optimization calculations by concurrently using a convergence condition related to the energy change rate. FIG. 12 shows a calculation result 61 when the stable structure of an ammonia catalyst is calculated by DFT using the CP2K program. The convergence condition for structural optimization is performed in two patterns: when only the first convergence condition related to Force is applied, and when the logical sum of the first convergence condition related to Force and the second convergence condition related to the energy change rate is applied. The allowable value for the energy change rate is "1.0 x 10 -5 "
[0095] When only the first convergence condition is applied to the convergence judgment condition, the total energy is "-372.06966350" (eV), the number of DFT iterations is "55", and the elapsed time until convergence is "633.807" (s). When the first convergence condition and the second convergence condition are applied to the convergence judgment condition, the total energy is "-372.04732301" (eV), the number of DFT iterations is "36", the elapsed time until convergence is "470.829" (s), and the speed-up rate is "1.35".
[0096] Graph 62 shows a speed-up factor of "1" when only the first convergence condition for Force is applied, and a speed-up factor of "1.35" when the logical sum of the first convergence condition for Force and the second convergence condition for the energy change rate is applied.
[0097] In this way, the calculation speed is increased by using the logical sum of the first convergence condition related to Force and the second convergence condition related to the rate of change of energy as the convergence condition for structural optimization. Moreover, as shown in the calculation result 61, there is no significant difference in the obtained total energy. In other words, the calculation time is shortened without reducing the calculation accuracy.
[0098] It should be noted that when the logical sum of the first and second convergence conditions is applied, the total energy at the time when the structural optimization converges is about 0.2 (eV) higher than when only the first convergence condition is applied. The suitability of a substance as an ammonia catalyst is determined by its adsorption energy, and the adsorption energy is generally compared in units of 0.5 (eV). Therefore, an error of about 0.2 (eV) in the total energy of the structure obtained by structural optimization is an acceptable error in the search for an ammonia catalyst.
[0099] By using the technology shown in the second embodiment, it is possible to efficiently implement a wide-area search technology service for new materials that combines, for example, HPC and AI (Artificial Intelligence).
[0100] 13 is a diagram showing an example of a wide-area search technology service. For example, the calculation system 30 receives input data 91 from a user, which indicates the initial conditions for a substance, such as a material to be searched for. The calculation system 30 then executes a quantum chemistry simulation at high speed based on the input data 91. As a result, high-quality data 92 and 94 relating to the structure of the substance can be easily generated.
[0101] The data 92 generated by the calculation system 30 can be analyzed for characteristics, etc., by AI simulation using technology such as GNN (Graph Neural Network). By using data 93 generated by the AI simulation and data 94 generated by the calculation system 30, it is possible to analyze causal relationships from the combinations of a large number of candidate materials and their physical properties, which are too large for humans to analyze, using, for example, causal discovery AI. As a result, new discoveries and insights can be obtained.
[0102] The results of the causal relationship analysis can be used to narrow the search range by, for example, reflecting them in the search conditions of quantum chemistry simulations. By appropriately narrowing the search range, for example, a material with the properties desired by the user can be found quickly.
[0103] [Other Embodiments] In the second embodiment, an example has been shown in which the disclosed technology is applied to a wide-area search service for new materials using AI, but it can also be applied to other information processing services.
[0104] In the second embodiment, the DFT calculation is performed by HPC, but if the number of atoms in the substance to be analyzed is small, the structural optimization shown in the second embodiment can also be performed by a computer other than HPC.
[0105] Although the embodiments have been described above, the configuration of each part shown in the embodiments can be replaced with other parts having similar functions. Also, any other components or processes may be added. Furthermore, any two or more configurations (features) of the above-described embodiments may be combined.
[0106] REFERENCE SIGNS LIST 1 substance information 2 position information 3 first convergence condition 4 second convergence condition 10 information processing device 11 storage unit 12 processing unit
Claims
1. A quantum chemistry calculation program that causes a computer to execute the following processes: initially setting positions of multiple atoms in position information indicating the positions of the multiple atoms that constitute a substance, and repeatedly updating the positions of the multiple atoms in a direction that stabilizes a state of the substance; when the positions of the multiple atoms are initially set or updated, calculating a total energy of the substance based on the position information; when the positions of the multiple atoms are initially set or updated, calculating a magnitude of force acting on each of the multiple atoms based on the position information; when the positions of the multiple atoms are updated, calculating an energy change rate that indicates the degree of change in the total energy of the substance before and after the update; determining whether or not at least one of a first convergence condition for the magnitude of the force and a second convergence condition for the energy change rate is satisfied; and when at least one of the first convergence condition and the second convergence condition is satisfied, terminating the process of updating the positions of the multiple atoms, and obtaining the position information at the end point.
2. The quantum chemical calculation program according to claim 1, wherein in the process of determining whether at least one of the first convergence condition and the second convergence condition is satisfied, it is determined that the first convergence condition is satisfied when the magnitude of the force for all of the plurality of atoms is equal to or less than a first allowable value.
3. The quantum chemistry calculation program according to claim 1, wherein in the process of determining whether or not at least one of the first convergence condition and the second convergence condition is satisfied, it is determined that the second convergence condition is satisfied if the energy change rate is equal to or less than a second allowable value.
4. A quantum chemistry calculation program according to any one of claims 1 to 3, wherein in the process of calculating the energy change rate, a difference between a first total energy of the substance based on the position information after the nth update (n is a natural number) and a representative value of a second total energy of the substance based on the position information after the mth update (m is a natural number equal to or less than n-1) to the n-1th update is divided by the representative value of the second total energy, and the absolute value of the division result is taken as the energy change rate.
5. A quantum chemistry calculation method in which a computer executes processes including: initially setting positions of a plurality of atoms in position information indicating the positions of the atoms constituting a substance, and repeatedly updating the positions of the plurality of atoms in a direction that stabilizes a state of the substance; calculating a total energy of the substance based on the position information when the positions of the plurality of atoms are initially set or updated; calculating a magnitude of a force acting on each of the plurality of atoms based on the position information when the positions of the plurality of atoms are initially set or updated; calculating an energy change rate indicating the degree of change in the total energy of the substance before and after the update when the positions of the plurality of atoms are updated; determining whether or not at least one of a first convergence condition for the magnitude of the force and a second convergence condition for the energy change rate is satisfied; and terminating the process of updating the positions of the plurality of atoms when at least one of the first convergence condition and the second convergence condition is satisfied, and obtaining the position information at the end point.
6. An information processing device having a processing unit that initially sets positions of a plurality of atoms in position information indicating the positions of the plurality of atoms that constitute a substance, and further repeatedly updates the positions of the plurality of atoms in a direction that stabilizes a state of the substance, and when the positions of the plurality of atoms are initially set or updated, calculates a total energy of the substance based on the position information, and when the positions of the plurality of atoms are initially set or updated, calculates a magnitude of a force acting on each of the plurality of atoms based on the position information, and when the positions of the plurality of atoms are updated, calculates an energy change rate that indicates a degree of change in the total energy of the substance before and after the update, and determines whether or not at least one of a first convergence condition for the magnitude of the force and a second convergence condition for the energy change rate is satisfied, and when at least one of the first convergence condition and the second convergence condition is satisfied, terminates the process of updating the positions of the plurality of atoms, and acquires the position information at the end point.
7. The information processing device according to claim 6, wherein, in the process of determining whether at least one of the first convergence condition and the second convergence condition is satisfied, the processing unit determines that the first convergence condition is satisfied if the magnitude of the force for all of the plurality of atoms is equal to or less than a first allowable value.
8. The information processing device of claim 6, wherein the processing unit, in the process of determining whether at least one of the first convergence condition and the second convergence condition is satisfied, determines that the second convergence condition is satisfied if the energy change rate is equal to or less than a second allowable value.
9. An information processing device as described in any one of claims 6 to 8, wherein the processing unit, in the process of calculating the energy change rate, divides the difference between a first total energy of the material based on the position information after the nth update (n is a natural number) and a representative value of a second total energy of the material based on the position information after the mth update (m is a natural number equal to or less than n-1) to the n-1th update by the representative value of the second total energy, and sets the absolute value of the division result as the energy change rate.
Citation Information
Patent Citations
Method and device for molecule design support
JP1994187404A
Method of designing catalyst structure
JP2002113370A
Method and apparatus for calculating structure or charge distribution of molecule / ion using computer
JP2012032908A
Simulation method, storage medium, and device
WO2015132865A1
