Binding energy prediction method based on quantum mutual learning mechanism

Through the quantum mutual learning mechanism, the problem of insufficient accuracy of traditional methods in calculating the binding free energy of drugs and targets is solved, a more efficient drug screening and design process is achieved, and the accuracy and efficiency of drug design are improved.

CN114512179BActive Publication Date: 2024-09-24TURINGQ CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210115064.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-02
Publication Date
2024-09-24
Estimated Expiration
2042-02-02

AI Technical Summary

Technical Problem

In the existing drug screening process, traditional methods cannot accurately calculate the binding free energy of drugs and targets when facing new protein structures or small molecules, resulting in low efficiency and high cost of drug design.

Method used

Using a binding energy prediction method based on the quantum mutual learning mechanism, the drug molecule and protein sequence data are integer encoded and dimensionally reduced, a reduced matrix is ​​generated, and 1D and 2D convolution encoding are performed, and the quantum mutual learning module is input for tensor product Computational and interactive learning, combined with fully connected neural networks for prediction.

Benefits of technology

It significantly improves the accuracy of drug-target binding energy prediction, reduces the need for training parameters and storage media, and achieves faster model convergence and a more efficient drug screening process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114512179B
    Figure CN114512179B
Patent Text Reader

Abstract

The present invention relates to a binding energy prediction method based on a quantum mutual learning mechanism. Drug molecule sequence data is processed into a feature matrix form, and protein sequence data is processed into a feature matrix form. The classical form of the feature matrix of the drug molecule sequence data is used for feature extraction, and the classical form of the feature matrix of the protein sequence data is used for feature extraction. The feature matrices of the drug molecule sequence data and the protein sequence data are respectively subjected to one-dimensional convolution and then quantum state encoding is implemented. The encoded data of the drug molecule sequence data and the protein sequence data are respectively subjected to quantum mutual learning based on quantum circuits and then processed into two types of relative information that have completed information interaction. The features extracted from the drug molecule sequence are spliced ​​with their relative information, and the features extracted from the protein sequence are spliced ​​with their relative information. The splicing results are respectively subjected to two-dimensional convolution and then secondary splicing is implemented. The secondary splicing results are input into a fully connected neural network and a linear rectification layer to obtain a binding energy prediction value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention mainly relates to the field of quantum computing, and more specifically, to a binding energy prediction method based on quantum mutual learning mechanism. Background Art

[0002] Drug development is an arduous task. The usual drug development process generally includes basic processes such as target confirmation, lead compound screening and optimization, animal experiments and preclinical experiments. In the process of drug discovery, the screening of lead compounds based on the structure of the target is the primary stage in drug design. The target of a drug usually refers to biological macromolecules in the human body, such as enzymes, ion channels, receptors, transporters, DNA / RNA, etc. Drug molecules interact with targets in the body through binding free energy, affecting the function of the corresponding biological macromolecules, so as to achieve a series of purposes such as regulating metabolism in the body and realizing signal transmission.

[0003] The binding of drug small molecules to targets can be evaluated by dissociation constants, inhibition constants, etc. In addition, the binding free energy between drug molecules and targets can be calculated based on physical models. After high-throughput screening, compound molecules that bind to key target proteins can be found. Therefore, quantitative calculation of the binding free energy between drug molecules and targets is hailed by the industry as the preferred method in the field of drug screening. As early as 1894, the famous lock-and-key theory was proposed based on the binding process between proteins and small molecule compounds. The essence of drug screening is to find suitable compounds based on existing targets and use compounds to activate or inhibit the activity of disease-related proteins.

[0004] The interaction between drugs and targets is the top priority for drug screening based on target structure. The traditional drug screening process is a high-investment, high-risk process. According to statistics, it takes an average of 12 years to develop a new drug, and the cost is as high as 2.6 billion US dollars on average. One of the reasons is that the relatively blind experimental screening will inevitably consume a lot of biological materials and researchers' precious time. If the binding free energy between drugs and targets can be quantitatively calculated, it is possible to effectively screen out molecules that can bind to targets, avoiding blind screening without direction.

[0005] Computer-aided drug design has gained attention in the field of new drug research and development. Among them, molecular docking is an early and mature calculation method. By fitting the interaction energy between protein receptors and ligands, an empirical function is established and the binding energy between proteins and ligand small molecules is calculated according to the empirical formula. Rapid binding free energy calculation can be achieved to obtain the strength of the binding ability of different ligand molecules with targets. If the binding ability is relatively weak, it is considered that the molecule does not have the potential to become a drug. This type of method played an important role in early high-throughput drug screening. However, molecular docking uses empirical formulas, and the parameters in the formula are fitted based on the binding constants of hundreds of proteins and ligand molecules that existed at the time, such as hundreds of proteins and ligand molecules. As the research deepens, more and more target structures are resolved, and a large number of small molecules are discovered or synthesized by chemical methods. The original formula encounters bottlenecks in its calculation ability and accuracy when encountering new protein structures or new compound small molecules, and cannot accurately calculate the binding free energy.

[0006] With the increase of accumulated protein and ligand molecular data and the significant improvement of computer computing power, how to accurately calculate binding free energy based on big data has become a hot topic of current research. With the help of artificial intelligence methods, the inherent laws can be obtained from the structure of complex protein-small molecule interactions, so it is expected to use artificial intelligence methods to predict the binding free energy of protein and ligand molecules. Artificial intelligence methods have become popular for drug design analysis. Quantum computing is better at dealing with high-dimensional data and slow training processes involved in classical machine learning, and has potential exponential computing performance, which can handle drug screening and other tasks more efficiently and intelligently. Summary of the invention

[0007] The present application discloses a binding energy prediction method based on quantum mutual learning mechanism, comprising the following steps:

[0008] S1. Integer encoding and dimension reduction of drug molecule sequence data in SMILES format are performed to obtain the reduced matrix U1. The transpose of the reduced matrix U1 is multiplied by U1 to obtain the semi-positive definite matrix U d ; Integer encoding and dimension reduction are performed on the protein sequence to obtain the reduced matrix U2. The transpose of the reduced matrix U2 is multiplied by U2 to obtain the semi-positive definite matrix U t ;

[0009] S2, semi-positive definite matrix U d Perform 1D convolution to get U dc , will U dc Multiply by U dc The transpose of U dc '; For the semi-positive definite matrix U t Perform 1D convolution to get U tc , will Utc Multiply by U tc The transpose of U tc ';

[0010] S3. Will U dc and U tc Encoded into quantum state density matrices U qd and U qt ; Quantum state density matrix U qd and U qt The two quantum states are input into a quantum mutual learning module, where they perform tensor product operations on each other to obtain two types of quantum states after being combined. The unitary matrix module U(θ) acts on the two types of quantum states to make them learn interactively, and the deviation traces of the two types of quantum states after interactive learning are calculated and measured to obtain U dm and U tm ;

[0011] Among them U dm Multiply by U dm The transpose of U dm ' and U tm Multiply by U tm The transpose of U tm ';

