Molecular docking mode determination method and related device

The evaluation function and target quantum circuit are constructed through the quantum computing system, which drives the evolution of quantum bits, solves the problem of huge candidate search space in the molecular docking process, and realizes efficient determination of the optimal docking method.

CN118917425AActive Publication Date: 2024-11-08ORIGIN QUANTUM COMPUTING TECH (HEFEI) CO LTD

Patent Information

Application Number
CN202310508565.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-06
Publication Date
2024-11-08
Estimated Expiration
2043-05-06

AI Technical Summary

Technical Problem

The candidate search space is huge during the molecular docking process, which leads to low computing power efficiency of classical computers and it is difficult to quickly determine the optimal docking method.

Method used

Using a quantum computing system, by obtaining data that characterizes receptors and ligands, building evaluation functions, generating target quantum circuits, driving qubit evolution, and obtaining the optimal docking method.

Benefits of technology

The determination efficiency of molecular docking method is improved, and the computing power advantages of quantum computing are used to quickly compare the docking method, which significantly improves the computing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118917425A_ABST
    Figure CN118917425A_ABST
Patent Text Reader

Abstract

The invention discloses a molecular docking mode determination method and a related device. The method comprises the following steps: obtaining first data representing a receptor and second data representing a ligand; obtaining a coefficient of an evaluation function and initial state data representing an initial quantum state by using the first data and the second data; building data is generated based on the obtained coefficients of the evaluation function, and the building data comprises data needed for building the target quantum circuit; exciting a quantum bit to an initial quantum state represented by the initial state data; using a target quantum circuit constructed by the construction data to drive a plurality of quantum bits in the initial quantum state to evolve, and obtaining target state data representing a target quantum state; and obtaining an optimal docking mode between the receptor and the ligand according to the target state data. According to the embodiment of the invention, the efficiency of determining the molecular docking mode is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of quantum computing technology, and in particular to a method for determining a molecular docking mode and a related device. Background Art

[0002] Molecular docking is a computational technique that allows receptors and ligands to recognize each other through energy matching, spatial matching, and chemical property matching to form molecular complexes and predict the structure of the complexes. In recent years, molecular docking has become an important technology in the field of computer-assisted drug research.

[0003] The basic principle of molecular docking is to search for all possible docking methods of molecules, and then select the best docking method by comparing each docking method. Since the candidate search space in the molecular docking process is very large and is limited by the computing power of classical computers, the efficiency achieved by existing technologies is not high. Summary of the invention

[0004] The purpose of this application is to provide a method for determining a molecular docking mode and a related device, aiming to improve the efficiency of determining the docking mode.

[0005] One embodiment of the present application provides a method for determining a molecular docking mode, which is applied to a quantum computing system, and the method includes:

[0006] obtaining first data characterizing the receptor and second data characterizing the ligand;

[0007] Using the first data and the second data, obtaining coefficients of an evaluation function and initial state data characterizing an initial quantum state, wherein the evaluation function is used to evaluate a docking mode corresponding to the receptor and the ligand, and the initial state data includes the docking mode;

[0008] Generate construction data based on the obtained coefficients of the evaluation function, wherein the construction data includes data required to construct a target quantum circuit;

[0009] Exciting the quantum bit to an initial quantum state represented by the initial state data;

[0010] Using the target quantum circuit constructed by the construction data, driving multiple quantum bits in the initial quantum state to evolve, and obtaining target state data representing the target quantum state;

[0011] According to the target state data, the optimal docking mode between the receptor and the ligand is obtained.

[0012] Optionally, the using the first data and the second data to obtain coefficients of an evaluation function includes:

[0013] Using the first data and the second data, obtaining coefficients of a scoring function and coefficients of a conflict function, wherein the scoring function is a function for scoring the docking mode, and the conflict function is a function for determining whether the docking mode is reasonable;

[0014] Based on the scoring function, the conflict function and the relationship between the scoring functions, the coefficients of the scoring function and the coefficients of the conflict function are processed to obtain the coefficients of the evaluation function.

[0015] Optionally, the using the first data and the second data to obtain coefficients of a scoring function and coefficients of a conflict function includes:

[0016] Using the first data and the second data, obtaining a first spatial distance between the groups of the receptor, a second spatial distance between the groups of the ligand, and a binding energy between the groups of the receptor and the groups of the receptor;

[0017] Determining whether a pairing is reasonable using the first spatial distance, the second spatial distance, and the target action distance, wherein a pairing consists of a group in the receptor and a group in the ligand, a pairing includes two groups in the receptor and two groups in the ligand, and a docking method consists of a pairing;

[0018] Based on whether the pairing of all groups is reasonable, the coefficient of the conflict function is obtained;

[0019] The coefficients of the scoring function are obtained using the binding energies corresponding to all pairs.

[0020] Optionally, the step of obtaining the coefficients of the scoring function by using the binding energies corresponding to all the pairs includes:

[0021] Using the binding energies corresponding to all pairs, we can obtain the score of each pair.

[0022] Using the obtained scoring scores, the correction factor for each pairing is determined;

[0023] Based on all the scoring scores and the correction coefficients, coefficients of the scoring function are obtained.

[0024] Optionally, the target interaction distance is determined according to the group type;

[0025] The coefficients of the scoring function, the coefficients of the conflict function, and the coefficients of the evaluation function are in matrix form;

[0026] The diagonal elements in the coefficients of the scoring function are scoring scores, and the off-diagonal elements are correction coefficients;

[0027] QE=QS+αQC

