Full quantum molecular information processing method, device, computer equipment and storage medium

The full quantum molecular processing method directly solves the characteristic states and characteristic energies of molecules on the quantum computer through encoding and entangled information processing, solving the problems of computational complexity and high resource overhead of traditional methods, and achieving efficient quantum computing.

CN114358301BActive Publication Date: 2024-08-27TSINGHUA UNIVERSITY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111599891.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-24
Publication Date
2024-08-27
Estimated Expiration
2041-12-24

AI Technical Summary

Technical Problem

Traditional methods are computationally complex to solve for the characteristic states and characteristic energies of molecules, requiring multiple interactions between classical computers and quantum computers, resulting in high resource overhead.

Method used

Using a full quantum molecular processing method, the encoded information and entangled information are obtained through the Hamiltonian of the target molecule, and encoding, entanglement, decoding and measurement processing are performed until the target characteristic state and characteristic energy are obtained, reducing reliance on classical computers.

Benefits of technology

This method only needs a quantum computer to calculate the characteristic state and characteristic energy of the molecular Hamiltonian, reducing the data interaction between the classical computer and the quantum computer, reducing the computational complexity, and improving the computational efficiency and robustness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114358301B
    Figure CN114358301B
Patent Text Reader

Abstract

The present application relates to a method, device, computer equipment and storage medium for full quantum molecular processing. The method includes: obtaining coding information and entangled information based on the target molecular Hamiltonian, obtaining initial characteristic states and initial characteristic energies through processing the coding information and entangled information, updating the coding information based on the initial characteristic states and initial characteristic energies to obtain updated coding information, determining the updated coding information as coding information, and continuing to process the coding information and entangled information to obtain initial characteristic states and initial characteristic energies until the target characteristic states and target characteristic energies are obtained. The method does not require a classical computer to assist a quantum computer, and only requires a quantum computer to calculate the characteristic states and characteristic energies of the molecular Hamiltonian, which reduces the data interaction process between the classical computer and the quantum computer, thereby reducing the complexity of the calculation process of the characteristic states and characteristic energies of the molecular Hamiltonian.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of quantum computing technology, and in particular to a method, device, computer equipment and storage medium for all-quantum molecular information processing. Background Art

[0002] Quantum computing is a new type of computing method that follows the laws of quantum mechanics to control quantum information units for calculations. It has become a new hot research field for solving quantum chemistry problems and has huge potential market application value.

[0003] In traditional technology, in order to solve the characteristic state and characteristic energy of molecules, the variational quantum characteristic solution algorithm of classical quantum hybrid is usually used to prepare and measure quantum states on a quantum computer, and in the process, the optimization parameters are updated on the classical computer to continuously prepare and measure quantum states in a cycle. When the entire iterative process converges, the characteristic state and characteristic energy of the molecule are obtained. However, the traditional method makes the process of calculating the characteristic state and characteristic energy of molecules more complicated. Summary of the invention

[0004] Based on this, it is necessary to provide a full quantum molecular information processing method, device, computer equipment and storage medium to address the above technical problems.

[0005] A full quantum molecular processing method, the method comprising:

[0006] Obtaining coded information and entangled information based on the target molecule Hamiltonian;

[0007] Performing encoding processing, entanglement processing, decoding processing and measurement processing on the encoding information and the entangled information to obtain the initial characteristic state and initial characteristic energy of the Hamiltonian of the target molecule;

[0008] Based on the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian, the encoding information is updated to obtain updated encoding information;

[0009] The updated coding information is determined as the coding information, and the encoding processing, entanglement processing, decoding processing and measurement processing are continued through the coding information and the entangled information to obtain the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian, until the target characteristic state and target characteristic energy of the target molecule Hamiltonian are obtained.

[0010] In one embodiment, the updating of the coding information based on the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian to obtain updated coding information includes:

[0011] Performing arithmetic operations on the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian to obtain an update amount;

[0012] The coding information is updated according to the update amount to obtain the updated coding information.

[0013] In one embodiment, the encoding process, the entanglement process, the decoding process and the measurement process are performed on the coded information and the entangled information to obtain the initial characteristic state and the initial characteristic energy of the Hamiltonian of the target molecule, including:

[0014] Performing encoding processing and entanglement processing based on the encoding information and the entangled information to obtain an intermediate quantum state;

[0015] Decoding the intermediate quantum state by decoding information to obtain the target quantum state;

[0016] The target quantum state is measured and processed to determine the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian.

[0017] In one embodiment, performing encoding processing and entanglement processing based on the encoding information and the entangled information to obtain an intermediate quantum state includes:

[0018] Encoding the initial state information by using the encoding information to obtain an initial quantum state;

[0019] The initial quantum state is entangled by using the entanglement information to obtain the intermediate quantum state.

[0020] In one embodiment, the measuring and processing of the target quantum state to determine the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian includes:

[0021] Performing measurement processing on the target quantum state based on the Pauli basis vector matrix to determine the initial characteristic state of the target molecule Hamiltonian;

[0022] The initial characteristic energy of the target molecule Hamiltonian is determined by the initial characteristic state.

[0023] In one embodiment, the measuring and processing of the target quantum state to determine the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian includes:

[0024] Performing measurement processing on the target quantum state based on the Pauli basis vector matrix to determine the characteristic state of the target molecule Hamiltonian;

[0025] Determining the characteristic energy of the target molecule Hamiltonian through the characteristic state;

[0026] The step of obtaining the target molecule Hamiltonian is continued until the characteristic energy converges, and the current characteristic state is determined as the initial characteristic state of the target molecule Hamiltonian, and the current characteristic energy is determined as the initial characteristic energy of the target molecule Hamiltonian.

[0027] In one embodiment, the method further comprises:

[0028] Determining the Fermi Hamiltonian of the target molecule based on the property information of the atoms in the target molecule;

[0029] The Fermi Hamiltonian is mapped and transformed to obtain the target molecule Hamiltonian, where the target molecule Hamiltonian is a bit Hamiltonian in the Hilbert space.

[0030] A full quantum molecular processing device, comprising:

[0031] An information acquisition module, used to obtain encoding information and entanglement information according to the Hamiltonian of the target molecule;

[0032] A processing module, used for performing encoding processing, entanglement processing, decoding processing and measurement processing on the encoding information and the entangled information to obtain an initial characteristic state and an initial characteristic energy of the Hamiltonian of the target molecule;

[0033] An updating module, used for updating the coding information according to the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian to obtain updated coding information;

[0034] A loop execution module is used to determine the updated coding information as the coding information, continue to perform the coding processing, entanglement processing, decoding processing and measurement processing through the coding information and the entangled information, and obtain the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian until all target characteristic states and all target characteristic energies of the target molecule Hamiltonian are obtained.

[0035] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0036] An information acquisition module, used to obtain encoding information and entanglement information according to the Hamiltonian of the target molecule;

[0037] A processing module, used for performing encoding processing, entanglement processing, decoding processing and measurement processing on the encoding information and the entangled information to obtain an initial characteristic state and an initial characteristic energy of the Hamiltonian of the target molecule;

[0038] An updating module, used for updating the coding information according to the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian to obtain updated coding information;

[0039] A loop execution module is used to determine the updated coding information as the coding information, continue to perform the coding processing, entanglement processing, decoding processing and measurement processing through the coding information and the entangled information, and obtain the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian until all target characteristic states and all target characteristic energies of the target molecule Hamiltonian are obtained.

[0040] A storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0041] An information acquisition module, used to obtain encoding information and entanglement information according to the Hamiltonian of the target molecule;

[0042] A processing module, used for performing encoding processing, entanglement processing, decoding processing and measurement processing on the encoding information and the entangled information to obtain an initial characteristic state and an initial characteristic energy of the Hamiltonian of the target molecule;

[0043] An updating module, used for updating the coding information according to the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian to obtain updated coding information;

[0044] A loop execution module is used to determine the updated coding information as the coding information, continue to perform the coding processing, entanglement processing, decoding processing and measurement processing through the coding information and the entangled information, and obtain the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian until all target characteristic states and all target characteristic energies of the target molecule Hamiltonian are obtained.

[0045] The above-mentioned full quantum molecular processing method, device, computer equipment and storage medium, the computer equipment obtains coding information and entangled information based on the target molecular Hamiltonian, performs coding processing, entanglement processing, decoding processing and measurement processing through the coding information and entangled information to obtain the target characteristic state and target characteristic energy of the target molecular Hamiltonian, updates the coding information based on the initial characteristic state and initial characteristic energy of the target molecular Hamiltonian to obtain updated coding information, determines the updated coding information as the coding information, and continues to perform coding processing, entanglement processing, decoding processing and measurement processing through the coding information and entangled information to obtain the initial characteristic state and initial characteristic energy of the target molecular Hamiltonian, until the target characteristic state and target characteristic energy of the target molecular Hamiltonian are obtained; this method does not require a classical computer to assist a quantum computer, and only requires a quantum computer to calculate the characteristic state and characteristic energy of the molecular Hamiltonian, reduces the data interaction process between the classical computer and the quantum computer, and reduces resource overhead, thereby reducing the complexity of the calculation process of the characteristic state and characteristic energy of the molecular Hamiltonian. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 is an internal structure diagram of a computer device in one embodiment;

[0047] Figure 2 A schematic diagram of a process of a full quantum molecular processing method in one embodiment;

[0048] Figure 3 A schematic diagram of a method flow for updating coding information in one embodiment;

[0049] Figure 4 A flow chart of a method for obtaining a target characteristic state and a target characteristic energy of a target molecule Hamiltonian in one embodiment;

[0050] Figure 5 A schematic flow chart of a method for determining an intermediate quantum state in another embodiment;

[0051] Figure 6 A schematic flow chart of a method for determining a target characteristic state and a target characteristic energy of a target molecule Hamiltonian in another embodiment;

[0052] Figure 7 It is a schematic flow chart of a specific method for determining a target characteristic state and a target characteristic energy of a target molecule Hamiltonian in another embodiment;

[0053] Figure 8 A schematic flow chart of a method for obtaining the Hamiltonian of a target molecule in another embodiment;

[0054] Fig. 9 FIG. 4 is a structural block diagram of a full quantum molecular processing device in one embodiment. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0056] The full quantum molecular processing method provided in this application can be applied to Figure 1 Computer equipment as shown. Figure 1 As shown, the computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store pipelines and pipeline attribute information. The network interface of the computer device is used to communicate with an external end point through a network connection. When the computer program is executed by the processor, a full quantum molecular processing method is implemented.

[0057] Those skilled in the art will understand that Figure 1 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0058] In one embodiment, Figure 2 As shown in the figure, a full quantum molecular processing method is provided. This method is usually used in disciplines such as physics and chemistry to extract the characteristic states and characteristic energies of systems such as molecules and atoms. Specific applications include predicting molecular or material properties and reaction processes, protein folding, and drug development. Figure 1 The computer device in the example is used to illustrate, including the following steps:

[0059] S100, obtaining encoding information and entanglement information based on the target molecule Hamiltonian.