[0012] S4. Will U dc 'and U dm 'Concatenate and pass 2D convolution to get U3; tc 'and U tm 'Concatenate and perform 2D convolution to obtain U4; concatenate U3 and U4 to obtain U5;

[0013] S5: Input U5 into the fully connected neural network and the linear rectification layer to obtain the predicted value Y as the binding energy result. OUT .

[0014] The above method further comprises an optimization step:

[0015] Use the loss function to measure the predicted value Y OUT With the given actual value Y label The difference between them is back-propagated and the parameters of S2 and S4 and the parameters of the unitary matrix module U(θ) of S3 are updated by the gradient descent method.

[0016] The above method, wherein:

[0017] The way to calculate the reduced matrix U1 in S1 includes:

[0018] The length is n d The lexicographic length of the drug molecule sequence data is m, which is converted into n d×m feature matrix of drug molecules, and perform dimensionality reduction on the feature matrix of drug molecules to obtain the corresponding presentation of n d ×m' reduced matrix U1, where m' is equal to 2 n And n is the preset number of quantum bits.

[0019] The above method, wherein:

[0020] The way to calculate the reduced matrix U2 in S1 includes:

[0021] The length is n t The protein sequence is converted into n t ×j protein feature matrix, and perform dimensionality reduction on the protein feature matrix to obtain the corresponding n t ×m' reduced matrix U2.

[0022] The above method, wherein:

[0023] In S3, U dc Encoded into the quantum state density matrix U qd The methods include:

[0024] Will U dc The transpose of dc Get the m'×m' Gram semi-positive definite matrix U dc ', for U dc 'After regularization, perform matrix transformation on it and transform the m'×m' semi-positive definite matrix U dc 'Transformed into m'×m' quantum state density matrix U qd .

[0025] The above method, wherein:

[0026] In S3, U tc Encoded into the quantum state density matrix U qt The methods include:

[0027] Will U tc The transpose of U tc Get the m'×m' Gram semi-positive definite matrix U tc ', for U tc 'After regularization, perform matrix transformation on it and transform the m'×m' semi-positive definite matrix U tc 'Transformed into m'×m' quantum state density matrix U qt .

[0028] The above method, wherein:

[0029] In S3, the quantum state density matrix U qd and U qtThe two ways to obtain two types of quantum states in the quantum mutual learning module include:

[0030] Tensor product operation We get a class of quantum states and tensor product operations. Get another type of quantum state.

[0031] The above method, wherein:

[0032] In S3, the unitary matrix module U(θ) acts on two types of quantum states in the following ways:

[0033] Transpose the unitary matrix module U(θ) and its conjugate It acts on two types of quantum states.

[0034] The above method, wherein:

[0035] The unitary matrix module U(θ) is implemented by a plurality of quantum circuits, each of which includes a front-stage and a rear-stage single-bit rotation gate and a controlled NOT gate arranged therebetween, and the controlled NOT gate of any quantum circuit is controlled by other quantum circuits;

[0036] The front-stage and rear-stage single-bit revolving doors each include a series of revolving doors that rotate along the X, Y, and Z axes respectively;

[0037] The parameter θ of the unitary matrix module U(θ) includes the rotation angles of a series of revolving doors.

[0038] The above method, wherein:

[0039] Steps S2 and S4 are implemented using classical computing and the quantum mutual learning module of step S3 is implemented using quantum computing.

[0040] The above method, wherein:

[0041] Providing first to fifth classical computing circuits C1-C5;

[0042] Through the calculation of the first to fifth classical calculation circuits C1-C5, we can get:

[0043] Step S2 U dc ', U in step S2 tc ', U3 of step S4, U4 of step S4, Y of step S5 OUT .

[0044] The above method, wherein:

[0045] Providing a first to a second quantum computing circuit Q1-Q2:

[0046] In the first quantum computation circuit Q1: for the semi-positive definite matrix U d Perform 1D convolution to get Udc , then U dc Encoded into the quantum state density matrix U qd ;

[0047] In the second quantum computation circuit Q2: for the semi-positive definite matrix U t Perform 1D convolution to get U tc , then U tc Encoded into the quantum state density matrix U qt ;

[0048] In the first and second quantum computing circuits Q1-Q2: the quantum state density matrix U qd and U qt Input into the quantum mutual learning module, and then calculate U dm 'and U tm '.

[0049] The present application also discloses a binding energy prediction method based on quantum mutual learning mechanism, comprising:

[0050] Processing drug molecule sequence data into feature matrix form, processing protein sequence data into feature matrix form;

[0051] Feature extraction is performed on the classical form of the feature matrix form of drug molecule sequence data, and feature extraction is performed on the classical form of the feature matrix form of protein sequence data;

[0052] The characteristic matrices of drug molecule sequence data and protein sequence data are respectively subjected to one-dimensional convolution and then quantum state encoding is implemented. The encoded data of drug molecule sequence data and protein sequence data are subjected to quantum mutual learning based on quantum circuits and then processed into two types of relative information that have completed information interaction.

[0053] The extracted features of drug molecule sequence data are spliced ​​with their relative information, and the extracted features of protein sequence data are spliced ​​with their relative information. The two splicing results are subjected to two-dimensional convolution and then spliced ​​twice;

[0054] The secondary splicing results are input into the fully connected neural network and the linear rectification layer to obtain the predicted value of the binding energy result.

[0055] Drug targets are molecules that can bind to drugs and play a special role in cells, and proteins are the main molecular targets of drugs. Thousands of compounds are usually tested and experimented to find safe and effective drugs. Therefore, drug discovery is a time-consuming and laborious process, and there is also a risk of failure. By calculating the probability of drug-target interaction, expensive losses in the drug discovery process can be reduced, which is also one of the advantages of this application.

[0056] The above content is based on quantum circuits and proposes a feature selection algorithm of "quantum mutual learning". This algorithm takes into account the relationship between the two types of quantum information instead of allowing the information to exist as independent individuals. It allows the model to learn their interdependent relationship, so that the two types of quantum information can work together and select better data features for use.

[0057] Compared with the traditional mutual learning method, the present invention greatly reduces the number of parameters that need to be trained; the storage medium used, that is, the number of quantum bits, is also greatly reduced; the model based on parameterized quantum circuits can converge to a stable state faster during training. At the same time, the quantum mutual learning algorithm can process data features highly and in parallel on quantum hardware such as quantum computing devices and quantum chips, and has a wider range of applications than classical algorithms. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to make the above-mentioned purposes, features and advantages more obvious and easy to understand, the specific implementation methods are explained in detail below in conjunction with the drawings. After reading the following detailed description and referring to the following drawings, the features and advantages of the present application will become obvious.

[0059] Figure 1 It is a schematic diagram of the overall framework of the binding energy prediction method based on the quantum mutual learning mechanism.

[0060] Figure 2 This is a schematic diagram of the local framework for implementing model training based on quantum circuits in this application.