[0028] Among them, QE is the coefficient of the evaluation function, QS is the coefficient of the scoring function, QC is the coefficient of the conflict function, and α=max{|QS|.

[0029] Optionally, the initial state data is obtained in the following manner:

[0030] From all the pairs, select the pairs whose scores are less than the preset value;

[0031] Based on the screened pairings, initial state data representing the initial quantum state is generated.

[0032] Another embodiment of the present application further provides a method for determining a molecular docking mode, which is applied to a basic computing unit in a quantum computing system, wherein the quantum computing system further includes a quantum computing unit, and the method includes:

[0033] obtaining first data characterizing the receptor and second data characterizing the ligand;

[0034] Using the first data and the second data, obtaining coefficients of an evaluation function and initial state data characterizing an initial quantum state, wherein the evaluation function is used to evaluate a docking mode corresponding to the receptor and the ligand, and the initial state data includes the docking mode;

[0035] Based on the obtained coefficients of the evaluation function, generating construction data for constructing a target quantum circuit;

[0036] The initial state data and the construction data are sent to the quantum computing unit to instruct the quantum computing unit to determine the target quantum circuit based on the construction data; to excite the quantum bit to the initial quantum state represented by the initial state data; to drive the multiple quantum bits in the initial quantum state to evolve using the target quantum circuit to obtain target state data representing the target quantum state, wherein the target quantum state includes the quantum state of the quantum bit when the evolution satisfies the specified conditions;

[0037] The target state data sent by the quantum computing unit is used to obtain the optimal docking mode between the receptor and the ligand.

[0038] Another embodiment of the present application further provides a method for determining a molecular docking mode, which is applied to a quantum computing unit in a quantum computing system, wherein the quantum computing system further includes a basic computing unit, and the method includes:

[0039] Obtaining initial state data and construction data sent by the basic computing unit, wherein the initial state data includes a docking mode corresponding to the receptor and the ligand, and the construction data is generated based on coefficients of an evaluation function, wherein the evaluation function is used to evaluate the docking mode corresponding to the receptor and the ligand, and the coefficients of the evaluation function are obtained using first data characterizing the receptor and second data characterizing the ligand;

[0040] Determining the target quantum circuit based on the construction data;

[0041] Exciting the quantum bit to an initial quantum state represented by the initial state data;

[0042] Using the target quantum circuit, driving multiple quantum bits in the initial quantum state to evolve, and obtaining target state data representing the target quantum state, wherein the target quantum state includes the quantum state when the evolution of the quantum bit meets the specified conditions;

[0043] The target state data is sent to the basic computing unit, so that the basic computing unit obtains the optimal docking mode between the receptor and the ligand according to the target state data.

[0044] Another embodiment of the present application further provides a device for determining a molecular docking mode, which is applied to a quantum computing system, and the device includes:

[0045] A first acquisition module is used to obtain first data characterizing the receptor and second data characterizing the ligand;

[0046] A second obtaining module is used to obtain coefficients of an evaluation function and initial state data representing an initial quantum state using the first data and the second data, wherein the evaluation function is used to evaluate a docking mode corresponding to the receptor and the ligand, and the initial state data includes the docking mode;

[0047] A generating module, used to generate construction data based on the obtained coefficients of the evaluation function, wherein the construction data includes data required to construct a target quantum circuit;

[0048] An excitation module, used to excite the quantum bit to an initial quantum state represented by the initial state data;

[0049] An evolution module, configured to drive a plurality of quantum bits in the initial quantum state to evolve using the target quantum circuit constructed by the construction data, so as to obtain target state data representing the target quantum state;

[0050] The third acquisition module is used to obtain the optimal docking mode between the receptor and the ligand according to the target state data.

[0051] Another embodiment of the present application further provides a device for determining a molecular docking mode, which is applied to a basic computing unit in a quantum computing system, and the device includes:

[0052] A first acquisition module is used to obtain first data characterizing the receptor and second data characterizing the ligand;

[0053] A second obtaining module is used to obtain coefficients of an evaluation function and initial state data representing an initial quantum state using the first data and the second data, wherein the evaluation function is used to evaluate a docking mode corresponding to the receptor and the ligand, and the initial state data includes the docking mode;

[0054] A generating module, used to generate construction data based on the obtained coefficients of the evaluation function, wherein the construction data includes data required to construct a target quantum circuit;

[0055] A sending module, used to send the initial state data and the construction data to the quantum computing unit, and used to instruct the quantum computing unit to determine the target quantum circuit based on the construction data; excite the quantum bit to the initial quantum state represented by the initial state data; use the target quantum circuit to drive multiple quantum bits in the initial quantum state to evolve, and obtain target state data representing the target quantum state, wherein the target quantum state includes the quantum state of the quantum bit when the evolution meets the specified conditions;

[0056] The third acquisition module is used to obtain the optimal docking mode between the receptor and the ligand according to the target state data.

[0057] Another embodiment of the present application further provides a device for determining a molecular docking mode, which is applied to a quantum computing unit in a quantum computing system, and the device includes:

[0058] a fourth acquisition module, configured to obtain initial state data and construction data sent by the basic computing unit, wherein the initial state data includes a docking mode corresponding to the receptor and the ligand, and the construction data is generated based on coefficients of an evaluation function, wherein the evaluation function is used to evaluate the docking mode corresponding to the receptor and the ligand, and the coefficients of the evaluation function are obtained using first data characterizing the receptor and second data characterizing the ligand;

[0059] A determination module, configured to determine the target quantum circuit based on the construction data;

[0060] An excitation module, used to excite the quantum bit to an initial quantum state represented by the initial state data;

[0061] An evolution module, used to drive the multiple quantum bits in the initial quantum state to evolve using the target quantum circuit, and obtain target state data representing the target quantum state, wherein the target quantum state includes the quantum state when the evolution of the quantum bit meets the specified conditions;

[0062] The sending module is used to send the target state data to the basic computing unit, so that the basic computing unit obtains the optimal docking mode between the receptor and the ligand according to the target state data.

[0063] An embodiment of the present application provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the method described in the above embodiment when executing the computer program.

[0064] An embodiment of the present application provides a computer-readable storage medium having computer program instructions stored thereon, and when the program is executed by a processor, the method described in the above embodiment is implemented.

[0065] Compared with the prior art, the various implementation methods provided by the present application obtain the coefficients of the evaluation function and the initial state data representing the initial quantum state by using the first data representing the receptor and the second data representing the ligand; generate construction data based on the coefficients of the evaluation function obtained; excite the quantum bit to the initial quantum state represented by the initial state data; use the target quantum circuit constructed by the construction data to drive multiple quantum bits in the initial quantum state to evolve, and obtain the target state data representing the target quantum state; obtain the optimal docking method between the receptor and the ligand according to the target state data. The data required for quantum computing is obtained by the first data and the second data, and then the advantage of quantum computing in computing power can be used to relatively quickly determine the docking method, thereby improving the efficiency of determining the docking method. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] Figure 1 is a schematic diagram of the structure of a quantum computing system provided in an embodiment of the present application;

[0067] Figure 2 A schematic diagram of a method for determining a molecular docking mode provided in an embodiment of the present application;

[0068] Figure 3 A schematic flow chart of another method for determining a molecular docking method provided in an embodiment of the present application;

[0069] Figure 4 A schematic flow chart of another method for determining a molecular docking mode provided in an embodiment of the present application;

[0070] Figure 5A schematic diagram of the structure of a device for determining a molecular docking mode provided in an embodiment of the present application;

[0071] Figure 6 A schematic diagram of the structure of another device for determining a molecular docking method provided in an embodiment of the present application;

[0072] Figure 7 A schematic diagram of the structure of another device for determining a molecular docking mode provided in an embodiment of the present application. DETAILED DESCRIPTION

[0073] The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and should not be construed as limiting the present application.

[0074] A method for determining a molecular docking method provided in an embodiment of the present application can be Figure 1 The quantum computing system implementation shown may include a basic computing unit and a quantum computing unit.

[0075] The basic computing unit may be an electronic device with certain computing and processing capabilities. Specifically, for example, the basic computing unit may include a desktop computer, a tablet computer, a laptop computer, a smart phone, a smart TV, and a smart wearable device. The basic computing unit may have a network communication module, a processor, and a memory.

[0076] A quantum computing unit can be a device that uses the characteristics of quantum mechanics to realize quantum computing. Specifically, the quantum computing unit can use the quantum state of the quantum bit as a data carrier and realize data processing based on the linear superposition principle of the quantum state. For example, the quantum computing unit can be a superconducting quantum bit control circuit realized based on ultra-low temperature technology. Alternatively, the quantum computing unit can be a quantum bit control circuit built by quantum well technology. Of course, the quantum computing unit can also be an optical quantum integrated chip, etc.

[0077] The basic computing unit and the quantum computing unit can communicate with each other. For example, the basic computing unit and the quantum computing unit can communicate with each other through a wired connection. Alternatively, the basic computing unit and the quantum computing unit can communicate wirelessly through a network communication module. The network communication module can provide a communication link between various devices connected together in the quantum computing system. The network used for communication includes but is not limited to the Internet, an intranet, a local area network, a mobile communication network and a combination thereof. The connection method can be a wired or wireless communication link or an optical fiber cable.

[0078] Based on the existing computer architecture, the basic computing unit may include a server and a workstation. The server may be a distributed server, which may be a system with multiple processors, memories, network communication modules, etc. operating in coordination. Alternatively, the server may also be a server cluster formed by several servers.

[0079] In some embodiments, the basic computing unit may be a middleware server for allocating designated computing tasks to quantum computing units for processing.

[0080] In some embodiments, the basic computing unit can also serve as a client. Alternatively, the basic computing unit can be deployed with client software. The basic computing unit can send a specified computing task to the quantum computing unit for processing, and receive the processing result of the computing task fed back by the quantum computing unit.

[0081] In some embodiments, the basic computing unit and the quantum computing unit may form a server together. The basic computing unit may communicate with a client or other server to receive computing tasks provided by the client or other server and send them to the quantum computing unit for processing.

[0082] The quantum computing system may also include a storage unit, which may store data such as quantum bit parameters, quantum logic gate parameters, quantum circuits, and quantum programs.

[0083] Any data or information stored or generated in the basic computing unit (quantum computing unit) can also be configured to be stored or generated in another classical (quantum) processing system in a similar manner, and any application program executed by it can also be configured to be executed in another classical (quantum) processing system in a similar manner.

