Method and device for quantum computing

By amplifying and calculating the distortion of the noise signal generated by the quantum computing device, the ideal expected value is derived, which solves the problem of noise affecting the accuracy of quantum computing in the existing technology, improves the accuracy of the calculation results, and simplifies the calculation process.

CN113657602BActive Publication Date: 2024-09-03BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110944292.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-17
Publication Date
2024-09-03
Estimated Expiration
2041-08-17

AI Technical Summary

Technical Problem

Existing quantum computing equipment is difficult to generate ideal pulse signals, resulting in the existence of noise and affecting the accuracy of calculation results. Existing error correction methods are complex and difficult to implement.

Method used

By generating the noise part in the driving pulse signal for amplification, calculating the distortion degree of the noise amplified pulse signal and the original pulse signal, using multiple noisy expected values ​​and distortion degrees to derive the ideal expected value, reducing or eliminating the noise.

Benefits of technology

It improves the accuracy of quantum computing results, simplifies the calculation process, eliminates the need to predetermine the specific form of the noise part, and has a wider application range.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113657602B
    Figure CN113657602B
Patent Text Reader

Abstract

The present disclosure provides a method and device for quantum computing, which relate to the field of quantum computing. The implementation scheme includes: generating a noisy driving pulse signal; amplifying the noise part in the driving pulse signal at least once to obtain at least one noise-amplified pulse signal; using the driving pulse signal and each of the at least one noise-amplified pulse signal to perform quantum evolution respectively to obtain multiple noisy expected values; respectively calculating the distortion of each of the driving pulse signal and the at least one noise-amplified pulse signal relative to the ideal pulse signal; and calculating the ideal expected value based on the distortion of the multiple noisy expected values ​​and their corresponding pulse signals. The method disclosed in the present disclosure reduces or even eliminates the noise in the originally generated driving pulse signal, thereby improving the accuracy of the final quantum computing result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, in particular to the field of quantum computing technology, and specifically to a method for quantum computing and its device, electronic device, computer storage medium and computer program product. Background Art

[0002] Quantum computing is a new computing model that follows the laws of quantum mechanics to control quantum information units for computing. The theoretical model of a universal quantum computer is a universal Turing machine reinterpreted using the laws of quantum mechanics. In terms of computing efficiency, due to the existence of quantum mechanics superposition, some known quantum algorithms are faster than traditional general-purpose computers in processing problems.

[0003] In the process of quantum computing, it is necessary to input an ideal pulse signal into the quantum system of the quantum computer so that the quantum system can perform the expected quantum evolution as expected, thereby obtaining the ideal expected value as the result of quantum computing. However, due to the accuracy of quantum computing equipment, it may not be possible to generate an ideal pulse signal, and the generated pulse signal usually contains a certain amount of noise.

[0004] The methods used to deal with noise in the prior art mainly include: quantum error correction and quantum error mitigation. In the quantum error correction scheme, each logical qubit is composed of many physical bits, and error correction is achieved through redundant physical qubit resources. However, as the number of physical bits increases, the types of errors that may occur in the system will also increase. At the same time, the operation of multi-qubit encoding requires non-local interactions between physical qubits. Therefore, quantum error correction and quantum gates of logical bits are difficult to achieve experimentally. The quantum error mitigation scheme does not require additional physical bits, but it places requirements on the error type and error controllability of the quantum circuit, which makes this method difficult to implement on current quantum computers.

[0005] The methods described in this section are not necessarily methods that have been previously conceived or employed. Unless otherwise indicated, it should not be assumed that any method described in this section is considered to be prior art simply because it is included in this section. Similarly, unless otherwise indicated, the issues mentioned in this section should not be considered to have been recognized in any prior art. Summary of the invention

[0006] The present disclosure provides a method for quantum computing, comprising: generating a driving pulse signal, the driving pulse signal comprising an ideal pulse signal for causing a quantum system to perform expected quantum evolution and a noise portion generated in conjunction with the ideal pulse signal; amplifying the noise portion in the driving pulse signal at least once to obtain at least one noise-amplified pulse signal; performing quantum evolution using the driving pulse signal and each of the at least one noise-amplified pulse signal, respectively, to obtain a plurality of noisy expected values; respectively calculating the degree of distortion of each of the driving pulse signal and the at least one noise-amplified pulse signal relative to the ideal pulse signal; and calculating an ideal expected value based on the plurality of noisy expected values ​​and the degree of distortion of the corresponding pulse signals, the ideal expected value corresponding to the expected value obtained by performing expected quantum evolution using the ideal pulse signal.

[0007] According to one aspect of the present disclosure, there is provided an apparatus for quantum computing, comprising: a pulse generating unit configured to generate a driving pulse signal, the driving pulse signal comprising an ideal pulse signal for causing a quantum system to undergo expected quantum evolution and a noise portion generated in association with the ideal pulse signal; an amplifying unit configured to amplify the noise portion in the driving pulse signal at least once to obtain at least one noise-amplified pulse signal; an evolving unit configured to perform quantum evolution using the driving pulse signal and each of the at least one noise-amplified pulse signal, respectively, to obtain a plurality of noisy expected values; a first calculating unit configured to calculate the degree of distortion of each of the driving pulse signal and the at least one noise-amplified pulse signal relative to the ideal pulse signal, respectively; and a second calculating unit configured to calculate an ideal expected value based on the plurality of noisy expected values ​​and the degree of distortion of their corresponding pulse signals, the ideal expected value corresponding to the expected value obtained by performing the expected quantum evolution using the ideal pulse signal.

[0008] According to another aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned method.

[0009] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is also provided, wherein the computer instructions are used to enable a computer to execute the above method.

[0010] According to another aspect of the present disclosure, a computer program product is also provided, including a computer program, wherein the computer program implements the above method when executed by a processor.

