CN117634363B - Flow field reconstruction method based on quantum Koopman analysis - Google Patents

Flow field reconstruction method based on quantum Koopman analysis Download PDF

Info

Publication number
CN117634363B
CN117634363B CN202410089916.2A CN202410089916A CN117634363B CN 117634363 B CN117634363 B CN 117634363B CN 202410089916 A CN202410089916 A CN 202410089916A CN 117634363 B CN117634363 B CN 117634363B
Authority
CN
China
Prior art keywords
quantum
flow field
data
representing
koopman
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.)
Active
Application number
CN202410089916.2A
Other languages
Chinese (zh)
Other versions
CN117634363A (en
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.)
Institute of Artificial Intelligence of Hefei Comprehensive National Science Center
Original Assignee
Institute of Artificial Intelligence of Hefei Comprehensive National Science Center
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 Institute of Artificial Intelligence of Hefei Comprehensive National Science Center filed Critical Institute of Artificial Intelligence of Hefei Comprehensive National Science Center
Priority to CN202410089916.2A priority Critical patent/CN117634363B/en
Publication of CN117634363A publication Critical patent/CN117634363A/en
Application granted granted Critical
Publication of CN117634363B publication Critical patent/CN117634363B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Complex Calculations (AREA)

Abstract

The invention discloses a flow field reconstruction method based on quantum Koopman analysis, which comprises the steps of inputting flow field data into a trained quantum Koopman analysis model to output a flow field reconstruction result; the training process of the quantum Koopman analysis model is as follows: s1: constructing a training set; s2: constructing a nonlinear mapping function and constructing mapped flow field data based on quantum circuitsIs a query interface of (1)To implement a mapping function; s3: to query interfaceAs input, computation based on quantum dynamic modal decomposition algorithmIs the main characteristic value of (2)And principal eigenvector; S4: based on principal eigenvaluesAnd principal eigenvectorReconstructing mapped flow field dataObtaining flow field data after reconstruction; the flow field reconstruction method reduces the reconstruction cost and improves the accuracy of the reconstructed fluid.

Description