[0084] The above-mentioned basic computing unit and quantum computing unit can be integrated into one device or distributed in two different devices. For example, the first device including the basic computing unit runs a classical computer operating system, on which quantum application development tools and services are provided, as well as storage and network services required for quantum applications. Users develop quantum applications through the quantum application development tools and services thereon, and send quantum programs to the second device including the quantum computing unit through the network services thereon. The second device runs a quantum computer operating system, parses the code of the quantum program through the quantum computer operating system, and compiles it into instructions that can be recognized and executed by the quantum computer measurement and control system. The quantum processor implements the quantum algorithm corresponding to the quantum program according to the instructions.

[0085] In the basic computing unit based on silicon chip, the unit of the classic processor is CMOS tube, which is not limited by time and coherence, that is, this computing unit is not limited by the length of use and can be used at any time. In addition, in silicon chip, the number of such computing units is also sufficient. At present, the number of computing units in a classic processor is tens of thousands. The number of computing units is sufficient and the computing logic that can be selected by CMOS tube is fixed, for example: AND logic. When calculating with the help of CMOS tube, a large number of CMOS tubes are combined with limited logic functions to achieve the computing effect.

[0086] Unlike this logic unit in the basic computing unit, the basic computing unit of the quantum processor in the quantum computing unit is the quantum bit. The input of the quantum bit is limited by coherence and coherence time, that is, the quantum bit is limited by the length of use and is not available at any time. Making full use of the quantum bit within the available use time of the quantum bit is a key problem in quantum computing. In addition, the number of quantum bits in a quantum computer is one of the representative indicators of the performance of the quantum computer. Each quantum bit realizes the computing function through the logical function configured on demand. Given that the number of quantum bits is limited, the logical functions in the field of quantum computing are diverse, such as: Hadamard gate (H gate), Pauli-X gate (X gate), Pauli-Y gate (Y gate), Pauli-Z gate (Z gate), X gate, RY gate, RZ gate, CNOT gate, CR gate, iSWAP gate, Toffoli gate, etc. In quantum computing, it is necessary to use limited quantum bits combined with a variety of logical function combinations to achieve the computing effect. Based on these differences, the design of the logical function on the quantum bit (including the design of whether the quantum bit is used and the design of the efficiency of each quantum bit) is the key to improving the computing performance of quantum computers, and requires special design. The above-mentioned design for quantum bits is a technical problem that ordinary computing devices do not need to consider or face.

[0087] See also Figure 2 , Figure 2 A schematic flow chart of a method for determining a molecular docking mode provided in an embodiment of the present application may include the following steps:

[0088] S201: Obtain first data characterizing a receptor and second data characterizing a ligand.

[0089] Receptor refers to any biological macromolecule that can bind to hormones, neurotransmitters, drugs or intracellular signal molecules and cause changes in cell function. Ligand refers to a substance that has the ability to recognize and bind to a receptor. Receptors can recognize and specifically bind to biologically active chemical signal substances (ligands), thereby activating or initiating a series of biochemical reactions, and finally leading to specific biological effects of the signal substance. The first data (second data) can be an identifier for identifying a receptor (ligand), a receptor (ligand) code, a receptor (ligand) name, or a receptor (ligand) molecular structure, etc. Specifically, the first data (second data) can be imported from the outside based on the user's operation, or can be selected by the user in the receptor (ligand) list provided by the quantum computing system, or can be obtained by the user by drawing a molecular structure based on the function provided by the quantum computing system. The second data can be obtained in the same way as the first data, or in a different way from the first data. The specific way of obtaining the first data and the second data is related to the operation mode supported by the quantum computing system.

[0090] S202: Using the first data and the second data, obtain coefficients of an evaluation function and initial state data characterizing an initial quantum state, wherein the evaluation function is used to evaluate a docking mode corresponding to the receptor and the ligand, and the initial state data includes the docking mode.

[0091] The evaluation function is a mathematical function model that evaluates the pros and cons of the docking methods corresponding to the receptor and the ligand. Based on different evaluation angles and evaluation methods, the obtained evaluation functions may be different. The evaluation function can be pre-input through the quantum computing system, or it can be automatically generated by the quantum computing system according to preset rules, or it can be selected from the functions provided by the quantum computing system.

[0092] Through the first data and the second data, data related to the receptor and the ligand can be called, and the coefficients of the evaluation function can be calculated through the called data, or the coefficients of the evaluation function can be directly called. There may be a lot of docking modes for a receptor and a ligand. Based on the first data and the second data, all or part of the docking modes between the receptor and the ligand can be obtained, and based on these docking modes, initial state data is generated.

[0093] S203: Generate construction data based on the obtained coefficients of the evaluation function, wherein the construction data includes data required to construct the target quantum circuit.

[0094] The quantum computing system can simulate the evaluation function, specifically the Hamiltonian after the evaluation function is converted. The variational parameters in the target quantum circuit are related to the coefficients of the Hamiltonian, which are obtained based on the coefficients of the evaluation function and the conversion method. Based on the calculated coefficients, construction data can also be generated. The construction data includes the relationship between quantum bits and quantum logic gates, as well as the order of changing the quantum bit states using quantum logic gates and the data required to determine the parameters of the quantum logic gates containing parameters.

[0095] S204: Excite the quantum bit to an initial quantum state represented by the initial state data.

[0096] In the embodiment of the present application, a quantum logic gate or a combination of quantum logic gates can be used to change the state of a quantum bit so that the state corresponding to all quantum bits is the initial quantum state.

[0097] S205: Using the target quantum circuit constructed by the construction data, driving multiple quantum bits in the initial quantum state to evolve, and obtaining target state data representing the target quantum state.

[0098] The target quantum circuit may include a quantum logic gate, which may indicate an evolution operation on a quantum bit, so that the quantum state of the quantum bit changes. When the operation indicated by the quantum logic gate is executed, a corresponding stimulus needs to be applied to the quantum bit for the corresponding quantum logic gate.

[0099] The target state data is the state data corresponding to the target quantum state when the evolution meets the specified conditions. The coefficient of the Hamiltonian is related to the rotation angle of the quantum logic gate in the quantum logic gate in the target quantum circuit. Different rotation angles have different effects on the quantum state. The quantum bits in the initial quantum state are evolved using the quantum logic gates in the target quantum circuit, and the initial quantum state changes with the evolution. When the current evolution does not meet the specified conditions, the parameters in the target quantum circuit are changed and the evolution is repeated. Because the parameters are different, the results of the evolution are different. The evolution is repeated in this way until the evolution meets the specified conditions. When the evolution meets the specified conditions, the quantum state of the quantum bit is currently in is used as the target quantum state.

[0100] The specified conditions are used to measure whether the optimal or sufficiently good docking method is determined. Sufficiently good means being relatively close to the optimal and can meet the needs of further research based on the docking method. In some cases, it can be equivalent to the optimal. When a sufficiently good docking method is obtained, the evolution is stopped, which can save computing resources, reduce the time required for determination, and improve efficiency. The specified conditions can be set based on the computing power of the quantum computing system, or can be set based on other conditions. Specifically, the specified conditions can be a combination of one or more of these conditions: the number of evolutions reaches a preset threshold; the difference between the value of the loss function obtained after the evolution of the target quantum circuit and the value of the loss function after the previous evolution is within a preset range; the difference between the result value obtained after the evolution of the target quantum circuit and the preset value is within a preset range; the quantum state obtained after the evolution of the target quantum circuit has an eigenstate with a probability value greater than the preset probability value; the same eigenstate with a probability within the preset probability range exists in the quantum state after the continuous preset number of evolutions. It should be noted that the specified conditions can also be other conditions for determining the convergence of the evolution, which will not be listed here.

[0101] The following is an explanation of the technical terms involved in the specified conditions:

[0102] The loss function is related to the energy of the evolved quantum state. It can be a function corresponding to energy expectation, a Gibbs function, or other functions such as energy expectation and Fisher information sampled by CVaR (Conditional Value at Risk). Specifically, it can be selected according to the actual situation. The evolved quantum state is quantum measured, and the loss function is used to calculate based on the measurement results to obtain the value of the loss function.