[0011] According to the method of one or more embodiments of the present disclosure, the noise in the originally generated driving pulse signal is reduced or even eliminated, thereby improving the accuracy of the final quantum computing result. The embodiments of the present disclosure only improve the method of quantum computing without changing the hardware configuration of the quantum computing device, so the scope of application is wider. Whether the noise is caused by the insufficient precision of the signal generating device or the inability to obtain the accurate mathematical expression of the driving pulse signal, the method of this embodiment can reduce or even eliminate it. In addition, the method of this embodiment derives the ideal expected value based on multiple noisy expected values ​​and their corresponding distortions. Therefore, there is no need to predetermine the specific form of the noise part, and the calculation process is simpler.

[0012] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The accompanying drawings exemplarily illustrate the embodiments and constitute a part of the specification, and together with the text description of the specification, are used to explain the exemplary implementation of the embodiments. The embodiments shown are for illustrative purposes only and do not limit the scope of the claims. In all drawings, the same reference numerals refer to similar but not necessarily identical elements.

[0014] Figure 1 A schematic flow chart showing a method of quantum computing in related art;

[0015] Figure 2 A flowchart of a method for quantum computing according to one embodiment of the present disclosure is shown;

[0016] Figure 3 A flow chart showing a method for amplifying a noise portion in a driving pulse signal according to an embodiment of the present disclosure is shown;

[0017] Figure 4 The comparison diagram of the noise amplified pulse signal and the original driving pulse signal is shown as an example;

[0018] Figure 5 A flowchart of a method for calculating the degree of distortion of each of a driving pulse signal and at least one noise amplified pulse signal relative to an ideal pulse signal according to an embodiment of the present disclosure is shown;

[0019] Figure 6 A flow chart showing a method for obtaining an ideal expected value by using interpolation and extrapolation according to an embodiment of the present disclosure is shown;

[0020] Figure 7A schematic diagram showing a mapping relationship fitted by using an interpolation data set according to an embodiment of the present disclosure is shown;

[0021] Figure 8 A schematic diagram showing a method for updating a mapping relationship according to an embodiment of the present disclosure is shown;

[0022] Fig. 9 A comparison diagram of an ideal expected value and a noisy expected value calculated by applying the method disclosed in the present invention is shown;

[0023] Fig.10 A schematic diagram of a device for quantum computing according to an embodiment of the present disclosure is shown;

[0024] Fig.11 A schematic diagram of a device for quantum computing according to another embodiment of the present disclosure is shown; and

[0025] Fig.12 A structural block diagram of an exemplary electronic device that can be used to implement the embodiments of the present disclosure is shown. DETAILED DESCRIPTION

[0026] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope of the present disclosure. Similarly, for the sake of clarity and conciseness, the description of well-known functions and structures is omitted in the following description.

[0027] In the present disclosure, unless otherwise specified, the use of the terms "first", "second", etc. to describe various elements is not intended to limit the positional relationship, timing relationship, or importance relationship of these elements, and such terms are only used to distinguish one element from another element. In some examples, the first element and the second element may refer to the same instance of the element, and in some cases, based on the description of the context, they may also refer to different instances.

[0028] The terms used in the description of various examples in this disclosure are only for the purpose of describing specific examples and are not intended to be limiting. Unless the context clearly indicates otherwise, if the number of elements is not specifically limited, the element can be one or more. In addition, the term "and / or" used in this disclosure covers any one of the listed items and all possible combinations.

[0029] Before describing the method of this embodiment in detail, a brief introduction to traditional quantum computing is first given. Figure 1 As shown, Figure 1 A schematic flow chart of a method 100 of quantum computing in the related art is shown.

[0030] Step 101, generating a driving pulse signal;

[0031] Step 102, inputting the generated driving pulse signal into the quantum system, so that the quantum system evolves from an initial state;

[0032] Step 103, after waiting for the quantum system to evolve, use a measuring device to measure the final state of the quantum system to obtain an expected value.

[0033] The quantum system mentioned in all embodiments of the present disclosure is part of the quantum computer hardware, which can be any physical system that satisfies the principles of quantum mechanics and can be applied to a quantum computer. The above-mentioned quantum system includes but is not limited to quantum systems such as light quantum systems, nuclear magnetic resonance (NMR) systems, optical resonance systems, ion traps, and superconductors. After receiving a driving pulse input from the outside, the quantum system will evolve from its initial state to the final state according to the principles of quantum mechanics, and the final quantum calculation result can be obtained by measuring the final state of the quantum system.

[0034] In each quantum computing process, for the expected computing content to be completed (for example, according to a predetermined quantum circuit), a corresponding driving pulse signal is input into the quantum system, in the expectation that the quantum system will evolve according to the expected quantum evolution, and finally obtain the expected computing result. However, in the above step 101, the signal generating device used to generate the driving pulse signal in reality may not be able to accurately generate an ideal pulse signal that can make the quantum system evolve according to the expected quantum evolution, and thus may cause the final computing result to be inaccurate. The reasons for not being able to accurately generate the ideal pulse signal may mainly include the following two points:

[0035] (1) Although the expected quantum evolution of the quantum system can be determined, and even an ideal quantum gate matrix or quantum circuit equivalent to the expected quantum evolution can be obtained, the accurate mathematical expression of the driving pulse signal cannot be obtained, or the accurate mathematical expression of the ideal pulse signal does not exist at all;

[0036] (2) Although there is an accurate mathematical expression for the ideal pulse signal, it may not be possible to accurately simulate the ideal pulse signal due to the precision of the signal generating equipment.

[0037] Due to the above reasons, the generated driving pulse signal deviates from the ideal pulse signal, and this deviation is generally called "noise". The noise generated due to the above reason (2) can be reduced by improving the accuracy of the signal generating device, but it cannot be completely eliminated, while the noise generated due to the above reason (1) cannot be reduced or eliminated by improving the hardware device.