[0061] Figure 3 It is a rough schematic diagram of a quantum circuit containing quantum circuits that can realize a preset unitary transformation.

[0062] Figure 4 It is an optional example of a quantum circuit containing a single-bit rotation gate and a controlled NOT gate at the front and back stages.

[0063] Figure 5 This is a rough schematic diagram of the binding energy prediction method based on the quantum mutual learning mechanism. DETAILED DESCRIPTION

[0064] The scheme of the present invention will be clearly and completely explained below in conjunction with various embodiments. The described embodiments are only embodiments used for narration and explanation of the present invention rather than all embodiments. Based on these embodiments, the scheme obtained by technicians in this field without making any creative work belongs to the protection scope of the present invention.

[0065] Compared with experiments, computer-aided drug design can accelerate the process of drug development, save time and cost. Drug screening is one of the most important tasks of computer-aided drug design, which is very meaningful for discovering new drugs and new uses of old drugs. The binding between the drug and the target needs to be specific and stable in order to better exert the efficacy. This requires an accurate description of the interaction between the drug and the target, and "binding energy" is usually used to represent this interaction, which reflects the tightness of the binding of each part. This application is based on screening out more specific and stable drugs through the prediction of binding energy, and efficiently advancing the process of drug design. The link of quantum computing is introduced in the drug design process.

[0066] Classic mutual learning algorithms are a hot topic in the field of artificial intelligence and are used in a variety of application scenarios, such as biomedicine, material research and development, neuroscience, etc. However, the operation of these models requires a large amount of computing resources. In the past, the computing resources for algorithm operation were mainly provided by electronic chips manufactured by integrated circuits. With the constraints of semiconductor process technology, it is difficult to continuously improve the computing power of traditional electronic chips. Quantum computing chips are a supplement to the computing methods of electronic chips. The operation of conventional mutual learning algorithms on quantum chips cannot be processed according to the mode on electronic chips.

[0067] Although the prediction problem of binding energy has achieved high generalization ability and strong interpretability based on the model based on classical mutual learning, showing the advantages of mutual learning, the mutual learning operation of this type of algorithm is highly parallel and consumes a lot of computing resources. This application replaces the classical mutual learning algorithm with an algorithm based on quantum mutual learning, and constructs a hybrid algorithm of quantum and classical to deal with the prediction problem of binding energy, so that quantum chips and traditional electronic chips can work together for binding energy prediction. The classical and quantum hybrid mutual learning model will be further introduced in detail below.

[0068] Quantum machine learning can optimize traditional machine learning by leveraging the parallelism of quantum computing. Quantum machine learning algorithms usually go through the following main steps.

[0069] First, classical information needs to be converted into quantum information. In order to take advantage of the high parallelism of quantum computers, it is usually necessary to encode classical information and convert it into quantum information, just like translating one language into other languages. Appropriate and clever encoding will more effectively utilize the potential of quantum computing.

[0070] Secondly, the quantum conversion of traditional machine learning algorithms. Since quantum computers or quantized computing are different from classical electronic computers in terms of operating units, it is impossible to transplant all classical computer methods to quantum computers, and not all operations on quantum computers will be exponentially accelerated. Therefore, it is very important to design innovative algorithms suitable for quantum computers. The design of quantum machine learning algorithms must take into account the traditional technologies of the classical algorithm, such as data structure and database, while also continuously designing more relevant algorithm models suitable for quantum theory.

[0071] Again, extract the final calculation results. Since the calculation results are in quantum state and cannot be used directly, they need to be subjected to quantum measurement operations to collapse the quantum superposition state wave packet to the classical state and extract the classical information.

[0072] With the development of quantum machine learning, the use of parameterized quantum circuits to assist machine learning has been applied and achieved in many fields. The content introduced below in this application follows quantum computing but proposes a new algorithm.

[0073] See also Figure 1 The present application proposes a binding energy prediction method based on quantum mutual learning mechanism, or proposes a binding energy prediction based on parameterized quantum circuit learning and its training model, which mainly includes the following parts.

[0074] Step S1: First, the length of n d The drug molecule sequence data (DRUG) in SMILES format is integer-encoded, and a dimensionality reduction operation is performed according to the lexicographic length m of the drug molecule sequence data (for example, the dimensionality reduction operation shown in the figure uses an embedding layer and uses Embedding1 to represent this process), and the corresponding n d ×m'(m' is 2 n And n is the preset number of quantum bits, such as the reduced matrix U1 of the n-bit quantum bit of the quantum circuit below. The principle of embedding layer for dimensionality reduction is, to some extent, matrix multiplication. In convolutional networks, it can be understood as a special fully connected layer operation and is considered as the scope of the prior art in this application.

[0075] The transpose of the reduced matrix U1 in step S1 is multiplied by U1 to obtain a Gram semi-positive definite matrix U d .

[0076] Step S1: It is also necessary to perform integer encoding on the protein (TARGET) sequence data of length nt and perform dimensionality reduction operation on it (the dimensionality reduction operation shown in the figure uses the embedding layer and uses Embedding2 to represent this process), so as to obtain the corresponding n t ×m' reduced matrix U2.

[0077] If the length is n t The length of the lexicographic order of protein sequence data is j, which is converted into n t ×j protein feature matrix and perform dimensionality reduction on the protein feature matrix to obtain n t The principle of dimensionality reduction operation of protein feature matrix and drug molecule feature matrix is ​​basically similar. Figure 1 The dimensionality reduction processing of drug molecule (DRUG) sequence data and protein (TARGET) sequence data is demonstrated in Figure 2.

[0078] The transpose of the reduced matrix U2 in step S1 is multiplied by U2 to obtain a Gram semi-positive definite matrix U t .

[0079] Regarding S1, it can be roughly summarized as follows: integer encoding and dimension reduction of drug molecule sequence data in SMILES format are performed to obtain the reduced matrix U1, and the transpose of the reduced matrix U1 is multiplied by U1 to obtain the semi-positive definite matrix U d ; Integer encoding and dimension reduction are performed on the protein sequence to obtain the reduced matrix U2. The transpose of the reduced matrix U2 is multiplied by U2 to obtain the semi-positive definite matrix U t In the figure, this process mainly inputs drug (DRUG) information and protein (TARGET) information, and outputs U d and U t .

[0080] Step S2: d Perform 1D convolution to get the output U dc , will U dc Multiply by U dc The transpose of U dc '. This process is mainly based on one-dimensional convolution (1D convolution) in the figure. For example, convolution Conv1_1 is a one-dimensional convolution used. One-dimensional convolution has a similar effect to the fully connected layer. It acts on U d Get U dc The classic computational circuit C1 shows this process and the convolution result U dc Multiply by U dc The transpose of U dc The process of ' is marked with the symbol @ of C1. Convolution Conv1_1 can use a pre-defined or designed convolution kernel, for example, and allows for optimization changes.