[0103] In quantum computing, the basic unit of information is the quantum bit. A quantum bit has two states, 0 and 1, denoted as |0> and |1>, but it can be in a superposition state of the two states 0 and 1, which can be expressed as |ψ>=a|0>+b|1>, where a and b are complex numbers representing the amplitude (probability amplitude) of the |0> state and |1> state, which is not available in classical bits. After measurement, the state of the quantum bit will collapse to a certain state (eigenstate, here |0> state, |1> state), where the probability of collapsing to |0> is |a| 2 , the probability of collapsing to |1> is |b| 2 ,|a| 2 +|b| 2 =1, |> is the Dirac symbol.

[0104] The quantum state is generally described by a set of orthogonal and complete eigenstates. Usually, the eigenstates are represented in binary in quantum algorithms (or quantum programs). For example, a set of quantum bits is q0, q1, q2, representing the 0th, 1st, and 2nd quantum bits, and the order from high to low is q2q1q0. The quantum state of this set of quantum bits is the superposition of 8 eigenstates. The 8 eigenstates are: |000>, |001>, |010>, |011>, |100>, |101>, |110>, |111>, and each eigenstate corresponds to the quantum bit. For example, in the |000> state, 000 corresponds to q2q1q0 from high to low. In short, the quantum state is a superposition of eigenstates. When the probability of other eigenstates is 0, it is in one of the definite eigenstates.

[0105] After the quantum computing system stops evolving, the target quantum state is processed into target state data. For example, the target quantum state is |ψ>=|00000>+b|00001>+…+λ|11111>, then the corresponding target state data can be composed of a00000, b00001, …, λ11111.

[0106] S206: Obtaining an optimal docking mode between the receptor and the ligand according to the target state data.

[0107] The target state data includes state data corresponding to the eigenstates in the target quantum state and the complex number of probability amplitudes of the eigenstates. Each eigenstate corresponds to one state data, and one state data corresponds to one docking mode. In the embodiment of the present application, the docking mode corresponding to the state data with the maximum probability can be used as the optimal docking mode between the receptor and the ligand.

[0108] It can be seen that the embodiment of the present application obtains the coefficients of the evaluation function and the initial state data representing the initial quantum state by using the first data representing the receptor and the second data representing the ligand; generates construction data based on the coefficients of the evaluation function; excites the quantum bit to the initial quantum state represented by the initial state data; uses the target quantum circuit constructed by the construction data to drive multiple quantum bits in the initial quantum state to evolve, and obtains the target state data representing the target quantum state; obtains the optimal docking method between the receptor and the ligand according to the target state data. The data required for quantum computing is obtained through the first data and the second data, and then the advantage of quantum computing in computing power can be used to relatively quickly determine the docking method, thereby improving the efficiency of determining the docking method.

[0109] In some possible implementations of the present application, the using the first data and the second data to obtain the coefficient of the evaluation function may include:

[0110] Using the first data and the second data, obtaining coefficients of a scoring function and coefficients of a conflict function, wherein the scoring function is a function for scoring the docking mode, and the conflict function is a function for determining whether the docking mode is reasonable;

[0111] Based on the scoring function, the conflict function and the relationship between the scoring functions, the coefficients of the scoring function and the coefficients of the conflict function are processed to obtain the coefficients of the evaluation function.

[0112] The evaluation function can be used to evaluate the conformation of the molecule after docking, and then determine whether the optimal docking method is obtained. The evaluation function includes a conflict function based on the spatial distance of the group and a scoring function based on the binding energy between the groups. Using the first data and the second data, the spatial distance of the receptor group, the spatial distance between the ligand groups, and the binding energy between the receptor group and the ligand group can be obtained respectively. For a molecule, a group refers to an atomic group or atomic cluster with a specific structure and function. The group is generally determined based on the chemical structure and properties of the molecule, the interaction mode, the activity and efficacy data of the molecule, etc. The group can be determined by chemical means, and then the determined group and the data corresponding to the group are pre-stored in a storage unit that can be directly or indirectly accessed by the quantum computing system. When the data is stored in the storage unit, before the molecular docking method is determined, when the quantum computing system can process or is in an idle state, the data corresponding to the group is processed to calculate the coefficient of the evaluation function. When the quantum computing system needs to obtain the coefficient of the evaluation function, it accesses the storage unit to obtain the coefficient. Of course, the quantum computing system can process the data corresponding to the group to obtain the coefficients of the calculation function and the coefficients of the conflict function, or can also obtain data for calculating the coefficients of the scoring function and the coefficients of the conflict function. The quantum computing system processes the data corresponding to the group in advance, which can reduce the time required to calculate the coefficients of the evaluation function, and further reduce the time required to determine the optimal docking method, thereby improving the efficiency of determining the docking method.

[0113] Using the first data and the second data, the groups of the receptor and the groups of the ligand can be determined, and all possible pairings can be determined based on these groups. Using the obtained spatial distance, it is judged whether the pairing is reasonable, and then the coefficient of the conflict function can be determined. Based on the obtained binding energy, the pairing is scored to obtain the scoring coefficient. Because the evaluation function includes the scoring function and the conflict function, the coefficient of the evaluation function can be calculated according to the representation of the evaluation function using the coefficient of the scoring function and the coefficient of the conflict function.

[0114] In some possible implementations of the present application, the using the first data and the second data to obtain coefficients of a scoring function and coefficients of a conflict function may include:

[0115] Using the first data and the second data, obtaining a first spatial distance between the groups of the receptor, a second spatial distance between the groups of the ligand, and a binding energy between the groups of the receptor and the groups of the receptor;

[0116] Determining whether a pairing is reasonable using the first spatial distance, the second spatial distance, and the target action distance, wherein a pairing consists of a group in the receptor and a group in the ligand, a pairing includes two groups in the receptor and two groups in the ligand, and a docking method consists of a pairing;

[0117] Based on whether the pairing of all groups is reasonable, the coefficient of the conflict function is obtained;

[0118] The coefficients of the scoring function are obtained using the binding energies corresponding to all pairs.

[0119] The conflict function is constructed based on the spatial distance between the molecular groups. It is used to determine whether a certain conformation will tear the molecule apart, that is, to determine whether this conformation is reasonable from a physical point of view. Specifically, the spatial distance between the groups is used to determine whether the conformation is reasonable, and based on the reasonable result, the coefficient of the conflict function is obtained. Exemplarily, the spatial distance between the ligand groups can be obtained first, and the matrix DP can be constructed to represent the spatial distance between the ligand groups. If the ligand contains m groups, DP is an m*m matrix, and the i-th row and j-th column of the matrix represent the straight-line distance between the group Pi and the group Pj. Similarly, the spatial distance between the receptor groups is obtained, and the matrix DS is constructed. The x-th row and y-th column of the matrix represent the straight-line distance between the group Sx and the group Sy.

[0120] The conflict function determines whether there is a spatial distance conflict for a given set of pairs, such as Pi-Sx~Pj-Sy, and the judgment principle is based on the target action distance d. d is a fixed value, which can be directly obtained by those skilled in the art based on existing research. According to relevant chemical principles, the specific value of d is determined by the group of groups, specifically, by the group type of the group of groups. Different group types may correspond to different target action distances, and the target action distances corresponding to different group types may be pre-stored in a storage unit accessible to the quantum computing system.

[0121] In an embodiment of the present application, the difference in distances corresponding to a set of pairs may be calculated using the following formula:

[0122] s=|DS xy -P ij |

[0123] When s is greater than 2d, no matter what position the four groups are in, simultaneous pairing of Pi-Sx to Pj-Sy cannot be achieved. Only when s is less than or equal to 2d, this pairing method is physically reasonable. Otherwise, due to the large difference in mutual distances, the corresponding group pairing cannot be achieved while ensuring the integrity of the molecular structure. The above is a way to determine whether the pairing of rigid molecules conflicts. The mutual distances DP and DS of the groups of rigid molecules are fixed. For semi-flexible molecules, the molecules can stretch or shrink within a certain limit, so that the mutual distances between groups can vary within the range of ±ε, and ε is called the flexibility of the molecule. For semi-flexible molecules, it is necessary to determine whether s is within the range of d±2ε, and then determine whether a set of pairings conflicts.