Flow field reconstruction method based on quantum Koopman analysis
Technical Field
The invention relates to the technical field of flow field reconstruction, in particular to a flow field reconstruction method based on quantum Koopman analysis.
Background
Flow field reconstruction is an important research problem in hydrodynamic research, and a specific task is to reconstruct flow field evolution according to observed flow field data. With the development of flow field research in large scale, high precision, strong coupling and the like, the dimension of generated flow field data is continuously increased, and too much computing resources are needed for analyzing flow field data and reconstructing the flow field by using a classical computer, so that the computing power of the classical computer may be exceeded.
Quantum computing has powerful data processing capability, and various quantum algorithms for accelerating data analysis tasks have been developed, such as a quantum support vector machine [ PHYSICAL REVIEW LETTERS 113.13.13 (2014): 130503], a quantum principal component analysis method [ nature Physics 10.9 (2014): 631-633], a quantum algorithm for analyzing data topology and geometric characteristics [ Nature communications 7.1.1 (2016): 10138], and a quantum dynamic modal decomposition algorithm for analyzing high-dimensional time series data [ INTELLIGENT COMPUTING (2023): 0045].
However, the quantum algorithm has some limitations when directly applied to the problem of flow field reconstruction: the defects of inaccurate flow field data and high reconstruction cost are caused by the fact that the nonlinear characteristics of the flow field data cannot be extracted, the algorithm optimization cost is too high, and the like.
Disclosure of Invention
Based on the technical problems in the background technology, the invention provides a flow field reconstruction method based on quantum Koopman analysis, which reduces the reconstruction cost and improves the accuracy of the reconstructed fluid.
According to the flow field reconstruction method based on quantum Koopman analysis, flow field data are input into a trained quantum Koopman analysis model to output flow field reconstruction results;
The training process of the quantum Koopman analysis model is as follows:
s1: constructing a training set, and setting flow field data in the training set Stored in a quantum data structure, and a data query interface/>, is constructed by querying the quantum data structure,/>Representing flow field data/>Middle/>Data corresponding to flow field observational quantity of moment,/>,/>Representing the number of time steps;
s2: constructing a nonlinear mapping function and constructing mapped flow field data based on quantum circuits Query interface/>To realize mapping function based on query interface/>Flow field data/>Mapping to post-mapping flow field data/>,/>Represents the/>Data of time of day/>Vector after mapping by the mapping function;
s21: introducing parameters to be optimized to construct a mapping function, and constructing flow field data based on the mapping function Corresponding mapped flow field data/>The parameters to be optimized are subjected to parameter optimization in the training process;
S22: query interface based on quantum arithmetic operation Go/>Any element/>, is calculated by secondary queryRealize inquiry interface/>First operation/>Wherein/>Representing vectors/>First/>A component;
s23: preparation method based on quantum state amplitude for multiple data Amplitude encoded state preparation of (a) to obtain mapped vectorsAmplitude encoding state of (a) to realize inquiry interface/>Second operation/>
S24: quantum arithmetic operation based pair dataIs/is > ofCalculating to obtain a vector/>Is/is > ofRealize inquiry interface/>Third operation/>
S3: to query interfaceAs input, calculating/>, based on a quantum dynamic modal decomposition algorithmPrincipal eigenvalues/>And principal eigenvector/>,/>Representing Koopman operators;
s31: preparation of the initial state Wherein, the method comprises the steps of, wherein,Representing a trace operation on matrix H,/>Respectively represent data/>Is a singular value, a left singular vector, a right singular vector,/>,/>
S32: in an initial stateAs input state, pair/>Executing a quantum singular value estimation algorithm and performing post-processing to obtain a quantum state/>,/>Wherein/>Representation will/>Matrix after hermitization,/>Representing intermediate process parameters,/>Representation/>Is the transposed conjugate of (2);
S33: for quantum state Sampling, and calculating/>, based on the sampling resultLow-dimensional projection matrix/>And pair/>And (3) performing characteristic decomposition: /(I)Wherein/>Representation/>Is/are of the eigenvectors of (1)Representation/>Is a characteristic value of (2);
S34: matrix of low-dimensional projection As/>Principal eigenvalues/>Each score/>
S35: by projecting the matrix in low dimensionsAnd query interface/>Performing operator linear combination to obtain/>Principal eigenvector/>Each component/>Amplitude encoded states/>
S4: based on principal eigenvaluesAnd principal eigenvector/>Reconstructing mapped flow field data/>And obtaining the flow field data after reconstruction.
Further, in step S1,,/>Representing the grid number of the flow field,/>Indicating time step number and inquiring interfaceThe following are provided:
wherein, Represents the/>Time 1/>Observation data corresponding to each grid,/>Representation data/>Is used for the amplitude encoding state of (a),,/>Representation data/>Is a binary norm of (c).
Further, in step S21, the mapping function is defined as:
wherein, Representing transpose,/>Representing parameters to be optimized,/>Constant representing nonlinear order,/>Representing tensor product operation;
Construction of flow field data based on mapping function Mapped flow field data
Further, in step S23, for a plurality of dataAmplitude encoded states/>The preparation method specifically comprises the following steps:
First preparing quantum state Wherein/>,/>Representing parameters to be optimized;
Executing intermediate parameters Obtaining the quantum stateGenerate data/>Amplitude encoded states/>,/>Right and left vector symbols of dirac in quantum mechanics are represented;
In step S24, two norms The calculation formula of (2) is as follows:
wherein, Constant representing nonlinear order,/>Representing the sum index.
Further, in step S4, specifically:
S41: based on principal eigenvalues Each score/>And principal eigenvector/>Each component/>Amplitude encoding state of (2)Reconstructing the vector/>, at each momentTo reconstruct/>Recorded as reconstruction data/>Will reconstruct data/>Collecting to obtain flow field data after reconstruction;
s42: by reconstructing data Performing operator linear combination to prepare the quantum state/>
Reconstructing dataThe calculation formula of (2) is as follows:
wherein, Representing the cut-off order,/>First/>, representing initial coefficientsThe elements.
Further, in the quantum Koopman analysis model training process, constructing a loss function to optimize parameters to be optimized in the mapping function, wherein the loss functionThe formula of (2) is as follows:
wherein, Representing the number of time steps,/>Representing vectors/>Reconstructed data after reconstruction.
The flow field reconstruction method based on quantum Koopman analysis has the advantages that: the flow field reconstruction method based on quantum Koopman analysis provided by the invention calculates the main characteristic value of the Koopman operator by using a quantum Koopman analysis modelAnd principal eigenvector/>Based on principal eigenvalue/>And principal eigenvector/>Reconstructing the mapped flow field data, thereby outputting a flow field reconstruction result; the flow field data after mapping is reconstructed based on the quantum Koopman analysis model, so that the nonlinear characteristics of the flow field data can be particularly focused and reconstructed, and the accuracy of the flow field data after reconstruction and the accuracy of evolution based on the flow field data after reconstruction are improved.
Drawings
FIG. 1 is a schematic diagram of the structure of the present invention;
FIG. 2 is a schematic diagram of a training flow of a quantum Koopman analytical model;
FIG. 3 is a flow diagram of a quantum dynamic modal decomposition algorithm;
fig. 4 is a schematic diagram of flow field data reconstruction for example cylindrical bypass flow.
Detailed Description
In the following detailed description of the present invention, numerous specific details are set forth in order to provide a thorough understanding of the present invention. The invention may be embodied in many other forms than described herein and similarly modified by those skilled in the art without departing from the spirit or scope of the invention, which is therefore not limited to the specific embodiments disclosed below.
As shown in figures 1 to 4, the flow field reconstruction method based on the quantum Koopman analysis, provided by the invention, inputs flow field data into a trained quantum Koopman analysis model, and the quantum Koopman analysis model calculates a main characteristic value of a Koopman operatorAnd principal eigenvector/>Based on principal eigenvalue/>And principal eigenvector/>Reconstructing the mapped flow field data, thereby outputting a flow field reconstruction result.
The flow field data is reconstructed based on the quantum Koopman analysis model, so that the nonlinear characteristics of the flow field data can be particularly focused and reconstructed, and the accuracy of the reconstructed flow field data and the accuracy of evolution based on the reconstructed flow field data are improved.
The flow field reconstruction is solved based on quantum acceleration in a quantum Koopman analysis model, and specifically comprises the following steps: firstly, selecting a proper mapping function and giving out a quantum circuit implementation mode; then using quantum calculation to accelerate solving of main eigenvalue of Koopman operatorAnd principal eigenvector/>; Reconstructing mapped flow field data according to the main feature value and the main feature vector obtained by the Koopman operator; and constructing a loss function by using the reconstructed flow field data and the mapped flow field data, and carrying out parameter optimization on parameters to be optimized in the mapping function by the loss function to obtain an optimal mapping function. In the actual use process of the quantum Koopman analysis model, mapping is carried out on the original flow field data based on an optimal mapping function to obtain mapped flow field data, and the quantum Koopman analysis model calculates a main characteristic value and a main characteristic vector of the mapped flow field data, so that the reconstructed flow field data can be obtained.
Based on training the quantum Koopman analysis model to optimize parameters to be optimized of the mapping function, the training process of the quantum Koopman analysis model is as follows from S1 to S4.
S1: constructing a training set, and setting flow field data in the training setStored in a quantum data structure, and a data query interface/>, is constructed by querying the quantum data structure
Observed flow field data is defined asRepresenting flow field data/>Middle/>Data corresponding to flow field observed quantity at moment, wherein the data can be observed pressure, vorticity and other data,/>,/>Expressed/>Is/>,/>Representing the grid number of the flow field,/>Representing the number of time steps. In the quantum algorithm/>Stored in a quantum data structure, a data query interface/>, comprising the following operations, can be realized by querying the quantum data structure
Wherein,Represents the/>Time 1/>Observation data corresponding to each grid,/>Representation data/>Is used for the amplitude encoding state of (a),,/>Representation data/>Is a binary norm of (c).
S2: constructing a nonlinear mapping function and constructing mapped flow field data based on quantum circuitsQuery interface/>To realize mapping function based on query interface/>Flow field data/>Mapping to post-mapping flow field data/>Comprising steps S21 to S24;
s21: introducing parameters to be optimized to construct a mapping function, and constructing flow field data based on the mapping function Corresponding mapped flow field data/>The parameters to be optimized are subjected to parameter optimization in the training process;
koopman analysis first uses flow field data Mapping to New flow field data/>,/>The representation represents the/>Data of time of day/>Vector mapped by mapping function,/>,/>Representing the number of time steps; /(I)Representing a mapping function,/>Is flow field data/>And mapping the data after mapping by the mapping function. Because the flow field evolution equation is a nonlinear differential equation, the mapping function needs to be selected as a nonlinear function when solving the flow field reconstruction problem. In addition, in order to obtain an optimal mapping function, parameters to be optimized are introduced into the mapping function, and the expression of the mapping function is as follows:
wherein, Represents the/>Data of time of day/>Vector data mapped by mapping function,/>Representing flow field dataMiddle/>Data corresponding to flow field observational quantity of moment,/>Representing transpose,/>Is a parameter to be optimized,/>Is a constant representing nonlinear order,/>Representing tensor product operations.
S22: query interface based on quantum arithmetic operationGo/>Any element/>, is calculated by secondary queryRealize inquiry interface/>First operation/>Wherein/>Representing vectors/>First/>A component; the quantum arithmetic operations are quantum addition operations and quantum multiplication operations;
due to Each element may pass through at most/>Personal/>Calculated by the elements of/>, thenQuery/>The times can calculate any/>The arithmetic process can be realized by using quantum arithmetic operationThe first operation:
s23: preparation method based on quantum state amplitude for multiple data Amplitude encoded state preparation of (a) to obtain mapped vectorsAmplitude encoding state of (a) to realize inquiry interface/>Second operation/>
Amplitude encoded states pass through multiple copies/>Is prepared in the amplitude encoded state. First, quantum state/>Wherein/>,/>Representing parameters to be optimized; then execute/>To obtain the quantum state/>Generate mapped data/>Amplitude encoded states/>I.e. can be realized by quantum arithmetic operations-Second operation/>;/>Representing dirac right and left vector symbols in quantum mechanics,/>Represent right vector/>Multiplying the left vector/>
Wherein U defined by this formula implements a series of controlled unitary operators, i.e. control bits areWhen execution/>, on the target bitAnd (3) operating.
S24: quantum arithmetic operation based pair dataIs/is > ofCalculation to obtain/>Is/is > ofRealize inquiry interface/>Third operation/>
Through inquiry interfaceObtain/>Is/is > ofThen based on quantum addition, multiplication and open square operation, the/>Is a binary norm of (c).
Two normsThe calculation formula of (2) is as follows:
wherein, Constant representing nonlinear order,/>Representing the sum index.
Query interface constructed through steps S22 to S24The following are provided:
by constructing a query interface Mapping function is realized through quantum circuit, and finally flow field data/>Mapped flow field data/>Is mapped to the mapping of (a).
S3: to query interfaceAs input, calculating/>, based on a quantum dynamic modal decomposition algorithmPrincipal eigenvalues/>And principal eigenvector/>,/>Representing Koopman operators;
As shown in FIG. 3, a query interface is constructed After that, realizeMapping to/>, by a nonlinear mapping functionIs a process of (2). Assumption/> in Koopman analysisThe evolution of (c) can be expressed in terms of linear operators, specifically expressed as: /(I)Wherein/>Representing Koopman operator,/>,/>. The task of Koopman analysis is to calculate/>Principal eigenvalues/>And principal eigenvector/>Wherein/>Representing the number of truncation steps.
The implementation process of the quantum computing acceleration Koopman analysis is realized by a quantum dynamic modal decomposition algorithm, and the method is toAs input, executing a quantum dynamic modal decomposition algorithm to obtain/>Principal eigenvalues/>And principal eigenvector/>Each component/>Amplitude encoded states/>; The implementation process of the quantum dynamic modal decomposition algorithm is as follows:
s31: preparation of the initial state Wherein/>,/>Can also be expressed asWherein/>Representing matrix,/>Representation will/>Matrix after hermitization,/>Represents the transposed conjugate of G,/>Representing intermediate process parameters,/>,/>Representation/>Transposed conjugate of/>Representing a trace operation on matrix H,/>Respectively express/>A singular value of (a), a left singular vector, a right singular vector;
S32: in an initial state As input state, pair/>Executing a quantum singular value estimation algorithm and performing post-processing to obtain a quantum state/>
S33: for quantum stateSampling, and calculating a low-dimensional projection matrix/>, of the Koopman operator through sampling resultsAnd pair/>And (3) performing characteristic decomposition: /(I)Wherein/>Representation/>Is/are of the eigenvectors of (1)Representation/>Is a characteristic value of (2); wherein the sampling result is the principal eigenvalue of the Koopman operator and the amplitude encoding state of the principal singular vector, and then the low-dimensional projection matrix of the Koopman operator is calculated by a series of vector inner product operations.
S34: matrix of low-dimensional projectionAs/>Principal eigenvalues/>Each score/>
S35: by projecting the matrix in low dimensionsAnd query interface/>Performing operator linear combination to obtain/>Principal eigenvector/>Each component/>Amplitude encoded states/>; The operator represents a quantum operator, and the operator linear combination is a basic quantum algorithm module, namely a given operator/>The operator can be realized by the operator linear combination technology
S4: based on principal eigenvaluesAnd principal eigenvector/>Reconstructing mapped flow field data/>Obtaining flow field data after reconstruction; specifically S41 to S42:
S41: based on principal eigenvalues Each score/>And principal eigenvector/>Each component/>Amplitude encoding state of (2)Reconstructing the vector/>, at each momentTo reconstruct/>Recorded as reconstruction data/>Will reconstruct data/>Collecting to obtain flow field data after reconstruction;
Reconstructing data The calculation formula of (2) is as follows:
wherein, Representing the cut-off order,/>Representing the initial coefficient/>(1 /)Element,/>Is to satisfy/>/>The element of (1) is then the initial coefficient/>By/>And/>And (5) calculating.
S42: by reconstructing flow field dataPerforming operator linear combination to prepare the quantum state/>
Wherein the operators represent quantum operators, and the linear combination of the operators is a basic quantum algorithm module, i.e. a given operatorOperator/>, can be realized by an operator linear combination technique
Through the steps S1 to S4, the quantum Koopman analysis model is used for accelerating the flow field reconstruction problem through quantum calculation after training, so that a fluid reconstruction result can be obtained more quickly and accurately.
In the quantum Koopman analysis model training process, mainly for optimizing parameters to be optimized in the mapping function, the embodiment designs a loss function to optimize the parameters, and the loss function is as follows:
loss function The formula of (2) is as follows:
wherein, Representing the number of time steps,/>Representation data/>Reconstructed data after reconstruction.
Can be calculated by a Hadamard test. Then pass/>Parameters to be optimized in optimizing mapping functionAnd obtaining the optimal mapping function. And finally, performing quantum Koopman analysis after optimization to complete a flow field reconstruction task, namely obtaining an optimal mapping function based on the loss function, and performing a quantum Koopman analysis model of the optimal mapping function in the actual use process to perform quantum Koopman analysis.
As an embodiment
As shown in fig. 4, consider the reynolds numberA cylindrical bypass problem, the data set being generated by an IBPM flow field solver.
The data set information is: Wherein/> ,/>Represents the/>At the moment, the flow field space is divided into/>Grid,/>Each element/>Indicating the vorticity of the corresponding flow field grid. Will/>Spread into one dimension, i.e./>. The embodiment solves the problem as follows:
(1) And (3) selecting and realizing a nonlinear mapping function: mapping function Middle/>Get 3, then/>The writing is as follows:
Each of which is Can be written as at most/>Personal/>The product of the elements is multiplied by a constant, thus by query/>The quantum data structure of (a) gets the corresponding/>The elements in (2) are then calculated using quantum arithmetic operationsThereby realizing; In addition/>Is a series/>And/>By querying/>Is prepared by preparing a quantum data structure of (2), and further preparing/>I.e. realizing/>; Finally/>By querying/>Obtained of the quantum data structure of/>Then calculate/>, using quantum arithmetic operationsNamely realize. The above is/>Implementation details of (a).
(2) Quantum computation accelerates Koopman analysis: for mapped dataExecution of the cut-off order/>The main characteristic value/>, of the Koopman operator is obtained by the quantum dynamic modal decomposition algorithm of (2)And principal eigenvectorAmplitude encoded states/>
(3) Reconstructing a flow field: next solve the system of linear equationsObtain vector/>; Then prepare/>, using an operator linear combination techniqueQuantum state/>
(4) And (3) optimizing mapping function parameters: defining a loss function,/>Representing the number of time steps, in this case/>. Next calculate/>, by Hadamard testThen pass/>Optimizing mapping function parameters/>And obtaining the optimal mapping function.
(5) And finally, executing an optimized quantum Koopman analysis model to complete a flow field reconstruction task of cylindrical bypass flow: inputting the flow field data of the cylindrical bypass flow into an optimized quantum Koopman analysis model, calculating the flow field data by the model to obtain a main characteristic value and a main characteristic vector, and reconstructing the flow field data after mapping based on the main characteristic value and the main characteristic vector, so as to output a flow field reconstruction result of the cylindrical bypass flow.
The foregoing is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art, who is within the scope of the present invention, should make equivalent substitutions or modifications according to the technical scheme of the present invention and the inventive concept thereof, and should be covered by the scope of the present invention.