[0081] Step S2: t Perform 1D convolution to get the output U tc , will U tc Multiply by U tc The transpose of U tc'. This process is mainly based on one-dimensional convolution (1D convolution) in the figure. For example, convolution Conv1_2 is a one-dimensional convolution used. One-dimensional convolution has a similar effect to the fully connected layer. It acts on U t Get U tc The classic computational circuit C2 shows this process and the convolution result U tc Multiply by U tc The transpose of U tc The process of ' is marked with the symbol @ of C2. Convolution Conv1_2 can use a pre-defined or designed convolution kernel, for example, and allows for optimization changes.

[0082] Regarding S2, it can be roughly summarized as follows: the semi-positive definite matrix U d U is obtained by one-dimensional convolution operation dc , will U dc Multiply by U dc The transpose of U dc '; Semi-positive definite matrix U t U is obtained by one-dimensional convolution operation tc , will U tc Multiply by U tc The transpose of U tc '. This process is shown in the figure as U d and U t Main, output U dc 'and U tc '. This process uses the classical computing circuit C1-C2.

[0083] Step S3: dc and U tc Encoded into quantum state density matrices U qd and U qt .

[0084] In step S3, U dc Encoded into the quantum state density matrix U qd The process is as follows:

[0085] Will U dc The transpose of U dc , we get the m'×m' Gram semi-positive definite matrix U dc '.

[0086] For the Gram semi-positive matrix U dc 'Perform L1-norm regularization and bring it into encoding (encoding can convert the m'×m' Gram semi-positive definite matrix U dc 'Converted into a quantum state density matrix of m'×m', the quantum state density matrix satisfies the characteristics of semi-positive definiteness, normalization, symmetry, etc.) to obtain the input U of the quantum mutual learning module QML qd, thereby completing the quantum state encoding of the drug molecular structure through encoding for subsequent quantum computing. Encoding can convert semi-positive definite matrices into quantum state density matrices in Python and other related frameworks, which is a prior art. Especially in the field of machine learning, this type of encoding is a common method in the industry. For example, in the quantum language model, it borrows the concept of density matrix in quantum mechanics and can encode certain probability uncertainties into density matrices. The semi-positive matrix U dc 'Convert U qd The process is represented in the figure by encoding Encoding1, which is part of the quantum computing circuit Q1.

[0087] In step S3, U tc Encoded into the quantum state density matrix U qt The process is as follows:

[0088] Will U tc The transpose of U tc , we get the m'×m' Gram semi-positive definite matrix U tc '.

[0089] For the Gram semi-positive matrix U tc 'Perform L1-norm regularization and bring it into encoding (encoding can convert the m'×m' Gram semi-positive definite matrix U tc 'Converted into a quantum state density matrix of m'×m', the quantum state density matrix satisfies the characteristics of semi-positive definiteness, normalization, symmetry, etc.) to obtain the input U of the quantum mutual learning module QML qt , thus completing the encoding of the quantum state of the protein molecular structure through encoding for subsequent quantum computing. The semi-positive definite matrix U tc 'Convert U qt The process is represented in the figure by encoding Encoding2, which is part of the quantum computing circuit Q2.

[0090] Step S3: Quantum state density matrix U qd and U qt They are all input into a quantum mutual learning module QML, where they perform tensor product operations on each other to obtain two types of quantum states after being combined. Then, the unitary matrix module U(θ) acts on the two types of quantum states to make them learn interactively. The deviation traces and measurements of the two types of quantum states after interactive learning can be obtained respectively. dm and U tm The quantum computing circuit Q1-Q2 includes a quantum mutual learning part.

[0091] In step S3, dm Multiply by U dmThe transpose of U dm ' and U tm Multiply by U tm The transpose of U tm '. Quantum computing circuit Q1 demonstrates this process and U dm Multiply by U dm The transpose of U dm The process is marked with the symbol @ of Q1. The quantum computing circuit Q2 shows this process and U tm Multiply by U tm The transpose of U tm The process of ' is marked with the symbol @ of Q2.

[0092] In step S3, the two data information of drugs and proteins are encoded in quantum states and feature processing and selection are performed based on quantum mutual learning of quantum circuits (relative information after information interaction is obtained): the Q1 quantum computing circuit includes convolution Conv1_1 and quantum mutual learning, and the Q2 quantum computing circuit includes convolution Conv1_2.

[0093] In step S3, input U qd and U qd Input quantum mutual learning module QML (see quantum mutual learning Figure 2 ), let the features learn the interdependence between each other, and the output is U dm (n×1) and U tm (n×1), after completing mutual learning, U dm Take U dm The transpose and U tm Take U tm The transpose of U dm '(n×n) and U tm '(n×n).

[0094] The quantum circuit of the quantum mutual learning module QML in step S3 includes a learnable unitary matrix module U(θ), ​​for example, it includes some learnable parameterized Pauli rotation gates and two-bit control gates (used to realize the entanglement of quantum states), which will be introduced in detail below. U(θ) acts on the joint system (the joint system is constructed by tensor product), so that the quantum state is entangled and evolved (at this time, two types of information interact), and the deviation track is calculated and the two information characteristics after the information interaction are obtained by measurement.

[0095] Step S4: dc 'and U dm 'Concatenate and pass 2D convolution to get U3. dc 'and U dm The splicing result of ' is mainly based on the two-dimensional convolution (2D convolution) operation in the figure. For example, convolution Conv2_1 is the two-dimensional convolution used. The two-dimensional convolution acts on Udc 'and U dm The concatenation result of ' is U3. The classic computational circuit C3 shows this process. For example, two-dimensional convolution can use pre-defined or designed convolution kernels and allow for optimization changes.

[0096] Step S4: tc 'and U tm 'After concatenation and 2D convolution, we get U4. tc 'and U tm The splicing result of ' is mainly based on the two-dimensional convolution (2D convolution) operation in the figure. For example, convolution Conv2_2 is the two-dimensional convolution used. The two-dimensional convolution acts on U tc 'and U tm The concatenation result of ' is U4. The classic computational circuit C4 shows this process. For example, two-dimensional convolution can use pre-defined or designed convolution kernels and allow for optimization changes.

[0097] Step S4: concatenate U3 and U4 to obtain U5. The classic computing circuit C5 demonstrates this process.

[0098] Regarding S4, it can be roughly summarized as follows: the data output by the aforementioned Q1 and Q2 then enters the C3 and C4 lines for further feature processing:

[0099] Will U dc 'and U dm 'Concatenate information and input into the classic 2D convolutional layer to obtain U3.

[0100] Will U tc 'and U tm 'Concatenate information and input the classic 2D convolutional layer to obtain U4.

[0101] U3 and U4 are concatenated to obtain U5, which serves as the input of the C5 line.

[0102] Step S5: Input U5 into the fully connected neural network and the linear rectification layer (represented by FC) to obtain the predicted value Y as the binding energy result. OUT .