[0124] According to the above judgment criteria, the coefficients of the conflict function can be directly constructed from the DP and DS matrices. For any pairing Pi-Sx~Pj-Sy, it compares the size of s and d to determine whether this pairing conflicts. The coefficients of the conflict function can be in the form of a matrix, where the rows and columns of the matrix are the pairs of receptor and ligand groups. For a pairing, if there is a conflict, the element of the corresponding position in the matrix is ​​1, and if there is no conflict, the element of the corresponding position in the matrix is ​​0.

[0125] In the embodiment of the present application, the binding energy may be scored using a preset scoring rule to obtain a scoring coefficient.

[0126] In some possible implementations of the present application, the method of obtaining the coefficients of the scoring function by using the binding energies corresponding to all pairings includes:

[0127] Using the binding energies corresponding to all pairs, we can obtain the score of each pair.

[0128] Using the obtained scoring scores, the correction factor for each pairing is determined;

[0129] Based on all the scoring scores and the correction coefficients, coefficients of the scoring function are obtained.

[0130] The scoring function is divided into two parts: one is the contribution of independent paired groups to the total energy, and the other is the correction term of the total energy of the groups in pairs. Any group pairing, such as Pi-Sx, can be weighted and scored based on the corresponding binding energy to obtain a score. The lower the score, the more stable the corresponding pairing is, and the greater the contribution to the docking conformation. On the contrary, the higher the score or even a positive number, the worse the contribution to the docking conformation.

[0131] Since multiple groups may be in the same chemical structure, the binding of a pair of groups may affect the binding of nearby groups. Therefore, the total energy score of the docked conformation is not a simple addition of the weight scores of all pairs. Accurately calculating the total score of the docked conformation involves very complex calculations. In order to simplify the calculations, the total score of the conformation is estimated by energy correction of a set of pairs. For a set of pairs, such as Pi-Sx~Pj-Sy, the correction value of the sum of the scores of the independent pairs can be determined according to the chemical environment of the groups and the positions in the chemical structure. For example, if the binding energy score corresponding to Pi-Sx is E1, the binding energy score corresponding to Pj-Sy is E2, and the total binding energy score corresponding to Pi-Sx~Pj-Sy is E3, then the correction term ΔE=E3-(E1+E2). The specific calculation results of the scoring function need to be determined according to the group type and the relevant chemical principles. The data required to calculate the coefficients of the scoring function can be pre-stored in a storage unit accessible to the quantum computing system.

[0132] The coefficients of the scoring function include a binding energy score E corresponding to a pairing and an energy correction term ΔE corresponding to a group of pairs. The coefficients of the scoring function can be in the form of a matrix, where the rows and columns of the matrix are pairs of receptor and ligand groups, the diagonal elements in the coefficients of the scoring function are the scores of a pairing, and the non-diagonal elements are the correction coefficients for a group of pairs.

[0133] The scoring function can be the sum of the conflict function and the scoring function. Correspondingly, the relationship between the coefficients of the evaluation function, the coefficients of the scoring function and the coefficients of the conflict function can be expressed as:

[0134] QE=QS+αQC