[0060] Specifically, the above-mentioned full quantum molecular processing method can be applied to quantum computers. Computer devices that can process and calculate quantum information and run quantum algorithms can be called quantum computers. Therefore, the computer device in this embodiment can be called a quantum computer. In this embodiment, only a quantum computer is needed, and no additional traditional computer equipment is required to execute the above-mentioned full quantum molecular processing method to solve the excited state and excited state energy of the target molecule Hamiltonian. Since quantum computers can process data in parallel, the computing efficiency of quantum computers can be greatly improved, and the computing speed of the entire algorithm can be improved. The difference between the above-mentioned computer device and the classical computer device is that the traditional computer device encodes data with binary values ​​0 and 1, while the computer device uses the quantum superposition state α|0>+β|1> for encoding, where α and β are both complex numbers, and |α| 2 +|β| 2 =1, which is the quantum amplitude.

[0061] It should be noted that the target molecule Hamiltonian can be in the form of a Hermitian matrix, denoted by H. If a system such as a molecule or an atom is represented by n quantum bits, then H can be a 2 n ×2 n The Hermitian matrix is ​​a conjugate symmetric complex matrix. According to the principles of quantum mechanics, the target molecular Hamiltonian of a system such as a molecule or an atom can have corresponding characteristic energies and characteristic states. Therefore, a series of processing based on the target molecular Hamiltonian can obtain the initial characteristic state and initial characteristic energy of the target molecular Hamiltonian, where the initial characteristic state can be a vector and the initial characteristic energy can be a numerical value.

[0062] In this embodiment, after the molecular Hamiltonian of n quantum bits is mapped and transformed, the target molecular Hamiltonian H can be expressed as P i represents the data item obtained by the direct product of n Pauli vector matrices, H represents the matrix, α i Represents data item P i The coefficient of Li can be less than or equal to 4 n .

[0063] Among them, the computer device can be based on the Hamiltonian of the target molecule Determine the encoding information V i and entangled information U. The above coded information V i is a multi-bit operator (i.e., a matrix), which can also be called a multi-bit logic gate in this embodiment. Li ] is the coded information V i In order to ensure that [α1-λ0, α2, …, α Li] can be obtained by Schmidt orthogonalizing [α1-λ0, α2, …, α Li ] is processed to obtain the coded information V i , λ0 is the bias constant. The above entangled information U can be expressed as

[0064] S200, performing encoding processing, entanglement processing, decoding processing and measurement processing on the encoded information and the entangled information to obtain the initial characteristic state and initial characteristic energy of the Hamiltonian of the target molecule.

[0065] It is understandable that the computer device can determine the target molecule Hamiltonian H in real time by calculation, and can also obtain the target molecule Hamiltonian H pre-stored locally or in the cloud. The process of determining the initial characteristic state of the target molecule Hamiltonian can be understood as solving the characteristic vector of the target molecule Hamiltonian H, and the characteristic value of the characteristic vector can be the energy when the system such as molecules and atoms is in the characteristic state, that is, the characteristic energy. The characteristic state of the molecular Hamiltonian is also the characteristic state of the system such as molecules and atoms, and can include excited states and ground states. Among them, the ground state of the system such as molecules and atoms can be understood as the characteristic vector with the minimum eigenvalue of the target molecule Hamiltonian H, and this minimum eigenvalue is the ground state energy of the system such as molecules and atoms. In this embodiment, the initial characteristic state can be an excited state and a ground state, and the initial characteristic energy can be the energy corresponding to the excited state (i.e., the excited state energy), and the energy corresponding to the ground state (i.e., the ground state energy). The excited state of the system such as molecules and atoms can be understood as all the characteristic vectors of the target molecule Hamiltonian H except the ground state, and the energy corresponding to the kth excited state can be equal to the k+1th smallest eigenvalue of the target molecule Hamiltonian H.

[0066] Specifically, the computer device can perform encoding processing, entanglement processing, decoding processing and measurement processing in sequence through the encoded information and the entangled information, and then determine the initial characteristic state of the target molecule Hamiltonian |E through the four processing results i > and the initial characteristic energy E i .

[0067] Alternatively, the computer device can also first perform encoding processing on the encoded information, perform entanglement processing on the encoding processing result, and then perform decoding processing and measurement processing on the entanglement processing result to obtain the initial characteristic state |E of the target molecule Hamiltonian i > and the initial characteristic energy E i Of course, it is also possible to first perform encoding processing on the encoded information, perform entanglement processing on the encoding processing results, and then perform decoding processing and measurement processing on the entanglement processing results respectively, and then determine the initial characteristic state of the target molecule Hamiltonian |E through the decoding processing results and the measurement processing results. i > and the initial characteristic energy E i .

[0068] In addition, the computer equipment can also perform encoding processing, entanglement processing, decoding processing and measurement processing through some basic information, encoding information and entanglement information to obtain the initial characteristic state of the target molecule Hamiltonian |E i > and the initial characteristic energy E i The encoding process, the entanglement process, the decoding process and the measurement process can all be understood as operation processes, which can specifically include addition operations, subtraction operations, multiplication operations, division operations, exponential operations and / or logarithmic operations, etc. However, the encoding process, the entanglement process, the decoding process and the measurement process are all different.

[0069] S300, updating the coding information based on the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian to obtain updated coding information.

[0070] Specifically, the computer device can calculate the initial characteristic state of the Hamiltonian of the target molecule |E i > and the initial characteristic energy E i Preprocessing, analysis processing, comparison processing and / or conversion processing are performed to obtain processing results, and then the coding information is updated according to the processing results to obtain updated coding information. In this embodiment, the initial characteristic state can be a ground state, and the initial characteristic energy can be a ground state energy. That is, the computer device updates the coding information based on the ground state and ground state energy of the Hamiltonian of the target molecule to obtain updated coding information.

[0071] S400, determining the updated coding information as the coding information, and continuing to perform coding processing, entanglement processing, decoding processing and measurement processing through the coding information and the entangled information to obtain the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian, until the target characteristic state and target characteristic energy of the target molecule Hamiltonian are obtained.