Claims (6)

1. A flow field reconstruction method based on quantum Koopman analysis is characterized in that flow field data are input into a trained quantum Koopman analysis model to output flow field reconstruction results;
The training process of the quantum Koopman analysis model is as follows:
s1: constructing a training set, and setting flow field data in the training set Stored in a quantum data structure, and a data query interface/>, is constructed by querying the quantum data structure,/>,/>Representing flow field data/>Middle/>Data corresponding to flow field observational quantity of moment,/>,/>Representing the number of time steps;
s2: constructing a nonlinear mapping function and constructing mapped flow field data based on quantum circuits Query interface/>To realize mapping function based on query interface/>Flow field data/>Mapping to post-mapping flow field data/>,/>,/>Represents the/>Data of time of day/>Vector after mapping by the mapping function;
s21: introducing parameters to be optimized to construct a mapping function, and constructing flow field data based on the mapping function Corresponding mapped flow field data/>The parameters to be optimized are subjected to parameter optimization in the training process;
S22: query interface based on quantum arithmetic operation Go/>Any element/>, is calculated by secondary queryRealizing inquiry interfaceFirst operation/>Wherein/>Representing vectors/>First/>Components of the grid;
s23: preparation method based on quantum state amplitude for multiple data Amplitude encoded state preparation of (a) to obtain mapped vector/>Amplitude encoding state of (a) to realize inquiry interface/>Second operation/>
S24: quantum arithmetic operation based pair dataIs/is > ofCalculating to obtain a vector/>Is/is > ofRealize inquiry interface/>Third operation/>
S3: to query interfaceAs input, calculating/>, based on a quantum dynamic modal decomposition algorithmPrincipal eigenvalues/>And principal eigenvector/>,/>Representing Koopman operators;
s31: preparation of the initial state Wherein/>Representing a trace operation on matrix H,/>Respectively represent data/>A singular value of (a), a left singular vector, a right singular vector,,/>
S32: in an initial stateAs input state, pair/>Executing quantum singular value estimation algorithm and performing post-processing to obtain quantum state,/>Wherein/>Representation will/>Matrix after hermitization,/>Representing intermediate process parameters,/>Representation/>Is the transposed conjugate of (2);
S33: for quantum state Sampling, and calculating/>, based on the sampling resultLow-dimensional projection matrix/>And pair/>And (3) performing characteristic decomposition: /(I)Wherein/>Representation/>Is/are of the eigenvectors of (1)Representation/>Is a characteristic value of (2);
S34: matrix of low-dimensional projection As/>Principal eigenvalues/>Each score/>
S35: by projecting the matrix in low dimensionsAnd query interface/>Performing operator linear combination to obtain/>Principal eigenvector/>Each component/>Amplitude encoded states/>
S4: based on principal eigenvaluesAnd principal eigenvector/>Reconstructing mapped flow field data/>And obtaining the flow field data after reconstruction.
2. The method for reconstructing a flow field based on quantum Koopman analysis according to claim 1, wherein, in step S1,,/>Represents the grid number of the flow field, inquires interface/>The following are provided:
wherein, Represents the/>Time 1/>Observation data corresponding to each grid,/>Representation data/>Is used for the amplitude encoding state of (a),,/>Representation data/>Is a binary norm of (c).
3. The method of flow field reconstruction based on quantum Koopman analysis according to claim 1, wherein in step S21, the mapping function is defined as:
wherein, Representing transpose,/>Representing parameters to be optimized,/>Constant representing nonlinear order,/>Representing tensor product operation;
Construction of flow field data based on mapping function Mapped flow field data,/>Representing the mapping function.
4. The method for reconstructing a flow field based on quantum Koopman analysis according to claim 3, wherein in step S23, for a plurality of dataAmplitude encoded states/>The preparation method specifically comprises the following steps:
First preparing quantum state Wherein/>,/>Representing parameters to be optimized;
performing intermediate operations To obtain the quantum state/>Generating a vector/>Amplitude encoded states/>,/>Right and left vector symbols of dirac in quantum mechanics are represented;
In step S24, two norms The calculation formula of (2) is as follows:
wherein, Constant representing nonlinear order,/>Representing the sum index.
5. The flow field reconstruction method based on quantum Koopman analysis according to claim 1, wherein in step S4, specifically:
S41: based on principal eigenvalues Each score/>And principal eigenvector/>Each component/>Amplitude encoded states/>Reconstructing the vector/>, at each momentTo reconstruct/>Recorded as reconstruction data/>Will reconstruct data/>Collecting to obtain flow field data after reconstruction;
s42: by reconstructing data Performing operator linear combination to prepare the quantum state/>
Reconstructing dataThe calculation formula of (2) is as follows:
wherein, Representing the cut-off order,/>First/>, representing initial coefficientsThe elements.
6. The flow field reconstruction method based on quantum Koopman analysis according to claim 1, wherein in the quantum Koopman analysis model training process, a loss function is constructed to optimize parameters to be optimized in the mapping function, the loss functionThe formula of (2) is as follows:
wherein, Representing the number of time steps,/>Representing vectors/>Reconstructed data after reconstruction.
CN202410089916.2A 2024-01-23 2024-01-23 Flow field reconstruction method based on quantum Koopman analysis Active CN117634363B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410089916.2A CN117634363B (en) 2024-01-23 2024-01-23 Flow field reconstruction method based on quantum Koopman analysis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410089916.2A CN117634363B (en) 2024-01-23 2024-01-23 Flow field reconstruction method based on quantum Koopman analysis

