[go: up one dir, main page]

CN115790822A - Method and device for determining molecular vibration frequency - Google Patents

Method and device for determining molecular vibration frequency Download PDF

Info

Publication number
CN115790822A
CN115790822A CN202211408771.5A CN202211408771A CN115790822A CN 115790822 A CN115790822 A CN 115790822A CN 202211408771 A CN202211408771 A CN 202211408771A CN 115790822 A CN115790822 A CN 115790822A
Authority
CN
China
Prior art keywords
determined
molecule
energy
ground state
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211408771.5A
Other languages
Chinese (zh)
Inventor
请求不公布姓名
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Origin Quantum Computing Technology Co Ltd
Original Assignee
Origin Quantum Computing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Origin Quantum Computing Technology Co Ltd filed Critical Origin Quantum Computing Technology Co Ltd
Priority to CN202211408771.5A priority Critical patent/CN115790822A/en
Publication of CN115790822A publication Critical patent/CN115790822A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开了一种确定分子振动频率的方法及装置,方法包括:获得待确定分子的试验态,并计算当前试验态对应的能量期望,判断试验态对应的能量期望是否满足待确定分子基态能量的计算终止条件,若是,则基于当前能量期望作为待确定分子的基态能量,并计算海森矩阵,否则,更新试验态,计算更新后的试验态对应的能量期望,继续执行判断试验态对应的能量期望是否满足待确定分子基态能量的计算终止条件的步骤,直至获取满足计算终止条件的待确定分子的基态能量及待确定分子基态能量的海森矩阵,根据待确定分子基态能量的海森矩阵,计算待确定分子的振动频率,利用量子的相关特性,加速分子振动频率的求解过程,优化求解方式并提高求解速度。

Figure 202211408771

The invention discloses a method and device for determining the vibration frequency of a molecule. The method includes: obtaining the test state of the molecule to be determined, calculating the energy expectation corresponding to the current test state, and judging whether the energy expectation corresponding to the test state satisfies the ground state energy of the molecule to be determined If so, then based on the current energy expectation as the ground state energy of the molecule to be determined, and calculate the Hessian matrix, otherwise, update the test state, calculate the energy expectation corresponding to the updated test state, and continue to execute the judgment corresponding to the test state The step of whether the energy expectation meets the calculation termination condition of the molecular ground state energy to be determined, until the ground state energy of the molecule to be determined meeting the calculation termination condition and the Hessian matrix of the molecular ground state energy to be determined are obtained, according to the Hessian matrix of the molecular ground state energy to be determined , calculate the vibration frequency of the molecule to be determined, use the quantum correlation characteristics to speed up the solution process of the molecular vibration frequency, optimize the solution method and increase the solution speed.

Figure 202211408771

Description

一种确定分子振动频率的方法及装置A method and device for determining the vibrational frequency of a molecule

技术领域technical field

本发明属于量子计算技术领域,特别是一种确定分子振动频率的方法及装置。The invention belongs to the technical field of quantum computing, in particular to a method and a device for determining the molecular vibration frequency.

背景技术Background technique

量子计算模拟是一个借助数值计算和计算机科学来仿真遵循量子力学规律的模拟计算,作为一个仿真程序,它依据量子力学的量子比特的基本定律,利用计算机的高速计算能力,刻画量子态的时空演化。Quantum computing simulation is an analog computing that follows the laws of quantum mechanics by means of numerical computing and computer science. As a simulation program, it uses the high-speed computing capabilities of computers to describe the spatiotemporal evolution of quantum states based on the basic laws of qubits in quantum mechanics. .

随着量子化学理论的不断完善,计算化学已经成了化学工作者解释实验现象、预测实验结果、指导实验设计的重要工具。但是,面对计算化学所涉及的巨大计算量,经典计算机在计算精度、计算尺寸等方面显得能力有限,这就在一定程度上限制了计算化学的发展,由此导致用户对目标分子体系进行模拟计算的应用不强,影响量子化学模拟应用的进一步发展。With the continuous improvement of quantum chemistry theory, computational chemistry has become an important tool for chemists to explain experimental phenomena, predict experimental results, and guide experimental design. However, in the face of the huge amount of calculation involved in computational chemistry, classical computers appear to have limited capabilities in terms of calculation accuracy and calculation size, which limits the development of computational chemistry to a certain extent, which leads users to simulate target molecular systems The application of calculation is not strong, which affects the further development of quantum chemical simulation applications.

分子振动频率是一个重要的物理量,可以反应分子的振动方向和振幅,帮助研究分子的运动规律,还可以计算红外光谱、热力学量(如熵和自由能)等,被应用于化学反应模拟、材料研究等领域。在经典计算机上进行分子模拟时,体系基态能量的计算量随体系电子数目的增加呈指数级增长,经典计算机在计算精度和计算范围上都面临巨大困难,而利用微观粒子叠加性和纠缠性的量子计算机是解决该问题的一种新方法。Molecular vibration frequency is an important physical quantity, which can reflect the vibration direction and amplitude of molecules, help to study the law of molecular motion, and can also calculate infrared spectra, thermodynamic quantities (such as entropy and free energy), etc., which are used in chemical reaction simulation, material research and other fields. When performing molecular simulation on a classical computer, the calculation amount of the ground state energy of the system increases exponentially with the increase of the number of electrons in the system, and the classical computer faces great difficulties in calculation accuracy and calculation range. Quantum computers are a new approach to this problem.

因此,提出一种新的计算分子振动频率的方法,以克服上述现有技术中的缺陷,是一个亟待解决的问题。Therefore, it is an urgent problem to propose a new method for calculating the molecular vibration frequency to overcome the above-mentioned defects in the prior art.

发明内容Contents of the invention

本发明的目的是提供一种确定分子振动频率的方法及装置,以解决现有技术中的不足,它通过提出一种新的确定分子振动频率的方法,利用量子的相关特性,加速分子振动频率的求解过程,优化了求解方式并提高求解速度。The purpose of the present invention is to provide a method and device for determining the molecular vibration frequency to solve the deficiencies in the prior art. It proposes a new method for determining the molecular vibration frequency and utilizes quantum correlation characteristics to accelerate the molecular vibration frequency. The solution process optimizes the solution method and improves the solution speed.

本申请的一个实施例提供了一种确定分子振动频率的方法,所述方法包括:One embodiment of the present application provides a method for determining the vibrational frequency of a molecule, the method comprising:

获得待确定分子的试验态,并计算当前所述试验态对应的能量期望;Obtain the test state of the molecule to be determined, and calculate the energy expectation corresponding to the current test state;

判断所述试验态对应的能量期望是否满足所述待确定分子基态能量的计算终止条件,其中,所述计算终止条件为当前能量期望与前次确定的能量期望的差值符合精度;Judging whether the energy expectation corresponding to the test state satisfies the calculation termination condition of the ground state energy of the molecule to be determined, wherein the calculation termination condition is that the difference between the current energy expectation and the previously determined energy expectation meets the accuracy;

若是,则基于当前所述能量期望作为所述待确定分子的基态能量,并计算所述待确定分子基态能量的海森矩阵,否则,更新所述试验态,计算更新后的试验态对应的能量期望,继续执行所述判断所述试验态对应的能量期望是否满足所述待确定分子基态能量的计算终止条件的步骤,直至获取满足所述计算终止条件的所述待确定分子的基态能量及所述待确定分子基态能量的海森矩阵;If so, then based on the current energy expectation as the ground state energy of the molecule to be determined, and calculate the Hessian matrix of the ground state energy of the molecule to be determined, otherwise, update the test state, and calculate the energy corresponding to the updated test state Expecting, continue to execute the step of judging whether the energy expectation corresponding to the test state satisfies the calculation termination condition of the ground state energy of the molecule to be determined, until the ground state energy of the molecule to be determined that satisfies the calculation termination condition and the Describe the Hessian matrix of the molecular ground state energy to be determined;

根据所述待确定分子基态能量的海森矩阵,计算所述待确定分子的振动频率。According to the Hessian matrix of the ground state energy of the molecule to be determined, the vibration frequency of the molecule to be determined is calculated.

可选的,所述获得待确定分子的试验态,包括:Optionally, said obtaining the test state of the molecule to be determined includes:

根据预先选择的拟设方式和所确定的待确定分子的Hartree Fock态,获得所述待确定分子的试验态。According to the pre-selected hypothetical mode and the determined Hartree Fock state of the molecule to be determined, the test state of the molecule to be determined is obtained.

可选的,所述计算当前所述试验态对应的能量期望,包括:Optionally, the calculation of the energy expectation corresponding to the current test state includes:

通过以下算式计算试验态对应的能量期望:The energy expectation corresponding to the test state is calculated by the following formula:

Figure BDA0003937671700000021
Figure BDA0003937671700000021

其中,n表示计算试验态对应能量期望的循环次数,E(n)为当前试验态|Ψ(n)>对应的能量期望,

Figure BDA0003937671700000022
为待确定分子的哈密顿量,hα为电子积分相关系数,
Figure BDA0003937671700000023
为泡利字符串形式的算符。Among them, n represents the number of cycles for calculating the energy expectation corresponding to the test state, E(n) is the energy expectation corresponding to the current test state |Ψ(n)>,
Figure BDA0003937671700000022
is the Hamiltonian of the molecule to be determined, h α is the electron integral correlation coefficient,
Figure BDA0003937671700000023
is an operator in Pauli string form.

可选的,所述计算所述待确定分子基态能量的海森矩阵,包括:Optionally, the calculation of the Hessian matrix of the ground state energy of the molecule to be determined includes:

通过以下算式计算所述待确定分子基态能量的海森矩阵:Calculate the Hessian matrix of the molecular ground state energy to be determined by the following formula:

Figure BDA0003937671700000024
Figure BDA0003937671700000024