[0135] Among them, QE is the coefficient of the evaluation function, QS is the coefficient of the scoring function, and QC is the coefficient of the conflict function. α=max{|QS|, which is the absolute value of the matrix element with the largest absolute value in the matrix QS. By setting α, the evaluation function excludes pairs with spatial distance conflicts.

[0136] In some possible implementations of the present application, the obtaining of initial state data characterizing the initial quantum state includes:

[0137] From all the pairs, select the pairs whose scores are less than the preset value;

[0138] Based on the screened pairings, initial state data representing the initial quantum state is generated.

[0139] The number of initial pairings is determined by the number of receptor groups and the number of ligand groups. If the number of receptor groups is m and the number of ligand groups is n, the number of initial pairings is m*n. By excluding pairings with poor contributions, the size of the solution space of the problem is reduced, so that the number of pairings actually considered is less than m*n, thereby reducing the number of quantum bits, and then the amount of quantum computing, and improving the efficiency of determining the docking method. The number of pairings after screening is the number of quantum bits. Based on this data, the initial state data representing the complete superposition state can be generated. For example, the number of pairings is 4, and the initial state data includes: 0000, 0001, 0010...1111, and each set of data also corresponds to an identical probability.

[0140] After being screened by the scoring function, there are N pairs in total, and any pairing such as Pi-Sx corresponds to a quantum bit x. k , then a total of N quantum bits are needed to determine the optimal docking method. Quantum bits can encode all pairings, so the conflict function and the scoring function are all about the quantum bit column vector X = (x 1 ,x 2 ,…,x N ). For any conformation corresponding to a docking method, the evaluation function can give the conformation evaluation score in a quadratic way: -X T ·QE·X. The optimal docking method is to find the docking method with the highest evaluation score (corresponding to the lowest total conformational energy). This method ultimately depends only on the chemical binding energy of a single group (corresponding to the first term in the quadratic form) and the spatial distance and chemical energy correction between the two groups (corresponding to the second term in the quadratic form). Since the quadratic function contains at most two bits of interaction, the quadratic function is very beneficial to the current quantum computer representation. It can be applied to various quantum chips that can run on noisy platforms, such as quantum annealing algorithms and quantum approximate optimization algorithms.

[0141] The following is a specific example to illustrate the relationship between the coefficients of the evaluation function and the coefficients of the Hamiltonian:

[0142]

[0143]

[0144]

[0145] In the binary function, we have Make a replacement The Hamiltonian is obtained:

[0146]

[0147] The relationship between the coefficients of the evaluation function and the coefficients of the Hamiltonian is obtained through the derivation in the above example.

[0148] In some possible implementations of the present application, the target quantum circuit may include:

[0149] A simulation circuit for simulating the evolution of the Hamiltonian;

[0150] An adjustment circuit for adjusting the probability of the quantum state evolving through the simulation circuit.

[0151] The Hamiltonian can be expanded into the sum of multiple sub-terms. By simulating each sub-term, a simulation circuit can be obtained. The role of the simulation circuit is to evaluate the quality of the solution corresponding to the quantum state (loss function), and the result is reflected in the phase change of the quantum state. The phase change of each quantum state is related to the size of its corresponding loss function, so it can also be called a phase separation circuit. After passing through the simulation circuit, although the quality of the solution corresponding to each quantum state is reflected in its phase, the phase cannot be directly measured, so the circuit needs to be adjusted to act again. With the help of the simulation circuit, the probability of higher energy states can be increased to achieve state transitions. The adjustment circuit can be constructed in different ways according to the situation. It should be noted that the simulation circuit contains at least one variational parameter, and the adjustment circuit also contains at least one variational parameter.

[0152] The entire target quantum circuit includes at least one simulation circuit and at least one adjustment circuit. The simulation circuit and the adjustment circuit appear alternately. One simulation circuit and one adjustment circuit can be regarded as one layer. One target quantum circuit can include multiple layers, and the number of layers can be artificially given. According to the specific design, the simulation circuit of each layer includes at least one variational parameter γ, and the target adjustment circuit also includes at least one variational parameter β. These variational parameters are related to the rotation angle of the revolving door in the circuit. The variational parameters of each layer can be different, and the number of parameters contained in each layer can also be different. Exemplarily, for a p-layer target quantum circuit, the variational parameter of the first layer simulation circuit can be γ1=(γ11,γ12,γ13), the variational parameter of the first layer adjustment circuit can be β1=(β11,β12,β13,β14), the variational simulation parameter of the second layer can be γ2=(γ21,γ22), and the variational parameter of the second layer adjustment circuit can be β2=(β21,β22,β23,β24,β25,β26), and so on.

[0153] The Hamiltonian only has single-body action terms and two-body action terms. The single-body action terms can be simulated by an RZ gate, and the two-body action terms can be simulated by two CNOT gates and one RZ gate. The rotation angle corresponding to the RZ gate is related to the variational parameters of the simulation circuit and the Hamiltonian coefficient. For example, the rotation angle corresponding to the RZ gate = 2*corresponding variational parameter*corresponding Hamiltonian coefficient.

[0154] The adjustment circuit can be implemented using an X mixer or an XY mixer, where the X mixer includes an RX gate. The XY mixer can be a Hamiltonian acting on a two-dimensional space consisting of two quantum bits, and the corresponding mathematical expression can be H M = 1 X 2 + 1 Y 2 The Hamiltonian can be decomposed into various unitary matrices or combinations of various quantum logic gates. Based on the pre-defined rules, the adjustment circuit is obtained by using various unitary matrices and quantum logic gates.

[0155] When the target quantum circuit is used to evolve the initial quantum state for the first time, the variational parameter is the initial parameter value, and the initial parameter value can be obtained by a variety of methods. When there is only one layer in the target quantum circuit, the scanning method can be used to determine the initial parameter value. Specifically, within the obtained variational parameter range, a series of parameter values ​​are obtained with a preset step size, and these parameter values ​​are used as parameter values ​​in the target quantum circuit. The initial quantum state is simulated respectively, and the final state is measured to obtain the function value of the loss function, and then the function value is compared. The parameter value corresponding to the minimum function value is selected as the initial parameter value. When the target quantum circuit includes multiple layers, but the number is small, the random method can be used to obtain the initial parameter value. Specifically, within the obtained parameter range, some parameter values ​​are randomly selected, and these parameter values ​​are used as the values ​​of the variational parameters of the target quantum circuit to obtain the corresponding loss function value. The initial parameter value is determined based on the value of the loss function. The initial parameter value can also be obtained by fine-tuning the parameter value obtained by solving other combinatorial optimization problems. Of course, it can also be obtained by other methods.

[0156] When the target quantum circuit contains more layers, the initial parameter values ​​of other layers can be obtained by using a parameter determination method based on the initial parameter values ​​obtained by the above method. The parameter determination method can be a linear interpolation method, a Fourier interpolation method, a value randomly guessed based on the initial parameter value, etc. It should be noted that if the target quantum circuit includes more than one variational parameter, the above method can be used to determine the initial parameter values ​​of these variational parameters respectively.

[0157] After the target quantum circuit is used to evolve the initial quantum state, it is determined whether the evolution meets the specified conditions. If not, it is necessary to update the value of the variational parameter in the target quantum circuit. Specifically, the optimizer can be used to update the variational parameter. The optimizer can optimize the variational parameter based on the value of the loss function or the energy expectation (the specific basis can be pre-set manually). The specific process of this step is related to the classical optimizer used. Specifically, the classical optimizer can use gradient optimization methods, non-gradient optimization methods, machine learning methods, etc. If there are more than one variational parameters, the corresponding parameter values ​​are updated respectively. When the target quantum circuit includes more than one variational parameter, the above method can be used to update the parameter values ​​of these variational parameters respectively. When the evolution meets the specified conditions, the measurement results of the quantum circuit are used as the target state data. It should be noted that the target quantum circuit used for each evolution in this application is the target quantum circuit corresponding to the latest variational parameter.

[0158] See also Figure 3 One embodiment of the present application provides a method for determining a molecular docking mode, which is applied to a basic computing unit in a quantum computing system, wherein the quantum computing system also includes a quantum computing unit, and the method includes:

[0159] S301: Obtain first data characterizing a receptor and second data characterizing a ligand.

[0160] S302: using the first data and the second data, calculating the coefficient of the evaluation function, and obtaining initial state data characterizing the initial quantum state, wherein the evaluation function is used to evaluate the conformation obtained by pairing the receptor and the ligand, and the initial state data includes the docking mode corresponding to the receptor and the ligand;

[0161] S303: generating construction data for constructing a target quantum circuit based on the coefficients of the obtained evaluation function;

[0162] S304: sending the initial state data and the construction data to the quantum computing unit, to instruct the quantum computing unit to determine the target quantum circuit based on the construction data; to excite the quantum bit to the initial quantum state represented by the initial state data; and to drive the plurality of quantum bits in the initial quantum state to evolve using the target quantum circuit, to obtain target state data representing the target quantum state, wherein the target quantum state includes the quantum state of the quantum bit when the evolution satisfies the specified conditions;

[0163] S305: Utilizing the target state data sent by the quantum computing unit, an optimal docking mode between the receptor and the ligand is obtained.

[0164] The basic computing unit can receive the first data, the second data and the instruction for determining the molecular docking mode input by the user. Specifically, if the basic computing unit is a client or is deployed with client software, it can directly receive the information input by the user. If the basic computing unit does not have the function of the client, the basic computing unit receives the information sent by the client through the network. When the basic computing unit receives the first data and the second data as corresponding identifications, it can obtain the coefficients of the calculation evaluation function or the data required for calculating the coefficients of the calculation evaluation function through the data stored in itself, or it can obtain the corresponding data through communication with other servers.

[0165] The basic computing unit processes classical computing, and the quantum computing unit processes the quantum computing part. The basic computing unit sends the initial state data and the coefficients of the evaluation function to the quantum computing unit, triggering the quantum computing unit to determine the docking method based on the received data using quantum computing. When the desired docking method is obtained, the quantum bits are measured to obtain the target state data, which contains the data corresponding to the currently determined optimal docking method. The target state data is sent to the basic computing unit, which processes the target state data and determines the optimal docking method.

[0166] The basic computing unit can handle more general computing tasks with relatively small computing power. The basic computing unit can complete the corresponding task in a shorter time. The quantum computing unit can be based on the target quantum circuit, utilize the entanglement of quantum bits, and cooperate with the parallelism of quantum mechanical evolution to relatively quickly obtain target state data containing corresponding data of the docking method. Therefore, the basic computing unit and the quantum computing unit cooperate with each other to relatively quickly complete the determination of the docking method, improve the determination efficiency, and also more flexibly realize the determination of the docking method.

[0167] In some possible implementations of the present application, the using the first data and the second data to obtain coefficients of an evaluation function includes:

[0168] Using the first data and the second data, obtaining coefficients of a scoring function and coefficients of a conflict function, wherein the scoring function is a function for scoring the docking mode, and the conflict function is a function for determining whether the docking mode is reasonable;

[0169] Based on the scoring function, the conflict function and the relationship between the scoring functions, the coefficients of the scoring function and the coefficients of the conflict function are processed to obtain the coefficients of the evaluation function.

[0170] In some possible implementations of the present application, the using the first data and the second data to obtain coefficients of a scoring function and coefficients of a conflict function includes:

[0171] Using the first data and the second data, obtaining a first spatial distance between the groups of the receptor, a second spatial distance between the groups of the ligand, and a binding energy between the groups of the receptor and the groups of the receptor;

[0172] Determining whether a pairing is reasonable using the first spatial distance, the second spatial distance, and the target action distance, wherein a pairing consists of a group in the receptor and a group in the ligand, a pairing includes two groups in the receptor and two groups in the ligand, and a docking method consists of a pairing;

[0173] Based on whether the pairing of all groups is reasonable, the coefficient of the conflict function is obtained;

[0174] The coefficients of the scoring function are obtained using the binding energies corresponding to all pairs.

[0175] In some possible implementations of the present application, the method of obtaining the coefficients of the scoring function by using the binding energies corresponding to all pairings includes:

[0176] Using the binding energies corresponding to all pairs, we can obtain the score of each pair.

[0177] Using the obtained scoring scores, the correction factor for each pairing is determined;

[0178] Based on all the scoring scores and the correction coefficients, coefficients of the scoring function are obtained.

[0179] In some possible embodiments of the present application, the target interaction distance is determined according to the group type;

[0180] The coefficients of the scoring function, the coefficients of the conflict function, and the coefficients of the evaluation function are in matrix form;

[0181] The diagonal elements in the coefficients of the scoring function are scoring scores, and the off-diagonal elements are correction coefficients;

[0182] QE=QS+αQC

[0183] Among them, QE is the coefficient of the evaluation function, QS is the coefficient of the scoring function, QC is the coefficient of the conflict function, and α=max{|QS|.

[0184] In some possible implementations of the present application, the initial state data is obtained by:

[0185] From all the pairs, select the pairs whose scores are less than the preset value;

[0186] Based on the screened pairings, initial state data representing the initial quantum state is generated.

[0187] In some possible implementations of the present application, after the quantum computing unit uses the target quantum circuit to perform an evolution, the obtained relevant data is sent to the basic computing unit. The basic computing unit determines whether the specified conditions are met. If so, the optimal docking method is determined based on the target state data. If new evolution is required, the basic computing unit updates the parameters based on the relevant data and transmits the updated variational parameters to the quantum computing unit. The quantum computing unit uses the target quantum circuit based on the new variational parameters to evolve multiple quantum bits in the initial quantum state again, and then sends the relevant data obtained after the evolution to the quantum computing unit.

[0188] See also Figure 4 One embodiment of the present application provides a method for determining a molecular docking mode, which is applied to a quantum computing unit in a quantum computing system, wherein the quantum computing system also includes a basic computing unit, and the method includes:

[0189] S401: Obtaining initial state data and construction data sent by the basic computing unit, wherein the initial state data includes a docking mode corresponding to the receptor and the ligand, and the construction data is generated based on coefficients of an evaluation function, wherein the evaluation function is used to evaluate the docking mode corresponding to the receptor and the ligand, and the coefficients of the evaluation function are obtained using first data characterizing the receptor and second data characterizing the ligand;

[0190] S402: Determine the target quantum circuit based on the construction data;

[0191] S403: Exciting the quantum bit to an initial quantum state represented by the initial state data;

[0192] S404: using the target quantum circuit to drive multiple quantum bits in the initial quantum state to evolve, and obtain target state data representing the target quantum state, wherein the target quantum state includes the quantum state when the evolution of the quantum bit meets the specified conditions;

[0193] S405: Sending the target state data to the basic computing unit, so that the basic computing unit obtains the optimal docking mode between the receptor and the ligand according to the target state data.

[0194] In some possible implementations of the present application, the target quantum circuit may include:

[0195] A simulation circuit for simulating the evolution of the Hamiltonian;

[0196] An adjustment circuit is used to adjust the probability corresponding to the quantum state evolved through the simulation circuit.

[0197] The basic computing unit can handle more general computing tasks with relatively small computing power. The basic computing unit can complete the corresponding task in a shorter time. The quantum computing unit can be based on the target quantum circuit, utilize the entanglement of quantum bits, and cooperate with the parallelism of quantum mechanical evolution to relatively quickly obtain target state data containing corresponding data of the docking method. Therefore, the basic computing unit and the quantum computing unit cooperate with each other to relatively quickly complete the determination of the docking method, improve the determination efficiency, and also more flexibly realize the determination of the docking method.

[0198] See also Figure 5 One embodiment of the present application further provides a device for determining a molecular docking mode, which is applied to a quantum computing system, and the device comprises:

[0199] A first acquisition module is used to obtain first data characterizing the receptor and second data characterizing the ligand;

[0200] A second obtaining module is used to obtain coefficients of an evaluation function and initial state data representing an initial quantum state using the first data and the second data, wherein the evaluation function is used to evaluate a docking mode corresponding to the receptor and the ligand, and the initial state data includes the docking mode;

[0201] A generating module, used to generate construction data based on the obtained coefficients of the evaluation function, wherein the construction data includes data required to construct a target quantum circuit;

[0202] An excitation module, used to excite the quantum bit to an initial quantum state represented by the initial state data;

[0203] An evolution module, configured to drive a plurality of quantum bits in the initial quantum state to evolve using the target quantum circuit constructed by the construction data, so as to obtain target state data representing the target quantum state;

[0204] The third acquisition module is used to obtain the optimal docking mode between the receptor and the ligand according to the target state data.

[0205] See also Figure 6 One embodiment of the present application further provides a device for determining a molecular docking mode, which is applied to a basic computing unit in a quantum computing system, and the device comprises:

[0206] A first acquisition module is used to obtain first data characterizing the receptor and second data characterizing the ligand;

[0207] A second obtaining module is used to obtain coefficients of an evaluation function and initial state data representing an initial quantum state using the first data and the second data, wherein the evaluation function is used to evaluate a docking mode corresponding to the receptor and the ligand, and the initial state data includes the docking mode;

[0208] A generating module, used to generate construction data based on the obtained coefficients of the evaluation function, wherein the construction data includes data required to construct a target quantum circuit;

[0209] A sending module, used to send the initial state data and the construction data to the quantum computing unit, and used to instruct the quantum computing unit to determine the target quantum circuit based on the construction data; excite the quantum bit to the initial quantum state represented by the initial state data; use the target quantum circuit to drive multiple quantum bits in the initial quantum state to evolve, and obtain target state data representing the target quantum state, wherein the target quantum state includes the quantum state of the quantum bit when the evolution meets the specified conditions;

[0210] The third acquisition module is used to obtain the optimal docking mode between the receptor and the ligand according to the target state data.

[0211] See also Figure 7 One embodiment of the present application further provides a device for determining a molecular docking mode, which is applied to a quantum computing unit in a quantum computing system, and the device includes:

[0212] a fourth acquisition module, configured to obtain initial state data and construction data sent by the basic computing unit, wherein the initial state data includes a docking mode corresponding to the receptor and the ligand, and the construction data is generated based on coefficients of an evaluation function, wherein the evaluation function is used to evaluate the docking mode corresponding to the receptor and the ligand, and the coefficients of the evaluation function are obtained using first data characterizing the receptor and second data characterizing the ligand;

[0213] A determination module, configured to determine the target quantum circuit based on the construction data;

[0214] An excitation module, used to excite the quantum bit to an initial quantum state represented by the initial state data;

[0215] An evolution module, used to drive the multiple quantum bits in the initial quantum state to evolve using the target quantum circuit, and obtain target state data representing the target quantum state, wherein the target quantum state includes the quantum state when the evolution of the quantum bit meets the specified conditions;

[0216] The sending module is used to send the target state data to the basic computing unit, so that the basic computing unit obtains the optimal docking mode between the receptor and the ligand according to the target state data.

[0217] Regarding the specific functions and effects achieved by the device for determining the molecular docking method, reference can be made to other embodiments of the specification for comparison and explanation, and no further description is given here. Each module in the device for determining the molecular docking method can be implemented in whole or in part by software, hardware, and a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.

[0218] The present application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the method for determining the molecular docking mode in any of the above embodiments when executing the computer program. The computer device may be a classical computer. The computer device may also be a quantum computer.

[0219] The present application also provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a computer, the computer executes the method for determining the molecular docking mode in any of the above-mentioned embodiments.

[0220] The present application also provides a computer program product comprising instructions, which, when executed by a computer, enables the computer to execute the method for determining the molecular docking mode in any of the above embodiments.

[0221] It should be understood that the specific examples in this application are only intended to help those skilled in the art to better understand the implementation methods of this application, rather than to limit the scope of this application.

[0222] It can be understood that the various embodiments described in this application can be implemented individually or in combination, and the embodiments of this application are not limited to this.

[0223] It can be understood that the processor of the embodiment of the present application can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method implementation can be completed by the hardware integrated logic circuit or software instructions in the processor. The above processor can be a general processor, a digital signal processor (DigitalSignal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiment of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or the hardware and software modules in the decoding processor are combined and executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0224] It is understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (programmable ROM, PROM), an erasable programmable read-only memory (erasable PROM, EPROM), an electrically erasable programmable read-only memory (EEPROM) or a flash memory. The volatile memory may be a random access memory (RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0225] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0226] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method implementation methods and will not be repeated here.

[0227] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0228] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for determining a molecular docking mode, characterized in that: Applied to a quantum computing system, the method comprises: obtaining first data characterizing the receptor and second data characterizing the ligand; Using the first data and the second data, obtaining coefficients of an evaluation function and initial state data characterizing an initial quantum state, wherein the evaluation function is used to evaluate a docking mode corresponding to the receptor and the ligand, and the initial state data includes the docking mode; Generate construction data based on the obtained coefficients of the evaluation function, wherein the construction data includes data required to construct a target quantum circuit; Exciting the quantum bit to an initial quantum state represented by the initial state data; Using the target quantum circuit constructed by the construction data, driving multiple quantum bits in the initial quantum state to evolve, and obtaining target state data representing the target quantum state; According to the target state data, the optimal docking mode between the receptor and the ligand is obtained.