[0103] See also Figure 1 , Model optimization: Select the MSE function (you can choose a suitable function such as MSE) to measure the predicted value Y output by the model OUT With the given actual value Y label The difference e between them is transmitted back to each layer of the network through back propagation and the parameters are updated through the gradient descent method (for example, the updated parameters in this application include the weight parameters of the classical circuits C1-C5 and the rotation angle parameters of the quantum circuits Q1-Q2). The loss function LOSS is used to measure the predicted value Y in the illustrated example.OUT With the given actual value Y label That is, the difference between the labels, the difference is back-propagated, and the weight parameters of S2 / S4, such as the weights involved in convolution, are updated by gradient descent, as well as the rotation angle parameters of the unitary matrix module U(θ) of S3.

[0104] See also Figure 2 The input of the quantum mutual learning module QML is the quantum state density matrix U qd and U qt , where the working mode of the quantum mutual learning module QML is introduced as follows.

[0105] See also Figure 2 , quantum state density matrix U qd and U qt They perform tensor product operations on each other in the quantum mutual learning module QML to obtain two types of quantum states after being combined: that is, implementing U qd and U qt Tensor product operation At the same time, U qt with U qd Tensor product operation About the two types of quantum states after the combination: The operation corresponds to the state U of the composite quantum system. AB and The state U of the composite quantum system or composite space is obtained by calculation. BA . This can be called a tensor product operation. We get a class of quantum states and tensor product operations. Another type of quantum state is obtained, where the quantum state is a quantum state in a composite quantum system or composite space, which is part of step S3.

[0106] See also Figure 2 , the unitary matrix module U(θ) is used to act on the two types of quantum states to make the two types of quantum states learn interactively, and the deviation traces and measurements of the two types of quantum states after interactive learning are obtained respectively. dm and U tm . It is part of step S3.

[0107] See also Figure 2 , apply the parameterized unitary matrix module U(θ) and its conjugate transpose back and forth to the state U AB with U BA , thereby making the state U AB U BA Evolution and deviation are calculated respectively to obtain the deviation result U dm and U tm For example, if we apply the parameterized unitary matrix module U(θ) to the state U AB Then conjugate the transposed matrix Act on U AB , which is essentially a matrix multiplication operation, for example, it can be simply expressed as Correspondingly, in the same way, for example, the parameterized unitary matrix module U(θ) is applied to the state U BA Then conjugate the transposed matrix Act on U BA , which is essentially a matrix multiplication operation. This allows the parameterized preset unitary transformation U(θ) and its conjugate transpose to be applied to the state U AB Then the result of the operation U AB 'Find the deviation and measure the result U dm Matrix trace operation is a kind of operation in quantum mechanics and a special matrix trace operation. The unitary matrix module U(θ) and its conjugate transpose act on the state U BA Then the result of the operation U BA 'Find the deviation and measure the result U tm One of the main functions of the tensor product operation is to construct the state U AB U BA The joint distribution or joint system of , the role of the subsequent bias is to separate the evolved joint distribution and obtain the bias result after completing mutual learning.

[0108] A brief introduction to the mutual learning process: First, the tensor product operation part can build a joint system. The joint system of this application has evolved, that is, the joint system after the tensor product is completed has undergone a unitary transformation operation. During this period, the unitary transformation makes the data or information of the tensor product operation produce an interactive effect, which is equivalent to entanglement evolution. The information of the original subsystem is like the previous quantum state density matrix U qd and U qt They will change. During the interaction, both parties will introduce and apply each other's characteristics to themselves. The second is to find the deviation part, which can construct the distribution of the subsystem after interactive learning. In other words, the deviation measurement can separate the joint system and obtain the original information of the original subsystem (such as U qd and U qt ) Information after mutual learning (e.g. U dm and U tm ). Find the deviation and the U obtained by separation dm and U tm It is the information output after the original information has undergone interactive learning. After learning, both parties consider and incorporate each other's characteristics.

[0109] See also Figure 2 , allowing the deviation result U dm and U tmAfter measuring, the state of the particle changes from the original superposition state to a certain eigenstate after the measurement of a mechanical quantity, and collapse occurs. In other words, two types of classical states can be obtained by measuring the two results of the deviation respectively, and the information characteristics change from quantum state to classical state. The characteristics of the two types of classical states are U dm The classical state contains U qt To U qd The impact of tm The classical state contains U qd To U qt impact.

[0110] See also Figure 3 The general process of the preset unitary transformation module U(θ) is shown in the figure: the universal gate set ENT includes a parameterized front-stage single-bit rotation gate and a controlled NOT gate, and the single-bit rotation module ROT includes a back-stage single-bit rotation gate. The quantum state measurement part MEA is used to measure the state of the quantum bit. In the optional example, the loss function is used to calculate the difference between the predicted value and the label of the measured classical state, the difference is back-propagated and the parameter θ in the unitary transformation module U(θ) is updated by the gradient descent method. The loss function LOSS is used to measure the predicted value Y OUT With the given actual value Y label The difference between them is calculated and back-propagated, and the weight parameters of S2 and S4, such as the weights of the convolutional neural network and other parts, are updated by the gradient descent method, and the rotation angle parameters of the unitary matrix module U(θ) of S3 are updated.

[0111] See also Figure 3 , assuming that there are n qubits input and correspondingly n quantum circuits are used. Quite a few qubits are represented in the figure by q1-qn, where n is a positive integer. For example, the number of qubits n selected is equal to an arbitrary value. The universal gate set (universal set) is usually composed of single-qubit gates and controlled NOT gates.

[0112] See also Figure 4 , the first universal gate set for quantum circuits includes single-bit rotation gates It also includes the controlled NOT gate CNOT, which is an example of the universal gate set of the first quantum circuit. The first quantum circuit also includes the single-bit rotation gate R x (α1)R y (β1)R z (γ1). To distinguish, the front side of the line It is called the front-stage single-bit revolving door and the R at the rear side of the line x (α1)R y (β1)R z(γ1) is called the subsequent single-bit rotation gate. M1 is the part that measures the state of the quantum bit. The quantum bit q1 performs a quantum operation on the first quantum circuit and in the optional example shown in the figure, the controlled NOT gate CNOT on the first quantum circuit is controlled by the operation result of the controlled NOT gate in the nth quantum circuit, that is, the controlled NOT gate CNOT on the first quantum circuit is controlled by the nth quantum circuit. The superscript i of the angle parameter in the previous single-bit rotation gate can be a natural number.

[0113] See also Figure 4 , the second universal gate set of quantum circuits includes the single-bit rotation gate It also includes the controlled NOT gate CNOT, which is an example of the universal gate set of the second quantum circuit. The second quantum circuit also includes the single-bit rotation gate R x (α2)R y (β2)R z (γ2). To distinguish, the front side of the line It is called the front-stage single-bit revolving door and the R at the rear side of the line x (α2)R y (β2)R z (γ2) is called the subsequent single-bit rotation gate. M2 is the part that measures the state of the quantum bit. The quantum bit q2 performs a quantum operation on the second quantum circuit and in the optional example shown in the figure, the controlled NOT gate CNOT on the second quantum circuit is controlled by the previous single-bit rotation gate of the first quantum circuit. The result of the rotation operation.