[0038] The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.

[0039] The present disclosure first provides a method for quantum computing. Figure 2 A flowchart of a method 200 for quantum computing according to an embodiment of the present disclosure is shown. The method 200 includes:

[0040] Step 201, generating a driving pulse signal, wherein the driving pulse signal includes an ideal pulse signal for causing the quantum system to perform expected quantum evolution and a noise portion generated along with the ideal pulse signal;

[0041] Step 202, amplifying the noise part in the driving pulse signal at least once to obtain at least one noise amplified pulse signal;

[0042] Step 203, performing quantum evolution on each of the driving pulse signal and the at least one noise amplified pulse signal to obtain a plurality of noisy expected values;

[0043] Step 204, respectively calculating the degree of distortion of each pulse signal in the driving pulse signal and at least one noise amplified pulse signal relative to the ideal pulse signal; and

[0044] Step 205, an ideal expected value is calculated based on a plurality of noisy expected values ​​and the distortion of the corresponding pulse signals, where the ideal expected value corresponds to the expected value obtained by performing expected quantum evolution using the ideal pulse signal.

[0045] The quantum computing method of this embodiment first amplifies the noise in the driving pulse signal generated by the quantum computing device to obtain the driving pulse signal after noise amplification. Then, the noise expected value and distortion of these noise amplified pulse signals and driving pulse signals are calculated respectively, and finally the ideal expected value of the driving pulse signal when it does not contain noise (i.e., the ideal pulse signal) is calculated using data containing these noisy expected values ​​and corresponding distortion. The method of this embodiment reduces or even eliminates the noise in the originally generated driving pulse signal, thereby improving the accuracy of the final quantum computing result.

[0046] The method of this embodiment improves the process of quantum computing without changing the hardware configuration of the quantum computing device, so it has a wider scope of application. Whether it is due to the lack of precision of the signal generating device or the inability to obtain an accurate mathematical expression of the driving pulse signal, the method of this embodiment can reduce or even eliminate the noise. In addition, the method of this embodiment derives the ideal expected value based on multiple noisy expected values ​​and their corresponding distortions. Therefore, there is no need to determine the specific form of the noise part in advance, and the calculation process is simpler.

[0047] In step 201, the signal generating device may be, for example, a quantum control platform for generating a driving pulse signal, such as: Baidu Quantum Computing Research Institute's Quantum Pulse, IBM's Qiskit OpenPulse, etc. The specific operation process of this step is similar to the above step 101, and will not be repeated here.

[0048] As described above, the driving pulse signal includes an ideal pulse signal and a noise part. In step 202, the noise part is amplified at least once while keeping the ideal pulse signal in the driving pulse signal unchanged. In some embodiments, the noise part can be amplified multiple times according to different scaling factors. For example, the noise part can be amplified twice. In the first amplification, the noise part is amplified to 1.25 times of the original noise part (i.e., the noise part in the driving pulse signal generated in step 201), and in the second amplification, the noise part is amplified to 1.5 times of the original noise part. The above-mentioned driving pulse signal amplified by noise is called a noise-amplified pulse signal. For example, after the noise part is amplified twice, a first noise-amplified pulse signal (i.e., a pulse signal after the noise is amplified by 1.25 times) and a second noise-amplified pulse signal (i.e., a pulse signal after the noise is amplified by 1.5 times) can be obtained. Of course, in some other embodiments, the noise part can be amplified more than twice, and each amplification can be amplified multiple times according to other scaling factors (e.g., 1.1, 1.2, 1.3, etc.). In short, the implementation of the present disclosure is not limited by the above-mentioned amplification times and scaling factors.

[0049] In step 203, quantum evolution is performed using the driving pulse signal and each of the at least one noise-amplified pulse signal obtained in step 202 to obtain multiple noisy expected values. The process of obtaining the noisy expected values ​​is similar to the process of steps 102 and 103. Specifically, taking the above-mentioned two amplifications of the noise part (1.25 times and 1.5 times, respectively) as an example, first, the original driving pulse signal without amplification is input into the quantum system in the initial state, and after waiting for the quantum system to evolve, the final state of the quantum system is measured using a measuring device to obtain a first noisy expected value E1, and then, the first noise-amplified pulse signal is input into the quantum system, and after waiting for the quantum system to evolve, the final state of the quantum system is measured using a measuring device to obtain a second noisy expected value E2, and finally, the third noisy expected value E3 is obtained in the same way. It can be understood that since both the driving pulse signal and the noise-amplified pulse signal contain noise, the evolution process using these pulse signals is different from the expected quantum evolution process.

[0050] In step 204, the distortion of each pulse signal in the driving pulse signal and at least one noise amplified pulse signal relative to the ideal pulse signal is calculated respectively. The above-mentioned distortion represents the size of the difference between the driving pulse signal or the noise amplified pulse signal and the ideal pulse signal. The larger the distortion, the larger the above-mentioned difference, and thus the larger the difference between the obtained noisy expected value and the ideal expected value. Taking the above-mentioned amplification of the noise part twice (1.25 times and 1.5 times respectively) as an example, the first distortion of the original driving pulse signal relative to the ideal pulse signal is first calculated, and then the second distortion and the third distortion of the two noise amplified pulse signals relative to the ideal pulse signal are calculated respectively. It can be understood that since the noise part is amplified in the first noise amplified pulse signal and the second noise amplified pulse signal respectively (1.25 and 1.5 times respectively), the second distortion and the third distortion should be greater than the first distortion, and the third distortion is greater than the second distortion.

