Data processing method and device for quantum chemical system
The technology that combines the construction of wave functions through neural networks and the diffusion Monte Carlo method solves the accuracy and efficiency problems of chemical property calculations in quantum chemistry, and achieves high-precision research and efficient data processing of quantum chemical systems.
Patent Information
- Application Number
- CN202210395445.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-15
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-04-15
AI Technical Summary
In quantum chemistry, it is difficult to accurately calculate the chemical properties of chemical systems, especially the ground state energy, with existing technology, and the data processing efficiency is low, which affects the development of new materials and the progress of chemical research.
Neural networks are used to construct high-precision wave functions, combined with the diffusion Monte Carlo method, chemical properties are determined through wanderer processing, and GPU devices are used for parallel calculations to improve accuracy and efficiency.
It achieves precise research on the chemical properties of quantum chemical systems and efficient data processing, improves the calculation accuracy and processing efficiency of ground state energy, and is suitable for new material development and chemical research.
Smart Images

Figure CN114758733B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of quantum chemistry, and more particularly to data processing for chemical systems. Background Art
[0002] Quantum chemistry is an important branch of theoretical chemistry. Its research scope includes the structure and properties of stable and unstable molecules, the relationship between their structure and properties, the interaction between molecules, the collision and reaction between molecules, etc. The main theoretical basis of quantum chemistry research is quantum mechanics, which describes the operating laws of the microscopic world. Summary of the invention
[0003] This summary is provided to introduce concepts in a brief form that will be described in detail in the detailed description below. This summary is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.
[0004] In a first aspect of the present disclosure, a data processing method for a quantum chemical system is provided, which may include the following steps: obtaining a specific wave function suitable for a quantum chemical system constructed based on a neural network; performing wanderer processing based on the specific wave function, wherein the wanderer processing includes wanderer diffusion processing, and determining relevant information on the chemical properties of the quantum chemical system based on the specific wave function and the processed wanderers.
[0005] In a second aspect of the present disclosure, a data processing device for a quantum chemical system is provided, which may include an acquisition unit configured to acquire a specific wave function suitable for the quantum chemical system and constructed based on a neural network; a wanderer processing unit configured to perform wanderer processing based on the specific wave function, wherein the wanderer processing includes wanderer diffusion; and an information generation unit configured to determine relevant information about the chemical properties of the quantum chemical system based on the specific wave function and the processed wanderers.
[0006] In a third aspect of the present disclosure, a data processing method for a quantum chemical system is provided, which may include the following steps: acquiring a specific wave function suitable for the quantum chemical system; performing processing of wanderers based on the specific wave function, wherein the processing of wanderers includes diffusion of wanderers, and the diffusion of wanderers is performed so that the number of wanderers remains constant during the processing, and determining relevant information about the chemical properties of the quantum chemical system based on the specific wave function and the processed wanderers.
[0007] In a fourth aspect of the present disclosure, a data processing device for a quantum chemical system is provided, which may include an acquisition unit, which acquires a specific wave function suitable for the quantum chemical system; a wanderer processing unit, which performs wanderer processing based on the specific wave function, wherein the wanderer processing includes wanderer diffusion, and the wanderer diffusion is performed so that the number of wanderers remains constant during the processing; and an information generation unit, which determines relevant information about the chemical properties of the quantum chemical system based on the specific wave function and the processed wanderers.
[0008] In a fifth aspect of the present disclosure, an electronic device is provided, comprising: a memory; and a processor coupled to the memory, wherein the processor is configured to execute a method of any embodiment described in the present disclosure based on instructions stored in the memory.
[0009] In a sixth aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, causes the method of any embodiment described in the present disclosure to be implemented.
[0010] In a seventh aspect of the present disclosure, a computer program product is provided, comprising instructions, which, when executed by a processor, lead to implementation of the method of any embodiment described in the present disclosure.
[0011] In an eighth aspect of the present disclosure, a computer program is provided, comprising a program code, which, when executed by a processor, causes the method of any one of the embodiments described in the present disclosure to be implemented.
[0012] Other features, aspects and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The preferred embodiments of the present disclosure are described below with reference to the accompanying drawings. The drawings described herein are used to provide a further understanding of the present disclosure. Each of the drawings together with the following detailed description is included in this specification and forms a part of the specification, and is used to explain the present disclosure. It should be understood that the drawings described below only relate to some embodiments of the present disclosure and do not constitute a limitation on the present disclosure. In the drawings:
[0014] Figure 1 The basic concept of chemical property research / analysis of a quantum chemical system according to an embodiment of the present disclosure is schematically shown.
[0015] Figure 2A is a flow chart showing a data processing method for a quantum chemical system according to the first embodiment of the present disclosure.
[0016] Figure 2B Iterative walker processing according to the first embodiment of the present disclosure is shown.
[0017] Figure 2C An exemplary implementation of data processing for a quantum chemical system according to the present disclosure is shown.
[0018] Figure 2D is a block diagram showing a data processing apparatus for a quantum chemical system according to a first embodiment of the present disclosure.
[0019] Figure 3A is a flow chart showing a data processing method for a quantum chemical system according to a second embodiment of the present disclosure.
[0020] Figure 3B Iterative walker processing according to the second embodiment of the present disclosure is shown.
[0021] Figure 3C is a block diagram showing a data processing apparatus for a quantum chemical system according to a second embodiment of the present disclosure.
[0022] Figures 4A to 4E An application example of data processing for a quantum chemical system according to the present disclosure is shown.
[0023] Figure 5 A block diagram showing some embodiments of the electronic device of the present disclosure.
[0024] Figure 6 A block diagram showing some other embodiments of the electronic device of the present disclosure.
[0025] It should be understood that, for ease of description, the sizes of the various parts shown in the drawings are not necessarily drawn according to the actual proportional relationship. The same or similar reference numerals are used in the various drawings to represent the same or similar parts. Therefore, once an item is defined in one drawing, it may not be further discussed in subsequent drawings. DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure, but it is obvious that the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. The following description of the embodiments is actually only illustrative and is by no means intended to limit the present disclosure and its application or use. It should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein.
[0027] It should be understood that the various steps recorded in the method embodiments of the present disclosure can be performed in different orders, and / or performed in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown in the execution. The scope of the present disclosure is not limited in this respect. Unless otherwise specifically stated, the relative arrangement, numerical expressions and numerical values of the parts and steps set forth in these embodiments should be interpreted as being merely exemplary and do not limit the scope of the present disclosure.
[0028] The term "include" and its variations used in the present disclosure are open terms that include at least the following elements / features but do not exclude other elements / features, i.e., "including but not limited to". In addition, the term "include" and its variations used in the present disclosure are open terms that include at least the following elements / features but do not exclude other elements / features, i.e., "including but not limited to". In the context of the present disclosure, "include" and "comprising" are synonymous. The term "based on" means "based at least in part on".
[0029] References throughout this specification to "one embodiment", "some embodiments" or "embodiments" mean that a particular feature, structure or characteristic described in conjunction with the embodiment is included in at least one embodiment of the present invention. For example, the term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Moreover, the phrases "in one embodiment", "in some embodiments" or "in an embodiment" appearing in various places throughout the specification do not necessarily all refer to the same embodiment, but may also refer to the same embodiment. It should be noted that the modifications of "one" and "multiple" mentioned in this disclosure are illustrative and non-restrictive, and those skilled in the art should understand that unless the context clearly indicates otherwise, it should be understood as "one or more".
[0030] It should be noted that the concepts of "first", "second", etc. mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units. Unless otherwise specified, the concepts of "first", "second", etc. are not intended to imply that the objects described in this way must be in a given order in time, space, ranking, or any other manner.
[0031] Quantum chemistry has been of great interest in the study of chemical systems, especially the study of chemical systems through the application of quantum mechanics. The study of chemical systems mainly involves the study / analysis of chemical properties of chemical systems, which can include any appropriate properties / attributes, such as energy-related properties / indications. In particular, the ground state energy of a chemical system is very important for quantum chemical research. For example, the ability to accurately calculate the ground state energy will help chemists develop new materials, such as new materials for accelerating the hydrolysis process for agricultural nitrogen fixation and the production of clean energy.
[0032] When analyzing / studying chemical systems in quantum chemistry, such as determining the chemical properties of chemical systems, various algorithms are usually used to solve the Schrodinger equation of the microscopic system to approximate the chemical properties / performance of the quantum chemical system. The Schrodinger equation is a basic equation of quantum mechanics, which reveals the basic laws of the movement of matter in the microscopic chemical world. When solving the approximation, many of these algorithms face a key problem, namely the choice of wave function approximation. High-precision wave functions are very important for obtaining accurate chemical performance solutions. In addition, when analyzing / studying chemical systems in quantum chemistry, such as determining the chemical properties of chemical systems, the processing efficiency of data processing is also very important.
[0033] In view of this, the present disclosure proposes an improved data processing technology for quantum chemical systems. In one aspect of the embodiments of the present disclosure, a high-precision wave function is constructed, and a specific quantum chemical method is applied on the basis of the wave function to further process the data, so that an accurate solution of chemical properties can be obtained. In particular, the present disclosure proposes to use a neural network to construct a wave function, and apply the constructed wave function as a trial wave function to a specific quantum chemical method, especially the diffusion Monte Carlo method, so that the powerful fitting ability of the neural network can be used to obtain / construct a high-precision wave function, thereby improving the accuracy of the specific quantum chemical method, especially the diffusion Monte Carlo method, thereby realizing the accurate study / analysis of chemical systems in quantum chemistry.
[0034] In another aspect of the disclosed embodiment, a specific processing device is used to perform data processing in a quantum chemical system in an appropriate manner. The specific processing device may be a GPU or other appropriate type of processing resource. And corresponding to such a specific chemical processing resource, the data processing process can be adaptively optimized, thereby particularly improving the data processing effect in the quantum chemical system, especially the data processing efficiency.
[0035] In another aspect of the disclosed embodiment, it is proposed to construct a wave function based on a neural network, and to apply the constructed wave function as a trial wave function to a specific quantum chemical method, especially the diffusion Monte Carlo method, and to use a specific processing device to perform data processing in a quantum chemical system in an appropriate manner during the operation of the specific quantum chemical method (especially the diffusion Monte Carlo method). In this way, improvements can be achieved in both data processing accuracy and processing efficiency.
[0036] The embodiments of the present disclosure are described in detail below in conjunction with the accompanying drawings, but the present disclosure is not limited to these specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. In addition, in one or more embodiments, specific features, structures or characteristics can be combined in any suitable manner that will be clear from the present disclosure by a person of ordinary skill in the art.
[0037] Figure 1 A general conceptual diagram of the chemical property research / analysis of a quantum chemical system according to an embodiment of the present disclosure is schematically shown in FIG. As a general concept, an appropriate wave function can be acquired in advance, and then the acquired wave function can be applied for processing. In particular, a wave function characterizing a quantum chemical system, especially a microscopic system state of a quantum chemical system, is acquired, and the obtained wave function is applied to determine the chemical properties of the quantum chemical system.
[0038] According to the embodiments of the present disclosure, the chemical properties of the quantum chemical system are especially the properties related to the ground state energy. In quantum chemistry, the energy of a chemical system can only take certain specific values, among which the lowest energy is called the ground state energy, the corresponding state of the system is called the ground state, and its corresponding wave function is called the ground state wave function. Other states are called excited states. In the embodiments of the present disclosure, the properties related to the ground state energy can be in various appropriate forms, and in particular can be represented by the relative value of the ground state energy. For example, when the ground state energy and several excited state energies can be obtained, the properties related to the ground state energy can be represented by the ratio of the ground state energy to the energies of other excited states, etc.
[0039] In an embodiment of the present disclosure, the pre-acquired wave function can be used as a trial wave function, which can be used as a basis for subsequent analysis / research of the quantum chemical system, such as determining the chemical properties of the quantum chemical system. In particular, the pre-acquired wave function can be used as a trial wave function of the diffusion Monte Carlo method. The wave function can be any appropriate wave function. In some embodiments of the present disclosure, the wave function is a function that describes the state of a microscopic system, especially a wave function that describes the state of an electron. Its input can be the state / property information of the electron, such as the coordinates of the electron space, and the output modulus is proportional to the probability of the electron appearing there.
[0040] According to an embodiment of the present disclosure, a quantum chemical method / processing using a wave function may include performing a wandering particle simulation based on the wave function, thereby simulating / determining the chemical properties of the quantum chemical system by calculating wandering particle-related statistics. In some embodiments, such a quantum chemical method / processing may be, in particular, a diffusion Monte Carlo method, and the wave function constructed according to an embodiment of the present disclosure may be applied to the diffusion Monte Carlo method as a trial wave function.
[0041] In the embodiments of the present disclosure, the statistical properties of the processed wanderers can characterize the chemical properties of the chemical system that is desired / needed to be obtained, such as the properties of a specific energy. As an example, wanderers contain information about the properties of electrons in the chemical system, especially information related to the distribution of electrons. For example, in the diffusion Monte Carlo method, the wanderers used contain two parts: the position coordinates of all electrons in the system and the corresponding weights.
[0042] The following will mainly refer to the ground state energy in the quantum chemical system to describe the embodiments according to the present disclosure. In the present disclosure, the ground state refers to the lowest energy state of the chemical system in quantum chemistry, and the ground state energy is the lowest energy state of the molecule. However, it should be noted that the ground state energy is only exemplary and not restrictive. Depending on the application environment and application requirements, the embodiments according to the present disclosure can also be applied to study / analyze other chemical properties / energies of quantum chemical systems, such as any required energy, such as any required excited state energy. In this case, adaptive adjustments can be made based on the solutions of the present disclosure according to the requirements.
[0043] Figure 2A A flow chart of a data processing method for a quantum chemical system according to an embodiment of the present disclosure is shown. In the context of the present disclosure, data processing of a quantum chemical system particularly refers to data processing related to the chemical properties of the quantum chemical system, which may include, but is not limited to, calculation, fitting, and the like of data / values / information. The chemical system in quantum chemistry mentioned in the present disclosure (hereinafter referred to as a quantum chemical system, or a chemical system) refers to a molecule formed by certain single atoms or multiple atoms in a specific configuration, and its microscopic image may be a relatively fixed atomic nucleus and electrons moving freely therein. The embodiments according to the present disclosure are particularly suitable for molecular size scales.
[0044] In method 200, in step S201, a specific wave function suitable for a quantum chemical system constructed based on a neural network is obtained; in step S202, wandering particles are processed based on the specific wave function, wherein the wandering particles processing includes wandering particle diffusion processing; and in step S203, relevant information on the chemical properties of the quantum chemical system is determined based on the specific wave function and the processed wandering particles.
[0045] According to an embodiment of the present disclosure, a specific wave function is a function that describes the microscopic system state of a chemical system. In some embodiments of the present disclosure, the input of the wave function may be parameter information in the microscopic system state of a quantum chemical system, and the output may be a property that characterizes the quantum chemical system. In some embodiments, the parameter information in the microscopic system state may refer to, for example, information related to the state / property of electrons in a chemical system, including but not limited to information related to the spatial distribution of electrons in a solid system. The information related to the spatial distribution of the electrons may include or be based on the spatial coordinates of all electrons (such as three-dimensional spatial coordinates, which may be in vector form), etc. The properties of a quantum chemical system may include energy-related states, distribution-related states, and the like. Generally speaking, in a quantum chemical system, a relatively fixed atomic nucleus is used as a skeleton, and electrons move freely relative to the atomic nucleus. Therefore, in one embodiment, the specific wave function is a wave function that characterizes the electronic state in the chemical system. Its input may be the state / property information of the electrons, such as the electronic spatial coordinates of all electrons in the system, and the modulus of the output is proportional to the probability of the electron appearing there.
[0046] In an embodiment of the present disclosure, the trial wave function is a wave function of auxiliary properties, which is used to reduce energy variance and fix the node surface during data processing. Generally, the accuracy of the chemical property research / analysis of the quantum chemical system is limited by the node surface of the trial wave function. The closer the node surface of the trial wave function is to the node surface of the real ground state wave function, the closer the energy obtained by the wanderer processing based on the trial wave function is to the real ground state energy. The present disclosure proposes to use a neural network to construct a wave function, and apply the constructed wave function as a trial wave function to a specific quantum chemical method, especially the diffusion Monte Carlo method, so that the powerful fitting ability of the neural network can be used to obtain / construct a high-precision wave function, thereby improving the accuracy of the specific quantum chemical method, especially the diffusion Monte Carlo method, thereby realizing the accurate research / analysis of the chemical system in quantum chemistry. According to the embodiments of the present disclosure, a specific wave function constructed based on a neural network can serve as the basis for subsequent wandering particle processing. The node surface of the trial wave function is closer to the node surface of the true ground state wave function, and the energy obtained from the wandering particle processing based on the trial wave function is also closer to the true ground state energy, thereby obtaining more precise results, such as obtaining a more accurate ground state wave function and ground state energy.
[0047] In some embodiments of the present disclosure, the wave function can be determined / trained in various appropriate ways, and in particular can be calculated by a corresponding model (e.g., a neural network model). In particular, during training, the initial electronic configuration (such as the spatial coordinates of all electrons) is input, and then the neural network model outputs a wave function for any configuration. The training goal of this network is to find an approximation of the ground state wave function by minimizing the energy state. In particular, during training, the network modifies its parameters until the energy reaches a minimum, and the corresponding network parameters correspond to the ground state wave function.
[0048] According to the embodiments of the present disclosure, the neural network can be trained first, and the parameters of the neural network are fixed after the training is completed, that is, a wave function represented by the neural network is fixed, and it is used as a trial wave function to run the walker simulation according to the present disclosure to obtain a more accurate ground state wave function and ground state energy. In some embodiments, the training of the neural network can be carried out in various appropriate ways. For example, various wave function construction methods known in the art can be used for training. Preferably, the specific wave function is obtained by training the neural network using the variational Monte Carlo method. In some embodiments, various appropriate neural networks can be used to construct a specific wave function according to the embodiments of the present disclosure as a trial wave function. In some embodiments, a "Fermi neural network" can be used to construct a trial wave function according to the embodiments of the present disclosure. In particular, the Fermi neural network is first trained using the variational Monte Carlo method, and the parameters of the neural network are fixed after the training is completed, that is, a wave function represented by the neural network is fixed. In some embodiments, other neural network methods in quantum chemistry, such as "Pauli neural network" and the like, can also be used.
[0049] According to an embodiment of the present disclosure, a wanderer may be a parameter used in a quantum chemical operation, and its meaning is a sample point for sampling. As an example, a wanderer may indicate a sampling point for sampling a given distribution (e.g., a distribution obtained by a trial basis function). In some embodiments, a wanderer may correspond to an electron in a microscopic system of a quantum chemical system, such as the electronic property information containing the electronic space coordinates and the corresponding weights as described above. According to an embodiment of the present disclosure, after the wanderer is properly processed, the statistical information of the wanderer may indicate a specific energy in the microscopic system of a quantum chemical system, especially the ground state energy.
[0050] According to an embodiment of the present disclosure, the wanderer can be expressed in various appropriate forms. As an example, the wanderer can be in the form of a vector, wherein the dimension of the vector can depend on the number of electrons in the chemical system, for example, the product of the number of electrons and the number of spatial dimensions (for example, three-dimensional space, the number is 3). In addition, in some embodiments, the wanderer can be initially set in any appropriate manner, and in particular, the wanderer is initially randomly set. As an example, consider a specific molecule, such as a water molecule, which has 10 electrons, then a wanderer corresponds to the coordinates of these 10 electrons in a 3-dimensional space, so it is a 30-dimensional vector. In the initial setting, the values in the wanderer vector can be randomly set, for example, the numbers in this 30-dimensional vector can be random.
[0051] According to an embodiment of the present disclosure, data processing of wanderers is performed based on a trial wave function, in particular, wanderer simulation / processing is performed based on an improved wave function constructed by a neural network to accurately obtain chemical properties. In some embodiments, the processing of wanderers includes diffusion processing, in particular, during the diffusion processing, wanderers are diffused with drift and weights are adjusted accordingly, and such diffusion is detected based on the trial wave function, preferably using the node surface of the trial wave function for crossing detection. According to an embodiment of the present disclosure, the adjustment of wanderer weights during the diffusion processing can be performed in any appropriate manner in the art, for example, it can be adjusted based on the energy of the wanderers after diffusion. According to an embodiment of the present disclosure, the node surface of the wave function is the totality of all points of the function with a value of zero. According to an embodiment of the present disclosure, the node surface of the diffused wanderer is detected for crossing the node surface based on the node surface of the trial wave function, that is, it is determined whether the diffused wanderer crosses the node surface of the wave function, and the diffused wanderer is appropriately processed according to the judgment result. Such processing can be considered to be included in the diffusion processing, and of course it can also be performed after the diffusion processing. According to the embodiments of the present disclosure, whether the wandering particle crosses the node plane of the constructed wave function can be determined by judging whether the spatial position of the diffused wandering particle crosses the node plane. This can be performed in various appropriate ways in the art and will not be described in detail here.
[0052] According to an embodiment of the present disclosure, in the case where the wanderer does not cross the node surface of the constructed wave function, the wanderer is appropriately processed. In some embodiments, the processing may be performed depending on the weight of the wanderer after diffusion, for example, including at least one of multiplication processing, merging processing, or even no operation. In particular, if the weight of a wanderer is too large after adjustment, for example, greater than or equal to a first specific threshold (which may be referred to as a first weight threshold), then multiplication processing is performed, and multiplication processing may also be referred to as derivative processing, replication processing, etc., which may be performed in various appropriate ways in the art, and may particularly include replicating wanderers whose weights are greater than the first specific threshold, and the weights of the two replicated wanderers are half of the weight of the original wanderer. As an example, the coordinates of the replicated wanderer may be appropriately set, for example, particularly located at the original position, which will not be described in detail here. On the other hand, if the weight of the diffused and weight-adjusted walker is too small, for example, less than the second specific threshold (which may be referred to as the second weight threshold), a merging process is performed. In particular, the merging process merges two appropriate walkers into a single walker. The walker to be merged may be appropriately selected, for example, selected according to the weight, walker position, walker association, etc. As an example, walkers with a weight smaller than the weight may be merged, or walkers at the same computing node may be merged, etc. In some embodiments, the attributes of the walker obtained by merging (for example, weight, spatial coordinates, etc.) may be derived depending on the attributes of the two walkers to be merged, which may be implemented in various appropriate ways in the art. For example, the weight of the walker obtained by merging may be a mathematical statistical value of the weights of the two walkers to be merged, such as the sum of the weights, etc. For example, the coordinates of the walker obtained by merging may be the coordinates of one of the two walkers to be merged, or may be appropriate coordinates between the two walkers, such as the intermediate coordinates, etc., which will not be described in detail here. On the other hand, when the weight of the wanderer is greater than or equal to the second specific threshold and less than the first specific threshold, no further operation is required on the wanderer, that is, the above-mentioned multiplication process or merging process will no longer be performed after the wanderer diffuses.
[0053] In other embodiments, the above-mentioned processing, especially the multiplication processing and the merging processing, can be performed based on specific application requirements, processing configurations, etc., and is not limited to or dependent on weights. For example, the multiplication processing and the merging processing can be performed in association with each other, which will be described in detail below.
[0054] According to an embodiment of the present disclosure, when a wanderer passes through a node surface of a constructed wave function, the wanderer can be reset / reset. In particular, the properties of the wanderer can be restored to the properties before diffusion, for example, its position and weight can be restored to the position and weight before diffusion.
[0055] According to an embodiment of the present disclosure, the diffusion process of wanderers may be performed iteratively. Figure 2B A conceptual diagram of an exemplary iteratively executed wanderer diffusion process is shown. In particular, in each iteration, wanderers can be diffused and weights adjusted, and then a trial wave function is used to detect the diffused wanderers, especially a node surface crossing detection is performed on the diffused wanderers based on the node surface of the trial wave function, and wanderers that are detected to have crossed are reset, while wanderers that are not detected to have crossed are appropriately processed, such as multiplication processing, or merging processing, or even no processing, and then it is verified whether the iteration termination condition is met after this iteration. If the termination condition is not met, the wanderer processing continues, otherwise the chemical properties of the chemical system are determined based on the processing results of the wanderers. It should be noted that Figure 2B This is only exemplary, and the processing flow can be adjusted appropriately. For example, it can be verified first whether the iteration termination condition is met, and if the termination condition is not met, the wanderer diffusion, weight adjustment, reproduction, merging, etc. will continue. The specific processing in the wanderer diffusion process will be described in detail below.
[0056] In some embodiments, each iteration of the diffusion process of wanderers may include at least the following operations: drifting and diffusing wanderers, and adjusting weights accordingly; performing a node surface crossing detection on the diffused wanderers based on the node surface of the wave function; and in the case where the diffused wanderers are not detected to cross the node surface, further processing is performed on the diffused wanderers, and the further processing may be performed based on the weights of the diffused wanderers, and may include but is not limited to multiplication processing, merging processing, or even no processing. In some embodiments, each iteration of the diffusion process of wanderers may also include the following operations: in the case where the diffused wanderers cross the node surface of the specific wave function, resetting the diffused wanderers to the starting settings of the iteration. In some embodiments, wanderer resetting resets the wanderers to the starting settings before the start of the iteration. Moreover, in the operation, only wanderers that cross the node surface of the wave function are reset, rather than all wanderers being reset.
[0057] According to an embodiment of the present disclosure, the drift amount of the wanderer can be expressed in an appropriate form, for example, it can be in a form corresponding to / matching the wanderer. In particular, the drift amount can be in the form of a vector, and its vector dimension matches the wanderer dimension. As an example, the dimension of the drift amount is related to the number of electrons in the system, especially the product of the number of electrons and the number of spatial dimensions (3). According to an embodiment of the present disclosure, the value of the drift amount can be appropriately set, for example, it can be initially set to an appropriate value. Preferably, the drift amount can be set depending on the trial wave function. In some embodiments, the drift amount can be constant between each iteration, for example, the drift amount is the same between each iteration. In other embodiments, the drift amount between each iteration is variable, for example, it can change according to specific rules and specific change functions, and such change rules and specific change functions can be pre-set according to experience.
[0058] According to an embodiment of the present disclosure, the weights for wanderers may be initially pre-set, for example, randomly set to any initial value. And may be appropriately adjusted / updated during each iteration when wanderer diffusion is performed. In some embodiments, the weights may be adjusted based on the local energy of the wanderers after diffusion. If the local energy of the wanderers after diffusion is too small, we will increase the weights, otherwise reduce the weights. That is, wanderers with small local energy will be "favored". According to the present disclosure, local energy may refer to a physical quantity defined on the coordinates of the electronic space. The calculation of the local energy for wanderers may be performed using schemes known in the art, and in particular may be performed relying on a trial wave function, which will not be described in detail here.
[0059] According to the embodiments of the present disclosure, the termination condition of the iterative processing of the wanderer can be any appropriate condition. In some embodiments, whether to stop the iteration of the diffusion processing of the wanderer can be determined based on at least one of the following conditions: the number of iterations exceeds a threshold number; and in a specific number of consecutive iterations, the change in the overall energy reflected by the wanderer is less than a specific change threshold.
[0060] In some embodiments, if the total energy output changes little in a specific number of consecutive iterations, for example, within a range less than a specific threshold, the iteration can be stopped. In such a case, according to an embodiment of the present disclosure, appropriate processing is performed on the wanderers during each iteration before the iteration is stopped, including the above-mentioned multiplication processing, or merging processing, or even no processing, and then the overall energy after this iteration can be calculated to judge the energy change. In some embodiments, the overall energy can be determined based on the statistical value of the energy of each wanderer. In one example, the local energy of the wanderers is calculated, and the local energy of the wanderers is weighted averaged to obtain the overall energy after this iteration. In particular, weighted average may refer to weighted average according to the weight of the wanderers.
[0061] In some embodiments, the iteration may be stopped when the number of iterations reaches a predetermined number threshold. In this case, the diffusion of the wanderers may be performed in each iteration before the iteration is stopped, and optionally after the multiplication, merging, resetting, etc. after the diffusion, the operation of the next iteration is specified. In particular, in order to further save computing power, the calculation of the total energy in each iteration is not necessary. For example, the total energy of the iteration may be calculated for each iteration or every certain number of iterations, and then the average value of the calculated total energy may be calculated when the iteration is stopped; or the total energy may be calculated until the last iteration is stopped.
[0062] According to the embodiments of the present disclosure, the trial wave function may be involved in the calculation of drift, node surface detection, and local energy. If the trial wave function is more accurate, the accuracy of the ground state energy-related properties obtained by the scheme of the present disclosure is higher and the convergence is faster. Therefore, in the above embodiments, by using a neural network to construct an accurate trial wave function, the accuracy of the present invention is higher and the convergence is faster.
[0063] Figure 2C An exemplary implementation of data processing for a quantum chemical system according to an embodiment of the present disclosure is shown. Figure 2C a in indicates the energy property of the chemical system realized according to the embodiment of the present disclosure, which can indicate the proportion of the ground state, excited state and other components in the state of the quantum chemical system, and the leftmost column indicates the proportion of the ground state component. Compared with the initial eigenstate (including the ground state energy, the first to the third excited state energy from left to right), the ground state component obtained by the variational Monte Carlo method has achieved an improvement, but the other excited state components except the ground state energy are still relatively obvious. In contrast, by applying the data processing method according to the present disclosure, the dominant position of the ground state component can be further highlighted, while other excited state components basically disappear, which can be closer to the real ground state, so that the chemical properties of the chemical system can be obtained more accurately. Figure 2C FIG. 2 b shows the construction of wave functions, in particular, the construction of wave functions based on neural networks, in which the nucleus-electron interaction and the electron-electron interaction are taken into account, and the obtained wave functions can realize fixed node surfaces for detection in wandering particle processing, which can be as shown in FIG. Figure 2C As shown in c in FIG. 1 , the wanderer processing includes wanderer diffusion, and the wanderer data statistics of the diffused wanderers can be used to simulate / obtain the chemical properties of the quantum chemical system. In particular, the wanderer processing can be fully parallelized, for example, by means of distributed processing with multiple computing nodes, which will be further described in detail below. Figure 2Cd in the figure respectively show various exemplary operations in the wanderer diffusion process. In particular, in the diffusion operation, if the diffused wanderer crosses the fixed node surface, it will be reset. Otherwise, appropriate processing will be performed, such as multiplication and merging.
[0064] According to the embodiments of the present disclosure, the iterative processing process of the wanderers can be further optimized, and then the efficiency of the method of the present disclosure can be further improved. In the embodiments of the present disclosure, the optimization processing of the wanderers preferably considers keeping the number of wanderers after diffusion constant, so as to help achieve more efficient data processing. In particular, the traditional variational Monte Carlo method with limited accuracy is often used to obtain the trial wave function, and most of the corresponding computing software uses the CPU to run, resulting in severe limitations on accuracy and efficiency. The neural network method has strong expression ability and high calculation accuracy, but the cost is a huge amount of calculation, and GPU devices are required for acceleration. In view of this, the present disclosure especially considers the comprehensive application of neural networks and GPU devices. The wanderer processing according to the embodiments of the present disclosure can be combined with the neural network method, and can be efficiently calculated on the GPU device. Therefore, the present disclosure proposes a set of methods that are easy to combine with the neural network method, can be efficiently calculated on the GPU device, and have excellent scalability, so as to make full use of the advantages of the neural network method and achieve a series of high-precision calculation results in quantum chemistry problems.
[0065] According to an embodiment of the present disclosure, the processing of the walker is performed on at least one computing node, wherein at least one of the at least one computing node includes a graphics processing unit (GPU). According to an embodiment of the present disclosure, the processing of the walker is distributed and executed on multiple computing nodes, wherein at least one of the multiple computing nodes includes a graphics processing unit (GPU), and the processing of part of the walker is performed on each computing node respectively. In some embodiments, the computing node may include but is not limited to one or more processors, for example, one or more CPUs, one or more GPUs, and the like. The computing node can often be implemented by one or more processors that are physically integrated together, and the distances between these processors are close, and the communication between them can often be considered to be instantaneous, and network communication resources will not be consumed. In some embodiments of the present disclosure, the processing of the walker makes the number of walkers at least on the computing node including the graphics processing unit (GPU) remain constant after the iterative processing. It should be noted that the constant here can be understood as the number of walkers remaining substantially unchanged, which includes but is not limited to the number remaining unchanged in an absolute sense, the number changes very little, and the like.
[0066] According to some embodiments of the present disclosure, in the case where the diffused wanderers do not cross the node surface of the specific wave function, a specific process is performed on the diffused wanderers so that the number of wanderers after the iterative process remains constant. In some embodiments, both multiplication and merging processes can be performed on wanderers. In some embodiments, the multiplication and merging processes of wanderers are performed in association, which can also be referred to as being performed in pairs, and are performed substantially simultaneously. In one example, once the multiplication process is performed, the merging process will be performed accordingly, so that the increase in the number of wanderers caused by the multiplication process will offset the decrease in the number of wanderers caused by the merging process, so that the total number of wanderers remains unchanged. In another example, once the merging process is performed, the multiplication process will be performed accordingly. For example, after the merging process is performed, the appropriate wanderers, such as the wanderers with the largest weight, are subjected to multiplication operations to compensate for the decrease in the number of wanderers caused by the merging process, so that the total number of wanderers remains unchanged. In particular, the computing node is composed of a GPU. Therefore, for such a processing node composed of a GPU, the above-mentioned multiplication and merging can be performed in a related manner, so that in such a processing node composed of a GPU, the number of walkers in each iteration remains unchanged.
[0067] According to some embodiments, when the weight of a walker is greater than a specific threshold, the walker is copied, and the weights of the two copied walkers are half of the weight of the original walker, and the two walkers with the lowest weights are selected for merging, so that the number of walkers remains unchanged. The walkers processed in this way are particularly suitable for specific processing nodes, especially nodes including a graphics processing unit (GPU), which may greatly improve processing efficiency.
[0068] According to some embodiments, alternatively or additionally, when the weight of the walker is greater than a specific threshold, the walker is copied, and the weights of the two copied walkers are half of the weight of the original walker, and the walker eliminated in the simultaneous merging process is replaced by the copied walker. This ensures that the "breeding" and "merging" operations can be run efficiently on specific processing nodes, especially nodes containing GPUs, and achieves the compilability of the module, significantly improving efficiency.
[0069] According to the embodiments of the present disclosure, the processing of the present disclosure can be performed in a distributed manner. In particular, the processing of the present disclosure can be performed on a computing node cluster composed of multiple computing nodes, and multiple computing nodes can communicate with each other. Thus, by performing data processing in a distributed manner on multiple processing nodes, the efficiency and effect of data processing in the quantum chemical system can be further improved. In some embodiments, the processing of the present disclosure can be distributed on multiple computing nodes and distributed in any appropriate manner. For example, it can be evenly distributed, and the number of wanderers is evenly distributed; or it can be distributed according to the processing power of the computing node, and computing nodes with large processing power are assigned more wanderers. During the processing, iterative processing is performed on each computing node, that is, iteration is performed for the wanderers assigned to the computing node. The wanderer processing between different computing nodes can be performed separately, and only the calculation results, synchronization information, etc. are communicated and transmitted, thereby saving the communication overhead in distributed computing.
[0070] In some embodiments, if the processing is performed on multiple computing nodes, and at least one of the computing nodes is composed of a GPU, the operation can be performed on the computing node composed of the GPU so that the number of walkers in the iterative processing on the computing node remains constant. As an example, for a computing node composed of a GPU, the multiplication and merging processing of walkers can be performed in an interrelated manner as described above, so that the total number of walkers remains unchanged. In this way, compared with the current situation where the CPU is fully utilized for processing, the GPU can be fully utilized to improve the processing efficiency. Preferably, the processing is completely performed on the computing node composed of the GPU, so that the processing efficiency can be further improved.
[0071] In the embodiments of the present disclosure, by executing distributed processing of walkers on multiple computing nodes, the overall algorithm has high parallelism, the communication volume between computing nodes is low, and high operating efficiency is achieved. In particular, the steps in the process that require multi-node communication mainly include: a. Calculation of total energy, which requires weighted averaging of the local energy generated on each computing node; b. Synchronization of whether to generate detection points; and c. Calculation of other indicators, such as calculation of the rejection rate of walker diffusion. In this way, by appropriately distributing various processing in computing nodes and reducing communication between computing nodes, the accuracy and efficiency of processing can be improved and the communication overhead can be reduced. In addition, the present disclosure implements the method for horizontal expansion on a computing cluster composed of multiple GPUs, achieving near-linear efficiency gains.
[0072] In some embodiments, in order to reasonably construct a computing node cluster, the communication waiting time of the computing nodes can be extended at the beginning of the process to ensure that multiple computing nodes can successfully complete communication and form a computing cluster.
[0073] According to an embodiment of the present disclosure, distributed computing can be performed in various appropriate ways. In some embodiments, a control node can be set for distributed computing. The control node is responsible for summarizing the processing results of all nodes, and then notifying all nodes of the final result. The control node can also be responsible for the synchronization of all nodes. For example, the control node can summarize the local energy of the walkers of each computing node, thereby obtaining the overall energy of the walkers, and verify whether to terminate the iteration, and then inform each computing node of the verification result to guide / synchronize the iterative processing of the walkers of each computing node. As an example, one of the computing nodes used to perform distributed computing can be used as a control node. Control nodes can also be set up additionally, such as other servers.
[0074] In some embodiments, in distributed computing, no control node is set, and each node can obtain information about all other nodes, and then each node can locally calculate the processing results of all nodes, and then determine whether to continue iteration, and then inform all other nodes of the judgment result. In addition, the computing nodes can agree on a synchronization time between them.
[0075] According to some embodiments of the present disclosure, in the case of distributed processing, a more robust fault tolerance mechanism and synchronization mechanism can be constructed by performing appropriate communication. In the embodiments of the present disclosure, a detection point can be determined for each computing node for synchronization and error correction during distributed processing. In particular, the detection point can record the intermediate state of the processing process, which is used to restore the corresponding computing state when the computing is interrupted or restarted.
[0076] In some embodiments, the detection points may be generated periodically or on demand, and the detection points may be used to restore the processing of the computing node in the event of an error, interruption, etc. in the computing. As an example, the detection points may be generated periodically and uploaded to a remote storage cluster. If the computing is interrupted and needs to be restarted, the present invention supports automatically downloading the latest detection points from the remote storage cluster to each computing node to achieve breakpoint reconnection.
[0077] In the present disclosure, the operation of generating and uploading detection points needs to be synchronized on each computing node, and each computing node generates its own corresponding detection points and uploads them to the remote storage cluster. This process is initiated by the computing node numbered zero in the computing cluster, and other nodes generate and upload detection points at the same time after receiving the request.
[0078] In extreme cases, it may happen that one or some computing nodes fail to successfully upload the detection points (e.g., the computing process is violently interrupted). Therefore, when the detection points are used for breakpoint reconnection in the present invention, it is checked whether the detection points downloaded by each computing node correspond to the same time step. If not, the current calculation is actively interrupted, and an alarm is issued accordingly, and the operator performs manual operation processing.
[0079] Therefore, the wanderer processing method implemented by the present disclosure can be efficiently run on a GPU device, and its efficiency far exceeds that of the traditional method based on CPU operation.
[0080] The method implemented by the present disclosure can use a neural network method as a trial wave function, which is more accurate than traditional quantum chemical methods. An improved wave function is constructed to improve the accuracy of preprocessing, which in turn can improve the accuracy of obtaining the chemical properties of the microscopic system of the quantum chemical system. Furthermore, after constructing an improved neural network-based wave function, the method implemented by the present disclosure performs operations on a distributed GPU, so that it can be combined with different neural network-based wave function methods, and the parallel acceleration of GPU devices is utilized to achieve further efficiency improvements. In particular, compared to the variational Monte Carlo method based on neural networks, the present invention can more effectively process larger chemical systems and achieve more accurate results while using the same computing resources.
[0081] Moreover, in a sense, the improved data processing according to the embodiments of the present disclosure can be considered to be equivalent to constructing / calculating an improved wave function for characterizing a microscopic system of a quantum chemical system, such as a wave function that more accurately reflects the chemical properties of the quantum chemical system and / or satisfies the wave function requirements of the quantum chemical system. That is, the above-mentioned data processing according to the present disclosure can be equivalent to applying the chemical property information of the quantum chemical system to the wave function constructed / calculated in this way to obtain a wave function output that reflects the characteristics of the quantum chemical system and / or the wave function requirements of the quantum chemical system, thereby enabling a more accurate chemical property analysis result of the quantum chemical system.
[0082] Figure 2D A block diagram of a data processing device for a quantum chemical system according to an embodiment of the present disclosure is shown. The data processing device 200A may include an acquisition unit 201 configured to acquire a specific wave function suitable for a quantum chemical system constructed based on a neural network; a wanderer processing unit 202 configured to perform wanderer processing based on the specific wave function, wherein the wanderer processing includes wanderer diffusion processing, and an information generation unit 203 configured to determine relevant information about the chemical properties of the quantum chemical system based on the specific wave function and the processed wanderers.
[0083] In some embodiments, the wandering particle processing unit 202 is configured to perform a node surface crossing detection on the diffused wandering particle based on the node surface of the specific wave function, and the information generation unit 203 is configured to perform relevant information on determining the chemical properties of the quantum chemical system based on the specific wave function and the processed wandering particle when the diffused wandering particle is not detected to cross the node surface.
[0084] In some embodiments, the wanderer processing unit 202 is configured to iteratively perform diffusion processing of the wanderer, and in each iteration of the diffusion processing of the wanderer: the wanderer is drift-diffused and weights are adjusted accordingly; based on the node surface of the specific wave function, the node surface crossing detection is performed on the diffused wanderer; and in the case that the diffused wanderer is not detected to cross the node surface of the specific wave function, further processing is performed on the diffused wanderer. The further processing can be performed based on the weight after diffusion, and can include, for example, multiplication processing, merging processing, or even no processing, which can be performed as described above.
[0085] In some embodiments, the wanderer processing unit 202 is configured to reset the diffused wanderer to the initial setting of the iteration when the diffused wanderer crosses the node plane of the specific wave function.
[0086] In some embodiments, the wanderer processing unit 202 is configured to perform processing on the diffused wanderers so that the number of wanderers after the iterative processing remains constant when the diffused wanderers do not cross the node plane of the specific wave function. The processing can be as described above and will not be described in detail here.
[0087] In some embodiments, the walker processing unit 202 is configured to perform walker processing on at least one computing node, including but not limited to diffusion, detection, multiplication, merging, etc., wherein at least one of the at least one computing node includes a graphics processing unit (GPU). In particular, the walker processing is performed so that after each iterative processing, the number of walkers on at least the computing node including the graphics processing unit (GPU) remains constant.
[0088] In some embodiments, the information generation unit 203 may be configured to calculate the local energy of each wanderer based on a specific wave function; perform weighted averaging on the local energy of each wanderer to obtain the total energy reflected by all wanderers; and determine information reflecting the ground state energy of the quantum chemical system based on the total energy reflected by all wanderers.
[0089] The processing performed by the above-mentioned units, including the diffusion processing of wanderers, the execution and termination of iterations, etc., can be performed as described above and will not be described in detail here.
[0090] It should be noted that the above-mentioned units are only logical modules divided according to the specific functions implemented by them, and are not used to limit the specific implementation methods. For example, they can be implemented in software, hardware, or a combination of software and hardware. In actual implementation, the above-mentioned units can be implemented as independent physical entities, or can also be implemented by a single entity (for example, a processor (CPU or DSP, etc.), an integrated circuit, etc.). In addition, the above-mentioned units are shown with dotted lines in the drawings to indicate that these units may not actually exist, and the operations / functions implemented by them can be implemented by the processing circuit itself.
[0091] In addition, although not shown, the device may also include a memory, which may store various information generated by the device, various units contained in the device during operation, programs and data for operation, data to be sent by the communication unit, etc. The memory may be a volatile memory and / or a non-volatile memory. For example, the memory may include, but is not limited to, a random access memory (RAM), a dynamic random access memory (DRAM), a static random access memory (SRAM), a read-only memory (ROM), and a flash memory. Of course, the memory may also be located outside the device. Optionally, although not shown, the device may also include a communication unit, which may be used to communicate with other devices. In one example, the communication unit may be implemented in a suitable manner known in the art, such as including communication components such as an antenna array and / or a radio frequency link, various types of interfaces, communication units, etc. It will not be described in detail here. In addition, the device may also include other components not shown, such as a radio frequency link, a baseband processing unit, a network interface, a processor, a controller, etc. It will not be described in detail here.
[0092] The data processing for quantum chemical systems according to the second embodiment of the present disclosure will be described in detail with reference to the accompanying drawings. The second embodiment of the present disclosure is mainly intended to improve the efficiency of data processing in quantum chemical systems. In the second embodiment of the present disclosure, by adopting improved wanderer diffusion processing, especially adopting a specific processing device (such as a GPU) and wanderer processing that is particularly suitable for such a processing device, the data efficiency can be significantly improved without being particularly limited to the determination of the trial wave function.
[0093] Figure 3A1 is a flow chart showing a data processing method for a quantum chemical system according to a second embodiment of the present disclosure. In method 300, in step S301, a specific wave function applicable to a quantum chemical system is obtained; in step S302, a diffusion process of wanderers is performed based on the specific wave function, wherein the diffusion process is performed so that the number of wanderers remains constant during the process, and in step S303, information related to the chemical properties of the quantum chemical system is determined based on the specific wave function and the energy of the wanderers after the process.
[0094] In a second embodiment according to the present disclosure, the specific wave function obtained can be any appropriate wave function, such as the wave function used in the conventional quantum chemical method described above, or a wave function constructed based on any appropriate neural network. According to an embodiment of the present disclosure, a traditional quantum chemical method, such as a Hartree-Justro type wave function, can also be used as a trial wave function. In particular, the trial wave function can use a conventional wave function as a trial wave function. The specific wave function here can be used for the detection of wanderers after diffusion, energy generation, etc., as described above.
[0095] In some embodiments according to the present disclosure, the processing of wanderers, especially the diffusion processing, can be performed iteratively, and during each iteration, the number of wanderers after diffusion remains substantially stable, especially remains constant. In particular, the processing of wanderers is performed on at least one computing node, wherein at least one of the at least one computing node includes a graphics processing unit (GPU), and the processing of wanderers is performed iteratively, and after each iterative processing, the number of wanderers at least on the computing node including the graphics processing unit (GPU) remains constant.
[0096] Figure 3B The wanderer diffusion process for a quantum chemical system according to the second embodiment of the present disclosure is shown. In the iterative process of the diffusion process, detection can also be performed based on the node surface of the wave function to determine the appropriate operation for the wanderer. In particular, when the diffused wanderer crosses the interface of the specific wave function, the configuration of the wanderer is reset, for example, restored to the starting configuration at the beginning of the iteration, such as the starting position. In the case where the diffused wanderer does not cross the node surface of the specific wave function, the diffused wanderer is subjected to a process that keeps the number of wanderers after the iterative process constant.
[0097] In particular, the process of keeping the number of walkers constant after the iterative process may include performing one of the following operations:
[0098] When the weight of the walker is greater than a certain threshold, the walker is copied, and the weights of the two copied walkers are half of the weight of the original walker, and the two walkers with the lowest weight are selected for merging; and
[0099] When the weight of a walker is greater than a specific threshold, the walker is copied, and the weights of the two copied walkers are half of the weight of the original walker. At the same time, the copied walker replaces the walker eliminated in the simultaneous merging process.
[0100] In some embodiments of the present disclosure, the iterative processing of the walker may be terminated according to any appropriate condition, as described above, and will not be described in detail here.
[0101] Therefore, in the embodiments of the present disclosure, no matter which wave function is used as the trial wave function, multiple computing nodes can be effectively used for distributed data processing, so that it is easy to spread and achieve a high degree of parallelism. In particular, it can be efficiently run on a GPU, thereby greatly improving work efficiency.
[0102] In addition, the embodiments of the present disclosure can be conveniently combined with traditional quantum chemical methods, making the embodiments of the present disclosure more universal.
[0103] Figure 3C : is a block diagram showing a data processing device for a quantum chemical system according to a second embodiment of the present disclosure. The data processing device 300A includes an acquisition unit 301, which acquires a specific wave function suitable for a quantum chemical system; a wandering particle processing unit 302, which performs wandering particle processing based on the specific wave function, wherein the wandering particle processing includes wandering particle diffusion, and the wandering particle diffusion is performed so that the number of wandering particles remains constant during the processing; and an information generation unit 303, which derives relevant information about the chemical properties of the quantum chemical system based on the specific wave function and the processed wandering particles. Here, the acquisition unit, the wandering particle processing unit, and the information generation unit can perform the above-mentioned various corresponding processing, which will not be described in detail here.
[0104] It should be noted that the above-mentioned various units are only logical modules divided according to the specific functions implemented, rather than being used to limit specific implementations, such as can be implemented in the form of software, hardware or a combination of software and hardware. In actual implementation, the above-mentioned various units can be implemented as independent chemical entities, or can also be implemented by a single entity (such as, a processor (CPU or DSP, etc.), an integrated circuit, etc.). In addition, the above-mentioned various units are shown in the accompanying drawings with dotted lines to indicate that these units may not actually exist, and the operations / functions they implement can be implemented by the processing circuit itself. In addition, although not shown, the equipment may also include other suitable equipment, such as a memory, a communication unit and any other suitable parts, which can be described above and will not be described in detail here.
[0105] As examples, the embodiments of the present disclosure are verified in several classical quantum chemical systems and compared with the results of mature methods in the art and experimental data.
[0106] Figures 4A to 4E The chemical property results obtained by the data processing scheme of the quantum chemical system according to the embodiment of the present disclosure are shown. As can be seen from the accompanying drawings, the scheme of the embodiment of the present disclosure is combined with the most advanced neural network method "Fermi neural network" in current quantum chemistry, and the energy calculation of a series of chemical systems has reached the current optimal level.
[0107] Figure 4A The energy calculation of beryllium (Be) atoms according to an embodiment of the present disclosure is shown. The present disclosure is based on the "Fermi neural network" method, but the convergence speed is significantly faster than that of the "Fermi neural network" and the accuracy is higher. Figure 4A It can be seen that, taking beryllium atoms as an example, the present invention only needs to train the "Fermi neural network" for one thousand steps, and its accuracy can exceed the result of training the "Fermi neural network" alone for 50,000 steps.
[0108] Figure 4B The energy calculation of a single atom system according to an embodiment of the present disclosure is shown. In order to verify the effectiveness of the present invention compared to the variational Monte Carlo based on a neural network, we compared the energy calculation results of the atoms in the second and third cycles of the two methods. As shown in the figure, the energy calculated by the present invention is significantly closer to the real energy. It can be seen that, under the condition of certain computing resources, the present invention can obtain more accurate results in the calculation of a larger system.
[0109] Figure 4CThe energy calculation of cyclobutadiene according to the embodiment of the present disclosure is shown. Similarly, compared with the variational Monte Carlo using the "Fermi neural network" alone, the present invention only needs to train the "Fermi neural network" for 60,000 steps in both the equilibrium state and transition state of cyclobutadiene to achieve a more accurate energy than the variational Monte Carlo training using the "Fermi neural network" alone for 500,000 steps. Moreover, as Figure 4D As shown, the energy difference calculated according to the scheme of the present disclosure, i.e., the transition energy barrier, is also consistent with the variational Monte Carlo calculation result and is within the range of experimental data. It can be seen that the accuracy and efficiency of the scheme of the present disclosure are also verified on the cyclobutadiene molecule.
[0110] Figure 4E The energy calculation of the benzene ring according to the embodiment of the present disclosure is shown. The accuracy of the present invention in calculating the ground state energy of the benzene ring is significantly better than the variational Monte Carlo using the "Fermi neural network" alone, and far exceeds the traditional method (the coupled cluster method with single, double and partial triple excitations extended to the full basis set). Figure 4E As shown, the lower the energy, the better. The energy obtained by the present invention is tens of milli-Hartree lower than that of the "Fermi Neural Network" Variational Monte Carlo with the same network configuration, and hundreds of milli-Hartree lower than that of the traditional method.
[0111] In addition to having better computational accuracy than the variational Monte Carlo using the "Fermi neural network" alone, the present invention is also more efficient overall, that is, only fewer steps of training the "Fermi neural network" are required to achieve the same or even better accuracy.
[0112] In addition, the disclosed solution has excellent scalability and can effectively utilize a cluster consisting of hundreds of Nvidia V100 GPUs for accelerated computing, with a nearly linear acceleration ratio, thereby performing high-precision calculations on larger chemical systems.
[0113] Some embodiments of the present disclosure also provide an electronic device that can be operated to implement the operations / functions of the aforementioned model pre-training device and / or model training device. Figure 5Block diagrams of some embodiments of the electronic device of the present disclosure are shown. For example, in some embodiments, the electronic device 5 can be various types of devices, for example, can include but are not limited to mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. For example, the electronic device 5 can include a display panel for displaying data and / or execution results used in the scheme of the present disclosure. For example, the display panel can be in various shapes, such as a rectangular panel, an elliptical panel, or a polygonal panel, etc. In addition, the display panel can be not only a flat panel, but also a curved panel, or even a spherical panel.
[0114] like Figure 5 As shown, the electronic device 5 of this embodiment includes: a memory 51 and a processor 52 coupled to the memory 51. It should be noted that Figure 5 The components of the electronic device 50 shown are only exemplary and non-restrictive. The electronic device 50 may also have other components according to actual application requirements. The processor 52 may control other components in the electronic device 5 to perform desired functions.
[0115] In some embodiments, the memory 51 is used to store one or more computer-readable instructions. When the processor 52 is used to execute the computer-readable instructions, the computer-readable instructions are executed by the processor 52 to implement the method according to any of the above embodiments. For the specific implementation of each step of the method and the related explanation content, please refer to the above embodiments, and the repeated parts will not be repeated here.
[0116] For example, the processor 52 and the memory 51 may communicate with each other directly or indirectly. For example, the processor 52 and the memory 51 may communicate with each other through a network. The network may include a wireless network, a wired network, and / or any combination of a wireless network and a wired network. The processor 52 and the memory 51 may also communicate with each other through a system bus, which is not limited by the present disclosure.
[0117] For example, the processor 52 may be embodied as various appropriate processors, processing devices, etc., such as a central processing unit (CPU), a graphics processing unit (GPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The central processing unit (CPU) may be an X86 or ARM architecture, etc. For example, the memory 51 may include any combination of various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The memory 51 may include, for example, a system memory, which may store, for example, an operating system, an application, a boot loader (Boot Loader), a database, and other programs. Various applications and various data may also be stored in the storage medium.
[0118] In addition, according to some embodiments of the present disclosure, various operations / processes according to the present disclosure, when implemented by software and / or firmware, can be transmitted from a storage medium or a network to a computer system having a dedicated hardware structure, such as Figure 6 The computer system 600 shown is installed with the programs constituting the software. When the various programs are installed, the computer system can perform various functions, including the functions described above. Figure 6 is a block diagram showing an example structure of a computer system that can be employed in an embodiment according to the present disclosure.
[0119] exist Figure 6 In the embodiment, the central processing unit (CPU) 601 performs various processes according to the program stored in the read-only memory (ROM) 602 or the program loaded from the storage part 608 to the random access memory (RAM) 603. In the RAM 603, data required when the CPU 601 performs various processes, etc. are also stored as needed. The central processing unit is only exemplary, and it can also be other types of processors, such as the various processors described above. The ROM 602, RAM 603 and the storage part 608 can be various forms of computer-readable storage media, as described below. It should be noted that although Figure 6 ROM 602, RAM 603 and storage device 608 are shown separately in FIG. 6 , but one or more of them may be combined or located in the same or different memory or storage modules.
[0120] The CPU 601, the ROM 602, and the RAM 603 are connected to one another via a bus 604. An input / output interface 605 is also connected to the bus 604.
[0121] The following components are connected to the input / output interface 605: an input portion 606, such as a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output portion 607, including a display, such as a cathode ray tube (CRT), a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage portion 608, including a hard disk, a magnetic tape, etc.; and a communication portion 609, including a network interface card such as a LAN card, a modem, etc. The communication portion 609 allows communication processing to be performed via a network such as the Internet. It is easy to understand that although Figure 6 The various devices or modules in the electronic device 600 are shown to communicate via the bus 604, but they may also communicate via a network or other means, wherein the network may include a wireless network, a wired network, and / or any combination of a wireless network and a wired network.
[0122] A drive 610 is also connected to the input / output interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is mounted on the drive 610 as needed so that a computer program read therefrom is installed into the storage section 608 as needed.
[0123] In the case where the above-described series of processing is implemented by software, a program constituting the software may be installed from a network such as the Internet or a storage medium such as the removable medium 611 .
[0124] According to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method according to an embodiment of the present disclosure. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 609, or installed from a storage device 608, or installed from a ROM 602. When the computer program is executed by CPU 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0125] It should be noted that in the context of the present disclosure, a computer-readable medium may be a tangible medium that may contain or store a program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. A computer-readable storage medium may be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that may be used by an instruction execution system, device or device or used in combination with it. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0126] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0127] In some embodiments, a computer program is further provided, comprising: instructions, which, when executed by a processor, cause the processor to execute any of the methods of the above embodiments. For example, the instructions may be embodied as computer program codes.
[0128] In embodiments of the present disclosure, computer program codes for performing the operations of the present disclosure may be written in one or more programming languages or combinations thereof, including but not limited to object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In situations involving a remote computer, the remote computer may be connected to the user's computer via any type of network (including a local area network (LAN) or a wide area network (WAN)), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet).
[0129] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0130] The modules, components or units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the names of the modules, components or units do not, in some cases, limit the modules, components or units themselves.
[0131] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0132] The present disclosure may be implemented in any form described herein, including but not limited to the following enumerated example embodiments, which describe the structure, features, and functions of some portions of embodiments of the present invention.
[0133] According to some embodiments of the present disclosure, a data processing method for a quantum chemical system is provided, the method comprising: obtaining a specific wave function suitable for a quantum chemical system and constructed based on a neural network; performing wanderer processing based on the specific wave function, the wanderer processing comprising wanderer diffusion processing, and determining relevant information on the chemical properties of the quantum chemical system based on the specific wave function and the processed wanderers.
[0134] According to some embodiments of the present disclosure, executing the processing of wanderers based on the specific wave function also includes: performing a node surface crossing detection on the diffused wanderers based on the node surface of the specific wave function; and determining relevant information on the chemical properties of the quantum chemical system based on the specific wave function and the processed wanderers when the diffused wanderers are not detected to cross the node surface.
[0135] According to some embodiments of the present disclosure, the processing of the wanderer based on the specific wave function is iteratively performed, and in each iteration: the wanderer is drift-diffused, and the weight of the diffused wanderer is adjusted accordingly; the node surface of the diffused wanderer is detected to cross the node surface based on the node surface of the specific wave function; and in the case that the diffused wanderer is not detected to cross the node surface, further processing is performed on the diffused wanderer, and the further processing includes processing performed based on the weight of the diffused wanderer.
[0136] According to some embodiments of the present disclosure, the processing performed based on the weight of the diffused wanderer includes at least one of the following: when the weight of the diffused wanderer is greater than or equal to a first weight threshold, performing a multiplication process on the wanderer to copy two wanderers from the wanderer, when the weight of the diffused wanderer is less than a second weight threshold, performing a merging process on the wanderer to merge the two wanderers into one wanderer, and when the weight of the wanderer is greater than or equal to the second weight threshold and less than the first weight threshold, not performing a multiplication process and a merging process on the diffused wanderer.
[0137] According to some embodiments of the present disclosure, when the diffused wanderers do not cross the node plane of the specific wave function, a process is performed on the diffused wanderers so that the number of wanderers after the iterative process remains constant.
[0138] According to some embodiments of the present disclosure, the processing capable of keeping the number of walkers after the iterative processing constant includes at least one of the following: copying the walker when the weight of the walker is greater than a specific threshold, wherein the weights of the two copied walkers are respectively half of the weight of the original walker, and the two walkers with the lowest weights are selected to be retained for merging processing; and copying the walker when the weight of the walker is greater than a specific threshold, wherein the weights of the two copied walkers are respectively half of the weight of the original walker, and the copied walker replaces the walker eliminated in the merging processing performed simultaneously.
[0139] According to some embodiments of the present disclosure, the processing of the walker is performed in a distributed manner on multiple computing nodes, at least one of the multiple computing nodes includes a graphics processing unit, and the processing of part of the walker is performed on each computing node.
[0140] According to some embodiments of the present disclosure, when the processing of the walker is a distributed processing performed on multiple computing nodes, detection points are synchronously generated among the multiple computing nodes periodically or as needed.
[0141] According to some embodiments of the present disclosure, the diffusion process of the wanderers is performed iteratively, and the diffusion process of the wanderers is performed so that after each iterative process, the number of wanderers on at least the computing node including the graphics processing unit remains constant.
[0142] According to some embodiments of the present disclosure, the relevant information of the chemical properties of the quantum chemical system includes ground state energy, and determining the relevant information of the chemical properties of the quantum chemical system based on the specific wave function and the processed wanderers includes: calculating the local energy of each wanderer based on the specific wave function; weighted averaging the local energy of each wanderer to obtain the total energy reflected by all wanderers; and determining information reflecting the ground state energy of the quantum chemical system based on the total energy reflected by all wanderers.
[0143] According to some embodiments of the present disclosure, the diffusion process of the wanderers is iteratively performed, and the iteration of the diffusion process of the wanderers is stopped under at least one of the following conditions: the number of iterations exceeds a threshold number; and in a specific number of consecutive iterations, the change in the overall energy reflected by all wanderers is less than a specific change threshold.
[0144] According to some embodiments of the present disclosure, the specific wave function is a wave function that characterizes the electronic state in the quantum chemical system, and / or the specific wave function is obtained by training a neural network using a variational Monte Carlo method.
[0145] According to some embodiments of the present disclosure, a data processing method for a quantum chemical system is provided, the method comprising: obtaining a specific wave function applicable to the quantum chemical system; performing processing of wanderers based on the specific wave function, the processing of wanderers comprising diffusion processing of wanderers, and the processing of wanderers is further performed so that the number of wanderers remains constant during the processing, and determining relevant information of the chemical properties of the quantum chemical system based on the specific wave function and the processed wanderers.
[0146] According to some embodiments of the present disclosure, the processing of the wanderers is iteratively performed, and in each iteration of the processing of the wanderers: the wanderers are drift-diffused and weights are adjusted accordingly; the node surface crossing detection of the diffused wanderers is performed based on the node surface of the specific wave function; and in the case where the diffused wanderers are not detected to cross the node surface, the diffused wanderers are processed so that the number of wanderers after the iterative processing remains constant.
[0147] According to some embodiments of the present disclosure, the processing capable of keeping the number of walkers after the iterative processing constant includes at least one of the following: copying the walker when the weight of the walker is greater than a specific threshold, wherein the weights of the two copied walkers are respectively half of the weight of the original walker, and the two walkers with the lowest weights are selected to be retained for merging processing; and copying the walker when the weight of the walker is greater than a specific threshold, wherein the weights of the two copied walkers are respectively half of the weight of the original walker, and the copied walker replaces the walker eliminated in the merging processing performed simultaneously.
[0148] According to some embodiments of the present disclosure, the processing of the walkers is performed in a distributed manner on multiple computing nodes, at least one of the computing nodes includes a graphics processing unit, and the processing of part of the walkers is performed on each computing node, respectively, and wherein the processing of the walkers is performed iteratively, and the processing of the walkers is performed so that after each iterative processing, the number of walkers on at least the computing node including the graphics processing unit remains constant.
[0149] According to some embodiments of the present disclosure, a data processing device for a quantum chemical system is provided, the device comprising: an acquisition unit configured to acquire a specific wave function suitable for the quantum chemical system and constructed based on a neural network; a wanderer processing unit configured to perform wanderer processing based on the specific wave function, wherein the wanderer processing includes wanderer diffusion processing; and an information generation unit configured to determine relevant information about the chemical properties of the quantum chemical system based on the specific wave function and the processed wanderers.
[0150] According to some embodiments of the present disclosure, there is provided a data processing device for a quantum chemical system, the device comprising: an acquisition unit, which acquires a specific wave function applicable to the quantum chemical system; a wanderer processing unit, which performs wanderer processing based on the specific wave function, wherein the wanderer processing includes wanderer diffusion processing, and the wanderer processing is further performed so that the number of wanderers remains constant during the processing; and an information generation unit, which determines relevant information about the chemical properties of the quantum chemical system based on the specific wave function and the processed wanderers.
[0151] According to some further embodiments of the present disclosure, there is provided an electronic device, comprising: a memory; and a processor coupled to the memory, wherein instructions are stored in the memory, and when the instructions are executed by the processor, the electronic device executes the method described in any embodiment of the present disclosure.
[0152] According to some further embodiments of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the method described in any embodiment of the present disclosure is implemented.
[0153] According to still other embodiments of the present disclosure, a computer program is provided, comprising: instructions, which, when executed by a processor, cause the processor to execute the method described in any one of the embodiments of the present disclosure.
[0154] According to some embodiments of the present disclosure, a computer program product is provided, comprising instructions, which, when executed by a processor, implement the method described in any embodiment of the present disclosure.
[0155] The above descriptions are only some embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, a technical solution formed by replacing the above features with the technical features with similar functions disclosed in the present disclosure (but not limited to).
[0156] In the description provided herein, many specific details are set forth. However, it is understood that embodiments of the present invention can be implemented without these specific details. In other cases, well-known methods, structures, and techniques are not presented in detail in order not to obscure the understanding of the description.
[0157] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0158] Although some specific embodiments of the present disclosure have been described in detail by way of example, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that the above embodiments may be modified without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.
Claims
1. A data processing method for a quantum chemical system, the method comprising: Acquire a specific wave function suitable for a quantum chemical system constructed based on a neural network, wherein the specific wave function includes a wave function characterizing an electronic state in the quantum chemical system; Based on the specific wave function, a process of wandering particles is performed, wherein the wandering particles contain electronic property information in a chemical system, and wherein the process of wandering particles includes a diffusion process of wandering particles, and Determining relevant information of chemical properties of a quantum chemical system based on the specific wave function and the processed wanderer; The processing of the wanderer based on the specific wave function further includes: Based on the node surface of the specific wave function, the node surface is subjected to a crossing detection on the diffused wanderer; In the case that it is not detected that the diffused wanderer crosses the node surface, further processing is performed on the diffused wanderer, the further processing including any one of multiplication, merging and no-operation processing.
2. The method according to claim 1, wherein: The process of executing the walker based on the specific wave function is performed iteratively, and in each iteration: Drift and diffuse the wanderers, and adjust the weights of the diffused wanderers accordingly; Based on the node surface of the specific wave function, the node surface is subjected to a crossing detection on the diffused wanderer; and In the case that the diffused wanderer is not detected to cross the node surface, further processing is performed on the diffused wanderer based on the weight of the diffused wanderer.
3. The method according to claim 2, wherein: The further processing of the diffused wanderers based on the weights of the diffused wanderers comprises at least one of the following: When the weight of the diffused wanderer is greater than or equal to the first weight threshold, a multiplication process is performed on the wanderer to obtain two wanderers by copying the wanderer. When the weight of the diffused wanderer is less than the second weight threshold, a merging process is performed on the wanderer to merge the two wanderers into one wanderer, and When the weight of the wanderer is greater than or equal to the second weight threshold and less than the first weight threshold, the proliferation process and the merging process are not performed on the diffused wanderer.
4. The method according to claim 2, wherein: In the case that the diffused wanderers do not cross the node plane of the specific wave function, a process is performed on the diffused wanderers so that the number of wanderers after the iterative process is kept constant.
5. The method according to claim 4, wherein: The process capable of keeping the number of wanderers after the iterative process constant includes at least one of the following: When the weight of the walker is greater than a specific threshold, the walker is copied, wherein the weights of the two copied walkers are half of the weight of the original walker, and the two walkers with the lowest weight are retained for merging; and When the weight of a walker is greater than a specific threshold, the walker is copied, wherein the weights of the two copied walkers are half of the weight of the original walker, and the copied walker replaces the walker eliminated in the merging process at the same time.
6. The method according to claim 1, wherein: The processing of the walker is performed in a distributed manner on a plurality of computing nodes, at least one of the plurality of computing nodes comprises a graphics processing unit, and the processing of a portion of the walker is performed on each computing node respectively.
7. The method according to claim 1, wherein: When the walker processing is a distributed processing performed on multiple computing nodes, the detection points are generated synchronously among the multiple computing nodes periodically or as needed.
8. The method according to claim 6, wherein: The diffusion process of the wanderers is performed iteratively, and the diffusion process of the wanderers is performed so that after each iterative process, the number of wanderers on at least the computing node including the graphics processing unit remains constant.
9. The method according to claim 1, wherein: The relevant information of the chemical properties of the quantum chemical system includes ground state energy, and the relevant information of determining the chemical properties of the quantum chemical system based on the specific wave function and the processed wanderer includes: Calculate the local energy of each wanderer based on the specific wave function; The local energy of each wanderer is weighted averaged to obtain the total energy reflected by all wanderers; and The information reflecting the ground state energy of the quantum chemical system is determined based on the total energy reflected by all wanderers.
10. The method according to any one of claims 1 to 9, wherein: The diffusion process of the wanderer is iteratively performed, and the iteration of the diffusion process of the wanderer is stopped under at least one of the following conditions: The number of iterations exceeds a threshold number; and In a specific number of consecutive iterations, the change in the total energy reflected by all wanderers is less than a specific change threshold.
11. The method according to any one of claims 1 to 9, wherein: The specific wave function is obtained by training a neural network using a variational Monte Carlo method.
12. A data processing method for a quantum chemical system, the method comprising: Acquire a specific wave function applicable to a quantum chemical system, wherein the specific wave function comprises a wave function characterizing an electronic state in the quantum chemical system; Processing of wanderers is performed based on the specific wave function, wherein the wanderers contain electronic property information in the chemical system, and wherein the processing of wanderers includes diffusion processing of wanderers, and the processing of wanderers is further performed so that the number of wanderers remains constant during the processing, and Determine the relevant information of the chemical properties of the quantum chemical system based on the specific wave function and the processed wanderer, The processing of wanderers so that the number of wanderers remains constant during the processing includes performing both multiplication and merging processing on the wanderers, and the increase in the number of wanderers caused by the multiplication processing will offset the decrease in the number of wanderers caused by the merging processing, so that the number of wanderers remains constant.
13. The method according to claim 12, wherein: The processing of the walker is performed iteratively, and in each iteration of the processing of the walker: Drift and diffuse the wanderers and adjust their weights accordingly; Based on the node surface of the specific wave function, the node surface is subjected to a crossing detection on the diffused wanderer; and In the case that it is not detected that the diffused wanderers cross the node surface, a process is performed on the diffused wanderers so that the number of wanderers after the iterative process is kept constant.
14. The method according to claim 13, wherein: The process capable of keeping the number of wanderers after the iterative process constant includes at least one of the following: When the weight of the walker is greater than a specific threshold, the walker is copied, wherein the weights of the two copied walkers are half of the weight of the original walker, and the two walkers with the lowest weight are retained for merging; and When the weight of a walker is greater than a specific threshold, the walker is copied, wherein the weights of the two copied walkers are half of the weight of the original walker, and the copied walker replaces the walker eliminated in the merging process at the same time.
15. The method according to any one of claims 12 to 14, wherein: The processing of the walkers is performed in a distributed manner on a plurality of computing nodes, at least one of the computing nodes comprises a graphics processing unit, and the processing of a portion of the walkers is performed on each computing node, respectively, and The processing of the walkers is performed iteratively, and the processing of the walkers is performed so that after each iterative processing, the number of walkers on at least the computing node including the graphics processing unit remains constant.
16. A data processing device for a quantum chemical system, the device comprising: An acquisition unit is configured to acquire a specific wave function applicable to a quantum chemical system and constructed based on a neural network, wherein the specific wave function includes a wave function characterizing an electronic state in the quantum chemical system; A wandering particle processing unit is configured to perform wandering particle processing based on the specific wave function, wherein the wandering particle contains electronic property information in the chemical system, and wherein the wandering particle processing includes wandering particle diffusion processing, and An information generating unit is configured to determine relevant information of chemical properties of the quantum chemical system based on the specific wave function and the processed wanderer, Wherein, the wandering sub-processing unit is further configured as follows: Based on the node surface of the specific wave function, the node surface is subjected to a crossing detection on the diffused wanderer; In the case that it is not detected that the diffused wanderer crosses the node surface, further processing is performed on the diffused wanderer, the further processing including any one of multiplication, merging and no-operation processing.
17. A data processing device for a quantum chemical system, the device comprising: An acquisition unit, which acquires a specific wave function applicable to a quantum chemical system, wherein the specific wave function includes a wave function characterizing an electronic state in the quantum chemical system; a wandering particle processing unit, which performs wandering particle processing based on the specific wave function, wherein the wandering particles contain electronic property information in the chemical system, and wherein the wandering particle processing includes a diffusion processing of the wandering particles, and the wandering particle processing is further performed so that the number of wandering particles remains constant during the processing, and An information generating unit determines information related to chemical properties of a quantum chemical system based on the specific wave function and the processed wanderer, The wanderer processing unit is further configured to perform both multiplication and merging processing on the wanderers, and the increase in the number of wanderers caused by the multiplication processing will offset the decrease in the number of wanderers caused by the merging processing, so that the number of wanderers remains constant.
18. An electronic device comprising: Memory; and A processor coupled to the memory, wherein the memory stores executable instructions, and when the instructions are executed by the processor, the electronic device executes the method according to any one of claims 1-15.
19. A computer-readable storage medium having executable instructions stored thereon, wherein the instructions are executed by a processor to implement the method according to any one of claims 1 to 15.