2. The method according to claim 1, characterized in that The step of obtaining coefficients of an evaluation function by using the first data and the second data includes: Using the first data and the second data, obtaining coefficients of a scoring function and coefficients of a conflict function, wherein the scoring function is a function for scoring the docking mode, and the conflict function is a function for determining whether the docking mode is reasonable; Based on the scoring function, the conflict function and the relationship between the scoring functions, the coefficients of the scoring function and the coefficients of the conflict function are processed to obtain the coefficients of the evaluation function.

3. The method according to claim 2, characterized in that The using the first data and the second data to obtain coefficients of a scoring function and coefficients of a conflict function includes: Using the first data and the second data, obtaining a first spatial distance between the groups of the receptor, a second spatial distance between the groups of the ligand, and a binding energy between the groups of the receptor and the groups of the receptor; Determining whether a pairing is reasonable using the first spatial distance, the second spatial distance, and the target action distance, wherein a pairing consists of a group in the receptor and a group in the ligand, a pairing includes two groups in the receptor and two groups in the ligand, and a docking method consists of a pairing; Based on whether the pairing of all groups is reasonable, the coefficient of the conflict function is obtained; The coefficients of the scoring function are obtained using the binding energies corresponding to all pairs.

4. The method according to claim 3, characterized in that The method of using the binding energies corresponding to all pairs to obtain the coefficients of the scoring function includes: Using the binding energies corresponding to all pairs, we can obtain the score of each pair. Using the obtained scoring scores, the correction factor for each pairing is determined; Based on all the scoring scores and the correction coefficients, coefficients of the scoring function are obtained.