[0051] In step 205, the ideal expected value corresponding to the driving pulse signal in the case of no noise (i.e., the ideal pulse signal) is calculated using the multiple noisy expected values ​​obtained in step 203 and the multiple distortions obtained in step 204. In some embodiments, the multiple noisy expected values ​​obtained in step 203 and the multiple distortions obtained in step 204 can be formed into multiple data groups, each of which contains the noisy expected value and the distortion corresponding to one of the driving pulse signal and at least one noise amplified pulse signal. Then, the multiple data groups are numerically fitted to obtain the mapping relationship between the noisy expected value and the distortion, and finally, the expected value corresponding to the case where the distortion is equal to 0 is extrapolated through the mapping relationship as the ideal expected value. The specific fitting and extrapolation methods will be described in detail below.

[0052] The following will introduce in detail how to amplify the noise part in the driving pulse signal by adjusting the pulse signal. Figure 3 A flow chart of a method 300 for amplifying a noise portion in a driving pulse signal according to an embodiment of the present disclosure is shown. The method 300 includes:

[0053] For each scaling factor,

[0054] Step 301, amplifying the pulse duration of the driving pulse signal based on the scaling factor; and

[0055] Step 302: reducing the pulse amplitude of the driving pulse signal based on the scaling factor.

[0056] In theory, the dynamical evolution of noisy quantum computation (t∈[0,T]) can be described using the Lindblad master equation, which is expressed as:

[0057]

[0058] The commutative part [K, ρ] of the time-dependent Hamiltonian K and the system quantum state ρ represents the expected quantum evolution process, and the Lindblad operator Represents the noise portion of the driving pulse signal that can be achieved by the quantum hardware generated according to the expected quantum evolution.

[0059] Although it is not possible to determine the Lindblad operator , but we can assume that this term does not explicitly contain time, and the rate of the dissipation process of the noise part is characterized by the scalar noise coefficient λ, that is, the size of the noise part is proportional to the noise coefficient λ. When the noise coefficient is λ, the quantum state of the quantum system at the end time T is ρ λ (T). If the noise part is amplified by c times (that is, the noise coefficient λ changes to cλ), the quantum final state will change to ρ cλ (T). As mentioned above, because The form of does not explicitly contain time, so the amplification process of the parameter λ can be converted into an extension of the system evolution time T, that is, the duration of the input drive pulse signal is extended to cT. In other words, extending the duration of the input drive pulse signal by c times is equivalent to amplifying the noise coefficient λ by c times. Therefore, in the above step 301, the pulse duration of the drive pulse signal can be extended based on the scaling factor of this amplification while keeping the waveform of the drive pulse signal unchanged. For example, if it is desired to amplify the noise part by 1.25 times this time, the duration of the drive pulse signal is extended to 1.25 times the original.

[0060] Although step 301 amplifies the noise part, it also amplifies the non-noise term -i[K,ρ]. Therefore, in step 302, it is necessary to reduce the Hamiltonian K to ensure that the non-noise term -i[K,ρ] remains unchanged. The Hamiltonian K of quantum hardware includes a time-independent driving term and a time-dependent control term, and the control term is generally applied to the quantum system in the form of a driving pulse. Therefore, the integral value of the Hamiltonian K can be reduced by reducing the amplitude of the pulse signal. Specifically, in step 302, while keeping the waveform of the driving pulse signal unchanged, its pulse amplitude is reduced based on the scaling factor of this amplification, so that the integral value of the non-noise term -i[K,ρ] is the same as the corresponding integral value of the original driving pulse signal. In this way, it can be ensured that only the noise part in the driving pulse signal is amplified. For example, if it is desired to amplify the noise part by 1.25 times this time, the amplitude of the driving pulse signal is reduced to 4 / 5 of the original.

[0061] Figure 4 The comparison diagram 400 of the noise amplified pulse signal and the original driving pulse signal is shown as an example. Figure 4 The top pulse signal represents the driving pulse signal (i.e. the scaling factor is 1). Figure 4 The pulse signal in the middle represents the first noise amplified pulse signal in which the noise part is amplified 1.25 times. Figure 4 The pulse signal below represents the second noise amplified pulse signal with the noise part amplified by 1.5 times. Figure 4 It can be seen that the pulse duration of the first noise amplified pulse signal and the second noise amplified pulse signal are respectively extended by 1.25 times and 1.5 times relative to the driving pulse signal, and at the same time, their pulse amplitudes are respectively reduced by 1.25 times and 1.5 times relative to the driving pulse signal. The above series of operations such as extending the duration and reducing the amplitude of the pulse signal can be implemented by related pulse signal modulation equipment, and the specific operation process is well known to those skilled in the art and will not be repeated here.

[0062] How to calculate the distortion of the driving pulse signal and the noise amplified pulse signal will be described in detail below. In some embodiments, the above distortion can be characterized by the quantum gate distortion. Figure 5 A method 500 for calculating the distortion of each of a driving pulse signal and at least one noise amplified pulse signal relative to an ideal pulse signal according to an embodiment of the present disclosure is shown. The method 500 includes:

[0063] Step 501, determining an ideal evolution gate matrix equivalent to an ideal pulse signal;

[0064] Step 502, determining a plurality of noisy evolution gate matrices that are equivalent to the driving pulse signal and each of the at least one noise amplified pulse signal; and

[0065] Step 503: Calculate the quantum gate distortion of each noisy evolution gate matrix in the plurality of noisy evolution gate matrices relative to the ideal evolution gate matrix.

[0066] The various pulse signals to be input (driving pulse signals, noise amplified pulse signals, and ideal pulse signals, etc.) can all be represented as an equivalent evolution gate matrix. When the input pulse signal acts on the quantum system, it can be equivalent to the corresponding evolution gate matrix acting on the initial state ρ of the quantum system. Specifically, in step 501, an ideal evolution gate matrix equivalent to the ideal pulse signal can be determined. In this embodiment, the ideal evolution gate matrix can be a Hadamard gate matrix. And in step 502, multiple noisy evolution gate matrices equivalent to each pulse signal in the driving pulse signal and at least one noise amplified pulse signal are determined. For example, when two noise amplified pulse signals (amplified by 1.25 times and 1.5 times, respectively) are generated, a first noisy evolution gate matrix equivalent to the driving pulse signal, a second noisy evolution gate matrix equivalent to the first noise amplified pulse signal, and a third noisy evolution gate matrix equivalent to the second noise amplified pulse signal are determined respectively.