[0114] See also Figure 4 , the third universal gate set of quantum circuits includes single-bit rotation gates It also includes the controlled NOT gate CNOT, which is an example of the universal gate set of the third quantum circuit. The third quantum circuit also includes the single-bit rotation gate R x (α3)R y (β3)R z (γ3). To distinguish, the front side of the line It is called the front-stage single-bit revolving door and the R at the rear side of the line x (α3)R y (β3)R z (γ3) is called the post-stage single-bit rotation gate. M3 is the part that measures the state of the quantum bit. The quantum bit q3 performs quantum operation on the third quantum circuit and in the optional example shown in the figure, the controlled NOT gate CNOT on the third quantum circuit is controlled by the operation result of the controlled NOT gate on the second quantum circuit, that is, the controlled NOT gate CNOT on the third quantum circuit is controlled by the second quantum circuit.

[0115] See also Figure 4, the universal gate set of the nth quantum circuit includes the single-bit rotation gate It also includes the controlled NOT gate CNOT, which is an example of the universal gate set of the nth quantum circuit. The nth quantum circuit also includes the single-bit rotation gate R x (α n )R y (β n )R z (γ n ). To distinguish, the front side of the line It is called the front-stage single-bit revolving door and the R at the rear side of the line x (α n )R y (β n )R z (γ) is called the post-stage single-bit rotation gate. Mn is the part that measures the state of the quantum bit. The quantum bit qn performs a quantum operation on the nth quantum circuit and in the illustrated optional example, the controlled NOT gate CNOT on the nth quantum circuit is controlled by the operation result of the controlled NOT gate on the n-1th quantum circuit. The controlled NOT gate CNOT on the nth quantum circuit is controlled by the n-1th quantum circuit.

[0116] See also Figure 4 In quantum computing or quantum circuit computing models, quantum gates are the most basic logic gate units. Quantum logic gates are represented by unitary matrices, similar to common logic gates that usually operate on one or two bits. Common quantum gates also operate on one or two quantum bits. For example, these quantum gates can be represented by unitary matrices of the type 2×2 or 4×4. The aforementioned front-stage and rear-stage single-bit rotary gates both include a series of rotary gates that rotate along the X, Y, and Z axes, respectively. The front-stage single-bit rotary gate on the nth quantum circuit includes a series of rotary gates that can rotate along the X, Y, and Z axes, respectively. The parameter θ of the unitary transformation includes at least the rotation angles of the three gates in the previous single-bit rotation gate. The single-bit revolving door at the rear of the line includes a series of revolving doors R that rotate along the X, Y, and Z axes respectively. x (α n )R y (β n )R z (γ n ), the parameter θ of the unitary transformation may also include the rotation angles α of the three gates in the subsequent single-bit rotation gate n , β n , γ n .

[0117] See also Figure 4In an optional but not essential implementation, each qubit, such as qn, is treated as a target bit (i.e., target qubit Target qubit) after being rotated by the previous stage single-bit rotation gate, and a controlled operation is performed by the controlled NOT gate, and the control bit of the controlled operation (i.e., control qubit Control qubit) is selected from other qubits, such as the n-1th qubit q(n-1) on the n-1th quantum circuit in this example. After the first rotation operation and controlled operation, each qubit is rotated again by the next stage single-bit rotation gate.

[0118] See also Figure 4 In an optional but not mandatory implementation, some viewpoints believe that quantum circuits, such as the n quantum circuits used in the embodiment shown in the figure, achieve the entanglement effect between different quantum bits. The implementation method of implementing multi-layer quantum circuits includes: the quantum circuit shown in the figure is copied multiple times, each quantum circuit is called a layer, and the quantum bits are processed by multiple layers of quantum circuits shown in the figure in sequence to achieve a better training effect. Or it can be said that the quantum circuit in the figure constitutes a single-layer entanglement layer, and in actual applications, a larger number of entanglement layers can be used. The number of entanglement layers can be freely selected. Generally speaking, the more entanglement layers there are, the better the training effect. In addition, a two-bit gate (such as applying a CNOT gate) is used between different quantum bits to generate an entanglement effect. The entanglement part can be divided into two sub-parts, namely a parameterized single-bit rotation module and a two-bit operation module with a fixed structure. The parameterized single-bit operation module is composed of three rotation operations around the X-axis, the Y-axis, and the Z-axis, and the adjustable parameter θ of the unitary transformation is the angle of the rotation operation. The two-bit operation module, such as the controlled NOT gate, has no adjustable parameters. The characteristic of the aforementioned unitary transformation is that parameterized rotations can be combined into any single-bit rotation operation.

[0119] See also Figure 4In an optional but not necessary implementation, each quantum circuit includes a front-stage and a rear-stage single-bit rotation gate and a controlled NOT gate arranged between them, and the controlled NOT gate of any quantum circuit is controlled by other quantum circuits. For example, in the example in the figure, the controlled NOT gate of the first quantum circuit is controlled by the nth quantum circuit; at the same time, from the second quantum circuit to the nth quantum circuit, the controlled NOT gate of the latter quantum circuit is controlled by the adjacent previous quantum circuit, for example, the controlled NOT gate of the second quantum circuit is controlled by the adjacent previous first quantum circuit, and the controlled NOT gate of the nth quantum circuit is controlled by the adjacent previous n-1th quantum circuit. In an optional but not essential implementation, the controlled NOT gate of the second quantum circuit is controlled by the rotation operation result of the previous single-bit rotation gate of the first quantum circuit. From the second quantum circuit to the nth quantum circuit, the controlled NOT gate of the latter quantum circuit is controlled by the controlled operation result of the controlled NOT gate of the adjacent previous quantum circuit, and the controlled NOT gate of the first quantum circuit is controlled by the controlled operation result of the controlled NOT gate of the nth quantum circuit. For example, from the second quantum circuit to the nth quantum circuit, the controlled NOT gate of the kth quantum circuit is controlled by the adjacent previous k-1th quantum circuit, and the positive integer k satisfies 2≤k≤n.

[0120] See also Figure 4 In the implementation not shown in the figure, each quantum circuit includes a front-stage and a rear-stage single-bit rotation gate and a controlled NOT gate arranged between them, and the controlled NOT gate of any quantum circuit is still controlled by other quantum circuits. The example in the figure is improved so that the controlled NOT gate of the first quantum circuit is controlled by the n-1th quantum circuit, and the controlled NOT gate of the second quantum circuit is controlled by the nth quantum circuit; at the same time, from the third quantum circuit to the nth quantum circuit, the controlled NOT gate of the kth quantum circuit is controlled by the k-2th quantum circuit, and the positive integer k satisfies 3≤k≤n. For example, the controlled NOT gate of the third quantum circuit is controlled by the first quantum circuit, and the controlled NOT gate of the fourth quantum circuit is controlled by the second quantum circuit. If each quantum circuit uses multiple controlled NOT gates, then Figure 1 The embodiments and improved embodiments thereof can be used in combination, which shows that the implementation methods of the controlled NOT gate of any quantum circuit being controlled by other quantum circuits are diverse.