Publications (2)

Publication Number Publication Date
CN117634363A CN117634363A (en) 2024-03-01
CN117634363B true CN117634363B (en) 2024-04-19

Family

ID=90020265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410089916.2A Active CN117634363B (en) 2024-01-23 2024-01-23 Flow field reconstruction method based on quantum Koopman analysis

Country Status (1)

Country Link
CN (1) CN117634363B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1245894A (en) * 1998-08-26 2000-03-01 中国科学院光电技术研究所 Space three-dimensional flow field real-time measurement system
CN108921296A (en) * 2018-05-24 2018-11-30 合肥本源量子计算科技有限责任公司 A kind of virtual map method and system of quantum bit
CN111860849A (en) * 2020-08-06 2020-10-30 上海海事大学 Quantum core principal component analysis method
WO2022104696A1 (en) * 2020-11-19 2022-05-27 南京师范大学 Traffic flow modal fitting method based on quantum random walk
CN114626302A (en) * 2022-03-18 2022-06-14 杭州勒贝格智能系统有限责任公司 Channel prediction method, system, terminal and medium based on Koopman operator and machine learning
CN117350170A (en) * 2023-11-20 2024-01-05 华北电力大学(保定) Nonlinear oscillation analysis method based on KOOPHAN deep neural network

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2462261A (en) * 2008-07-28 2010-02-03 Fujitsu Ltd Method, apparatus and computer program for simulating behaviou r of thermodynamic systems
EP2350889A2 (en) * 2008-08-25 2011-08-03 ETH Zurich Method and system for obtaining high-resolution flow-field data from sparse measurement data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1245894A (en) * 1998-08-26 2000-03-01 中国科学院光电技术研究所 Space three-dimensional flow field real-time measurement system
CN108921296A (en) * 2018-05-24 2018-11-30 合肥本源量子计算科技有限责任公司 A kind of virtual map method and system of quantum bit
CN111860849A (en) * 2020-08-06 2020-10-30 上海海事大学 Quantum core principal component analysis method
WO2022104696A1 (en) * 2020-11-19 2022-05-27 南京师范大学 Traffic flow modal fitting method based on quantum random walk
CN114626302A (en) * 2022-03-18 2022-06-14 杭州勒贝格智能系统有限责任公司 Channel prediction method, system, terminal and medium based on Koopman operator and machine learning
CN117350170A (en) * 2023-11-20 2024-01-05 华北电力大学(保定) Nonlinear oscillation analysis method based on KOOPHAN deep neural network

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Effects of Quantum Noise on Quantum Approximate Optimization Algorithm;薛程 等;Chinese Physics Letters;20210308;全文 *
量子态制备及其在量子机器学习中的前景;赵健 等;物理学报;20210720;全文 *