[0067] In step 503, for each noisy evolution gate matrix, the quantum gate distortion can be calculated according to the following formula:

[0068]

[0069] Among them, U represents the ideal evolved gate matrix; V represents the corresponding noisy evolved gate matrix, n represents the dimension of the matrix; F(U,V) represents the quantum gate distortion of V relative to U. Representation Matrix The trace of The sum of the diagonal elements of .

[0070] For example, taking the calculation of the distortion of the driving pulse signal as an example, the quantum gate distortion can be calculated according to the following formula:

[0071]

[0072] Wherein, U represents the ideal evolved gate matrix; V1 represents the first noisy evolved gate matrix corresponding to the driving pulse signal; and F1 represents the quantum gate distortion of the first noisy evolved gate matrix relative to the ideal evolved gate matrix.

[0073] The above formula is used to obtain the quantum gate distortion F2 representing the second noisy evolution gate matrix relative to the ideal evolution gate matrix and the quantum gate distortion F3 representing the third noisy evolution gate matrix relative to the ideal evolution gate matrix in a similar manner. It can be understood that F3>F2>F1.

[0074] The following describes in detail how to calculate the ideal expected value using a plurality of noisy expected values ​​and their corresponding distortions. Figure 6A flowchart of a method 600 for obtaining an ideal expected value by using interpolation extrapolation according to an embodiment of the present disclosure is shown. The method 600 includes:

[0075] Step 601, generating a first number of interpolation data groups, each of the first number of interpolation data groups including a noise expected value and a distortion degree corresponding to a corresponding pulse signal of a driving pulse signal and at least one noise amplified pulse signal;

[0076] Step 602, performing interpolation fitting using a first number of interpolation data groups to obtain a mapping relationship between a noise-containing expected value and a distortion degree; and

[0077] Step 603: obtaining an ideal expected value based on the mapping relationship.

[0078] In step 601, multiple distortion degrees obtained in method 500 and multiple noisy expected values ​​obtained in step 203 of method 200 can be selected to form a first number of interpolation data groups. Still taking the example of amplifying the noise part in the driving pulse signal twice (1.25 times and 1.5 times respectively) as an example, in this case, three groups of interpolation data groups can be generated accordingly. Specifically, the first data group includes two data F1 and E1, where F1 represents the first distortion degree of the driving pulse signal relative to the ideal pulse signal, and E1 represents the first noisy expected value obtained by quantum evolution of the driving pulse signal. Similarly, the second data group includes two data F2 and E2, and the third data group includes two data F3 and E3.

[0079] In step 602, the three data groups mentioned above may be used to perform interpolation fitting to obtain a mapping relationship between the noise expected value and the distortion degree. Figure 7 FIG. 7 is a schematic diagram 700 showing a mapping relationship using an interpolation data set according to an embodiment of the present disclosure. Figure 7 As shown, for example, the above mapping relationship can be obtained by linear fitting. Specifically, the above three data groups can be plotted in a Cartesian coordinate system in which the horizontal and vertical coordinates represent the distortion and the expected value of noise respectively, and a straight line representing the above mapping relationship can be obtained based on these data groups.

[0080] It can be understood that when the distortion of a pulse signal relative to an ideal pulse signal is equal to zero, the pulse signal is equivalent to the ideal pulse signal. Therefore, the intersection of the straight line representing the mapping relationship and the y-axis, that is, the noise-containing expected value E* corresponding to the distortion equal to 0, is the ideal expected value. Therefore, in step 603, the expected value with a distortion equal to zero in the mapping relationship can be selected as the ideal expected value. Although in the above embodiment, only three data groups are selected for fitting, it can be understood that in other embodiments, more or fewer data groups can be selected for fitting. Generally speaking, the more data groups involved in fitting, the more accurate the mapping relationship obtained.

[0081] In addition to the above-mentioned linear fitting method, the above-mentioned mapping relationship can also be fitted by other methods according to the actual quantum computing requirements to obtain the ideal expected value. For example, in some embodiments, the ideal expected value can also be obtained by the Richardson extrapolation method. In the field of numerical algorithms, the Richardson extrapolation method is an effective method that can universally eliminate low-order estimation errors.

[0082] Assume that the noisy expected value E λ About the ideal expected value E * =E0 The estimated error can be expressed as the distortion F λ The power series form of

[0083]

[0084] Where a0=E * , and {a k} k is a set of unknown parameters, λ is a different noise coefficient, and d is the order of error to be eliminated by extrapolation. Through the above steps, a set of data sets of distortion and noise expectation values ​​corresponding to different parameter values ​​of λ can be obtained {F λ ,E λ} λ The data set {F λ ,E λ} λ Substituting the above power series equations into the system, we can determine the unknown parameters {a k} k Then a new linear combination estimator E is constructed iteratively step by step n , which is compared with the original noisy expected value E λ For E * has a smaller estimation error.

[0085] Figure 8 A schematic diagram of a method for updating a mapping relationship according to an embodiment of the present disclosure is shown. Figure 6After step 602 of the method shown, the method includes the following steps:

[0086] Step 801, generating a second number of interpolation data sets based on the mapping relationship, wherein the second number is greater than the first number; and

[0087] Step 802: Perform interpolation fitting again using a second number of interpolation data sets to update the mapping relationship.