[0072] It should be noted that the computer device may determine the updated coding information as the coding information, and then continue to execute the above S200, and use the obtained initial characteristic state and initial characteristic energy of the target molecule Hamiltonian as the excited state and excited state energy of the target molecule Hamiltonian, until the target characteristic state (i.e., all excited states) and target characteristic energy (i.e., all excited state energies) of the target molecule Hamiltonian are obtained, and the target characteristic state |E> and target characteristic energy E are obtained. In this embodiment, the basic properties of the target molecule and / or basic processes such as chemical reactions can be determined based on the target characteristic state |E> and target characteristic energy E of the target molecule Hamiltonian corresponding to the target molecule.

[0073] It is understandable that the steps in S400 above may be a cyclic processing process to determine all excited states and all excited state energies of the target analysis Hamiltonian. The number of cyclic processing times may be greater than or equal to 1. As the number of cyclic processing times increases, the excited state energy obtained will gradually increase, that is, the excited state energy obtained after the first cyclic processing is the minimum energy.

[0074] In the above-mentioned full quantum molecular processing method, the computer device obtains the coding information and the entangled information based on the target molecule Hamiltonian, performs coding processing, entanglement processing, decoding processing and measurement processing through the coding information and the entangled information, obtains the target characteristic state and the target characteristic energy of the target molecule Hamiltonian, updates the coding information based on the initial characteristic state and the initial characteristic energy of the target molecule Hamiltonian, obtains the updated coding information, determines the updated coding information as the coding information, continues to perform coding processing, entanglement processing, decoding processing and measurement processing through the coding information and the entangled information, obtains the initial characteristic state and the initial characteristic energy of the target molecule Hamiltonian, until the target molecule Hamiltonian is obtained. The method does not require a classical computer to assist a quantum computer, but only requires a quantum computer to calculate the excited state and excited state energy of the molecular Hamiltonian, which reduces the data interaction process between the classical computer and the quantum computer, and reduces resource overhead, thereby reducing the complexity of the calculation process of the excited state and excited state energy of the target molecular Hamiltonian; at the same time, the method calculates the excited state and excited state energy of the molecular Hamiltonian through a quantum computer, and utilizes the properties of quantum superposition and quantum entanglement in the quantum computer, which can improve the data processing speed; in addition, the method can achieve fast convergence through a quantum computer and has stronger robustness to noise.

[0075] As one of the embodiments, Figure 3 As shown, the step of updating the coding information based on the target characteristic state and target characteristic energy of the target molecule Hamiltonian in the above S300 to obtain the updated coding information may include:

[0076] S310, performing arithmetic operations on the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian to obtain an updated value.

[0077] Specifically, the computer device can calculate the initial characteristic state of the Hamiltonian of the target molecule |E i > and the initial characteristic energy E i Perform arithmetic operations. The specific process of the arithmetic operation can be expressed as E i ε i / 2 n , that is, E i ε i / 2 n is the update amount, where εi represents the initial characteristic state |E i >Measured values ​​under different Pauli basis vector matrices, ε i equal <E i |P i |E i >. In this embodiment, the initial characteristic state may be a ground state, and the initial characteristic energy may be ground state energy.

[0078] S320: Update the coding information according to the update amount to obtain updated coding information.

[0079] It should be noted that the specific process of updating the coding information according to the update amount can be expressed by the formula α i -E i ε i / 2 n , i.e. the updated coding information. Then the updated coding information is used as the coding information for calculating the excited state and excited state energy of the target molecule Hamiltonian, and the steps in the above S200 are continued.

[0080] The above-mentioned full quantum molecular processing method can obtain updated coding information, and further determine the excited state and excited state energy of the target molecule Hamiltonian based on the updated coding information. This process does not require a classical computer to assist a quantum computer, but only requires a quantum computer to be implemented, reducing the data interaction process between the classical computer and the quantum computer, and reducing resource overhead, thereby reducing the complexity of the calculation process of the excited state and excited state energy of the target molecule Hamiltonian; at the same time, this method can achieve fast convergence through a quantum computer and has stronger robustness to noise.

[0081] As one of the embodiments, Figure 4 As shown, the steps of performing encoding processing, entanglement processing, decoding processing and measurement processing on the encoded information and the entangled information in the above S200 to obtain the target characteristic state and target characteristic energy of the target molecule Hamiltonian can be implemented by the following steps:

[0082] S210, performing encoding processing and entanglement processing based on the encoding information and the entangled information to obtain an intermediate quantum state.

[0083] Specifically, the computer device may encode the coded information, entangle the entangled information, and then combine the coding process result and the entangled process result to determine the intermediate quantum state. Alternatively, the computer device may first encode the coded information, entangle the coding process result and the entangled information, and determine the entangled process result as the intermediate quantum state. Of course, the computer device may also encode the coded information and entangle the entangled information through some basic information, and then combine the coding process result and the entangled process result to determine the intermediate quantum state.

[0084] Among them, Figure 5 As shown, the step of performing encoding processing and entanglement processing based on the encoding information and the entangled information in the above S210 to obtain the intermediate quantum state may specifically include:

[0085] S211. Encode the initial state information by encoding the information to obtain an initial quantum state.

[0086] Specifically, when executing the above-mentioned all-quantum molecular processing method, the computer device sets the initial state to be the |0> state, and the above-mentioned initial state information may be the |0> state information, and the |0> state information may be in vector form. The computer device may encode the information V i and |0> state information to obtain the initial quantum state V i |0>. Initial quantum state V i |0> can be equal to in, And C represents the normalization coefficient.

[0087] S212. Entanglement processing is performed on the initial quantum state through entanglement information to obtain an intermediate quantum state.