其中,R为分子的坐标。where R is the coordinates of the molecule.

可选的,所述根据所述待确定分子基态能量的海森矩阵,计算所述待确定分子的振动频率,包括:Optionally, calculating the vibration frequency of the molecule to be determined according to the Hessian matrix of the ground state energy of the molecule to be determined includes:

根据所述待确定分子基态能量的海森矩阵,确定所述待确定分子的力常数矩阵及所述力常数矩阵的特征值;According to the Hessian matrix of the molecular ground state energy to be determined, determine the force constant matrix of the molecule to be determined and the eigenvalues of the force constant matrix;

基于所述力常数矩阵的特征值,确定所述待确定分子的振动频率。Based on the eigenvalues of the force constant matrix, the vibration frequency of the molecule to be determined is determined.

可选的,所述根据所述待确定分子基态能量的海森矩阵,确定所述待确定分子的力常数矩阵及所述力常数矩阵的特征值,包括:Optionally, the determining the force constant matrix of the molecule to be determined and the eigenvalues of the force constant matrix according to the Hessian matrix of the ground state energy of the molecule to be determined includes:

通过以下算式计算所述待确定分子的力常数矩阵:Calculate the force constant matrix of the molecule to be determined by the following formula:

F=M×S×MF=M×S×M

其中,F为待确定分子的力常数矩阵,M为质量权重矩阵,满足

Figure BDA0003937671700000031
N为待确定分子所包含的原子体系个数,mq为第q个原子的质量,q∈N。Among them, F is the force constant matrix of the molecule to be determined, M is the mass weight matrix, satisfying
Figure BDA0003937671700000031
N is the number of atomic systems contained in the molecule to be determined, m q is the mass of the qth atom, q∈N.

本申请的又一实施例提供了一种确定分子振动频率的装置,所述装置包括:Yet another embodiment of the present application provides a device for determining the vibrational frequency of a molecule, the device comprising:

获得模块,用于获得待确定分子的试验态,并计算当前所述试验态对应的能量期望;An obtaining module, configured to obtain the test state of the molecule to be determined, and calculate the energy expectation corresponding to the current test state;

判断模块,用于判断所述试验态对应的能量期望是否满足所述待确定分子基态能量的计算终止条件,其中,所述计算终止条件为当前能量期望与前次确定的能量期望的差值符合精度;A judging module, configured to judge whether the energy expectation corresponding to the test state satisfies the calculation termination condition of the molecular ground state energy to be determined, wherein the calculation termination condition is that the difference between the current energy expectation and the previously determined energy expectation meets precision;

更新模块,用于若是,则基于当前所述能量期望作为所述待确定分子的基态能量,并计算所述待确定分子基态能量的海森矩阵,否则,更新所述试验态,计算更新后的试验态对应的能量期望,继续执行所述判断所述试验态对应的能量期望是否满足所述待确定分子基态能量的计算终止条件的步骤,直至获取满足所述计算终止条件的所述待确定分子的基态能量及所述待确定分子基态能量的海森矩阵;An update module, for if so, then based on the current energy expectation as the ground state energy of the molecule to be determined, and calculate the Hessian matrix of the ground state energy of the molecule to be determined, otherwise, update the test state, and calculate the updated The energy expectation corresponding to the test state, continue to perform the step of judging whether the energy expectation corresponding to the test state satisfies the calculation termination condition of the ground state energy of the molecule to be determined, until the molecule to be determined that meets the calculation termination condition is obtained The ground state energy of and the Hessian matrix of the molecular ground state energy to be determined;

计算模块,用于根据所述待确定分子基态能量的海森矩阵,计算所述待确定分子的振动频率。A calculation module, configured to calculate the vibration frequency of the molecule to be determined according to the Hessian matrix of the ground state energy of the molecule to be determined.

可选的,所述获得模块,包括:Optionally, the obtaining module includes:

获得单元,用于根据预先选择的拟设方式和所确定的待确定分子的Hartree Fock态,获得所述待确定分子的试验态。The obtaining unit is used to obtain the test state of the molecule to be determined according to the pre-selected hypothetical mode and the determined Hartree Fock state of the molecule to be determined.

可选的,所述计算模块,包括:Optionally, the calculation module includes:

第一确定单元,用于根据所述待确定分子基态能量的海森矩阵,确定所述待确定分子的力常数矩阵及所述力常数矩阵的特征值;A first determining unit, configured to determine the force constant matrix of the molecule to be determined and the eigenvalues of the force constant matrix according to the Hessian matrix of the ground state energy of the molecule to be determined;

第二确定单元,用于基于所述力常数矩阵的特征值,确定所述待确定分子的振动频率。The second determination unit is configured to determine the vibration frequency of the molecule to be determined based on the eigenvalues of the force constant matrix.

本申请的又一实施例提供了一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时实现上述任一项中所述的方法。Yet another embodiment of the present application provides a storage medium, in which a computer program is stored, wherein the computer program is configured to implement the method described in any one of the above when running.

本申请的又一实施例提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以实现上述任一项中所述的方法。Yet another embodiment of the present application provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to realize any of the above-mentioned Methods.

与现有技术相比,本发明首先获得待确定分子的试验态,并计算当前试验态对应的能量期望,判断试验态对应的能量期望是否满足待确定分子基态能量的计算终止条件,若是,则基于当前能量期望作为待确定分子的基态能量,并计算待确定分子基态能量的海森矩阵,否则,更新试验态,计算更新后的试验态对应的能量期望,继续执行判断试验态对应的能量期望是否满足待确定分子基态能量的计算终止条件的步骤,直至获取满足计算终止条件的待确定分子的基态能量及待确定分子基态能量的海森矩阵,根据待确定分子基态能量的海森矩阵,计算待确定分子的振动频率,它通过利用量子的相关特性,加速分子振动频率的求解过程,优化了求解方式并提高求解速度。Compared with the prior art, the present invention first obtains the test state of the molecule to be determined, and calculates the energy expectation corresponding to the current test state, and judges whether the energy expectation corresponding to the test state satisfies the calculation termination condition of the ground state energy of the molecule to be determined, and if so, then Based on the current energy expectation as the ground state energy of the molecule to be determined, and calculate the Hessian matrix of the ground state energy of the molecule to be determined, otherwise, update the test state, calculate the energy expectation corresponding to the updated test state, and continue to judge the energy expectation corresponding to the test state The step of whether the calculation termination condition of the molecular ground state energy to be determined is satisfied, until the ground state energy of the molecule to be determined meeting the calculation termination condition and the Hessian matrix of the molecular ground state energy to be determined are obtained, according to the Hessian matrix of the molecular ground state energy to be determined, calculate To determine the vibration frequency of the molecule, it accelerates the solution process of the molecular vibration frequency by using the quantum correlation characteristics, optimizes the solution method and improves the solution speed.

附图说明Description of drawings

图1是本发明实施例提供的一种确定分子振动频率的方法的计算机终端的硬件结构框图;Fig. 1 is a block diagram of the hardware structure of a computer terminal of a method for determining the molecular vibration frequency provided by an embodiment of the present invention;

图2是本发明实施例提供的一种确定分子振动频率的方法的流程示意图;Fig. 2 is a schematic flowchart of a method for determining molecular vibration frequency provided by an embodiment of the present invention;

图3是本发明实施例提供的一种确定分子振动频率的装置的结构示意图。Fig. 3 is a schematic structural diagram of a device for determining molecular vibration frequencies provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能解释为对本发明的限制。The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention.

本发明实施例首先提供了一种确定分子振动频率的方法,该方法可以应用于电子设备,如计算机终端,具体如普通电脑、量子计算机等。Embodiments of the present invention firstly provide a method for determining the vibrational frequency of a molecule, which can be applied to electronic devices, such as computer terminals, specifically, ordinary computers, quantum computers, and the like.

下面以运行在计算机终端上为例对其进行详细说明。图1为本发明实施例提供的一种确定分子振动频率的方法的计算机终端的硬件结构框图。如图1所示,计算机终端可以包括一个或多个(图1中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)和用于存储数据的存储器104,可选地,上述计算机终端还可以包括用于通信功能的传输装置106以及输入输出设备108。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述计算机终端的结构造成限定。例如,计算机终端还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。The following will describe it in detail by taking it running on a computer terminal as an example. FIG. 1 is a block diagram of the hardware structure of a computer terminal for a method for determining the vibrational frequency of a molecule provided by an embodiment of the present invention. As shown in Figure 1, the computer terminal may include one or more (only one is shown in Figure 1) processors 102 (processors 102 may include but not limited to processing devices such as microprocessor MCU or programmable logic device FPGA, etc.) and a memory 104 for storing data. Optionally, the above-mentioned computer terminal may further include a transmission device 106 and an input and output device 108 for communication functions. Those skilled in the art can understand that the structure shown in FIG. 1 is only for illustration, and it does not limit the structure of the above computer terminal. For example, the computer terminal may also include more or fewer components than shown in FIG. 1 , or have a different configuration than that shown in FIG. 1 .

存储器104可用于存储应用软件的软件程序以及模块,如本申请实施例中的确定分子振动频率的方法对应的程序指令/模块,处理器102通过运行存储在存储器104内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至计算机终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 104 can be used to store software programs and modules of application software, such as the program instructions/modules corresponding to the method for determining the molecular vibration frequency in the embodiment of the present application, and the processor 102 runs the software programs and modules stored in the memory 104, thereby Executing various functional applications and data processing is to realize the above-mentioned method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory that is remotely located relative to the processor 102, and these remote memories may be connected to a computer terminal through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

传输装置106用于经由一个网络接收或者发送数据。上述的网络具体实例可包括计算机终端的通信供应商提供的无线网络。在一个实例中,传输装置106包括一个网络适配器(Network Interface Controller,NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,RF)模块,其用于通过无线方式与互联网进行通讯。The transmission device 106 is used to receive or transmit data via a network. The specific example of the above-mentioned network may include a wireless network provided by the communication provider of the computer terminal. In one example, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet in a wireless manner.