[0088] In step 801, a second number of data groups greater than the first number in step 601 may be generated, and the second number of data groups may include the first number of data groups. For example, the first number of data groups may include three groups of noisy expected values ​​and their corresponding distortions, and the second number of data groups may include more than four groups of noisy expected values ​​and their corresponding distortions. The second number of data groups may be generated based on the mapping relationship obtained in step 602. Specifically, data groups that conform to the change trend of the above-mentioned mapping relationship may be selected to form the above-mentioned second number of data groups. Exemplarily, if it is determined in step 602 that the change trend of the mapping relationship is increasing, then in step 801, only data groups of noisy expected values ​​and their corresponding distortions that meet the increasing trend are generated as data in the above-mentioned second number of data groups.

[0089] In step 802, interpolation fitting is performed again using a second number of interpolation data groups. This interpolation fitting uses more data groups, and these data groups all satisfy the changing trend of the mapping relationship determined in step 602. Therefore, the newly fitted mapping relationship is more accurate than the original mapping relationship.

[0090] To verify the effectiveness and advantages of the method disclosed in the present invention, a benchmark test can be performed based on a Clifford random quantum circuit. Specifically, an n+1-long quantum circuit equivalent to an identity transformation can be assumed, in which the first n quantum gates (C j ) is a randomly generated single-bit Clifford unitary gate. The last quantum gate C -1 Refers to the equivalent inverse gate of the continuous effect of the first n quantum gates, so the following equation holds:

[0091] C -1 C n C n-1 … C1=I.

[0092] Apply the above quantum circuit to the quantum bit with the initial state of |0>, and finally measure the projection operator of the |0> state expected value.

[0093] Since the evolution operator corresponding to this circuit is equivalent to the identity transformation, the expected value is ideal ≡1; due to the presence of noise in the circuit, the final state output by the quantum circuit will deviate from |0>, and the expected value will also deviate from 1 (less than 1).

[0094] The quantum computing method disclosed in this disclosure is implemented on the Baidu Quanlse platform and applied to the above computing tasks. The experimental data results are as follows Fig. 9As shown, Fig. 9 A comparison chart 900 of the ideal expected value and the noisy expected value calculated by the method of the present disclosure is shown. Curve 1 in the figure represents the ideal expected value obtained by theoretically performing the expected quantum evolution, curve 4 represents the noisy expected value obtained by performing the quantum evolution using the original driving pulse signal, curve 5 is the noisy expected value obtained by amplifying the noise part of the driving pulse signal according to a given scaling factor, and curves 2 and 3 represent the ideal expected value obtained by extrapolation using the method of the present disclosure, wherein the power series order selected for curve 2 during extrapolation is greater than that of curve 3. From the curves in the figure, we can see that the accuracy of the ideal expected value obtained by using the method of the present disclosure has been significantly improved, and it approaches the theoretical ideal expected value with a fairly high accuracy.

[0095] The present disclosure also provides a device for quantum computing, Fig.10 A schematic diagram of an apparatus 1000 for quantum computing according to an embodiment of the present disclosure is shown, the apparatus 1000 comprising: a pulse generating unit 1010 configured to generate a driving pulse signal, the driving pulse signal comprising an ideal pulse signal for causing a quantum system to perform expected quantum evolution and a noise portion generated in conjunction with the ideal pulse signal; an amplifying unit 1020 configured to amplify the noise portion in the driving pulse signal at least once to obtain at least one noise-amplified pulse signal; an evolving unit 1030 configured to perform quantum evolution using the driving pulse signal and each of the at least one noise-amplified pulse signal, respectively, to obtain a plurality of noisy expected values; a first calculating unit 1040 configured to calculate the degree of distortion of each of the driving pulse signal and the at least one noise-amplified pulse signal relative to the ideal pulse signal, respectively; and a second calculating unit 1050 configured to calculate an ideal expected value based on the plurality of noisy expected values ​​and the degree of distortion of the corresponding pulse signals, the ideal expected value corresponding to the expected value obtained by performing expected quantum evolution using the ideal pulse signal.

[0096] In some embodiments, the amplification unit 1020 is further configured to: amplify the noise portion according to a plurality of different scaling factors respectively.

[0097] Fig.11 A schematic diagram of a device 1100 for quantum computing according to another embodiment of the present disclosure is shown, wherein Fig.11 As shown, the amplification unit 1120 includes: a duration amplification module 1121, configured to amplify the pulse duration of the driving pulse signal based on the scaling factor for each scaling factor; and an amplitude reduction module 1122, configured to reduce the pulse amplitude of the driving pulse signal based on the scaling factor for each scaling factor.

[0098] In some embodiments, the distortion includes a quantum gate distortion, and the first calculation unit 1140 includes: a first determination module 1141, configured to determine an ideal evolution gate matrix equivalent to an ideal pulse signal; a second determination module 1142, configured to determine a plurality of noisy evolution gate matrices respectively equivalent to each of the driving pulse signal and at least one noise amplified pulse signal; and a first calculation module 1143, configured to respectively calculate the quantum gate distortion of each noisy evolution gate matrix in the plurality of noisy evolution gate matrices relative to the ideal evolution gate matrix.

[0099] The first calculation module 1143 is further configured to: for each noisy evolution gate matrix, calculate the quantum gate distortion according to the following formula:

[0100]

[0101] Among them, U represents the ideal evolved gate matrix; V represents the corresponding noisy evolved gate matrix; F(U,V) represents the quantum gate distortion of V relative to U.

[0102] The second calculation unit 1150 includes: a first generation module 1151, configured to generate a first number of interpolation data groups, each of the first number of interpolation data groups includes a noisy expected value and a distortion corresponding to a pulse signal among a driving pulse signal and at least one noise amplified pulse signal; an interpolation fitting module 1152, configured to perform interpolation fitting using the first number of interpolation data groups to obtain a mapping relationship between the noisy expected value and the distortion; and an expected value acquisition module 1153, configured to obtain an ideal expected value based on the mapping relationship.