[0088] Furthermore, the computer device can entangle the information U and the initial quantum state V i |0> performs entanglement processing to obtain an intermediate quantum state. The above entangled information U is a multi-bit operator, which can also be called a multi-bit controlled gate in this embodiment. The number of entangled information U can be equal to the number of expansion items of the target molecule Hamiltonian under the Pauli matrix.

[0089] This embodiment can obtain an intermediate quantum state, and perform decoding processing through the intermediate quantum state and decoding information to obtain a target quantum state; this method does not require a classical computer to assist a quantum computer, and only requires a quantum computer to calculate the target quantum state, and further determines the characteristic state and characteristic energy of the molecular Hamiltonian based on the target quantum state, thereby reducing the data interaction process between the classical computer and the quantum computer, and reducing resource overhead, thereby reducing the complexity of the calculation process of the characteristic state and characteristic energy of the molecular Hamiltonian; at the same time, this method realizes the calculation process through a quantum computer, which can improve the calculation speed of the entire algorithm.

[0090] S220, decoding the intermediate quantum state by decoding information to obtain a target quantum state.

[0091] Specifically, the computer device can decode the decoding information Hd and the intermediate quantum state to obtain the target quantum state Φ. The above decoding information Hd can be understood as a 2*2 unitary matrix, which can also be called a single-bit Hadamard gate. In this embodiment, it can be

[0092] If the intermediate quantum state contains log2Li quantum bits, the computer device can apply a single-bit Hadamard gate to the intermediate quantum state of each quantum bit, and combine the results obtained each time as the target quantum state Φ. The above initial quantum state, intermediate quantum state and target quantum state can all be represented in vector form.

[0093] S230, measuring and processing the target quantum state to determine the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian.

[0094] Specifically, the computer device can measure and process the target quantum state to determine the initial characteristic state of the target molecule Hamiltonian |E i > and the initial characteristic energy E i The initial characteristic state obtained by the first calculation |E i > can be the ground state, with the initial characteristic energy E i It can be the ground state energy.

[0095] Among them, Figure 6 As shown, the step of measuring and processing the target quantum state in the above S230 to determine the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian may specifically include:

[0096] S231. Measure and process the target quantum state based on the Pauli basis vector matrix to determine the initial characteristic state of the target molecule Hamiltonian.

[0097] Specifically, the computer device can calculate the target quantum state Φ and different Pauli basis vector matrices P iPerform calculations to obtain the initial characteristic state of the target molecule Hamiltonian |E i >.

[0098] S232. Determine the initial characteristic energy of the target molecule Hamiltonian through the initial characteristic state.

[0099] It should be noted that the computer equipment can calculate the coefficient α in the Hamiltonian of the target molecule. i and the initial characteristic state |E i >Perform calculations to obtain the initial characteristic energy E of the target molecule Hamiltonian i The above-mentioned operation processing can be addition operation, subtraction operation, multiplication operation and / or division operation, etc. However, in this embodiment, the specific operation processing process can be expressed as That is, the initial characteristic energy E of the target molecule Hamiltonian i , ε i represents the initial characteristic state |E i >Measured values ​​under different Pauli basis vector matrices, ε i equal <E i |P i |E i >. Among them, the above initial characteristic state |E i > and the initial characteristic energy E i It can be the value corresponding to the energy convergence.

[0100] This embodiment does not require a classical computer to assist a quantum computer, and only requires a quantum computer to calculate the characteristic state and characteristic energy of the molecular Hamiltonian, which reduces the data interaction process between the classical computer and the quantum computer and reduces resource overhead, thereby reducing the complexity of the calculation process of the characteristic state and characteristic energy of the molecular Hamiltonian; at the same time, the process calculates the characteristic state and characteristic energy of the molecular Hamiltonian through a quantum computer, utilizing the properties of quantum superposition and quantum entanglement in the quantum computer, and can improve the data processing speed.

[0101] The above-mentioned full quantum molecular processing method can perform encoding processing and entanglement processing based on encoding information and entangled information to obtain an intermediate quantum state, decode the intermediate quantum state through decoding information to obtain a target quantum state, measure the target quantum state, and determine the target characteristic state and target characteristic energy of the target molecular Hamiltonian; this method does not require a classical computer to assist a quantum computer, and only requires a quantum computer to calculate the characteristic state and characteristic energy of the molecular Hamiltonian, which reduces the data interaction process between the classical computer and the quantum computer, and reduces resource overhead, thereby reducing the complexity of the calculation process of the characteristic state and characteristic energy of the molecular Hamiltonian; at the same time, this method calculates the characteristic state and characteristic energy of the molecular Hamiltonian through a quantum computer, utilizes the properties of quantum superposition and quantum entanglement in the quantum computer, and can improve the data processing speed.

[0102] As one of the embodiments, Figure 7 As shown, the step of measuring and processing the target quantum state in the above S230 to determine the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian may specifically include:

[0103] S233. Measure and process the target quantum state based on the Pauli basis vector matrix to determine the characteristic state of the target molecule Hamiltonian.

[0104] Specifically, the computer device can calculate the target quantum state Φ and different Pauli basis vector matrices P i Perform calculations to obtain the characteristic state of the target molecule Hamiltonian |E' i >.

[0105] S234. Determine the characteristic energy of the target molecule Hamiltonian through the characteristic state.

[0106] It should be noted that the computer equipment can calculate the coefficient α in the Hamiltonian of the target molecule. i and the characteristic state |E' i >Perform calculations to obtain the characteristic energy E of the target molecule Hamiltonian i The above-mentioned operation processing can be addition operation, subtraction operation, multiplication operation and / or division operation, etc. However, in this embodiment, the specific operation processing process can be expressed as That is, the characteristic energy E of the target molecule Hamiltonian i '.