5. The method according to claim 4, characterized in that The target interaction distance is determined according to the group type; The coefficients of the scoring function, the coefficients of the conflict function, and the coefficients of the evaluation function are in matrix form; The diagonal elements in the coefficients of the scoring function are scoring scores, and the off-diagonal elements are correction coefficients; QE=QS+αQC Among them, QE is the coefficient of the evaluation function, QS is the coefficient of the scoring function, QC is the coefficient of the conflict function, and α=max{|QS|.

6. The method according to claim 4, characterized in that The initial state data is obtained by: From all the pairs, select the pairs whose scores are less than the preset value; Based on the screened pairings, initial state data representing the initial quantum state is generated.

7. A method for determining a molecular docking mode, characterized in that: A basic computing unit applied to a quantum computing system, wherein the quantum computing system further comprises a quantum computing unit, and the method comprises: obtaining first data characterizing the receptor and second data characterizing the ligand; Using the first data and the second data, obtaining coefficients of an evaluation function and initial state data characterizing an initial quantum state, wherein the evaluation function is used to evaluate a docking mode corresponding to the receptor and the ligand, and the initial state data includes the docking mode; Based on the obtained coefficients of the evaluation function, generating construction data for constructing a target quantum circuit; The initial state data and the construction data are sent to the quantum computing unit to instruct the quantum computing unit to determine the target quantum circuit based on the construction data; to excite the quantum bit to the initial quantum state represented by the initial state data; to drive the multiple quantum bits in the initial quantum state to evolve using the target quantum circuit to obtain target state data representing the target quantum state, wherein the target quantum state includes the quantum state of the quantum bit when the evolution satisfies the specified conditions; The target state data sent by the quantum computing unit is used to obtain the optimal docking mode between the receptor and the ligand.

8. A method for determining a molecular docking mode, characterized in that: A quantum computing unit applied to a quantum computing system, wherein the quantum computing system further comprises a basic computing unit, and the method comprises: Obtaining initial state data and construction data sent by the basic computing unit, wherein the initial state data includes a docking mode corresponding to the receptor and the ligand, and the construction data is generated based on coefficients of an evaluation function, wherein the evaluation function is used to evaluate the docking mode corresponding to the receptor and the ligand, and the coefficients of the evaluation function are obtained using first data characterizing the receptor and second data characterizing the ligand; Determining the target quantum circuit based on the construction data; Exciting the quantum bit to an initial quantum state represented by the initial state data; Using the target quantum circuit, driving multiple quantum bits in the initial quantum state to evolve, and obtaining target state data representing the target quantum state, wherein the target quantum state includes the quantum state when the evolution of the quantum bit meets the specified conditions; The target state data is sent to the basic computing unit, so that the basic computing unit obtains the optimal docking mode between the receptor and the ligand according to the target state data.

9. A device for determining a molecular docking mode, characterized in that: Applied to a quantum computing system, the device comprises: A first acquisition module is used to obtain first data characterizing the receptor and second data characterizing the ligand; A second obtaining module is used to obtain coefficients of an evaluation function and initial state data representing an initial quantum state using the first data and the second data, wherein the evaluation function is used to evaluate a docking mode corresponding to the receptor and the ligand, and the initial state data includes the docking mode; A generating module, used to generate construction data based on the obtained coefficients of the evaluation function, wherein the construction data includes data required to construct a target quantum circuit; An excitation module, used to excite the quantum bit to an initial quantum state represented by the initial state data; An evolution module, configured to drive a plurality of quantum bits in the initial quantum state to evolve using the target quantum circuit constructed by the construction data, so as to obtain target state data representing the target quantum state; The third acquisition module is used to obtain the optimal docking mode between the receptor and the ligand according to the target state data.

10. A device for determining a molecular docking mode, characterized in that: A basic computing unit used in a quantum computing system, the device comprising: A first acquisition module is used to obtain first data characterizing the receptor and second data characterizing the ligand; A second obtaining module is used to obtain coefficients of an evaluation function and initial state data representing an initial quantum state using the first data and the second data, wherein the evaluation function is used to evaluate a docking mode corresponding to the receptor and the ligand, and the initial state data includes the docking mode; A generating module, used to generate construction data based on the obtained coefficients of the evaluation function, wherein the construction data includes data required to construct a target quantum circuit; A sending module, used to send the initial state data and the construction data to the quantum computing unit, and used to instruct the quantum computing unit to determine the target quantum circuit based on the construction data; excite the quantum bit to the initial quantum state represented by the initial state data; use the target quantum circuit to drive multiple quantum bits in the initial quantum state to evolve, and obtain target state data representing the target quantum state, wherein the target quantum state includes the quantum state of the quantum bit when the evolution meets the specified conditions; The third acquisition module is used to obtain the optimal docking mode between the receptor and the ligand according to the target state data.

11. A device for determining a molecular docking mode, characterized in that: A quantum computing unit used in a quantum computing system, the device comprising: a fourth acquisition module, configured to obtain initial state data and construction data sent by the basic computing unit, wherein the initial state data includes a docking mode corresponding to the receptor and the ligand, and the construction data is generated based on coefficients of an evaluation function, wherein the evaluation function is used to evaluate the docking mode corresponding to the receptor and the ligand, and the coefficients of the evaluation function are obtained using first data characterizing the receptor and second data characterizing the ligand; A determination module, used to determine the target quantum circuit based on the construction data; An excitation module, used to excite the quantum bit to an initial quantum state represented by the initial state data; An evolution module, used to drive the multiple quantum bits in the initial quantum state to evolve using the target quantum circuit, and obtain target state data representing the target quantum state, wherein the target quantum state includes the quantum state when the evolution of the quantum bit meets the specified conditions; The sending module is used to send the target state data to the basic computing unit, so that the basic computing unit obtains the optimal docking mode between the receptor and the ligand according to the target state data.

12. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 8 is implemented.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Micro- or nano particle detecting method, involves subjecting light that is either emitted by stimulation or directly received in radiation-direction by absorption from suspension and / or dispersion to Opto-metric analysis

    AT503845A1

  • Lead compound discovery and synthesis method based on quantum group intelligent optimization

    CN109559786A

  • Molecular docking method and device based on coherent Isin machine

    CN114882940A

  • Molecular docking method and electronic equipment

    CN115547406A

  • Hybrid computational system of classical and quantum computing for drug discovery and methods

    US20210287773A1

Cited By

  • Molecular docking method, system and medium based on hybrid quantum algorithm

    CN122781417A