[0103] The second calculation unit 1150 also includes: a second generation module 1154, configured to generate a second number of interpolation data groups based on the mapping relationship, wherein the second number is greater than the first number; and an update module 1155, configured to perform interpolation fitting again using the second number of interpolation data groups to update the mapping relationship.

[0104] In some embodiments, the interpolation fitting module 1152 is further configured to use the Richardson extrapolation method to fit and obtain a mapping relationship.

[0105] In some embodiments, the expected value acquisition module 1153 is further configured to: select an expected value with a distortion equal to zero in the mapping relationship as an ideal expected value.

[0106] The evolution unit 1130 also includes: an input module 1131, configured to input a pulse signal corresponding to the quantum evolution into a quantum system in an initial state; a third determination module 1132, configured to determine the end of the evolution of the quantum system; and a measurement module 1133, configured to measure the final state of the quantum system to obtain a noisy expected value corresponding to the quantum evolution.

[0107] The operation of each unit of the apparatus 1100 and 1000 for quantum computing is similar to the steps of the method for quantum computing described above, and will not be repeated here.

[0108] According to an embodiment of the present disclosure, an electronic device, a readable storage medium and a computer program product are also provided.

[0109] refer to Fig.12 , a block diagram of an electronic device 1200 that can be used as a server or client of the present disclosure will now be described, which is an example of a hardware device that can be applied to various aspects of the present disclosure. The electronic device is intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0110] like Fig.12 As shown, the device 1200 includes a computing unit 1201, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 1202 or a computer program loaded from a storage unit 1208 into a random access memory (RAM) 1203. In the RAM 1203, various programs and data required for the operation of the device 1200 can also be stored. The computing unit 1201, the ROM 1202, and the RAM 1203 are connected to each other via a bus 1204. An input / output (I / O) interface 1205 is also connected to the bus 1204.

[0111] Multiple components in the device 1200 are connected to the I / O interface 1205, including: an input unit 1206, an output unit 1207, a storage unit 1208, and a communication unit 1209. The input unit 1206 can be any type of device that can input information to the device 1200. The input unit 1206 can receive input digital or character information, and generate key signal input related to user settings and / or function control of the electronic device, and can include but is not limited to a mouse, a keyboard, a touch screen, a track pad, a track ball, a joystick, a microphone, and / or a remote controller. The output unit 1207 can be any type of device that can present information, and can include but is not limited to a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 1208 can include but is not limited to a disk and an optical disk. The communication unit 1209 allows the device 1200 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and may include but is not limited to a modem, a network card, an infrared communication device, a wireless communication transceiver and / or a chipset, such as a Bluetooth™ device, an 802.11 device, a WiFi device, a WiMax device, a cellular communication device and / or the like.

[0112] The computing unit 1201 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 1201 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 1201 performs the various methods and processes described above, such as the above-mentioned methods for quantum computing. For example, in some embodiments, the method for quantum computing may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 1208. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 1200 via the ROM 1202 and / or the communication unit 1209. When the computer program is loaded into the RAM 1203 and executed by the computing unit 1201, one or more steps for quantum computing described above may be performed. Alternatively, in other embodiments, the computing unit 1201 may be configured to perform the method for quantum computing in any other appropriate manner (eg, by means of firmware).

[0113] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0114] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0115] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0116] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0117] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0118] A computer system may include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship to each other.

[0119] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in this disclosure can be performed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0120] Although the embodiments or examples of the present disclosure have been described with reference to the accompanying drawings, it should be understood that the above-mentioned methods, systems and devices are merely exemplary embodiments or examples, and the scope of the present disclosure is not limited by these embodiments or examples, but is only limited by the claims after authorization and their equivalent scope. Various elements in the embodiments or examples may be omitted or replaced by their equivalent elements. In addition, each step may be performed in an order different from that described in the present disclosure. Further, the various elements in the embodiments or examples may be combined in various ways. It is important that with the evolution of technology, many of the elements described herein may be replaced by equivalent elements that appear after the present disclosure.

Claims

1. A method for quantum computing, include: generating a driving pulse signal, wherein the driving pulse signal includes an ideal pulse signal for causing the quantum system to perform expected quantum evolution and a noise portion generated in conjunction with the ideal pulse signal; Amplifying the noise portion of the driving pulse signal at least once to obtain at least one noise amplified pulse signal; Using the driving pulse signal and each of the at least one noise amplified pulse signal to perform quantum evolution respectively, to obtain a plurality of noisy expected values; respectively calculating the degree of distortion of each of the driving pulse signal and the at least one noise amplified pulse signal relative to the ideal pulse signal; as well as The ideal expected value is calculated according to the multiple noisy expected values ​​and the distortion of the corresponding pulse signals, including: Generate a first number of interpolation data groups, each of the first number of interpolation data groups including a noise expected value and a distortion degree corresponding to a corresponding pulse signal of the driving pulse signal and the at least one noise amplified pulse signal; Using the first number of interpolation data groups to perform interpolation fitting to obtain a mapping relationship between a noise-containing expected value and a distortion degree; and Selecting the expected value with a distortion equal to zero in the mapping relationship as the ideal expected value, The ideal expected value corresponds to the expected value obtained by performing the expected quantum evolution using the ideal pulse signal.

2. The method according to claim 1, in, Amplifying the noise part in the driving pulse signal at least once comprises: The noise portion is amplified according to a plurality of different scaling factors respectively.

3. The method according to claim 2, in, Amplifying the noise portion according to a plurality of different scaling factors respectively includes: For each scaling factor, amplifying the pulse duration of the driving pulse signal based on the scaling factor; and The pulse amplitude of the driving pulse signal is reduced based on the scaling factor.