需要说明的是,真正的量子计算机是混合结构的,它包含两大部分:一部分是经典计算机,负责执行经典计算与控制;另一部分是量子设备,负责运行量子程序进而实现量子计算。而量子程序是由量子语言如QRunes语言编写的一串能够在量子计算机上运行的指令序列,实现了对量子逻辑门操作的支持,并最终实现量子计算。具体的说,量子程序就是一系列按照一定时序操作量子逻辑门的指令序列。It should be noted that a real quantum computer has a hybrid structure, which consists of two parts: one is a classical computer, which is responsible for performing classical calculation and control; the other is a quantum device, which is responsible for running quantum programs and realizing quantum computing. The quantum program is a series of instruction sequences written in a quantum language such as QRunes that can be run on a quantum computer, which supports the operation of quantum logic gates and finally realizes quantum computing. Specifically, a quantum program is a series of instruction sequences that operate quantum logic gates in a certain sequence.

在实际应用中,因受限于量子设备硬件的发展,通常需要进行量子计算模拟以验证量子算法、量子应用等等。量子计算模拟即借助普通计算机的资源搭建的虚拟架构(即量子虚拟机)实现特定问题对应的量子程序的模拟运行的过程。通常,需要构建特定问题对应的量子程序。本发明实施例所指量子程序,即是经典语言编写的表征量子比特及其演化的程序,其中与量子计算相关的量子比特、量子逻辑门等等均有相应的经典代码表示。In practical applications, due to the limitation of the development of quantum device hardware, quantum computing simulations are usually required to verify quantum algorithms, quantum applications, etc. Quantum computing simulation is the process of simulating the quantum program corresponding to a specific problem using a virtual architecture built with the resources of an ordinary computer (that is, a quantum virtual machine). Often, quantum programs corresponding to specific problems need to be constructed. The quantum program referred to in the embodiment of the present invention is a program written in a classical language to characterize qubits and their evolution, in which qubits, quantum logic gates, etc. related to quantum computing are represented by corresponding classical codes.

量子线路作为量子程序的一种体现方式,也称量子逻辑电路,是最常用的通用量子计算模型,表示在抽象概念下对于量子比特进行操作的线路,其组成包括量子比特、线路(时间线),以及各种量子逻辑门,最后常需要通过量子测量操作将结果读取出来。As an embodiment of quantum programs, quantum circuits are also called quantum logic circuits. They are the most commonly used general-purpose quantum computing models. They represent circuits that operate on qubits under an abstract concept. The components include qubits, circuits (timelines) , and various quantum logic gates, the results often need to be read out through quantum measurement operations.

不同于传统电路是用金属线所连接以传递电压信号或电流信号,在量子线路中,线路可看成是由时间所连接,亦即量子比特的状态随着时间自然演化,在这过程中按照哈密顿运算符的指示,一直到遇上逻辑门而被操作。Unlike traditional circuits, which are connected by metal wires to transmit voltage signals or current signals, in quantum circuits, the circuits can be regarded as connected by time, that is, the state of qubits evolves naturally with time, in the process according to The instruction of the Hamiltonian operator is operated until it encounters a logic gate.

一个量子程序整体上对应有一条总的量子线路,本发明所述量子程序即指该条总的量子线路,其中,该总的量子线路中的量子比特总数与量子程序的量子比特总数相同。可以理解为:一个量子程序可以由量子线路、针对量子线路中量子比特的测量操作、保存测量结果的寄存器及控制流节点(跳转指令)组成,一条量子线路可以包含几十上百个甚至千上万个量子逻辑门操作。量子程序的执行过程,就是对所有的量子逻辑门按照一定时序执行的过程。需要说明的是,时序即单个量子逻辑门被执行的时间顺序。A quantum program as a whole corresponds to a total quantum circuit, and the quantum program in the present invention refers to the total quantum circuit, wherein the total number of qubits in the total quantum circuit is the same as the total number of qubits in the quantum program. It can be understood as: a quantum program can be composed of quantum circuits, measurement operations for qubits in quantum circuits, registers for saving measurement results, and control flow nodes (jump instructions). A quantum circuit can contain tens, hundreds or even thousands of Tens of thousands of quantum logic gate operations. The execution process of a quantum program is the process of executing all quantum logic gates according to a certain time sequence. It should be noted that timing refers to the time sequence in which a single quantum logic gate is executed.

需要说明的是,经典计算中,最基本的单元是比特,而最基本的控制模式是逻辑门,可以通过逻辑门的组合来达到控制电路的目的。类似地,处理量子比特的方式就是量子逻辑门。使用量子逻辑门,能够使量子态发生演化,量子逻辑门是构成量子线路的基础,量子逻辑门包括单比特量子逻辑门,如Hadamard门(H门,哈德玛门)、泡利-X门(X门)、泡利-Y门(Y门)、泡利-Z门(Z门)、RX门、RY门、RZ门等等;多比特量子逻辑门,如CNOT门、CR门、iSWAP门、Toffoli门等等。量子逻辑门一般使用酉矩阵表示,而酉矩阵不仅是矩阵形式,也是一种操作和变换。一般量子逻辑门在量子态上的作用是通过酉矩阵左乘以量子态右矢对应的矩阵进行计算的。It should be noted that in classical computing, the most basic unit is a bit, and the most basic control mode is a logic gate. The purpose of controlling a circuit can be achieved through the combination of logic gates. Similarly, the way to handle qubits is quantum logic gates. The use of quantum logic gates can make the quantum state evolve. Quantum logic gates are the basis of quantum circuits. Quantum logic gates include single-bit quantum logic gates, such as Hadamard gates (H gates, Hadamard gates), Pauli-X gates (X gate), Pauli-Y gate (Y gate), Pauli-Z gate (Z gate), RX gate, RY gate, RZ gate, etc.; multi-bit quantum logic gates, such as CNOT gate, CR gate, iSWAP Doors, Toffoli doors and more. Quantum logic gates are generally represented by unitary matrices, and unitary matrices are not only in the form of matrices, but also a kind of operation and transformation. Generally, the effect of a quantum logic gate on a quantum state is calculated by multiplying the left side of the unitary matrix by the matrix corresponding to the right vector of the quantum state.

本领域技术人员可以理解的是,在经典计算机中,信息的基本单元是比特,一个比特有0和1两种状态,最常见的物理实现方式是通过电平的高低来表示这两种状态。在量子计算中,信息的基本单元是量子比特,一个量子比特也有0和1两种状态,记为|0>和|1>,但它可以处于0和1两种状态的叠加态,可表示为

Figure BDA0003937671700000071
其中,a、b为表示|0>态、|1>态振幅(概率幅)的复数,这是经典比特不具备的。测量后,量子比特的状态会塌缩至一个确定的状态(本征态,此处为|0>态、|1>态),其中,塌缩至|0>的概率是|a|2,塌缩至|1>的概率是|b|2,|a|2+|b|2=1,|>为狄拉克符号。Those skilled in the art can understand that in a classical computer, the basic unit of information is a bit, and a bit has two states of 0 and 1, and the most common physical implementation method is to represent these two states through the level. In quantum computing, the basic unit of information is the qubit. A qubit also has two states of 0 and 1, denoted as |0> and |1>, but it can be in the superposition state of the two states of 0 and 1, which can be expressed for
Figure BDA0003937671700000071
Among them, a and b are complex numbers representing the amplitude (probability amplitude) of |0> state and |1> state, which is not available in classical bits. After measurement, the state of the qubit will collapse to a certain state (eigenstate, here is |0> state, |1> state), where the probability of collapsing to |0> is |a| 2 , The probability of collapsing to |1> is |b| 2 , |a| 2 + |b| 2 =1, and |> is the Dirac symbol.

量子态,即指量子比特的状态,一般需要使用一组正交完备的基向量描述,其通常使用的计算基在量子算法(或称量子程序)中用二进制表示。例如,一组量子比特为q0、q1、q2,表示第0位、第1位、第2位量子比特,从高位到低位排序为q2q1q0,该组量子比特的量子态为23个计算基的叠加态,8个计算基是指:|000>、|001>、|010>、|011>、|100>、|101>、|110>、|111>,每个计算基与量子比特位对应一致,如|000>态,000从高位到低位对应q2q1q0。简言之,量子态是各基向量组成的叠加态,当其他基的概率幅为0时,即处于其中一个确定的基向量。The quantum state, that is, the state of the qubit, generally needs to be described by a set of orthogonal and complete basis vectors, and the calculation basis usually used is expressed in binary in the quantum algorithm (or quantum program). For example, a group of qubits is q0, q1, and q2, which represent the 0th, 1st, and 2nd qubits, and the order from high to low is q2q1q0, and the quantum state of this group of qubits is 2 3 calculation bases Superposition state, 8 calculation bases refer to: |000>, |001>, |010>, |011>, |100>, |101>, |110>, |111>, each calculation base is related to qubit Correspondence is consistent, such as |000> state, 000 corresponds to q2q1q0 from high to low. In short, the quantum state is a superposition state composed of various basis vectors. When the probability amplitude of other basis is 0, it is in one of the certain basis vectors.

在量子力学中,所有的可测量的力学量都可以用一个厄密矩阵来描述,厄密矩阵的定义是,该矩阵的转置共轭即是该矩阵本身,即有:

Figure BDA0003937671700000072
这样的矩阵通常称之为测量算符,非零算符都会有至少一个不为0的本征值λ以及与之对应的本征态|ψ>,满足H|ψ>=λ|ψ>,如果算符H的本征值对应的是某一个体系的能级分布,那么这样的算符也可以称其为哈密顿量(Hamiltonian)。In quantum mechanics, all measurable mechanical quantities can be described by a Hermitian matrix. The definition of a Hermitian matrix is that the transposed conjugate of the matrix is the matrix itself, that is:
Figure BDA0003937671700000072
Such a matrix is usually called a measurement operator, and a non-zero operator will have at least one non-zero eigenvalue λ and the corresponding eigenstate |ψ>, satisfying H|ψ>=λ|ψ>, If the eigenvalue of the operator H corresponds to the energy level distribution of a certain system, then such an operator can also be called the Hamiltonian.

根据含时薛定谔方程,从一个态|ψ(t=0)>开始演化到另一个态|ψ(t=T)>是利用酉算符完成的,即U(0,T)|ψ(t=0)>=|ψ(t=T)>,其中,哈密顿量和酉算符的关系是,如果一个量子态在某个系统下自然演化,描述该系统的能量即哈密顿量,则酉算符可以由哈密顿量写出:

Figure BDA0003937671700000081
According to the time-dependent Schrödinger equation, the evolution from one state |ψ(t=0)> to another state |ψ(t=T)> is completed by using the unitary operator, that is, U(0,T)|ψ(t =0)>=|ψ(t=T)>, where the relationship between the Hamiltonian and the unitary operator is that if a quantum state evolves naturally under a certain system, the energy describing the system is the Hamiltonian, then The unitary operator can be written in terms of Hamiltonian:
Figure BDA0003937671700000081

当系统从时间0开始,且哈密顿量不随时间变化时,酉算符即U=exp(-iHt)。在封闭系统的量子计算中,除测量外,所有的量子操作都可以用一个酉矩阵来描述,酉矩阵的定义是,该矩阵的转置共轭即是该矩阵的逆,即有:

Figure BDA0003937671700000082
一般来说,酉算符在量子计算中也称之为量子逻辑门。When the system starts from time 0 and the Hamiltonian does not change with time, the unitary operator is U=exp(-iHt). In the quantum calculation of a closed system, except for measurement, all quantum operations can be described by a unitary matrix. The definition of a unitary matrix is that the transpose conjugate of the matrix is the inverse of the matrix, that is:
Figure BDA0003937671700000082
In general, unitary operators are also called quantum logic gates in quantum computing.

参见图2,图2为本发明实施例提供的一种确定分子振动频率的方法的流程示意图,可以包括如下步骤:Referring to Fig. 2, Fig. 2 is a schematic flowchart of a method for determining the molecular vibration frequency provided by an embodiment of the present invention, which may include the following steps:

S201:获得待确定分子的试验态,并计算当前所述试验态对应的能量期望。S201: Obtain the test state of the molecule to be determined, and calculate the energy expectation corresponding to the current test state.

具体的,待确定分子可以认为是用户想要进行分子性质模拟并确定分子振动频率的分子结构模型,例如包括组成该待确定分子的原子类型、原子个数、原子坐标、电荷及自旋多重度等。Specifically, the molecule to be determined can be regarded as a molecular structure model that the user wants to perform molecular property simulation and determine the molecular vibration frequency, for example, including the atom type, number of atoms, atomic coordinates, charge and spin multiplicity of the molecule to be determined wait.

其中,获得待确定分子的试验态,可以包括:Among them, obtaining the test state of the molecule to be determined may include:

根据预先选择的拟设方式和所确定的待确定分子的Hartree Fock态,获得所述待确定分子的试验态。According to the pre-selected hypothetical mode and the determined Hartree Fock state of the molecule to be determined, the test state of the molecule to be determined is obtained.

示例性的,根据待确定分子体系的电子数和轨道信息,获取待确定分子的HartreeFock态。即首先对于待确定分子体系,电子数,就是待确定分子体系包含的电子数量,一般是指待确定分子体系的核外电子的数目;轨道信息,是以数学的方法描述待确定分子体系在原子核外的特定空间中,找到电子的几率,并指出电子在三维空间中的可能位置。Exemplarily, according to the number of electrons and orbital information of the molecular system to be determined, the HartreeFock state of the molecule to be determined is obtained. That is, first of all, for the molecular system to be determined, the number of electrons is the number of electrons contained in the molecular system to be determined, generally refers to the number of electrons outside the nucleus of the molecular system to be determined; orbital information is a mathematical method to describe the molecular system to be determined in the nucleus The probability of finding an electron in a specific space outside, and indicate the possible position of the electron in three-dimensional space.

例如,对于待确定分子体系,其含有四个单电子自旋分子轨道和两个电子,根据待确定分子体系电子数和轨道信息,若用一个量子比特代表一个自旋分子轨道,即0表示空轨道,1表示占据轨道,因此待确定分子体系的Hartree Fock(哈特里-福克)态可以用量子态|0011>来表示。For example, for the molecular system to be determined, which contains four single-electron spin molecular orbitals and two electrons, according to the number of electrons and orbital information of the molecular system to be determined, if a qubit is used to represent a spin molecular orbital, that is, 0 means empty Orbital, 1 means occupied orbital, so the Hartree Fock (Hartley-Fock) state of the molecular system to be determined can be represented by the quantum state |0011>.

在一种可选的实施方式中,根据预先选择的拟设方式,对待确定分子体系的Hartree Fock态进行演化,得到演化后的量子态作为待确定分子体系的试验态,首先需要根据预先选择的拟设方式,计算待确定分子体系费米子形式的簇算符;其次选择映射方式并将待确定分子体系费米子形式的簇算符变换为泡利算子形式的簇算符,其中,映射方式可为Jordan-Wigner变换、Parity变换、Bravyi-Kitaev变换和SegmentParity变换中的一种;最后将泡利算子形式的簇算符分解为对应酉算子形式并进行演化,得到演化后的量子态作为待确定分子体系的试验态。In an optional embodiment, according to the pre-selected design method, the Hartree Fock state of the molecular system to be determined is evolved, and the evolved quantum state is obtained as the test state of the molecular system to be determined. First, according to the pre-selected The proposed method is to calculate the cluster operator of the Fermion form of the molecular system to be determined; secondly, select the mapping method and transform the cluster operator of the Fermion form of the molecular system to be determined into a cluster operator of the Pauli operator form, where the mapping method It can be one of Jordan-Wigner transformation, Parity transformation, Bravyi-Kitaev transformation and SegmentParity transformation; finally, the cluster operator in the form of Pauli operator is decomposed into the corresponding unitary operator form and evolved to obtain the evolved quantum state As the experimental state of the molecular system to be determined.

需要说明的是,根据待确定分子的试验态,可以利用变分量子特征值求解算法计算待确定分子能量期望。It should be noted that, according to the experimental state of the molecule to be determined, the variable quantum eigenvalue solving algorithm can be used to calculate the energy expectation of the molecule to be determined.

其中,变分量子特征值求解算法的原理为:Among them, the principle of the variable quantum eigenvalue solving algorithm is:

Figure BDA0003937671700000091
Figure BDA0003937671700000091

|Ψ>为试验态(假设|Ψ>是归一化的),E为待确定分子体系的能量期望,

Figure BDA0003937671700000094
为待确定分子体系的哈密顿量,且满足:|Ψ> is the experimental state (assuming that |Ψ> is normalized), E is the energy expectation of the molecular system to be determined,
Figure BDA0003937671700000094
is the Hamiltonian of the molecular system to be determined, and satisfies:

Figure BDA0003937671700000092
Figure BDA0003937671700000092

上式中的每一项分别为待确定分子中电子的动能项,电子间的排斥能项,电子与原子核间的势能项,原子核间的排斥能项(原子单位制),其中ri,Ri,Zi分别表示电子的位置,原子核的位置和原子核的电荷。假设体系含有N个原子,则可以用列向量R=[R1,R2,R3,...,Ri...,R3N-2,R3N-1,R3N]T表示分子的坐标。Each item in the above formula is the kinetic energy item of the electron in the molecule to be determined, the repulsive energy item between the electrons, the potential energy item between the electron and the nucleus, and the repulsive energy item between the nucleus (atomic unit system), where r i , R i and Z i represent the position of the electron, the position of the nucleus and the charge of the nucleus, respectively. Assuming that the system contains N atoms, the molecule can be represented by column vector R=[R 1 ,R 2 ,R 3 ,...,R i ...,R 3N-2 ,R 3N-1 ,R 3N ] T coordinate of.

在波恩-奥本海默近似下,可以将待确定分子的哈密顿量

Figure BDA0003937671700000095
转化为二次量子化的形式,并利用映射方法(如Jordan-Wigner变换、Parity变换等)将二次量子化形式的哈密顿量转化为泡利字符串的形式,即:Under the Born-Oppenheimer approximation, the Hamiltonian of the molecule to be determined can be
Figure BDA0003937671700000095
Transform into the form of double quantization, and use the mapping method (such as Jordan-Wigner transformation, Parity transformation, etc.) to convert the Hamiltonian in the form of double quantization into the form of Pauli string, namely:

Figure BDA0003937671700000093
Figure BDA0003937671700000093

其中,

Figure BDA0003937671700000101
为泡利字符串形式的算符,
Figure BDA0003937671700000102
I为单位矩阵,
Figure BDA0003937671700000103
为泡利算符,hα(R)为电子积分相关的系数,一般在经典计算机上计算获得。in,
Figure BDA0003937671700000101
is an operator in Pauli string form,
Figure BDA0003937671700000102
I is the identity matrix,
Figure BDA0003937671700000103
is the Pauli operator, and h α (R) is the coefficient related to electronic integration, which is usually calculated on a classical computer.

示例性的,所述计算当前所述试验态对应的能量期望,可以包括:Exemplarily, the calculation of the energy expectation corresponding to the current test state may include:

通过以下算式计算试验态对应的能量期望:The energy expectation corresponding to the test state is calculated by the following formula:

Figure BDA0003937671700000104
Figure BDA0003937671700000104

其中,n表示计算试验态对应能量期望的循环次数,E(n)为当前试验态|Ψ(n)>对应的能量期望,

Figure BDA0003937671700000105
为待确定分子的哈密顿量,hα为电子积分相关系数,
Figure BDA0003937671700000106
为泡利字符串形式的算符。Among them, n represents the number of cycles for calculating the energy expectation corresponding to the test state, E(n) is the energy expectation corresponding to the current test state |Ψ(n)>,
Figure BDA0003937671700000105
is the Hamiltonian of the molecule to be determined, h α is the electron integral correlation coefficient,
Figure BDA0003937671700000106
is an operator in Pauli string form.

S202:判断所述试验态对应的能量期望是否满足所述待确定分子基态能量的计算终止条件,其中,所述计算终止条件为当前能量期望与前次确定的能量期望的差值符合精度。S202: Judging whether the energy expectation corresponding to the test state satisfies the calculation termination condition of the ground state energy of the molecule to be determined, wherein the calculation termination condition is that the difference between the current energy expectation and the previously determined energy expectation meets the accuracy.

具体的,如果所获取的试验态|Ψ(n)>正好就是体系的基态,可以直接得到待确定分子体系的基态能量Emin;但往往更多的情况是,获取的试验态|Ψ(n)>与待确定分子体系的基态相比有一定差距,导致计算得到的E(n)大于Emin很多,这时就需要引入一组参数

Figure BDA0003937671700000107
通过不断调节
Figure BDA0003937671700000108
来更新试验态,使根据更新后的试验态最终求解的能量期望非常接近待确定分子体系的基态能量。Specifically, if the obtained test state |Ψ(n)> is exactly the ground state of the system, the ground state energy E min of the molecular system to be determined can be directly obtained; but more often than not, the obtained test state |Ψ(n )> Compared with the ground state of the molecular system to be determined, there is a certain gap, resulting in the calculated E(n) being much larger than E min . At this time, a set of parameters needs to be introduced
Figure BDA0003937671700000107
by constantly adjusting
Figure BDA0003937671700000108
to update the test state, so that the energy expectation finally solved according to the updated test state is very close to the ground state energy of the molecular system to be determined.

具体的,通过获取待确定分子体系的试验态

Figure BDA0003937671700000109
并测量试验态
Figure BDA00039376717000001010
的能量期望E(n),判断当前能量期望与前次确定的能量期望的差值是否符合精度,其中,精度可以由用户根据计算需求自行设定。或者通过判断实际迭代次数是否达到预设最大迭代次数作为计算终止条件均可,在此不再赘述。Specifically, by obtaining the experimental state of the molecular system to be determined
Figure BDA0003937671700000109
and measure the test state
Figure BDA00039376717000001010
The energy expectation E(n) is used to judge whether the difference between the current energy expectation and the previously determined energy expectation meets the accuracy. The accuracy can be set by the user according to the calculation requirements. Alternatively, judging whether the actual number of iterations reaches the preset maximum number of iterations can be used as the calculation termination condition, and details will not be described here.

S203:若是,则基于当前所述能量期望作为所述待确定分子的基态能量,并计算所述待确定分子基态能量的海森矩阵,否则,更新所述试验态,计算更新后的试验态对应的能量期望,继续执行所述判断所述试验态对应的能量期望是否满足所述待确定分子基态能量的计算终止条件的步骤,直至获取满足所述计算终止条件的所述待确定分子的基态能量及所述待确定分子基态能量的海森矩阵。S203: If yes, based on the current energy expectation as the ground state energy of the molecule to be determined, and calculate the Hessian matrix of the ground state energy of the molecule to be determined, otherwise, update the test state, and calculate the updated test state corresponding to continue to perform the step of judging whether the energy expectation corresponding to the test state satisfies the calculation termination condition of the ground state energy of the molecule to be determined, until the ground state energy of the molecule to be determined that meets the calculation termination condition is obtained And the Hessian matrix of the molecular ground state energy to be determined.

具体的,若待确定分子体系的试验态对应的能量期望满足计算终止条件,则所获取的试验态正好就是待确定分子体系的基态,直接得到了待确定分子体系的基态能量Emin;否则利用优化方法,如Nelder-Mead算法或梯度下降法优化参数

Figure BDA0003937671700000111
然后传给量子处理器,继续演化和测量,通过不断迭代参数
Figure BDA0003937671700000112
来更新试验态,使其最终获取满足计算终止条件的待确定分子体系的基态能量。Specifically, if the energy expectation corresponding to the test state of the molecular system to be determined satisfies the calculation termination condition, the obtained test state is just the ground state of the molecular system to be determined, and the ground state energy E min of the molecular system to be determined is directly obtained; otherwise, use Optimization methods, such as Nelder-Mead algorithm or gradient descent method to optimize parameters
Figure BDA0003937671700000111
Then pass it to the quantum processor, continue to evolve and measure, by continuously iterating the parameters
Figure BDA0003937671700000112
to update the experimental state, so that it can finally obtain the ground state energy of the molecular system to be determined that meets the calculation termination conditions.

例如,当获取待确定分子体系的试验态为第一次演化时,则前次演化不存在,可以默认前次演化后测量的试验态的能量期望为0,直接进入下一次迭代;在当前能量期望与前次测量后的能量期望的差值不符合精度时,利用优化方法,对拟设中量子线路的可调参数

Figure BDA0003937671700000113
进行优化,更新优化后试验态,测量更新后的当前试验态的能量期望,返回执行S202的步骤,直到某次演化后的能量差值符合精度,并将该次演化后的试验态下的能量期望确定为满足计算终止条件的待确定分子的基态能量。For example, when obtaining the experimental state of the molecular system to be determined is the first evolution, the previous evolution does not exist, and the energy expectation of the experimental state measured after the previous evolution can be defaulted to 0, and the next iteration is directly entered; at the current energy When the difference between the expectation and the energy expectation after the previous measurement does not meet the accuracy, use the optimization method to adjust the adjustable parameters of the proposed medium quantum circuit
Figure BDA0003937671700000113
Carry out optimization, update the optimized test state, measure the energy expectation of the updated current test state, return to the step of executing S202, until the energy difference after a certain evolution meets the accuracy, and put the energy under the evolved test state It is desired to determine the ground state energy of the molecule to be determined that satisfies the calculation termination condition.

需要说明的是,计算所述待确定分子基态能量的海森矩阵,可以包括:It should be noted that the calculation of the Hessian matrix of the molecular ground state energy to be determined may include:

通过以下算式计算所述待确定分子基态能量的海森矩阵:Calculate the Hessian matrix of the molecular ground state energy to be determined by the following formula:

首先,基态能量关于坐标Ri的一阶导数:First, the first derivative of the ground state energy with respect to the coordinate R i :

Figure BDA0003937671700000114
Figure BDA0003937671700000114

即:Right now:

Figure BDA0003937671700000115
Figure BDA0003937671700000115

利用Hellmann-Feynman定理,并应用中心有限差分法得:Using the Hellmann-Feynman theorem and applying the central finite difference method, we get:

Figure BDA0003937671700000116
Figure BDA0003937671700000116

基态能量关于坐标Ri、Rj的二阶导数,得:The second derivative of the ground state energy with respect to the coordinates R i and R j , we get:

Figure BDA0003937671700000121
Figure BDA0003937671700000121

即:Right now:

Figure BDA0003937671700000122
Figure BDA0003937671700000122

其中,R为分子的坐标。where R is the coordinates of the molecule.

然后,忽略波函数的影响Then, ignoring the effect of the wave function

Figure BDA0003937671700000123
Figure BDA0003937671700000123

令:make:

Figure BDA0003937671700000124
Figure BDA0003937671700000124

应用中心有限差分法,可得:Applying the central finite difference method, we can get:

Sj,i≈<Ψ(R)|Xj,i|Ψ(R)>S j,i ≈<Ψ(R)|X j,i |Ψ(R)>

其中:in:

Figure BDA0003937671700000125
Figure BDA0003937671700000125

又由于

Figure BDA0003937671700000126
所以可得:And because of
Figure BDA0003937671700000126
So you can get:

Figure BDA0003937671700000127
Figure BDA0003937671700000127

其中,Δd为差分步长,ei、ej分别为沿i、j方向的单位向量。Among them, Δd is the difference step size, and e i and e j are unit vectors along the i and j directions, respectively.

S204:根据所述待确定分子基态能量的海森矩阵,计算所述待确定分子的振动频率。S204: Calculate the vibration frequency of the molecule to be determined according to the Hessian matrix of the ground state energy of the molecule to be determined.

具体的,根据所述待确定分子基态能量的海森矩阵,计算所述待确定分子的振动频率,可以包括:Specifically, calculating the vibration frequency of the molecule to be determined according to the Hessian matrix of the ground state energy of the molecule to be determined may include:

步骤1:根据所述待确定分子基态能量的海森矩阵,确定所述待确定分子的力常数矩阵及所述力常数矩阵的特征值。Step 1: Determine the force constant matrix of the molecule to be determined and the eigenvalues of the force constant matrix according to the Hessian matrix of the ground state energy of the molecule to be determined.

在一种可选的实施方式中,对于包含N个原子的待确定分子体系,基态能量关于坐标的海森矩阵S大小为3N×3N,其中每一个元素为基态能量关于坐标的二阶导数,由于海森常数矩阵为对称阵,可得:In an optional embodiment, for a molecular system to be determined containing N atoms, the size of the Hessian matrix S of the ground state energy with respect to the coordinates is 3N×3N, where each element is the second derivative of the ground state energy with respect to the coordinates, Since the Hessian constant matrix is a symmetric matrix, we can get:

Si,j=Sj,i S i,j =S j,i

所以需要计算

Figure BDA0003937671700000131
个Sj,i,但每个Sj,i均使用相同的基态波函数|Ψ(R)>,即整个海森矩阵S的计算基于相同的基态波函数,这表明待确定分子体系海森矩阵的量子计算量和待确定分子体系基态能量的量子计算量相同。将海森矩阵S转化为质量权重的海森矩阵,即通过以下算式计算所述待确定分子的力常数矩阵:So need to calculate
Figure BDA0003937671700000131
S j,i , but each S j,i uses the same ground state wave function |Ψ(R)>, that is, the calculation of the entire Hessian matrix S is based on the same ground state wave function, which shows that the molecular system to be determined Hessian The amount of quantum calculation of the matrix is the same as that of the ground state energy of the molecular system to be determined. The Hessian matrix S is converted into a Hessian matrix of mass weights, that is, the force constant matrix of the molecule to be determined is calculated by the following formula:

F=M×S×MF=M×S×M

其中,F为待确定分子的力常数矩阵,M为质量权重矩阵,满足

Figure BDA0003937671700000132
N为待确定分子所包含的原子体系个数,mq为第q个原子的质量,q∈N。Among them, F is the force constant matrix of the molecule to be determined, M is the mass weight matrix, satisfying
Figure BDA0003937671700000132
N is the number of atomic systems contained in the molecule to be determined, m q is the mass of the qth atom, q∈N.

步骤2:基于所述力常数矩阵的特征值,确定所述待确定分子的振动频率。Step 2: Determine the vibration frequency of the molecule to be determined based on the eigenvalues of the force constant matrix.

通过待确定分子的力常数矩阵,求解待确定分子的力常数矩阵的特征值。例如假设力常数矩阵F是n阶方阵,如果存在f和非零n维列向量x,使得Fx=fx成立,则称f是F的一个特征值(characteristic value)或本征值(eigenvalue)。Through the force constant matrix of the molecule to be determined, the eigenvalues of the force constant matrix of the molecule to be determined are solved. For example, assuming that the force constant matrix F is a square matrix of order n, if there exists f and a non-zero n-dimensional column vector x such that Fx=fx holds true, then f is said to be a eigenvalue (characteristic value) or eigenvalue (eigenvalue) of F .

示例性的,可以通过判断待确定分子的空间结构来获得待确定分子的振动频率,若待确定分子是线性结构或平面结构,则力常数矩阵F非零的特征值个数为3N-5个,否则为3N-6个;如果特征值为负,则可以先取绝对值、后开根号、然后再乘以-1,得到的待确定分子振动频率称为虚频;如果特征值为正,则直接开根号得到待确定分子的振动频率。Exemplarily, the vibration frequency of the molecule to be determined can be obtained by judging the spatial structure of the molecule to be determined. If the molecule to be determined is a linear structure or a planar structure, the number of non-zero eigenvalues of the force constant matrix F is 3N-5 , otherwise it is 3N-6; if the eigenvalue is negative, you can first take the absolute value, then open the square root, and then multiply by -1, the vibration frequency of the molecule to be determined is called the imaginary frequency; if the eigenvalue is positive, Then directly extract the root sign to get the vibration frequency of the molecule to be determined.

可见,本发明首先获得待确定分子的试验态,并计算当前试验态对应的能量期望,判断试验态对应的能量期望是否满足待确定分子基态能量的计算终止条件,若是,则基于当前能量期望作为待确定分子的基态能量,并计算待确定分子基态能量的海森矩阵,否则,更新试验态,计算更新后的试验态对应的能量期望,继续执行判断试验态对应的能量期望是否满足待确定分子基态能量的计算终止条件的步骤,直至获取满足计算终止条件的待确定分子的基态能量及待确定分子基态能量的海森矩阵,根据待确定分子基态能量的海森矩阵,计算待确定分子的振动频率,它通过利用量子的相关特性,加速分子振动频率的求解过程,优化了求解方式并提高求解速度。It can be seen that the present invention first obtains the test state of the molecule to be determined, and calculates the energy expectation corresponding to the current test state, and judges whether the energy expectation corresponding to the test state satisfies the calculation termination condition of the ground state energy of the molecule to be determined, and if so, then based on the current energy expectation as The ground state energy of the molecule to be determined, and calculate the Hessian matrix of the ground state energy of the molecule to be determined, otherwise, update the test state, calculate the energy expectation corresponding to the updated test state, and continue to judge whether the energy expectation corresponding to the test state satisfies the molecule to be determined The step of calculating the termination condition of the ground state energy, until the ground state energy of the molecule to be determined that satisfies the calculation termination condition and the Hessian matrix of the molecular ground state energy to be determined are obtained, and the vibration of the molecule to be determined is calculated according to the Hessian matrix of the ground state energy of the molecule to be determined Frequency, it accelerates the solution process of molecular vibration frequency by using quantum correlation characteristics, optimizes the solution method and improves the solution speed.

参见图3,图3为本发明实施例提供的一种确定分子振动频率的装置的结构示意图,与图2所示的流程相对应,可以包括:Referring to Fig. 3, Fig. 3 is a schematic structural diagram of a device for determining the molecular vibration frequency provided by an embodiment of the present invention, which corresponds to the process shown in Fig. 2 and may include:

获得模块301,用于获得待确定分子的试验态,并计算当前所述试验态对应的能量期望;Obtaining module 301, configured to obtain the test state of the molecule to be determined, and calculate the energy expectation corresponding to the current test state;

判断模块302,用于判断所述试验态对应的能量期望是否满足所述待确定分子基态能量的计算终止条件,其中,所述计算终止条件为当前能量期望与前次确定的能量期望的差值符合精度;A judging module 302, configured to judge whether the energy expectation corresponding to the test state satisfies the calculation termination condition of the molecular ground state energy to be determined, wherein the calculation termination condition is the difference between the current energy expectation and the previously determined energy expectation conform to the accuracy;

更新模块303,用于若是,则基于当前所述能量期望作为所述待确定分子的基态能量,并计算所述待确定分子基态能量的海森矩阵,否则,更新所述试验态,计算更新后的试验态对应的能量期望,继续执行所述判断所述试验态对应的能量期望是否满足所述待确定分子基态能量的计算终止条件的步骤,直至获取满足所述计算终止条件的所述待确定分子的基态能量及所述待确定分子基态能量的海森矩阵;The updating module 303 is used to, if so, expect the ground state energy of the molecule to be determined based on the current energy, and calculate the Hessian matrix of the ground state energy of the molecule to be determined, otherwise, update the test state, and calculate the updated The energy expectation corresponding to the test state, continue to execute the step of judging whether the energy expectation corresponding to the test state satisfies the calculation termination condition of the ground state energy of the molecule to be determined, until obtaining the to-be-determined molecule that meets the calculation termination condition The ground state energy of the molecule and the Hessian matrix of the molecular ground state energy to be determined;

计算模块304,用于根据所述待确定分子基态能量的海森矩阵,计算所述待确定分子的振动频率。The calculation module 304 is configured to calculate the vibration frequency of the molecule to be determined according to the Hessian matrix of the ground state energy of the molecule to be determined.

具体的,所述获得模块,包括:Specifically, the acquisition module includes:

获得单元,用于根据预先选择的拟设方式和所确定的待确定分子的Hartree Fock态,获得所述待确定分子的试验态。The obtaining unit is used to obtain the test state of the molecule to be determined according to the pre-selected hypothetical mode and the determined Hartree Fock state of the molecule to be determined.

具体的,所述计算模块,包括:Specifically, the calculation module includes:

第一确定单元,用于根据所述待确定分子基态能量的海森矩阵,确定所述待确定分子的力常数矩阵及所述力常数矩阵的特征值;A first determining unit, configured to determine the force constant matrix of the molecule to be determined and the eigenvalues of the force constant matrix according to the Hessian matrix of the ground state energy of the molecule to be determined;

第二确定单元,用于基于所述力常数矩阵的特征值,确定所述待确定分子的振动频率。The second determination unit is configured to determine the vibration frequency of the molecule to be determined based on the eigenvalues of the force constant matrix.

与现有技术相比,本发明首先获得待确定分子的试验态,并计算当前试验态对应的能量期望,判断试验态对应的能量期望是否满足待确定分子基态能量的计算终止条件,若是,则基于当前能量期望作为待确定分子的基态能量,并计算待确定分子基态能量的海森矩阵,否则,更新试验态,计算更新后的试验态对应的能量期望,继续执行判断试验态对应的能量期望是否满足待确定分子基态能量的计算终止条件的步骤,直至获取满足计算终止条件的待确定分子的基态能量及待确定分子基态能量的海森矩阵,根据待确定分子基态能量的海森矩阵,计算待确定分子的振动频率,它通过利用量子的相关特性,加速分子振动频率的求解过程,优化了求解方式并提高求解速度。Compared with the prior art, the present invention first obtains the test state of the molecule to be determined, and calculates the energy expectation corresponding to the current test state, and judges whether the energy expectation corresponding to the test state satisfies the calculation termination condition of the ground state energy of the molecule to be determined, and if so, then Based on the current energy expectation as the ground state energy of the molecule to be determined, and calculate the Hessian matrix of the ground state energy of the molecule to be determined, otherwise, update the test state, calculate the energy expectation corresponding to the updated test state, and continue to judge the energy expectation corresponding to the test state The step of whether the calculation termination condition of the ground state energy of the molecule to be determined is satisfied, until the ground state energy of the molecule to be determined meeting the calculation termination condition and the Hessian matrix of the ground state energy of the molecule to be determined are obtained, according to the Hessian matrix of the ground state energy of the molecule to be determined, calculate To determine the vibration frequency of the molecule, it accelerates the solution process of the molecular vibration frequency by using the quantum correlation characteristics, optimizes the solution method and improves the solution speed.