Also Published As

Publication number Publication date
CN117634363A (en) 2024-03-01

Similar Documents

Publication Publication Date Title
Lefik et al. Artificial neural network as an incremental non-linear constitutive model for a finite element code
Langmann et al. Exact solution of quantum field theory on noncommutative phase spaces
Zulehner et al. Matrix-vector vs. matrix-matrix multiplication: Potential in DD-based simulation of quantum computations
EP4195090A1 (en) Computational fluid dynamics simulation method and apparatus based on quantum algorithm, and device
Varga et al. Symbolic and numerical software tools for LFT-based low order uncertainty modeling
Torsello bimEX: A Mathematica package for exact computations in 3+ 1 bimetric relativity
Monfared et al. Transformation of ReLU-based recurrent neural networks from discrete-time to continuous-time
CN114936646A (en) Quantized data processing method and device
Burgio et al. The basis of the physical Hilbert space of lattice gauge theories
CN117634363B (en) Flow field reconstruction method based on quantum Koopman analysis
Ji et al. Provable benefits of policy learning from human preferences in contextual bandit problems
CN114492815A (en) Method, device and medium for calculating target system energy based on quantum chemistry
Chung et al. Energy eigenvalues and squeezing properties of general systems of coupled quantum anharmonic oscillators
Redman Renormalization group as a Koopman operator
Karafyllidis Visualization of the quantum Fourier transform using a quantum computer simulator
Girardot et al. Semiclassical limit for almost fermionic anyons
Gerdt et al. A mathematica package for simulation of quantum computation
Neves et al. Geometric interpretation for the Wess-Zumino terms
Isaac et al. A new Trapezoidal-Simpson 3/8 method for solving systems of nonlinear equations
Cano Order truncated imaginary algebra for computation of multivariable high-order derivatives in finite element analysis
Bistrian et al. Digital twin data modelling by randomized orthogonal decomposition and deep learning
Andrade Neto et al. Nonlinear dynamic analysis and numerical continuation of periodic orbits in high-index differential–algebraic equation systems
Mahony The numerical analysis of stochastic differential equations
CN115618663B (en) Quantum solving method and device for coupling grid equation and physical equation
CN114819167B (en) Sparse approximate inverse quantum preprocessing method and device for sparse linear system

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
GR01 Patent grant
GR01 Patent grant