[0121] See also Figure 1, regarding the binding energy prediction method based on the quantum mutual learning mechanism of the present application, a quantum computing unit and a classical computing unit are used. The quantum computing unit contains known quantum computing devices and quantum chips, etc., and the quantum computing unit here can also be replaced by quantum hardware. In addition to classical computers, the classical computing unit also includes electronic devices that can be used for traditional data calculations, such as tablet computers or handheld devices, etc. The classical computing unit also includes a processor with a control device, a semiconductor chip or software, a microprocessor, a logic device, a state machine or a microcontroller or a gate array, a digital signal processor and a similar computing system. At the same time, the quantum computing unit also includes but is not limited to a quantum computer, a quantum information processing system or a quantum cryptographic system or a quantum simulator. In the illustrated embodiment, there is a communication relationship or a data interaction relationship between the quantum computing unit and the classical computing unit. The quantum computing unit can complete the tasks of QML and the quantum circuit tasks involved in Q1 / Q2, and the classical computing unit can complete classical computing (non-quantum) tasks such as C1 / C5.

[0122] See also Figure 5 , the binding energy prediction method based on quantum mutual learning mechanism includes the following illustrative example steps.

[0123] Step S1, process the drug molecule sequence data into its characteristic matrix form, and process the protein sequence data into its characteristic matrix form. For example, integer encoding and dimension reduction are performed on the drug molecule sequence data to obtain a reduced matrix U1, and the transpose of the reduced matrix U1 is multiplied by U1 to obtain a semi-positive definite matrix U d (first semi-positive definite matrix); integer encoding and dimensionality reduction of protein sequences are performed to obtain the reduced matrix U2, and the transpose of U2 multiplied by U2 is the semi-positive definite matrix U t (Second semi-positive definite matrix). That is, the two classic sequence data (Drug, Target) are processed to obtain the characteristic matrix form that can be used by the subsequent lines.

[0124] Step S2: extract features from the classic forms of drug molecule sequence data and protein sequence data. For example, the semi-positive definite matrix U d Perform 1D convolution to get U dc (The first 1D convolution result), U dc Multiply by U dc The transpose of U is calculated dc '(first extraction matrix); the semi-positive definite matrix U t Perform 1D convolution to get U tc (The second 1D convolution result), and then the convolution result U tc Multiply by U tc The transpose of U tc'(Second Extraction Matrix). Note that in this stage, the classical form of the information of the two data (Drug, Target) is extracted, and the extracted information is still self-information. The classical form of the characteristic matrix form of the drug molecule sequence data is extracted, and the classical form of the characteristic matrix form of the protein sequence data is extracted.

[0125] Step S3: Encode the two data (Drug, Target) information in quantum state and perform quantum mutual learning based on quantum circuits and feature processing selection (obtain relative information after information interaction). dc and U tc Encoded into quantum state density matrices U qd and U qt ; Quantum state density matrix U qd and U qt The input is sent to the quantum mutual learning module, where they perform tensor product operations on each other to obtain two types of quantum states after being combined, and the unitary matrix module U(θ) acts on the two types of quantum states to enable the two types of quantum states to learn interactively. After the interactive learning, the two types of quantum states are respectively deviated and measured to U dm (First deviation result) and U tm (Second deviation result); where U dm Multiply by U dm The transpose of U dm '(first relative characteristic matrix) and U tm Take U tm The transpose of U tm '(Second relative characteristic matrix).

[0126] This step encodes the two data (Drug, Target) information into quantum states, implements quantum mutual learning based on quantum circuits, and performs feature processing selection (obtaining relative information after information interaction). During this period, the Q1 circuit uses Conv1_1 and quantum mutual learning, and the Q2 circuit uses Conv1_2 and quantum mutual learning. For example, the characteristic matrix forms of drug molecule sequence data and protein sequence data are respectively processed in one-dimensional convolution, and the obtained one-dimensional convolution results are respectively encoded in quantum states. The two types of encoded data perform tensor product operations on each other to obtain two types of quantum states after being combined. After the two types of quantum states are subjected to quantum mutual learning based on quantum circuits, they are processed into two types of relative information that have completed information interaction (for example, U dm ' and U tm ').

[0127] Step S4: The features extracted from the drug molecule sequence data are spliced ​​with the relative information derived from the drug molecule sequence data, and the features extracted from the protein sequence data are spliced ​​with the relative information derived from the protein sequence. The two splicing results are each subjected to a two-dimensional convolution operation and then spliced ​​twice. dc 'and U dm 'Concatenate and perform 2D convolution to obtain U3 (the first 2D convolution result); tc 'and U tm 'Concatenate and perform 2D convolution to obtain U4 (second 2D convolution result); concatenate U3 and U4 for the second time to obtain U5 (secondary concatenation result).

[0128] Step S5: Input the secondary splicing result into the fully connected neural network and the linear rectification layer to obtain the predicted value Y as the binding energy result. OUT For example, inputting U5 (secondary concatenation result) into the fully connected neural network and the linear rectification layer can obtain the predicted value Y as the binding energy result. OUT .

[0129] See also Figure 5 The binding energy prediction method based on quantum mutual learning mechanism generally includes: processing drug molecule sequence data into feature matrix form, processing protein sequence data into feature matrix form; extracting features from the classical form of the feature matrix form of drug molecule sequence data, and extracting features from the classical form of the feature matrix form of protein sequence data; performing one-dimensional convolution on the feature matrices of drug molecule sequence data and protein sequence data respectively and then implementing quantum state encoding, and performing quantum mutual learning based on quantum circuits on the encoding data of drug molecule sequence data and protein sequence data respectively, and then processing them into two types of relative information that have completed information interaction; splicing the extracted features of drug molecule sequence data with their relative information, splicing the extracted features of protein sequence data with their relative information, and performing two-dimensional convolution on the two splicing results respectively and then performing secondary splicing; inputting the secondary splicing result into a fully connected neural network and a linear rectification layer to obtain the predicted value of the binding energy result.

[0130] The effects of this application compared to traditional classical algorithms include: better data expression capabilities based on quantum bits; the quantum mutual learning algorithm can process data features in a highly parallel manner on quantum computing devices and quantum chips; the quantum-classical hybrid algorithm or full quantum algorithm based on the quantum mutual learning algorithm in this application has a wider range of application scenarios and more efficient computing power than classical algorithms; the model training process based on parameterized quantum circuits can converge to a stable state faster.

[0131] The present application overcomes the problem that the existing methods need to rely on manual feature extraction, making the extracted features accurate. Experiments have shown that the drugs obtained by the method of the present invention are significantly better than those of the existing methods, and the accuracy of the prediction of drug-target interactions is improved. The improvement in prediction accuracy is unattainable by traditional solutions.