本发明实施例还提供了一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时实现上述任一项中方法实施例中的步骤。An embodiment of the present invention also provides a storage medium, in which a computer program is stored, wherein the computer program is configured to implement the steps in any one of the above method embodiments when running.

具体的,在本实施例中,上述存储介质可以被设置为存储用于实现以下步骤的计算机程序:Specifically, in this embodiment, the above-mentioned storage medium may be configured to store a computer program for implementing the following steps:

S201:获得待确定分子的试验态,并计算当前所述试验态对应的能量期望;S201: Obtain the test state of the molecule to be determined, and calculate the energy expectation corresponding to the current test state;

S202:判断所述试验态对应的能量期望是否满足所述待确定分子基态能量的计算终止条件,其中,所述计算终止条件为当前能量期望与前次确定的能量期望的差值符合精度;S202: Judging whether the energy expectation corresponding to the test state satisfies the calculation termination condition of the ground state energy of the molecule to be determined, wherein the calculation termination condition is that the difference between the current energy expectation and the previously determined energy expectation meets the accuracy;

S203:若是,则基于当前所述能量期望作为所述待确定分子的基态能量,并计算所述待确定分子基态能量的海森矩阵,否则,更新所述试验态,计算更新后的试验态对应的能量期望,继续执行所述判断所述试验态对应的能量期望是否满足所述待确定分子基态能量的计算终止条件的步骤,直至获取满足所述计算终止条件的所述待确定分子的基态能量及所述待确定分子基态能量的海森矩阵;S203: If yes, based on the current energy expectation as the ground state energy of the molecule to be determined, and calculate the Hessian matrix of the ground state energy of the molecule to be determined, otherwise, update the test state, and calculate the updated test state corresponding to continue to perform the step of judging whether the energy expectation corresponding to the test state satisfies the calculation termination condition of the ground state energy of the molecule to be determined, until the ground state energy of the molecule to be determined that meets the calculation termination condition is obtained and the Hessian matrix of the molecular ground state energy to be determined;

S204:根据所述待确定分子基态能量的海森矩阵,计算所述待确定分子的振动频率。S204: Calculate the vibration frequency of the molecule to be determined according to the Hessian matrix of the ground state energy of the molecule to be determined.

具体的,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。Specifically, in this embodiment, the above-mentioned storage medium may include but not limited to: U disk, read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), mobile Various media that can store computer programs, such as hard disks, magnetic disks, or optical disks.

本发明实施例还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以实现上述任一项中方法实施例中的步骤。An embodiment of the present invention also provides an electronic device, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to implement any one of the method embodiments described above. A step of.

具体的,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。Specifically, the electronic device may further include a transmission device and an input and output device, wherein the transmission device is connected to the processor, and the input and output device is connected to the processor.

具体的,在本实施例中,上述处理器可以被设置为通过计算机程序实现以下步骤:Specifically, in this embodiment, the above-mentioned processor may be configured to implement the following steps through a computer program:

S201:获得待确定分子的试验态,并计算当前所述试验态对应的能量期望;S201: Obtain the test state of the molecule to be determined, and calculate the energy expectation corresponding to the current test state;

S202:判断所述试验态对应的能量期望是否满足所述待确定分子基态能量的计算终止条件,其中,所述计算终止条件为当前能量期望与前次确定的能量期望的差值符合精度;S202: Judging whether the energy expectation corresponding to the test state satisfies the calculation termination condition of the ground state energy of the molecule to be determined, wherein the calculation termination condition is that the difference between the current energy expectation and the previously determined energy expectation meets the accuracy;

S203:若是,则基于当前所述能量期望作为所述待确定分子的基态能量,并计算所述待确定分子基态能量的海森矩阵,否则,更新所述试验态,计算更新后的试验态对应的能量期望,继续执行所述判断所述试验态对应的能量期望是否满足所述待确定分子基态能量的计算终止条件的步骤,直至获取满足所述计算终止条件的所述待确定分子的基态能量及所述待确定分子基态能量的海森矩阵;S203: If yes, based on the current energy expectation as the ground state energy of the molecule to be determined, and calculate the Hessian matrix of the ground state energy of the molecule to be determined, otherwise, update the test state, and calculate the updated test state corresponding to continue to perform the step of judging whether the energy expectation corresponding to the test state satisfies the calculation termination condition of the ground state energy of the molecule to be determined, until the ground state energy of the molecule to be determined that meets the calculation termination condition is obtained and the Hessian matrix of the molecular ground state energy to be determined;

S204:根据所述待确定分子基态能量的海森矩阵,计算所述待确定分子的振动频率。S204: Calculate the vibration frequency of the molecule to be determined according to the Hessian matrix of the ground state energy of the molecule to be determined.

以上依据图式所示的实施例详细说明了本发明的构造、特征及作用效果,以上所述仅为本发明的较佳实施例,但本发明不以图面所示限定实施范围,凡是依照本发明的构想所作的改变,或修改为等同变化的等效实施例,仍未超出说明书与图示所涵盖的精神时,均应在本发明的保护范围内。The structure, features and effects of the present invention have been described in detail above based on the embodiments shown in the drawings. The above descriptions are only preferred embodiments of the present invention, but the present invention does not limit the scope of implementation as shown in the drawings. Changes made to the idea of the present invention, or modifications to equivalent embodiments that are equivalent changes, and still within the spirit covered by the description and illustrations, shall be within the protection scope of the present invention.

Claims (10)

