Measurement and control experiment result data processing method and device and quantum computer
By sampling and fitting the data of quantum computer measurement and control experimental data, the problem of inefficiency in the existing technology is solved, and efficient data analysis and execution of quantum computers is realized.
Patent Information
- Application Number
- CN202311848178.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-28
- Publication Date
- 2025-07-01
AI Technical Summary
In the prior art, the data processing efficiency of quantum computer measurement and control experiment results is low, resulting in insufficient execution efficiency of quantum computers.
By sampling and processing the measurement and control experimental results data, the difference between the maximum value point and the minimum value point is obtained as the first value, the difference between the adjacent data is accumulated in turn, and the fitting processing and analysis is found as soon as possible to reduce the amount of data and improve the analysis efficiency.
It effectively reduces the amount of data analysis, improves the experimental data analysis efficiency of quantum computers, and thus improves the execution efficiency of quantum computers.
Smart Images

Figure CN120234552A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of quantum computing, and in particular, to a method and device for processing measurement and control experiment result data, and a quantum computer. Background Art
[0002] Quantum computing and quantum information is an interdisciplinary subject that realizes computing and information processing tasks based on the principles of quantum mechanics, and is closely related to disciplines such as quantum physics, computer science, and informatics. It has developed rapidly in the past two decades. Quantum algorithms based on quantum computers in scenarios such as factorization and unstructured search have shown performance far exceeding that of existing algorithms based on classical computers, and this direction is also expected to exceed the existing computing power. Since quantum computing has great potential for development in solving specific problems far beyond the performance of classical computers, in order to realize a quantum computer, a quantum chip containing a sufficient number and sufficient quality of qubits needs to be obtained, and high-fidelity quantum logic gate operations and readings of qubits can be performed.
[0003] A quantum chip is to a quantum computer what a CPU is to a traditional computer, and a quantum chip is the core component of a quantum computer. With the continuous research and advancement of quantum computing related technologies, the number of qubits on a quantum chip has been increasing year by year. It can be predicted that larger-scale quantum chips will appear in the future. At that time, the number of qubits in the quantum chip will be more, and larger-scale quantum chips will also be installed in quantum computers. When we test or actually apply a quantum chip, corresponding measurement and control experiments need to be performed on the quantum chip, such as Ramsey experiments, Rabi experiments, etc. In the prior art, every time a measurement and control experiment is performed, R & D personnel need to participate in the processing of the experimental result data of the measurement and control experiment, resulting in low efficiency.
[0004] Therefore, a solution that can improve the execution efficiency of a quantum computer needs to be proposed.
[0005] It should be noted that the information disclosed in the background art data set of the present application is only intended to deepen the understanding of the general background art of the present application, and should not be regarded as an admission or any form of suggestion that this information constitutes the prior art known to those skilled in the art. Summary of the Invention
[0006] The purpose of the present invention is to provide a method and device for processing measurement and control experiment result data, and a quantum computer, which are used to solve the problem of low processing efficiency of the experimental result data of measurement and control experiments in the prior art.
[0007] To solve the above technical problems, the present invention proposes a method for processing measurement and control experiment result data, including:
[0008] Sample and process the experimental result data of the measurement and control experiment;
[0009] Obtain the maximum value point and the minimum value point in the sampled data set after sampling processing, and obtain a first value based on the difference between the maximum value point and the minimum value point;
[0010] Successively obtain the absolute value of the difference between two adjacent data as a first difference, and successively accumulate the obtained first differences according to the time sequence order and the rule of adding one first difference each time to obtain a first accumulated value;
[0011] When the first accumulated value is equal to the first value, obtain the position of the first difference accumulated at this time in the time sequence as a first time, and perform fitting processing and analysis on the sub-data set of the sampled data set within the first time.
[0012] Optionally, after performing the fitting processing and analysis on the sub-data set of the sampled data set within the first time, the method further includes:
[0013] When a first index obtained based on the first value and a second difference meets a preset requirement, use the fitting processing and analysis result of the sub-data set as the fitting processing and analysis result of the experimental result data of the measurement and control experiment, where the second difference is the difference between the value of the data in the sub-data set and the value after fitting processing, the first index is inversely proportional to the first value, and the first index is directly proportional to the second difference.
[0014] Optionally, the method further includes:
[0015] When the first index does not meet the preset requirement, only keep the first data and the last data in the time sequence in the sub-data set, update the data of the sampled data set with this, and return to execute successively obtaining the absolute value of the difference between two adjacent data as a first difference.
[0016] Optionally, the method further includes:
[0017] When the total amount of data after the sampled data set is updated is a first preset value, obtain the target index that is closest to the preset requirement among all the first indexes obtained currently, and use the fitting processing and analysis result of the sub-data set corresponding to the target index as the fitting processing and analysis result of the experimental result data of the measurement and control experiment.
[0018] Optionally, the first index is obtained through the following formula:
[0019]
[0020] where R is the first index, A iLet \(D\) be the second difference, \(B\) be the first value, \(n\) be the number of data in the sub - dataset, \(i\) be used to mark the chronological order of the data in the sub - dataset, and \(i\) be a non - zero natural number.
[0021] Optionally, the experimental result data of the measurement and control experiment is sampled by equidistant sampling or non - equidistant sampling. Among them, the equidistant sampling is to sample the experimental result data at the same sampling interval, and the non - equidistant sampling is to sample the experimental result data at different sampling intervals.
[0022] Based on the same inventive concept, the present invention also provides a processing device for measurement and control experiment result data, including:
[0023] A sampling module, configured to perform sampling processing on the experimental result data of the measurement and control experiment;
[0024] A first value acquisition module, configured to acquire the maximum value point and the minimum value point in the sampled data set after sampling processing, and obtain a first value based on the difference between the maximum value point and the minimum value point;
[0025] A first cumulative value acquisition module, configured to sequentially obtain the absolute value of the difference between two adjacent data as the first difference, and sequentially accumulate the obtained first differences according to the chronological order and the rule of adding one first difference each time to obtain a first cumulative value;
[0026] A processing and analysis module, configured to, when the first cumulative value is equal to the first value, obtain the position of the accumulated first difference in the chronological order as the first time, and perform fitting processing and analysis on the sub - dataset of the sampled data set within the first time.
[0027] Based on the same inventive concept, the present invention also provides a quantum computing measurement and control system, which uses the processing method of measurement and control experiment result data described in any one of the above - mentioned feature descriptions, or includes the processing device of measurement and control experiment result data described in the above - mentioned feature descriptions.
[0028] Based on the same inventive concept, the present invention also provides a quantum computer, including the quantum computing measurement and control system described in the above - mentioned feature descriptions.
[0029] Based on the same inventive concept, the present invention also provides a readable storage medium, on which a computer program is stored. The computer program, when executed by a processor, can implement the processing method of measurement and control experiment result data described in any one of the above - mentioned feature descriptions.
[0030] Compared with the prior art, the present invention has the following beneficial effects:
[0031] The present invention provides a method for processing measurement and control experiment result data. First, the experiment result data of the measurement and control experiment is sampled to obtain the maximum point and the minimum point in the sampled data set after the sampling process. A first value is obtained based on the difference between the maximum point and the minimum point. The absolute value of the difference between two adjacent data is sequentially obtained as the first difference, and in the time sequence order, and according to the rule of adding one first difference each time, the obtained first differences are sequentially accumulated to obtain a first accumulated value. When the first accumulated value is equal to the first value, the position of the first difference accumulated at this time in the time sequence is obtained as the first time, and the sub-data set of the sampled data set within the first time is subjected to fitting processing and analysis. Using the solution of the present application, only the sub-data set within the first time needs to be subjected to fitting processing and analysis, without analyzing all the experiment result data. Using the solution of the present application, the amount of data that needs to be sampled and analyzed can be effectively reduced, and the analysis efficiency of the experiment data can be effectively improved, thereby improving the execution efficiency of the quantum computer to a certain extent.
[0032] The processing device for measurement and control experiment result data, the quantum computing measurement and control system, the quantum computer, and the readable storage medium proposed by the present invention belong to the same inventive concept as the method for processing measurement and control experiment result data, and thus have the same beneficial effects, which will not be elaborated herein. Description of the Drawings
[0033] Figure 1 It is a flowchart of the method for processing measurement and control experiment result data proposed in an embodiment of the present invention;
[0034] Figure 2 It is a schematic diagram after the solution of the present application performs fitting processing on the measurement and control experiment result data;
[0035] Figure 3 It is a schematic structural diagram of the processing device for measurement and control experiment result data proposed in another embodiment of the present invention. Detailed Embodiments
[0036] The following will describe the specific embodiments of the present invention in more detail with reference to the schematic diagrams. According to the following description and the claims, the advantages and features of the present invention will be clearer. It should be noted that the drawings are all in a very simplified form and use non-precise scales, only for the purpose of facilitating and clearly assisting in explaining the purpose of the embodiments of the present invention.
[0037] In the description of the present invention, it should be understood that the orientation or positional relationship indicated by the terms "center", "upper", "lower", "left", "right", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present invention.
[0038] In addition, the terms "first" and "second" are only used for descriptive purposes and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the present invention, the meaning of "a plurality" is at least two, such as two, three, etc., unless otherwise specifically defined.
[0039] Please refer to Figure 1 , an embodiment of the present invention provides a method for processing measurement and control experiment result data, including:
[0040] S100: Sampling and processing the experiment result data of the measurement and control experiment;
[0041] S200: Obtain the maximum value point and the minimum value point in the sampled data set after the sampling process, and obtain a first value based on the difference between the maximum value point and the minimum value point;
[0042] S300: Sequentially obtain the absolute value of the difference between two adjacent data as a first difference, and sequentially accumulate the obtained first differences according to the time sequence and the rule of adding one first difference each time to obtain a first accumulated value;
[0043] S400: When the first accumulated value is equal to the first value, obtain the position of the first difference accumulated at this time in the time sequence as a first time, and perform fitting processing and analysis on the sub-data set of the sampled data set within the first time.
[0044] Different from the prior art, the method for processing measurement and control experiment result data proposed in this embodiment first samples and processes the experiment result data of the measurement and control experiment, obtains the maximum value point and the minimum value point in the sampled data set after the sampling process, and obtains a first value based on the difference between the maximum value point and the minimum value point. Sequentially obtain the absolute value of the difference between two adjacent data as a first difference, and sequentially accumulate the obtained first differences according to the time sequence and the rule of adding one first difference each time to obtain a first accumulated value. When the first accumulated value is equal to the first value, obtain the position of the first difference accumulated at this time in the time sequence as a first time, and perform fitting processing and analysis on the sub-data set of the sampled data set within the first time. Using the solution of the present application, it is only necessary to perform fitting processing and analysis on the sub-data set within the first time, without analyzing all the experiment result data. Using the solution of the present application, the amount of data that needs to be sampled and analyzed can be effectively reduced, the analysis efficiency of the experiment data can be effectively improved, and thus the execution efficiency of the quantum computer can be improved to a certain extent.
[0045] Those skilled in the art can understand that, in this embodiment, the measurement and control experiment refers to an experiment that uses corresponding control signals (including quantum state control signals, qubit frequency control signals, etc.) applied to qubits to complete corresponding operations. When counting the experimental results of these measurement and control experiments, it is found that the experimental results of many measurement and control experiments show periodic patterns. For example: Ramsey experiment, Rabi_amp experiment for calibrating the amplitude of the π pulse, Rabi_width experiment for determining whether the π pulse can drive the qubit, Rabi_scan_amp experiment for roughly measuring the amplitude of the driving waveform, Qubit_freq_cal experiment for calibrating the qubit frequency using the Ramsey experiment, etc., which will not be elaborated one by one here. When analyzing the experimental result data of measurement and control experiments such as the above, if only all the data is simply analyzed, it will inevitably lead to very low analysis and processing efficiency. Therefore, using the solution of this application, only the sub-dataset within the first time needs to be fitted and analyzed, without analyzing all the experimental result data. Using the solution of this application can effectively reduce the amount of data that needs to be sampled and analyzed, effectively improve the analysis efficiency of experimental data, and thus improve the execution efficiency of the quantum computer to a certain extent. In addition, in the sampling dataset proposed in this embodiment of the application, the maximum point and the minimum point respectively refer to the data points corresponding to the maximum and minimum values of the data in the sampling dataset.
[0046] It should be noted that, in this embodiment, the first value is obtained by the difference between the maximum point and the minimum point, that is, the first value = the maximum point - the minimum point. The applicant has found based on a large number of experiments that for measurement and control experiments with periodic experimental results, such as the Rabi_width experiment that satisfies the cosine function image law, one complete period is related to the maximum point and the minimum point. Generally, the range between the maximum point and the minimum point is the data of half a period. For measurement and control experiments with periodic patterns, if we obtain accurate data of half a period, then we can use this part to fit the entire period.
[0047] However, in practical applications, since there may be some interfering results in the experimental result data of the measurement and control experiment, if the first value is directly equal to the difference between the maximum value point and the minimum value point, it may cause a certain error in the final result. To eliminate this error, we can optimize the way of obtaining the first value. Specifically, we can calculate the first value as (the maximum value point - the minimum value point) * j, and multiply the difference between the maximum value point and the minimum value point by j to eliminate the influence of noise interference. Those skilled in the art can understand that j here is a parameter introduced to eliminate the influence of noise interference, and the specific value needs to be determined according to the size of the interference factor. For example, j can be set to 1.2 or 1.1, etc., which will not be elaborated here one by one.
[0048] In addition, the adjacent two data mentioned in this embodiment refer to the adjacency in the time sequence position. For example, the data after sampling includes Data1, Data2, and Data3 in sequence in the time sequence. Then the adjacent two data refer to Data1 and Data2, and Data2 and Data3.
[0049] When processing the experimental result data of a specific measurement and control experiment, it may occur that although the first index meets the preset requirements, in fact, this part of the data has been severely distorted. For example Figure 2 the data set in the dotted circle part, this part of the data belongs to the situation of abnormal oscillation. If it is not screened, it is very likely to cause serious errors in the final result, resulting in incorrect execution results of quantum computing. To solve the problem of misjudgment that occurs when abnormal oscillation occurs mentioned above, the solution of this application further proposes to judge whether abnormal oscillation occurs through the first index.
[0050] Specifically, in this embodiment, after performing the fitting process analysis on the sub - data set of the sampling data set within the first time, the method further includes:
[0051] When the first index obtained based on the first value and the second difference meets the preset requirements, the fitting process analysis result of the sub - data set is used as the fitting process analysis result of the experimental result data of the measurement and control experiment, where the second difference is the difference between the value of the data in the sub - data set and the value after fitting process, the first index is inversely proportional to the first value, and the first index is directly proportional to the second difference.
[0052] In addition, when the first index obtained based on the first value and the second difference does not meet the preset requirements, the solution of this application gives a solution strategy, that is, all redundant data in the sub - data set except the first and the last data are deleted, so as to solve the problem of abnormal oscillation. Specifically, the method further includes:
[0053] When the first indicator does not meet the preset requirements, only the first and the last data in terms of time sequence are retained from the data in the subset, thereby updating the data in the sampling dataset, and the absolute value of the difference between two adjacent data obtained in sequence is returned as the first difference.
[0054] It should be noted that, in this embodiment, when the first indicator does not meet the preset requirements, the adopted strategy is to only retain the first and the last data in the subset. In other embodiments, other methods can also be used to solve this problem. For example, the entire subset can be directly deleted, or the first, the last data, and the data at a certain position in the middle can be retained. Details are not elaborated here one by one.
[0055] Furthermore, when processing the experimental result data of an actual measurement and control experiment, when setting the preset requirements for the first indicator, if the set requirements are relatively high and no first indicator can meet the preset requirements after traversing all data combination cases, a best subset can be selected as the target from the traversed schemes by means of optimization. Specifically, in this embodiment, the method further includes:
[0056] When the total amount of data after the update of the sampling dataset is the first preset value, the one closest to the preset requirements among all the first indicators obtained currently is acquired as the target indicator, and the fitting processing analysis result of the subset corresponding to the target indicator is used as the fitting processing analysis result of the experimental result data of the measurement and control experiment.
[0057] Specifically, in this embodiment, the first indicator can be obtained through the following formula:
[0058]
[0059] wherein, R is the first indicator, A i is the second difference, B is the first value, n is the number of data in the subset, and i is used to mark the sequence of data in the subset in terms of time sequence, and i is a non-zero natural number.
[0060] It should be noted that in this embodiment, the first index can be obtained according to the above formula. In other embodiments, other forms of formulas can also be used to obtain the first index, as long as the formula satisfies: the first index is inversely proportional to the first value and the first index is directly proportional to the second difference, and the formula includes the parameters of the first value and the second difference. In addition, in this embodiment, the preset requirement for the first index can be set to not greater than 0.03. As long as the obtained first index is less than or equal to 0.03, it meets the preset requirement. In other embodiments, the preset requirement for the first index can also be set to other values, which will not be elaborated here one by one.
[0061] The solution of this application does not limit the type of sampling processing, and both equally spaced sampling and non-equally spaced sampling are applicable. Specifically, in this embodiment, equally spaced sampling or non-equally spaced sampling can be used to sample the experimental result data of the measurement and control experiment. Among them, the equally spaced sampling is to sample the experimental result data at the same sampling interval, and the non-equally spaced sampling is to sample the experimental result data at different sampling intervals.
[0062] To facilitate the understanding of the solution of this application by those skilled in the art, we assume that the sampling data set after sampling the experimental result data of the measurement and control experiment sequentially includes: Data1, Data2, Data3, Data4, Data5, Data6 in chronological order. Among them, the value of Data1 is D1, the value of Data2 is D2, the value of Data3 is D3, the value of Data4 is D4, the value of Data5 is D5, and the value of Data6 is D6. The values of these 6 data points after fitting are D1 fit , D2 fit , D3 fit , D4 fit , D5 fit , D6 fit . Assume that the maximum value point among these 6 data is Data2 and the minimum value point is Data4. Then in this example, the first value is D2 - D4, and the absolute value of the difference between adjacent two data is obtained. In this example, the first differences include: |D2 - D1|, |D3 - D2|, |D4 - D3|, |D5 - D4|, |D6 - D5|.
[0063] In chronological order, first determine whether the first sub-dataset containing Data1 and Data2 meets the requirements. We need to first determine whether |D2 - D1| is equal to D2 - D4. If not, then determine whether the second sub-dataset containing Data1, Data2, and Data3 meets the requirements. Similarly, we need to first determine whether |D2 - D1| + |D3 - D2| is equal to D2 - D4. If not, then determine whether the third sub-dataset containing Data1, Data2, Data3, and Data4 meets the requirements. Similarly, we need to first determine whether |D2 - D1| + |D3 - D2| + |D4 - D3| is equal to D2 - D4, and so on until a sub-dataset that meets the requirements is found. Assume that the third sub-dataset meets the requirements, that is, |D2 - D1| + |D3 - D2| + |D4 - D3| = D2 - D4. To avoid abnormal oscillation of data, we obtain the first index of the third sub-dataset. According to the above formula, the first index is obtained as follows:
[0064]
[0065] If the first index R of the third sub-dataset does not meet the preset requirements, we need to delete the redundant data in the third sub-dataset, that is, only keep Data1 and Data4, and delete Data2 and Data3 from the sub-dataset, and update the sampling dataset accordingly. The updated sampling dataset includes Data1, Data4, Data5, and Data6. Re-obtain the first difference of the sampling dataset. At this time, the first difference includes: |D4 - D1|, |D5 - D4|, |D6 - D5|, and then repeat the above steps.
[0066] Based on the same inventive concept, please refer to Figure 3 and the present invention also provides a processing device for measurement and control experiment result data, including:
[0067] A sampling module 100 for sampling and processing the experiment result data of the measurement and control experiment;
[0068] A first numerical value obtaining module 200 for obtaining the maximum value point and the minimum value point in the sampling dataset after sampling processing, and obtaining a first numerical value based on the difference between the maximum value point and the minimum value point;
[0069] A first accumulated value obtaining module 300 for sequentially obtaining the absolute value of the difference between two adjacent data as the first difference, and sequentially accumulating the obtained first differences in chronological order and according to the rule of adding one first difference each time to obtain a first accumulated value;
[0070] A processing and analysis module 400, configured to, when the first accumulated value is equal to the first numerical value, obtain that the position of the first difference accumulated at this time in time series is the first time, and perform fitting processing and analysis on the sub-dataset of the sampling dataset within the first time.
[0071] It can be understood that the sampling module 100, the first numerical value obtaining module 200, the first accumulated value obtaining module 300, and the processing and analysis module 400 can be implemented in one device, or any one of the modules can be split into multiple sub-modules. Or, at least part of the functions of one or more of the sampling module 100, the first numerical value obtaining module 200, the first accumulated value obtaining module 300, and the processing and analysis module 400 can be combined with at least part of the functions of other modules and implemented in one functional module. According to an embodiment of the present invention, at least one of the sampling module 100, the first numerical value obtaining module 200, the first accumulated value obtaining module 300, and the processing and analysis module 400 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented in any other reasonable way of integrating or packaging circuits, etc., in hardware or firmware, or implemented in an appropriate combination of software, hardware, and firmware. Or, at least one of the sampling module 100, the first numerical value obtaining module 200, the first accumulated value obtaining module 300, and the processing and analysis module 400 can be at least partially implemented as a computer program module, and when the program is run by a computer, it can execute the functions of the corresponding module.
[0072] Based on the same inventive concept, an embodiment of the present invention further provides a quantum computing measurement and control system, which uses the processing method of measurement and control experiment result data described in any one of the above feature descriptions, or includes the processing device of measurement and control experiment result data described in the above feature descriptions.
[0073] Based on the same inventive concept, an embodiment of the present invention further provides a quantum computer, including the quantum computing measurement and control system described in the above feature descriptions.
[0074] Based on the same inventive concept, an embodiment of the present invention further provides a readable storage medium, on which a computer program is stored, and characterized in that when the computer program is executed by a processor, it can implement the processing method of measurement and control experiment result data described in any one of the above feature descriptions.
[0075] The readable storage medium may be a tangible device that can hold and store instructions used by the instruction execution device. For example, it may be, but is not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples (non-exhaustive list) of the readable storage medium include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory stick, floppy disk, mechanically encoded devices such as punch cards or raised structures in grooves storing instructions thereon, and any suitable combination of the above. The computer programs described herein can be downloaded from the readable storage medium to various computing / processing devices, or downloaded to an external computer or external storage device through a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network may include copper transmission cables, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter or network interface in each computing / processing device receives the computer program from the network and forwards the computer program for storage in the readable storage medium in each computing / processing device. The computer program for performing the operations of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state-setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as the "C" language or similar programming languages. The computer program may be executed entirely on the user's computer, partially on the user's computer, executed as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through an Internet service provider via the Internet). In some embodiments, by using the state information of the computer program to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit can execute computer-readable program instructions to implement various aspects of the present invention.
[0076] Aspects of the present invention are described herein with reference to the flowcharts and / or block diagrams of methods, systems, and computer program products according to embodiments of the present invention. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer programs. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine such that when these programs are executed by the processor of the computer or other programmable data processing device, a device is produced that implements the functions / actions specified in one or more blocks of the flowcharts and / or block diagrams. These computer programs can also be stored in a readable storage medium, and these computer programs cause a computer, a programmable data processing device, and / or other devices to work in a specific manner. Thus, the readable storage medium storing the computer programs includes a manufactured article that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks of the flowcharts and / or block diagrams.
[0077] The computer programs can also be loaded onto a computer, other programmable data processing device, or other device, such that a series of operation steps are executed on the computer, other programmable data processing device, or other device to produce a computer-implemented process, so that the computer programs executed on the computer, other programmable data processing device, or other device implement the functions / actions specified in one or more blocks of the flowcharts and / or block diagrams.
[0078] In the description of this specification, the description with reference to terms such as "one embodiment", "some embodiments", "example", or "specific example" means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments. In addition, those skilled in the art can combine and combine the different embodiments or examples described in this specification.
[0079] The above are only the preferred embodiments of the present invention and do not impose any limitation on the present invention. Any person skilled in the art within the technical field of the present invention, without departing from the scope of the technical solution of the present invention, makes any form of equivalent replacement or modification and other changes to the technical solution and technical content disclosed by the present invention, all of which are within the content of the technical solution of the present invention and still fall within the protection scope of the present invention.
Claims
1. A method for processing measurement and control experiment result data, characterized in that Including: Sampling and processing the experimental result data of the measurement and control experiment; Obtaining the maximum value point and the minimum value point in the sampled data set after sampling processing, and obtaining a first value based on the difference between the maximum value point and the minimum value point; Successively obtaining the absolute value of the difference between two adjacent data as a first difference, and successively accumulating the obtained first differences according to the time sequence and the rule of adding one first difference each time to obtain a first accumulated value; When the first accumulated value is equal to the first value, obtaining the position of the first difference accumulated at this time in the time sequence as a first time, and performing fitting processing and analysis on the sub-data set of the sampled data set within the first time.
2. The method according to claim 1, wherein After performing the fitting processing and analysis on the sub-data set of the sampled data set within the first time, the method further includes: When a first index obtained based on the first value and a second difference meets a preset requirement, using the fitting processing and analysis result of the sub-data set as the fitting processing and analysis result of the experimental result data of the measurement and control experiment, where the second difference is the difference between the value of the data in the sub-data set and the value after fitting processing, the first index is inversely proportional to the first value, and the first index is directly proportional to the second difference.
3. The method according to claim 2, characterized in that, The method further includes: When the first index does not meet the preset requirement, only retaining the first data and the last data in the time sequence in the sub-data set, thereby updating the data of the sampled data set, and returning to execute successively obtaining the absolute value of the difference between two adjacent data as a first difference.
4. The method according to claim 3, wherein The method further includes: When the total amount of data after the sampled data set is updated is a first preset value, obtaining the target index that is closest to the preset requirement among all the obtained first indexes currently, and using the fitting processing and analysis result of the sub-data set corresponding to the target index as the fitting processing and analysis result of the experimental result data of the measurement and control experiment.
5. The method according to claim 2, wherein The first index is obtained through the following formula: where R is the first index, A i is the second difference, B is the first value, n is the number of data in the subset, i is used to mark the chronological order of the data in the subset, and i is a non-zero natural number.
6. The method according to claim 1, characterized in that, Sampling and processing the experimental result data of the measurement and control experiment by using equal-interval sampling or non-equal-interval sampling, where the equal-interval sampling is sampling the experimental result data at the same sampling interval, and the non-equal-interval sampling is sampling the experimental result data at different sampling intervals.
7. A device for processing measurement and control experiment result data, characterized in that, Including: A sampling module for sampling and processing the experimental result data of the measurement and control experiment; A first value obtaining module for obtaining the maximum value point and the minimum value point in the sampled data set after sampling processing, and obtaining a first value based on the difference between the maximum value point and the minimum value point; A first accumulated value obtaining module for successively obtaining the absolute value of the difference between two adjacent data as a first difference, and successively accumulating the obtained first differences according to the time sequence and the rule of adding one first difference each time to obtain a first accumulated value; A processing and analysis module for, when the first accumulated value is equal to the first value, obtaining the position of the first difference accumulated at this time in the time sequence as a first time, and performing fitting processing and analysis on the sub-data set of the sampled data set within the first time.
8. A quantum computing measurement and control system, characterized in that, Use the method for processing measurement and control experiment result data according to any one of claims 1-6, or include the device for processing measurement and control experiment result data according to claim 7.
9. A quantum computer, characterized in that, Include the quantum computing measurement and control system according to claim 8.
10. A readable storage medium, on which a computer program is stored, characterized in that, When the computer program is executed by a processor, it can implement the method for processing measurement and control experiment result data according to any one of claims 1-6.