[0107] S235, continue to obtain the target molecule Hamiltonian until the characteristic energy converges, and determine the current characteristic state as the initial characteristic state of the target molecule Hamiltonian, and determine the current characteristic energy as the initial characteristic energy of the target molecule Hamiltonian.

[0108] Specifically, the above characteristic state |E' i > and characteristic energy E i ' can be the corresponding value when the energy has not converged. In order to make the energy converge, all the above steps can be continued to calculate the characteristic state of the target molecule Hamiltonian |E' i > and characteristic energy E i ', until the energy converges, the current characteristic state |E' i >Determined as the initial characteristic state of the target molecule Hamiltonian |E i >, the current feature can E i 'Determine the initial characteristic energy E of the target molecule Hamiltonian i Energy convergence can be understood as the characteristic energies obtained from multiple calculations before and after are approximately equal or completely equal.

[0109] The above-mentioned full quantum molecular processing method can measure and process the target quantum state and determine the initial characteristic state and initial characteristic energy of the target molecular Hamiltonian. This process does not require a classical computer to assist the quantum computer. Only a quantum computer is needed to calculate the characteristic state and characteristic energy of the molecular Hamiltonian, which reduces the data interaction process between the classical computer and the quantum computer and reduces resource overhead, thereby reducing the complexity of the calculation process of the characteristic state and characteristic energy of the molecular Hamiltonian; at the same time, this method calculates the characteristic state and characteristic energy of the molecular Hamiltonian through a quantum computer, which can improve the calculation speed of the entire algorithm; in addition, this method can achieve rapid convergence through a quantum computer and has stronger robustness to noise.

[0110] As one of the embodiments, before the above step S100, Figure 8 As shown, the above-mentioned full quantum molecular processing method may also include:

[0111] S500: Determine the Fermi Hamiltonian of the target molecule based on the property information of the atoms in the target molecule.

[0112] Specifically, the computer device can determine the Fermi Hamiltonian of the target molecule using a quantum computing open source software package based on the property information of the atoms contained in the target molecule in the system of molecules, atoms, etc. The property information of the atoms can be information such as the spacing distance between different atoms in the target molecule, the composition structure between different atoms, the structure type, etc. The above quantum computing open source software package can be Openfermin or Cambridge Quantum, etc. The above Fermi Hamiltonian can be understood as a fermion operator.

[0113] S600, mapping and transforming the Fermi Hamiltonian to obtain a target molecular Hamiltonian, where the target molecular Hamiltonian is a bit Hamiltonian in the Hilbert space.

[0114] It is understandable that, since the operation of a quantum computer is based on unitary matrix operations, the computer device can first perform a mapping transformation on the Fermi Hamiltonian to obtain the target molecule Hamiltonian. The above mapping transformation can be understood as a format conversion process. The above target molecule Hamiltonian can be understood as a Pauli operator. The above mapping transformation method can be Jordan-Wigner transformation, parity encoding transformation, Bravyi-Kitaev transformation, and the like. The Fermi Hamiltonian can be a representation based on the number of particles, and the transformed target molecule Hamiltonian can be a representation based on a unitary matrix (i.e., the direct product of the Pauli matrix).

[0115] The above-mentioned full quantum molecular processing method can first convert the Hamiltonian into a target molecular Hamiltonian in a target format that can be processed by a quantum computer, thereby facilitating the quantum computer to directly process the target molecular Hamiltonian, speeding up the processing speed and improving the calculation speed of the entire algorithm.

[0116] In order to facilitate the understanding of those skilled in the art, the full quantum molecular processing method provided by the present application is introduced by taking a computer device as an example. Specifically, the method includes:

[0117] (1) Based on the property information of the atoms in the target molecule, the Fermi Hamiltonian of the target molecule is determined.

[0118] (2) The Fermi Hamiltonian is mapped and transformed to obtain the target molecular Hamiltonian, which is the bit Hamiltonian of the Hilbert space.

[0119] (3) Obtain the encoded information and entangled information based on the target molecule Hamiltonian.

[0120] (4) The initial state information is encoded by encoding information to obtain the initial quantum state.

[0121] (5) The initial quantum state is entangled through entanglement information to obtain an intermediate quantum state.

[0122] (6) The intermediate quantum state is decoded by decoding information to obtain the target quantum state.

[0123] (7) The target quantum state is measured and processed based on the Pauli basis vector matrix to determine the characteristic state of the target molecular Hamiltonian.

[0124] (8) Determine the characteristic energy of the target molecule Hamiltonian through the initial characteristic state.

[0125] (9) Continue to obtain the target molecule Hamiltonian until the characteristic energy converges, and determine the current characteristic state as the initial characteristic state of the target molecule Hamiltonian, and determine the current characteristic energy as the initial characteristic energy of the target molecule Hamiltonian.

[0126] (10) Performing arithmetic operations on the target characteristic state and target characteristic energy of the target molecular Hamiltonian to obtain an updated quantity.

[0127] (11) The coding information is updated according to the update amount to obtain updated coding information.

[0128] The execution process of the above (1) to (11) can be specifically referred to the description of the above embodiment. The implementation principle and technical effect are similar and will not be repeated here.

[0129] It should be understood that although Figure 2-8The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-8 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0130] In one embodiment, Fig. 9 As shown, a full quantum molecular information processing device is provided, comprising: an information acquisition module 11, a processing module 12, an update module 13 and a loop execution module 14, wherein:

[0131] An information acquisition module 11 is used to obtain encoding information and entanglement information according to the target molecule Hamiltonian;

[0132] A processing module 12 is used to perform encoding processing, entanglement processing, decoding processing and measurement processing on the encoded information and the entangled information to obtain a target characteristic state and a target characteristic energy of the Hamiltonian of the target molecule;