1.一种确定分子振动频率的方法,其特征在于,所述方法包括:1. A method for determining the molecular vibration frequency, characterized in that the method comprises: 获得待确定分子的试验态,并计算当前所述试验态对应的能量期望;Obtain the test state of the molecule to be determined, and calculate the energy expectation corresponding to the current test state; 判断所述试验态对应的能量期望是否满足所述待确定分子基态能量的计算终止条件,其中,所述计算终止条件为当前能量期望与前次确定的能量期望的差值符合精度;Judging whether the energy expectation corresponding to the test state satisfies the calculation termination condition of the ground state energy of the molecule to be determined, wherein the calculation termination condition is that the difference between the current energy expectation and the previously determined energy expectation meets the accuracy; 若是,则基于当前所述能量期望作为所述待确定分子的基态能量,并计算所述待确定分子基态能量的海森矩阵,否则,更新所述试验态,计算更新后的试验态对应的能量期望,继续执行所述判断所述试验态对应的能量期望是否满足所述待确定分子基态能量的计算终止条件的步骤,直至获取满足所述计算终止条件的所述待确定分子的基态能量及所述待确定分子基态能量的海森矩阵;If so, then based on the current energy expectation as the ground state energy of the molecule to be determined, and calculate the Hessian matrix of the ground state energy of the molecule to be determined, otherwise, update the test state, and calculate the energy corresponding to the updated test state Expecting, continue to execute the step of judging whether the energy expectation corresponding to the test state satisfies the calculation termination condition of the ground state energy of the molecule to be determined, until the ground state energy of the molecule to be determined that satisfies the calculation termination condition and the Describe the Hessian matrix of the molecular ground state energy to be determined; 根据所述待确定分子基态能量的海森矩阵,计算所述待确定分子的振动频率。According to the Hessian matrix of the ground state energy of the molecule to be determined, the vibration frequency of the molecule to be determined is calculated. 2.根据权利要求1所述的方法,其特征在于,所述获得待确定分子的试验态,包括:2. The method according to claim 1, wherein said obtaining the test state of the molecule to be determined comprises: 根据预先选择的拟设方式和所确定的待确定分子的Hartree Fock态,获得所述待确定分子的试验态。According to the pre-selected hypothetical mode and the determined Hartree Fock state of the molecule to be determined, the test state of the molecule to be determined is obtained. 3.根据权利要求2所述的方法,其特征在于,所述计算当前所述试验态对应的能量期望,包括:3. The method according to claim 2, wherein the calculation of the energy expectation corresponding to the current test state comprises: 通过以下算式计算试验态对应的能量期望:The energy expectation corresponding to the test state is calculated by the following formula:
Figure FDA0003937671690000011
Figure FDA0003937671690000011
其中,n表示计算试验态对应能量期望的循环次数,E(n)为当前试验态|Ψ(n)>对应的能量期望,
Figure FDA0003937671690000012
为待确定分子的哈密顿量,hα为电子积分相关系数,
Figure FDA0003937671690000013
为泡利字符串形式的算符。
Among them, n represents the number of cycles for calculating the energy expectation corresponding to the test state, E(n) is the energy expectation corresponding to the current test state |Ψ(n)>,
Figure FDA0003937671690000012
is the Hamiltonian of the molecule to be determined, h α is the electron integral correlation coefficient,
Figure FDA0003937671690000013
is an operator in Pauli string form.
4.根据权利要求3所述的方法,其特征在于,所述计算所述待确定分子基态能量的海森矩阵,包括:4. The method according to claim 3, wherein said calculating the Hessian matrix of said molecular ground state energy to be determined comprises: 通过以下算式计算所述待确定分子基态能量的海森矩阵:Calculate the Hessian matrix of the molecular ground state energy to be determined by the following formula:
Figure FDA0003937671690000021
Figure FDA0003937671690000021
其中,R为分子的坐标。where R is the coordinates of the molecule.
5.根据权利要求4所述的方法,其特征在于,所述根据所述待确定分子基态能量的海森矩阵,计算所述待确定分子的振动频率,包括:5. method according to claim 4, is characterized in that, described according to the Hessian matrix of described molecular ground state energy to be determined, calculate the vibration frequency of described molecule to be determined, comprising: 根据所述待确定分子基态能量的海森矩阵,确定所述待确定分子的力常数矩阵及所述力常数矩阵的特征值;According to the Hessian matrix of the molecular ground state energy to be determined, determine the force constant matrix of the molecule to be determined and the eigenvalues of the force constant matrix; 基于所述力常数矩阵的特征值,确定所述待确定分子的振动频率。Based on the eigenvalues of the force constant matrix, the vibration frequency of the molecule to be determined is determined. 6.根据权利要求5所述的方法,其特征在于,所述根据所述待确定分子基态能量的海森矩阵,确定所述待确定分子的力常数矩阵及所述力常数矩阵的特征值,包括:6. The method according to claim 5, characterized in that, according to the Hessian matrix of the molecular ground state energy to be determined, determine the force constant matrix of the molecule to be determined and the eigenvalues of the force constant matrix, include: 通过以下算式计算所述待确定分子的力常数矩阵:Calculate the force constant matrix of the molecule to be determined by the following formula: F=M×S×MF=M×S×M 其中,F为待确定分子的力常数矩阵,M为质量权重矩阵,满足
Figure FDA0003937671690000022
N为待确定分子所包含的原子体系个数,mq为第q个原子的质量,q∈N。
Among them, F is the force constant matrix of the molecule to be determined, M is the mass weight matrix, satisfying
Figure FDA0003937671690000022
N is the number of atomic systems contained in the molecule to be determined, m q is the mass of the qth atom, q∈N.
7.一种确定分子振动频率的装置,其特征在于,所述装置包括:7. A device for determining the molecular vibration frequency, characterized in that the device comprises: 获得模块,用于获得待确定分子的试验态,并计算当前所述试验态对应的能量期望;An obtaining module, configured to obtain the test state of the molecule to be determined, and calculate the energy expectation corresponding to the current test state; 判断模块,用于判断所述试验态对应的能量期望是否满足所述待确定分子基态能量的计算终止条件,其中,所述计算终止条件为当前能量期望与前次确定的能量期望的差值符合精度;A judging module, configured to judge whether the energy expectation corresponding to the test state satisfies the calculation termination condition of the molecular ground state energy to be determined, wherein the calculation termination condition is that the difference between the current energy expectation and the previously determined energy expectation meets precision; 更新模块,用于若是,则基于当前所述能量期望作为所述待确定分子的基态能量,并计算所述待确定分子基态能量的海森矩阵,否则,更新所述试验态,计算更新后的试验态对应的能量期望,继续执行所述判断所述试验态对应的能量期望是否满足所述待确定分子基态能量的计算终止条件的步骤,直至获取满足所述计算终止条件的所述待确定分子的基态能量及所述待确定分子基态能量的海森矩阵;An update module, for if so, then based on the current energy expectation as the ground state energy of the molecule to be determined, and calculate the Hessian matrix of the ground state energy of the molecule to be determined, otherwise, update the test state, and calculate the updated The energy expectation corresponding to the test state, continue to perform the step of judging whether the energy expectation corresponding to the test state satisfies the calculation termination condition of the ground state energy of the molecule to be determined, until the molecule to be determined that meets the calculation termination condition is obtained The ground state energy of and the Hessian matrix of the molecular ground state energy to be determined; 计算模块,用于根据所述待确定分子基态能量的海森矩阵,计算所述待确定分子的振动频率。A calculation module, configured to calculate the vibration frequency of the molecule to be determined according to the Hessian matrix of the ground state energy of the molecule to be determined. 8.根据权利要求7所述的装置,其特征在于,所述获得模块,包括:8. The device according to claim 7, wherein the obtaining module comprises: 获得单元,用于根据预先选择的拟设方式和所确定的待确定分子的Hartree Fock态,获得所述待确定分子的试验态。The obtaining unit is used to obtain the test state of the molecule to be determined according to the pre-selected hypothetical mode and the determined Hartree Fock state of the molecule to be determined. 9.一种存储介质,其特征在于,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时实现所述权利要求1至6任一项中所述的方法。9. A storage medium, wherein a computer program is stored in the storage medium, wherein the computer program is configured to implement the method described in any one of claims 1 to 6 when running. 10.一种电子装置,包括存储器和处理器,其特征在于,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以实现所述权利要求1至6任一项中所述的方法。10. An electronic device comprising a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to realize any one of claims 1 to 6 method described in .
CN202211408771.5A 2022-11-11 2022-11-11 Method and device for determining molecular vibration frequency Pending CN115790822A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211408771.5A CN115790822A (en) 2022-11-11 2022-11-11 Method and device for determining molecular vibration frequency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211408771.5A CN115790822A (en) 2022-11-11 2022-11-11 Method and device for determining molecular vibration frequency

Publications (1)

Publication Number Publication Date
CN115790822A true CN115790822A (en) 2023-03-14

Family

ID=85436816

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211408771.5A Pending CN115790822A (en) 2022-11-11 2022-11-11 Method and device for determining molecular vibration frequency

Country Status (1)

Country Link
CN (1) CN115790822A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116612823A (en) * 2023-05-12 2023-08-18 合肥本源量子计算科技有限责任公司 Method and system for determining ground state energy
CN119378704A (en) * 2024-09-27 2025-01-28 本源量子计算科技(合肥)股份有限公司 Calculation method and related device for ground state energy of target system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030195734A1 (en) * 2002-04-16 2003-10-16 Huai Sun Method and expert system of molecular mechanics force fields for computer simulation of molecular systems
CN103793622A (en) * 2014-03-11 2014-05-14 中国石油大学(华东) Method for analyzing influences of reaction intermediate on catalyst activity
CN114492815A (en) * 2022-01-27 2022-05-13 合肥本源量子计算科技有限责任公司 Method, device and medium for calculating target system energy based on quantum chemistry
CN114512195A (en) * 2022-01-27 2022-05-17 合肥本源量子计算科技有限责任公司 Method, device and medium for calculating properties of molecular dynamics simulation system
CN114512194A (en) * 2022-01-27 2022-05-17 合肥本源量子计算科技有限责任公司 Method and device for acquiring target system test state in quantum chemical simulation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030195734A1 (en) * 2002-04-16 2003-10-16 Huai Sun Method and expert system of molecular mechanics force fields for computer simulation of molecular systems
CN103793622A (en) * 2014-03-11 2014-05-14 中国石油大学(华东) Method for analyzing influences of reaction intermediate on catalyst activity
CN114492815A (en) * 2022-01-27 2022-05-13 合肥本源量子计算科技有限责任公司 Method, device and medium for calculating target system energy based on quantum chemistry
CN114512195A (en) * 2022-01-27 2022-05-17 合肥本源量子计算科技有限责任公司 Method, device and medium for calculating properties of molecular dynamics simulation system
CN114512194A (en) * 2022-01-27 2022-05-17 合肥本源量子计算科技有限责任公司 Method and device for acquiring target system test state in quantum chemical simulation

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
常昊: "氢吸附导致的SiC 表面金属化的第一原理研究", 《中国优秀博硕士学位论文全文数据库 (硕士)》, no. 04, 15 April 2007 (2007-04-15), pages 005 - 85 *
李定 等: "《计算机辅助药物设计基础》", vol. 1, 31 March 2018, 西北农业科技大学出版社, pages: 104 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116612823A (en) * 2023-05-12 2023-08-18 合肥本源量子计算科技有限责任公司 Method and system for determining ground state energy
CN119378704A (en) * 2024-09-27 2025-01-28 本源量子计算科技(合肥)股份有限公司 Calculation method and related device for ground state energy of target system

Similar Documents

Publication Publication Date Title
Cerezo et al. Variational quantum algorithms
JP7471736B2 (en) Method and system for estimating ground state energy of a quantum system
CN114492815B (en) A method, device and medium for calculating the energy of a target system based on quantum chemistry
CN114219076B (en) Quantum neural network training method and device, electronic equipment and medium
CN114528996B (en) Method, device and medium for determining initial parameters of target system test state
CN115144934B (en) Meteorological prediction method based on variable component sub-line and related equipment
CN114512194B (en) Method and device for obtaining test state of target system in quantum chemical simulation
WO2020221583A1 (en) System and method for molecular design on a quantum computer
WO2024046136A1 (en) Quantum neural network training method and device
CN115116552B (en) A method and device for calculating molecular energy by quantum chemical simulation
CN113705793A (en) Decision variable determination method and device, electronic equipment and medium
CN115790822A (en) Method and device for determining molecular vibration frequency
Cao et al. Genetic programming symbolic regression with simplification-pruning operator for solving differential equations
CN115618663B (en) A quantum solution method and device for coupling grid equations with physical equations
CN114512195A (en) Method, device and medium for calculating properties of molecular dynamics simulation system
CN117634631A (en) A corresponding method from classical data sets to quantum physical systems based on Hamiltonian
CN117709415A (en) Quantum neural network model optimization method and device
CN114511094B (en) A quantum algorithm optimization method, device, storage medium and electronic device
Potapov et al. The quantum computer model structure and estimation of the quantum algorithms complexity
CN117875370A (en) A task processing method and device using molecular data
CN115684499A (en) Determination method and device for transition state
CN115630701A (en) System characteristic information determination method, device, electronic equipment and medium
CN116306952B (en) A molecular property prediction method, device, storage medium and electronic device
CN114511090B (en) Method, device and medium for preparing test state of system based on spin symmetry
CN116090571B (en) Quantum linear solution method, device and medium based on generalized minimal residual

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 230088 6th floor, E2 building, phase II, innovation industrial park, 2800 innovation Avenue, high tech Zone, Hefei City, Anhui Province

Applicant after: Benyuan Quantum Computing Technology (Hefei) Co.,Ltd.

Address before: 230088 6th floor, E2 building, phase II, innovation industrial park, 2800 innovation Avenue, high tech Zone, Hefei City, Anhui Province

Applicant before: ORIGIN QUANTUM COMPUTING COMPANY, LIMITED, HEFEI

CB02 Change of applicant information