[0132] The above description and the accompanying drawings provide typical embodiments of the specific structures of the specific embodiments. The above application content provides existing preferred embodiments, but these contents are not intended to be limiting. After reading the above description, various changes and modifications will undoubtedly be obvious to those skilled in the art. Therefore, the attached claims should be regarded as covering all changes and modifications to the true intent and scope of the present invention. Any and all equivalent scopes and contents within the scope of the claims should be considered to still be within the intent and scope of the present invention.

Claims

1. A binding energy prediction method based on quantum mutual learning mechanism, characterized in that: The following steps are involved: S1. Integer encoding and dimension reduction of drug molecule sequence data in SMILES format are performed to obtain the reduced matrix U1. The transpose of the reduced matrix U1 is multiplied by U1 to obtain the semi-positive definite matrix U d ; Integer encoding and dimension reduction are performed on the protein sequence to obtain the reduced matrix U2. The transpose of the reduced matrix U2 is multiplied by U2 to obtain the semi-positive definite matrix U t ; S2, semi-positive definite matrix U d Perform 1D convolution to get U dc , will U dc Multiply by U dc The transpose of U dc '; For the semi-positive definite matrix U t Perform 1D convolution to get U tc , will U tc Multiply by U tc The transpose of U tc '; S3. Will U dc and U tc Encoded into quantum state density matrices U qd and U qt ; Quantum state density matrix U qd and U qt The two quantum states are input into a quantum mutual learning module, where they perform tensor product operations on each other to obtain two types of quantum states after being combined. The unitary matrix module U(θ) acts on the two types of quantum states to make them learn interactively, and the deviation traces of the two types of quantum states after interactive learning are calculated and measured to obtain U dm and U tm ; Among them U dm Multiply by U dm The transpose of U dm ' and U tm Multiply by U tm The transpose of U tm '; S4. Will U dc 'and U dm 'Concatenate and pass 2D convolution to get U3; tc 'and U tm 'Concatenate and perform 2D convolution to obtain U4; concatenate U3 and U4 to obtain U5; S5: Input U5 into the fully connected neural network and the linear rectification layer to obtain the predicted value Y as the binding energy result. OUT .

2. The method according to claim 1, characterized in that Also includes optimization steps: Use the loss function to measure the predicted value Y OUT With the given actual value Y label The difference between them is back-propagated and the weight parameters of S2 and S4-S5 are updated by the gradient descent method, as well as the rotation angle parameters of the unitary matrix module U(θ) of S3.

3. The method according to claim 1, characterized in that: The way to calculate the reduced matrix U1 in S1 includes: The length is n d The lexicographic length of the drug molecule sequence data is m, which is converted into n d ×m feature matrix of drug molecules, and perform dimensionality reduction on the feature matrix of drug molecules to obtain the corresponding presentation of n d ×m' reduced matrix U1, where m' is equal to 2 n And n is the preset number of quantum bits.

4. The method according to claim 3, characterized in that: The way to calculate the reduced matrix U2 in S1 includes: The length is n t The protein sequence is converted into n t ×j protein feature matrix, and perform dimensionality reduction on the protein feature matrix to obtain the corresponding n t ×m' reduced matrix U2.

5. The method according to claim 3, characterized in that: In S3, U dc Encoded into the quantum state density matrix U qd The methods include: Will U dc The transpose of dc Get the m'×m' Gram semi-positive definite matrix U dc ', for U dc 'After regularization, perform matrix transformation on it and transform the m'×m' semi-positive definite matrix U dc 'Transformed into m'×m' quantum state density matrix U qd .

6. The method according to claim 3, characterized in that: In S3, U tc Encoded into the quantum state density matrix U qt The methods include: Will U tc The transpose of tc Get the m'×m' Gram semi-positive definite matrix U tc ', for U tc 'After regularization, perform matrix transformation on it and transform the m'×m' semi-positive definite matrix U tc 'Transformed into m'×m' quantum state density matrix U qt .

7. The method according to claim 1, characterized in that: In S3, the quantum state density matrix U qd and U qt The two ways to obtain two types of quantum states in the quantum mutual learning module include: Tensor product operation We get a class of quantum states and tensor product operations. Another type of quantum state is obtained.

8. The method according to claim 7, characterized in that: In S3, the preset unitary matrix module U(θ) acts on two types of quantum states in the following ways: Transpose the unitary matrix module U(θ) and its conjugate It acts on two types of quantum states.

9. The method according to claim 7, characterized in that: The unitary matrix module U(θ) is implemented by a plurality of quantum circuits, each of which includes a front-stage and a rear-stage single-bit rotation gate and a controlled NOT gate arranged therebetween, and the controlled NOT gate of any quantum circuit is controlled by other quantum circuits; The front-stage and rear-stage single-bit revolving doors each include a series of revolving doors that rotate along the X, Y, and Z axes respectively; The parameter θ of the unitary matrix module U(θ) includes the rotation angles of a series of revolving doors.

10. The method according to claim 1, characterized in that: Steps S2 and S4-S5 are implemented using classical computing and the quantum mutual learning module of step S3 is implemented using quantum computing.

11. The method according to claim 1, characterized in that: Providing first to fifth classical computing circuits C1-C5; Through the calculation of the first to fifth classical calculation circuits C1-C5, we can get: Step S2 U dc ', U in step S2 tc ', U3 of step S4, U4 of step S4, Y of step S5 OUT .

12. The method according to claim 1, characterized in that: Providing a first to a second quantum computing circuit Q1-Q2: In the first quantum computation circuit Q1: for the semi-positive definite matrix U d Perform 1D convolution to get U dc , then U dc Encoded into the quantum state density matrix U qd ; In the second quantum computation circuit Q2: for the semi-positive definite matrix U t Perform 1D convolution to get U tc , then U tc Encoded into the quantum state density matrix U qt ; In the first and second quantum computing circuits Q1-Q2: the quantum state density matrix U qd and U qt Input into the quantum mutual learning module, and then calculate U dm 'and U tm '.

13. A binding energy prediction method based on quantum mutual learning mechanism, characterized in that: include: Processing drug molecule sequence data into feature matrix form, processing protein sequence data into feature matrix form; Feature extraction is performed on the classical form of the feature matrix form of drug molecule sequence data, and feature extraction is performed on the classical form of the feature matrix form of protein sequence data; The characteristic matrices of drug molecule sequence data and protein sequence data are respectively subjected to one-dimensional convolution and then quantum state encoding is implemented. The encoded data of drug molecule sequence data and protein sequence data are subjected to quantum mutual learning based on quantum circuits and then processed into two types of relative information that have completed information interaction. The extracted features of drug molecule sequence data are spliced ​​with their relative information, and the extracted features of protein sequence data are spliced ​​with their relative information. The two splicing results are subjected to two-dimensional convolution and then spliced ​​twice; The secondary splicing results are input into the fully connected neural network and the linear rectification layer to obtain the predicted value of the binding energy result.