[0133] An updating module 13, used for updating the coding information according to the initial characteristic state and initial characteristic energy of the Hamiltonian of the target molecule to obtain updated coding information;

[0134] The loop execution module 14 is used to determine the updated coding information as the coding information, and continue to perform coding processing, entanglement processing, decoding processing and measurement processing through the coding information and the entangled information to obtain the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian, until the target characteristic state and target characteristic energy of the target molecule Hamiltonian are obtained.

[0135] The full quantum molecular information processing device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0136] In one embodiment, the updating module 13 includes: a computing unit and an information updating unit, wherein:

[0137] An operation unit, used for performing arithmetic operations on the initial characteristic state and initial characteristic energy of the Hamiltonian of the target molecule to obtain an update amount;

[0138] The information updating unit is used to update the coding information according to the update amount to obtain updated coding information.

[0139] The full quantum molecular information processing device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0140] In one embodiment, the processing module 12 includes: a comprehensive processing unit, a decoding processing unit and a measurement processing unit, wherein:

[0141] A comprehensive processing unit, used for performing encoding processing and entanglement processing according to the encoding information and the entanglement information to obtain an intermediate quantum state;

[0142] A decoding processing unit, used to decode the intermediate quantum state through decoding information to obtain a target quantum state;

[0143] The measurement processing unit is used to measure and process the target quantum state to determine the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian.

[0144] The full quantum molecular information processing device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0145] In one embodiment, the integrated processing unit includes: an encoding processing subunit and an entanglement processing subunit, wherein:

[0146] The encoding processing subunit is used to encode the initial state information through the encoding information to obtain the initial quantum state;

[0147] The entanglement processing subunit is used to perform entanglement processing on the initial quantum state through entanglement information to obtain an intermediate quantum state.

[0148] The full quantum molecular information processing device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0149] In one embodiment, the measurement processing unit includes: a measurement processing subunit and a feature energy determination subunit, wherein:

[0150] A measurement processing subunit, used to perform measurement processing on the target quantum state according to the Pauli basis vector matrix, and determine the initial characteristic state of the target molecule Hamiltonian;

[0151] The target characteristic energy determination subunit is used to determine the initial characteristic energy of the target molecule Hamiltonian through the initial characteristic state.

[0152] The full quantum molecular information processing device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0153] In one embodiment, the measurement processing unit includes: an initial characteristic state determination subunit, an initial characteristic energy determination subunit and a loop processing subunit, wherein:

[0154] An initial characteristic state determination subunit is used to measure and process the target quantum state based on the Pauli basis vector matrix to determine the characteristic state of the target molecule Hamiltonian;

[0155] An initial characteristic energy determination subunit is used to determine the characteristic energy of the target molecule Hamiltonian through the characteristic state;

[0156] The loop processing subunit is used to continue to execute the acquisition of the target molecule Hamiltonian until the characteristic energy converges, and determine the current characteristic state as the initial characteristic state of the target molecule Hamiltonian, and determine the current characteristic energy as the initial characteristic energy of the target molecule Hamiltonian.

[0157] The full quantum molecular information processing device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0158] In one embodiment, the full quantum molecular information processing device further includes: a Hamiltonian determination unit and a mapping transformation module, wherein:

[0159] A Hamiltonian determination module is used to determine the Fermi Hamiltonian of the target molecule based on the property information of the atoms in the target molecule;

[0160] The mapping transformation module is used to map and transform the Fermi Hamiltonian to obtain the target molecular Hamiltonian, and the target molecular Hamiltonian is the bit Hamiltonian of the Hilbert space.

[0161] The full quantum molecular information processing device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0162] For the specific definition of the all-quantum molecular information processing device, please refer to the definition of the all-quantum molecular information processing method above, which will not be repeated here. Each module in the above-mentioned all-quantum molecular information processing device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0163] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0164] Obtaining coded information and entangled information based on the target molecule Hamiltonian;

[0165] By performing encoding processing, entanglement processing, decoding processing and measurement processing on the encoded information and the entangled information, the target characteristic state and target characteristic energy of the Hamiltonian of the target molecule are obtained;

[0166] Based on the target characteristic state and target characteristic energy of the target molecule Hamiltonian, the encoding information is updated to obtain updated encoding information;

[0167] The updated coding information is determined as the coding information, and the coding processing, entanglement processing, decoding processing and measurement processing are continued through the coding information and the entangled information to obtain the target characteristic state and target characteristic energy of the target molecule Hamiltonian, until all target characteristic states and all target characteristic energies of the target molecule Hamiltonian are obtained.

[0168] In one embodiment, a storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0169] Obtaining coded information and entangled information based on the target molecule Hamiltonian;

[0170] By performing encoding processing, entanglement processing, decoding processing and measurement processing on the encoded information and the entangled information, the target characteristic state and target characteristic energy of the Hamiltonian of the target molecule are obtained;

[0171] Based on the target characteristic state and target characteristic energy of the target molecule Hamiltonian, the encoding information is updated to obtain updated encoding information;

[0172] The updated coding information is determined as the coding information, and the coding processing, entanglement processing, decoding processing and measurement processing are continued through the coding information and the entangled information to obtain the target characteristic state and target characteristic energy of the target molecule Hamiltonian, until all target characteristic states and all target characteristic energies of the target molecule Hamiltonian are obtained.

[0173] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0174] Obtaining coded information and entangled information based on the target molecule Hamiltonian;

[0175] By performing encoding processing, entanglement processing, decoding processing and measurement processing on the encoded information and the entangled information, the target characteristic state and target characteristic energy of the Hamiltonian of the target molecule are obtained;

[0176] Based on the target characteristic state and target characteristic energy of the target molecule Hamiltonian, the encoding information is updated to obtain updated encoding information;