4. The method according to claim 1, in, The distortion degree includes a quantum gate distortion degree, and respectively calculating the distortion degree of each of the driving pulse signal and the at least one noise amplified pulse signal relative to the ideal pulse signal includes: Determining an ideal evolution gate matrix equivalent to the ideal pulse signal; Determining a plurality of noisy evolution gate matrices that are equivalent to each of the driving pulse signal and the at least one noise amplified pulse signal; and The quantum gate distortion of each noisy evolution gate matrix in the multiple noisy evolution gate matrices relative to the ideal evolution gate matrix is ​​calculated respectively.

5. The method according to claim 4, in, Calculating the quantum gate distortion of each noisy evolution gate matrix in the plurality of noisy evolution gate matrices relative to the ideal evolution gate matrix comprises: For each noisy evolution gate matrix, the quantum gate distortion is calculated according to the following formula: Wherein, U represents the ideal evolved gate matrix; V represents the corresponding noisy evolved gate matrix; and F(U,V) represents the quantum gate distortion of V relative to U.

6. The method according to claim 1, in, After performing interpolation fitting using the first number of interpolation data groups to obtain a mapping relationship between a noise-containing expected value and a distortion degree, the method further includes: Based on the mapping relationship, generating a second number of interpolation data sets, wherein the second number is greater than the first number; and The interpolation fitting is performed again using the second number of interpolation data groups to update the mapping relationship.

7. The method according to claim 1 or 6, in, The mapping relationship between the noise expected value and the distortion degree obtained by performing interpolation fitting using the first number of interpolation data groups includes: The mapping relationship is obtained by fitting using the Richardson extrapolation method.

8. The method according to any one of claims 1 to 5, in, Using the driving pulse signal and each of the at least one noise amplified pulse signal to perform quantum evolution respectively to obtain a plurality of noisy expected values ​​includes: For each quantum evolution, Inputting the pulse signal corresponding to the quantum evolution into the quantum system in the initial state; Determining that the evolution of the quantum system ends; and The final state of the quantum system is measured to obtain the noisy expectation value corresponding to the quantum evolution.

9. A device for quantum computing, include: A pulse generating unit configured to generate a driving pulse signal, wherein the driving pulse signal includes an ideal pulse signal for causing the quantum system to perform expected quantum evolution and a noise portion generated in conjunction with the ideal pulse signal; an amplifying unit, configured to amplify the noise portion of the driving pulse signal at least once to obtain at least one noise amplified pulse signal; An evolution unit, configured to perform quantum evolution using each of the driving pulse signal and the at least one noise amplified pulse signal to obtain a plurality of noisy expected values; a first calculation unit, configured to respectively calculate the degree of distortion of each of the driving pulse signal and the at least one noise amplified pulse signal relative to the ideal pulse signal; and A second calculation unit is configured to calculate an ideal expected value according to the multiple noisy expected values ​​and the distortion of the corresponding pulse signals, wherein the second calculation unit includes: A first generating module is configured to generate a first number of interpolation data groups, each of which includes a noise expected value and a distortion degree corresponding to one of the driving pulse signal and the at least one noise amplified pulse signal; an interpolation fitting module, configured to perform interpolation fitting using the first number of interpolation data groups to obtain a mapping relationship between the noisy expected value and the distortion; and an expected value acquisition module, configured to select the expected value with a distortion equal to zero in the mapping relationship as the ideal expected value, The ideal expected value corresponds to the expected value obtained by performing the expected quantum evolution using the ideal pulse signal.

10. The device according to claim 9, in, The amplification unit is further configured to: The noise portion is amplified according to a plurality of different scaling factors respectively.

11. The device according to claim 10, in, The amplification unit comprises: a duration amplification module configured to amplify the pulse duration of the driving pulse signal based on each scaling factor; and The amplitude reduction module is configured to reduce the pulse amplitude of the driving pulse signal based on the scaling factor for each scaling factor.

12. The device according to claim 9, in, The distortion degree includes a quantum gate distortion degree, and the first calculation unit includes: A first determination module is configured to determine an ideal evolution gate matrix equivalent to the ideal pulse signal; a second determination module configured to determine a plurality of noisy evolution gate matrices respectively equivalent to each of the driving pulse signal and the at least one noise amplified pulse signal; and The first calculation module is configured to respectively calculate the quantum gate distortion of each noisy evolution gate matrix in the multiple noisy evolution gate matrices relative to the ideal evolution gate matrix.

13. The device according to claim 12, in, The first computing module is further configured to: For each noisy evolution gate matrix, the quantum gate distortion is calculated according to the following formula: Wherein, U represents the ideal evolved gate matrix; V represents the corresponding noisy evolved gate matrix; and F(U,V) represents the quantum gate distortion of V relative to U.

14. The device according to claim 9, in, The second computing unit further comprises: A second generating module configured to generate a second number of interpolation data sets based on the mapping relationship, wherein the second number is greater than the first number; and The updating module is configured to perform interpolation fitting again using the second number of interpolation data groups to update the mapping relationship.

15. The device according to claim 9, in, The interpolation fitting module is also configured to: The mapping relationship is obtained by fitting using the Richardson extrapolation method.

16. The device according to any one of claims 9 to 13, in, The evolution unit also includes: An input module, configured to input a pulse signal corresponding to the quantum evolution into a quantum system in an initial state; A third determination module, configured to determine that the evolution of the quantum system ends; and The measurement module is configured to measure the final state of the quantum system to obtain the noisy expected value corresponding to the quantum evolution.

17. An electronic device, include: at least one processor; as well as a memory communicatively coupled to the at least one processor; in The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 8.

18. A non-transitory computer-readable storage medium storing computer instructions, in, The computer instructions are used to cause the computer to execute the method according to any one of claims 1-8.

19. A computer program product comprising a computer program, in, When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.