[0177] The updated coding information is determined as the coding information, and the coding processing, entanglement processing, decoding processing and measurement processing are continued through the coding information and the entangled information to obtain the target characteristic state and target characteristic energy of the target molecule Hamiltonian, until all target characteristic states and all target characteristic energies of the target molecule Hamiltonian are obtained.

[0178] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0179] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0180] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A method for all-quantum molecular information processing, characterized in that: The method comprises: Obtaining coded information and entangled information based on the target molecule Hamiltonian; Performing encoding processing, entanglement processing, decoding processing and measurement processing on the encoding information and the entangled information to obtain the initial characteristic state and initial characteristic energy of the Hamiltonian of the target molecule; Based on the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian, the encoding information is updated to obtain updated encoding information; Determine the updated coding information as coding information, continue to perform the coding process, entanglement process, decoding process and measurement process by using the coding information and the entangled information, and obtain the initial characteristic state and initial characteristic energy of the Hamiltonian of the target molecule, until all excited states and all excited state energies of the Hamiltonian of the target molecule are obtained; The updating of the coding information based on the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian to obtain updated coding information includes: Performing arithmetic operations on the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian to obtain an update amount; Updating the coding information according to the update amount to obtain the updated coding information; Wherein, the update amount is expressed as: ; The updated coding information is expressed as: in, i equal to 1, ..., Li, Li is less than or equal to 4 n ; n the number of qubits representing the target molecule Hamiltonian; represents the initial characteristic energy; represents the initial characteristic state; express Measured values ​​under different Pauli basis vector matrices; V i represents the coded information; Represents the coded information V i The first column of data in; Represents a data item The coefficient of express n The data items are obtained by direct product of Pauli vector matrices.

2. The method according to claim 1, characterized in that The encoding process, the entanglement process, the decoding process and the measurement process are performed on the encoding information and the entangled information to obtain the initial characteristic state and the initial characteristic energy of the Hamiltonian of the target molecule, including: Performing encoding processing and entanglement processing based on the encoding information and the entangled information to obtain an intermediate quantum state; Decoding the intermediate quantum state by decoding information to obtain a target quantum state; The target quantum state is measured and processed to determine the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian.

3. The method according to claim 2, characterized in that The performing encoding processing and entanglement processing based on the encoding information and the entangled information to obtain an intermediate quantum state includes: Encoding the initial state information by using the encoding information to obtain an initial quantum state; The initial quantum state is entangled by using the entanglement information to obtain the intermediate quantum state.

4. The method according to claim 2 or 3, characterized in that: The measuring and processing of the target quantum state to determine the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian includes: Performing measurement processing on the target quantum state based on the Pauli basis vector matrix to determine the initial characteristic state of the target molecule Hamiltonian; The initial characteristic energy of the target molecule Hamiltonian is determined by the initial characteristic state.

5. The method according to claim 2 or 3, characterized in that: The measuring and processing of the target quantum state to determine the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian includes: Performing measurement processing on the target quantum state based on the Pauli basis vector matrix to determine the characteristic state of the target molecule Hamiltonian; Determining the characteristic energy of the target molecule Hamiltonian through the characteristic state; Continue to obtain the target molecule Hamiltonian until the characteristic energy converges, and determine the current characteristic state as the initial characteristic state of the target molecule Hamiltonian, and determine the current characteristic energy as the initial characteristic energy of the target molecule Hamiltonian.

6. The method according to any one of claims 1 to 3, characterized in that The method further comprises: Determining the Fermi Hamiltonian of the target molecule based on the property information of the atoms in the target molecule; The Fermi Hamiltonian is mapped and transformed to obtain the target molecule Hamiltonian, where the target molecule Hamiltonian is a bit Hamiltonian in the Hilbert space.

7. A fully quantum molecular information processing device, characterized in that: The device comprises: An information acquisition module, used to obtain encoding information and entanglement information according to the Hamiltonian of the target molecule; A processing module, used for performing encoding processing, entanglement processing, decoding processing and measurement processing on the encoding information and the entangled information to obtain an initial characteristic state and an initial characteristic energy of the Hamiltonian of the target molecule; An updating module, used for updating the coding information according to the initial characteristic state and initial characteristic energy of the Hamiltonian of the target molecule to obtain updated coding information; a loop execution module, configured to determine the updated coding information as coding information, and continue to perform the coding process, the entanglement process, the decoding process, and the measurement process by using the coding information and the entangled information to obtain the initial characteristic state and the initial characteristic energy of the Hamiltonian of the target molecule, until all excited states and all excited state energies of the Hamiltonian of the target molecule are obtained; Wherein, the update module includes: A calculation unit, used for performing arithmetic operation on the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian to obtain an update amount; An information updating unit, configured to update the coding information according to the update amount to obtain the updated coding information; Wherein, the update amount is expressed as: ; The updated coding information is expressed as: in, i equal to 1, ..., Li, Li is less than or equal to 4 n ; n the number of qubits representing the target molecule Hamiltonian; represents the initial characteristic energy; represents the initial characteristic state; express Measured values ​​under different Pauli basis vector matrices; V i represents the coded information; Represents the coded information V i The first column of data in; Represents a data item The coefficient of express n The data items are obtained by direct product of Pauli vector matrices.

8. The device according to claim 7, characterized in that The processing module comprises: A comprehensive processing unit, used for performing encoding processing and entanglement processing according to the encoding information and the entanglement information to obtain an intermediate quantum state; A decoding processing unit, used to decode the intermediate quantum state through decoding information to obtain a target quantum state; The measurement processing unit is used to measure and process the target quantum state to determine the initial characteristic state and initial characteristic energy of the target molecule Hamiltonian.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.