Waveform calibration method and waveform calibration device based on quantum bits

By calibrating the waveform of the qubit and using the target fitting function to process the input waveform, the problem of microwave pulse waveform distortion in quantum computing is solved, the fidelity of the quantum gate is improved and the computational cost is reduced.

CN118376970BActive Publication Date: 2024-08-23UNIV OF SCI & TECH OF CHINA +1
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410832740.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-08-23
Estimated Expiration
2044-06-26

AI Technical Summary

Technical Problem

In superconducting quantum computing, when qubits and quantum couplers implement bit frequency adjustment, coupling strength adjustment, or perform two-bit entanglement gates, microwave pulses are prone to waveform distortion during transmission, resulting in limited fidelity of quantum gates. .

Method used

By generating a target reference signal based on preset qubits, performing phase measurement and fitting processing, the target fitting function is obtained, and the function is used for waveform calibration to reduce waveform distortion in the quantum circuit.

Benefits of technology

It effectively reduces the distortion of the waveform in the quantum circuit, significantly reduces the computational cost of waveform calibration, and improves the fidelity of the quantum gate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118376970B
    Figure CN118376970B
Patent Text Reader

Abstract

The present disclosure provides a waveform calibration method and waveform calibration device based on quantum bits. The method includes generating a target reference signal based on a calibrated preset quantum bit and an initial reference microwave signal; performing phase measurement on the target reference signal based on a preset scanning amount to obtain phase accumulation data within a preset time; performing multi-exponential fitting processing on the phase accumulation data to obtain a target fitting function, wherein the target fitting function includes multiple fitting coefficients; performing conversion processing on the phase accumulation data and the fitting coefficient based on a target time difference to obtain a target waveform calibration function; and processing an input waveform using the target waveform calibration function to obtain a calibrated output waveform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of quantum computing technology, and more specifically, to a waveform calibration method and a waveform calibration device based on quantum bits. Background Art

[0002] Universal quantum computing has attracted much attention due to its potential powerful computing power. To realize universal quantum computing, high-fidelity quantum gates are essential. In superconducting quantum computing, when quantum bits and quantum couplers implement bit frequency adjustment, coupling strength adjustment, or execute two-bit entanglement gates, it is usually necessary to apply microwave pulses with fewer positive and negative polarity flips, or even always unipolarity, to the Z line. However, the waveform may be distorted due to the line transmission characteristics in the process from generation to arrival at the quantum bit. For such pulses, waveform distortion will cause residual voltage to remain in the line for a period of time after the waveform ends. The control error introduced by this will limit the fidelity of the quantum gate. Summary of the invention

[0003] In view of this, embodiments of the present invention provide a waveform calibration method based on quantum bits, a waveform calibration device, an electronic device, a computer-readable storage medium, and a computer program product.

[0004] One aspect of an embodiment of the present invention provides a waveform calibration method based on quantum bits, comprising:

[0005] Generate a target reference signal based on the calibrated preset quantum bit and the initial reference microwave signal;

[0006] Performing phase measurement on the target reference signal based on a preset scanning amount to obtain phase accumulation data within a preset time;

[0007] Performing fitting processing on the phase accumulation data to obtain a target fitting function, wherein the target fitting function includes a plurality of fitting coefficients;

[0008] Based on the target relationship coefficient, the phase accumulation data and the fitting coefficient are converted to obtain a target waveform calibration function;

[0009] The input waveform is processed using the target waveform calibration function to obtain a calibrated output waveform.

[0010] According to an embodiment of the present invention, fitting processing is performed on the above phase accumulation data to obtain a target fitting function, including:

[0011] Performing multi-exponential fitting processing on the phase accumulation data to obtain multiple initial fitting functions, wherein the number of exponential terms of different initial fitting functions is different;

[0012] Based on a preset screening rule, the target fitting function is determined from the plurality of initial fitting functions.

[0013] According to an embodiment of the present invention, based on a preset screening rule, determining the target fitting function from the plurality of initial fitting functions comprises:

[0014] For each of the initial fitting functions, generating a fitting error according to the initial fitting function and the phase accumulation data;

[0015] The target fitting function is determined from the plurality of initial fitting functions according to the plurality of fitting errors.

[0016] According to an embodiment of the present invention, determining the target fitting function from the plurality of initial fitting functions according to the plurality of fitting errors comprises:

[0017] Determine the fitting error with the smallest error value among the multiple fitting errors as the target fitting error;

[0018] Determining an initial fitting function corresponding to the target fitting error as the target fitting function;

[0019] Wherein, the above-mentioned waveform calibration method further includes:

[0020] When the target fitting error is greater than a preset error threshold, the phase accumulation data is refitted to obtain a new initial fitting function, so as to determine the target fitting function from the new initial fitting function.

[0021] According to an embodiment of the present invention, the above target fitting function is as follows:

[0022]

[0023] in, is the phase accumulation value, N is the number of exponential terms, t is the preset scanning amount, , All are fitting coefficients.

[0024] According to an embodiment of the present invention, based on the target relationship coefficient, the above phase accumulation data and the above fitting coefficient are converted to obtain a target waveform calibration function, including:

[0025] Based on the target relationship coefficient, the phase accumulation data is mathematically transformed to obtain a voltage-time function, wherein the voltage-time function represents the relationship between the total residual voltage and time, and the target relationship coefficient represents the relationship between the phase accumulation and the bias voltage;

[0026] The target waveform calibration function is generated according to the voltage-time function and the plurality of fitting coefficients.

[0027] According to an embodiment of the present invention, the target waveform calibration function is generated according to the voltage-time function and the plurality of fitting coefficients, including:

[0028] generating a plurality of exponential decay coefficients according to the target relationship coefficient, the plurality of fitting coefficients and the target time difference, wherein the voltage-time function includes the target relationship coefficient, and the target time difference represents the time difference between a rising edge and a falling edge in the target reference signal;

[0029] Generate a plurality of calibration coefficients according to the plurality of exponential decay coefficients and sampling time intervals, wherein the sampling time interval is determined according to a sampling rate of a device generating the output waveform;

[0030] The target waveform calibration function is constructed based on the plurality of calibration coefficients.

[0031] According to an embodiment of the present invention, the voltage-time function is as shown in the first formula, the target relationship coefficient k is as shown in the second formula, and the above exponential decay coefficient is , As shown in the third formula, the above calibration coefficient , As shown in the fourth formula:

[0032]

[0033]

[0034]

[0035]

[0036] in, is the total residual voltage, t is the preset scanning amount, , are all fitting coefficients, N is the number of exponential terms, For preset time, is the frequency variation of the target reference signal, is the bias voltage, is the sampling time interval.

[0037] According to an embodiment of the present invention, the target waveform calibration function is as follows:

[0038]

[0039] in, is the output waveform, is the input waveform, is the sampling time interval, , is the calibration coefficient and N is the number of exponential terms.

[0040] Another aspect of an embodiment of the present invention provides a waveform calibration device based on quantum bits, comprising:

[0041] A generation module, used to generate a target reference signal based on a calibrated preset quantum bit and an initial reference microwave signal;

[0042] A measurement module, used to perform phase measurement on the target reference signal based on a preset scanning amount to obtain phase accumulation data within a preset time;

[0043] A fitting module, used for performing fitting processing on the phase accumulation data to obtain a target fitting function, wherein the target fitting function includes a plurality of fitting coefficients;

[0044] A conversion module, used for converting the phase accumulation data and the fitting coefficient based on the target relationship coefficient to obtain a target waveform calibration function;

[0045] The processing module is used to process the input waveform using the target waveform calibration function to obtain a calibrated output waveform.

[0046] Another aspect of an embodiment of the present invention provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method as described above.

[0047] Another aspect of an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions, which are used to implement the method described above when executed.

[0048] Another aspect of an embodiment of the present invention provides a computer program product, wherein the computer program product includes computer executable instructions, and the instructions are used to implement the method described above when executed.

[0049] According to an embodiment of the present invention, by using a target reference signal obtained based on a preset quantum bit to measure phase accumulation, performing multi-exponential fitting processing on the phase accumulation data to obtain a fitting coefficient, and then mathematically transforming the phase accumulation data based on the target relationship coefficient, and combining the fitting coefficient, a target waveform calibration function can be constructed. The target waveform calibration function can be used to calibrate any input waveform, thereby reducing the fidelity of the waveform in the quantum circuit and reducing the computational cost of calibration. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:

[0051] Figure 1 A flowchart of a waveform calibration method based on quantum bits according to an embodiment of the present invention is shown;

[0052] Figure 2 A schematic diagram showing phase measurement of a target reference signal according to an embodiment of the present invention is shown;

[0053] Figure 3 A schematic diagram showing the change of phase accumulation over time according to an embodiment of the present invention is shown;

[0054] Figure 4 A schematic diagram showing waveform distortion of an original waveform after line transmission according to an embodiment of the present invention is shown;

[0055] Figure 5 A waveform schematic diagram showing a waveform after line transmission after calibration according to an embodiment of the present invention is shown;

[0056] Figure 6 A schematic diagram showing a comparison of different distortion calibration methods according to an embodiment of the present invention is shown;

[0057] Figure 7 A block diagram of a waveform calibration device according to an embodiment of the present invention is shown;

[0058] Figure 8 A block diagram of an electronic device suitable for implementing the method described above according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0059] Below, embodiments of the present invention will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present invention. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of embodiments of the present invention. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of concepts of the present invention.

[0060] The terms used herein are only for describing specific embodiments and are not intended to limit the present invention. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

[0061] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.

[0062] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).

[0063] In superconducting quantum computing, when quantum bits and quantum couplers implement bit frequency regulation, coupling strength regulation, or execute two-bit entanglement gates, it is usually necessary to apply microwave pulses with fewer positive and negative polarity flips, or even always unipolar, to the Z line. The waveform may be distorted due to the line transmission characteristics during the process from generation to arrival at the quantum bit. For such pulses, waveform distortion will cause residual voltage to remain in the line for a period of time after the waveform ends. The control error introduced by this will limit the fidelity of the quantum gate.

[0064] To solve this problem, we need to calibrate the waveform so that the microwave waveform that finally reaches the quantum bit is the ideal waveform we want. The existing waveform calibration scheme is based on the FIR digital filtering method of traditional digital signal processing. This scheme involves convolution calculation of the original waveform, which has a large computational overhead and time complexity. , (M is the impulse response truncation number, the larger M is, the higher the accuracy is, and n is the waveform length), which greatly limits the generation speed of the experimental waveform and is not suitable for future large-scale integration of quantum computing or real-time waveform generation.

[0065] In view of this, an embodiment of the present invention provides a waveform calibration method and a waveform calibration device based on quantum bits. The method includes generating a target reference signal based on a calibrated preset quantum bit and an initial reference microwave signal; performing phase measurement on the target reference signal based on a preset scanning amount to obtain phase accumulation data within a preset time; performing fitting processing on the phase accumulation data to obtain a target fitting function, wherein the target fitting function includes a plurality of fitting coefficients; performing conversion processing on the phase accumulation data and the fitting coefficient based on the target relationship coefficient to obtain a target waveform calibration function; and processing the input waveform using the target waveform calibration function to obtain a calibrated output waveform.

[0066] Figure 1 A flow chart of a waveform calibration method based on quantum bits according to an embodiment of the present invention is shown. Figure 2 A schematic diagram of performing phase measurement on a target reference signal according to an embodiment of the present invention is shown. Figure 3 FIG. 4 is a schematic diagram showing the change of phase accumulation over time according to an embodiment of the present invention.

[0067] like Figure 1 As shown, the waveform calibration method based on quantum bits includes operations S110 to S150.

[0068] In operation S110, a target reference signal is generated based on the calibrated preset quantum bit and the initial reference microwave signal;

[0069] In operation S120, a phase measurement is performed on a target reference signal based on a preset scanning amount to obtain phase accumulation data within a preset time;

[0070] In operation S130, a fitting process is performed on the phase accumulation data to obtain a target fitting function, wherein the target fitting function includes a plurality of fitting coefficients;

[0071] In operation S140, based on the target relationship coefficient, the phase accumulation data and the fitting coefficient are converted to obtain a target waveform calibration function;

[0072] In operation S150, the input waveform is processed using the target waveform calibration function to obtain a calibrated output waveform.

[0073] According to an embodiment of the present invention, the calibrated preset quantum bit may be an X / 2 gate of the quantum bit. The initial reference microwave signal may be a waveform signal with a specific shape, for example, a square wave signal.

[0074] According to an embodiment of the present invention, the preset quantum bits are first calibrated and read to achieve preliminary control of the preset quantum bits. The preset calibrated preset quantum bits are input into the initial reference microwave signal, and the following can be obtained: Figure 2 The target reference signal is shown.

[0075] According to an embodiment of the present invention, a phase measurement is performed on a target reference signal based on a preset scanning amount t to obtain a preset time The phase accumulation data in the XY plane can refer to the phase accumulated by the quantum bit. In an ideal situation, there is no waveform distortion problem, that is, the residual voltage is always 0, then the quantum bit has no phase accumulation, and the measured phase does not change with time. However, due to the waveform distortion caused by non-ideal factors in actual experiments, the residual voltage will cause the bit frequency to shift, thereby accumulating the phase. The measured phase accumulation changes with time as shown in Figure 3 As shown;

[0076] According to an embodiment of the present invention, referring to Figure 3, the measured phase accumulation data is fitted with the time variation relationship, such as multi-exponential fitting, to obtain the target fitting function, which includes multiple fitting coefficients , Based on the target relationship coefficient k, the phase accumulation data and fitting coefficients , The conversion process is performed to obtain the target waveform calibration function. After the target waveform calibration function is obtained, any type of input waveform can be processed using the target waveform calibration function to obtain a calibrated output waveform.

[0077] According to an embodiment of the present invention, by using a target reference signal obtained based on a preset quantum bit to measure phase accumulation, fitting the phase accumulation data to obtain a fitting coefficient, and then mathematically transforming the phase accumulation data based on the target relationship coefficient, and combining the fitting coefficient, a target waveform calibration function can be constructed. The target waveform calibration function can be used to calibrate any input waveform, thereby reducing the fidelity of the waveform in the quantum circuit and reducing the computational cost of calibration.

[0078] According to an embodiment of the present invention, the phase accumulation data is fitted to obtain a target fitting function, including:

[0079] Performing multi-exponential fitting processing on the phase accumulation data to obtain multiple initial fitting functions, wherein the number of exponential terms of different initial fitting functions is different;

[0080] Based on preset screening rules, a target fitting function is determined from a plurality of initial fitting functions.

[0081] According to an embodiment of the present invention, see Figure 3 In the process of multi-exponential fitting of the phase accumulation data shown in , multiple initial fitting functions can be obtained. When the corresponding number of exponential terms is different, the fitting effect of the initial fitting function and the phase accumulation data is different. In order to ensure the best fitting effect, the target fitting function with the best fitting effect can be determined from the multiple initial fitting functions based on preset screening rules.

[0082] According to an embodiment of the present invention, based on a preset screening rule, determining a target fitting function from a plurality of initial fitting functions includes:

[0083] For each initial fitting function, a fitting error is generated according to the initial fitting function and the phase accumulation data;

[0084] A target fitting function is determined from a plurality of initial fitting functions according to a plurality of fitting errors.

[0085] According to an embodiment of the present invention, in order to ensure the best fitting effect, the fitting error of each obtained initial fitting function and the phase accumulation data can be calculated, so that the target fitting function with the best fitting effect can be determined from multiple initial fitting functions based on the fitting error.

[0086] According to an embodiment of the present invention, determining a target fitting function from a plurality of initial fitting functions according to a plurality of fitting errors includes:

[0087] The fitting error with the smallest error value among the multiple fitting errors is determined as the target fitting error;

[0088] determining an initial fitting function corresponding to the target fitting error as a target fitting function;

[0089] The waveform calibration method further includes:

[0090] When the target fitting error is greater than a preset error threshold, the phase accumulation data is refitted to obtain a new initial fitting function, so as to determine the target fitting function from the new initial fitting function.

[0091] According to an embodiment of the present invention, the preset error threshold may be specifically set according to actual needs, for example, may be 1% to 3%.

[0092] According to an embodiment of the present invention, after obtaining the fitting error of each initial fitting function, multiple fitting errors are sorted from large to small, and based on the sorting result, the initial fitting function with the smallest fitting error can be determined as the target fitting function.

[0093] According to an embodiment of the present invention, since the initial fitting function with the smallest fitting error is not necessarily the fitting function with the best fitting effect, a preset error threshold can be set for screening. If the error value of the smallest fitting error is greater than the preset error threshold, it means that the initial fitting function is not the fitting function with the best fitting effect. The phase accumulation data can be refitted until the fitting error of the new initial fitting function is less than the preset error threshold and the initial fitting function with the smallest fitting error among multiple initial fitting functions less than the preset error threshold is determined as the target fitting function.

[0094] According to an embodiment of the present invention, when the fitting error is less than a preset error threshold, the target fitting function may be determined from the initial fitting function with the least exponential term.

[0095] According to an embodiment of the present invention, the target fitting function is as shown in formula (1): (1)

[0096] in, is the phase accumulation value, N is the number of exponential terms, t is the preset scanning amount, , All are fitting coefficients.

[0097] In one embodiment, the fitting coefficient can also be expressed in a complex form. For example, when there is oscillation in the phase change over time, , Set it as a complex number, and then take the real part as a whole to fit the oscillation term. Of course, when calculating the corrected waveform at the end, the real part also needs to be taken (the actual waveform cannot be a complex number).

[0098] In one embodiment, referring to Figure 3 It can be seen that the fitting effect of the initial fitting function is the best when N=3, so it can be seen that N of the target fitting function can be 3.

[0099] It should be noted that the method disclosed in the present invention is not limited to the multi-exponential fitting processing method when performing fitting processing, and can also be the fitting of other functions.

[0100] According to an embodiment of the present invention, based on the target time difference, the phase accumulation data and the fitting coefficient are converted to obtain a target waveform calibration function, including:

[0101] Performing mathematical transformation on the phase accumulation data based on the target relationship coefficient to obtain a voltage-time function, wherein the voltage-time function represents the relationship between the total residual voltage and time, and the target relationship coefficient represents the relationship between the phase accumulation and the bias voltage;

[0102] The target waveform calibration function is generated according to the voltage-time function and the plurality of fitting coefficients.

[0103] According to the embodiment of the present invention, since the measured phase accumulation data is actually formed after the interference of the rising edge and the falling edge, the phase accumulation data also needs to be calculated based on the target time difference of the rising and falling edges in the target reference microwave signal and the relationship between the phase accumulation and the bias voltage (i.e., the target relationship coefficient ) to perform the corresponding mathematical conversion.

[0104] According to an embodiment of the present invention, based on the target fitting function of phase accumulation, the relationship between the total residual voltage and time (ie, the voltage-time function) is as shown in formula (2):

[0105] (2)

[0106] According to an embodiment of the present invention, the corresponding single falling edge residual voltage can be obtained from formula (2): The relationship over time is shown in formula (3):

[0107] (3)

[0108] Among them, k is the corresponding relationship between the phase accumulation and the bias voltage at the quantum bit working point, and the target time difference T is the waveform length of the square wave in the initial reference microwave signal during calibration.

[0109] According to an embodiment of the present invention, after determining formula (2) and formula (3), the fitting coefficient , Combined, the final target waveform calibration function for calibrating the waveform is generated.

[0110] According to an embodiment of the present invention, a target waveform calibration function is generated according to a voltage-time function and a plurality of fitting coefficients, including:

[0111] generating a plurality of exponential decay coefficients according to a target relationship coefficient, a plurality of fitting coefficients and a target time difference, wherein the voltage-time function includes the target relationship coefficient, and the target relationship coefficient represents a relationship between phase accumulation and a bias voltage;

[0112] Generate multiple calibration coefficients according to multiple exponential decay coefficients and sampling time intervals, wherein the sampling time interval represents a sampling interval between two adjacent sampling points in the target reference signal;

[0113] A target waveform calibration function is constructed based on a plurality of calibration coefficients.

[0114] According to an embodiment of the present invention, when generating formula (2) and formula (3), it is necessary to consider the corresponding relationship between the phase accumulation and the bias voltage at the quantum bit working point (V=0) (i.e., the target relationship coefficient k), and the calculation formula thereof is shown in formula (4):

[0115] (4)

[0116] in, For preset time, is the frequency variation of the target reference signal, is the bias voltage, is the sampling time interval.

[0117] According to an embodiment of the present invention, the target relationship coefficient k, the multiple fitting coefficients , Calculate the time difference T with the target to generate multiple exponential decay coefficients , , as shown in formula (5):

[0118] (5)

[0119] According to an embodiment of the present invention, when determining the exponential decay coefficient , Then, we can combine the sampling time interval , generating the calibration coefficients shown in formula (6) , :

[0120] (6)

[0121] The sampling time interval is It is determined based on the sampling rate of the device that generates the output waveform, that is, the sampling interval of the device used for the output waveform finally obtained by calibration.

[0122] In one embodiment, the sampling rate of the device generating the initial reference microwave signal is 1G, and the sampling interval is 1ns. However, when the waveform is subsequently calibrated, the sampling rate of the waveform output device used is 2G, and the sampling interval is 0.5ns. At this time, the sampling interval is 0.5ns.

[0123] According to an embodiment of the present invention, the calibration coefficient is calculated , Then, the target waveform calibration function can be constructed as shown in formula (7).

[0124] (7)

[0125] in, is the output waveform, is the input waveform.

[0126] According to an embodiment of the present invention, for any subsequent input waveform , use formula (7) to calculate the input waveform After processing, you can get a high-fidelity ideal output waveform .

[0127] For the typical value of the current Z control line residual voltage (exponential decay type), a good fitting effect can be achieved through a few exponential terms (usually 2 to 4), which greatly reduces the computational resource overhead of waveform calibration on the Z control line. With higher calibration accuracy, the computational complexity of the waveform generation stage is reduced by at least 3 orders of magnitude compared with the existing technology.

[0128] It should be noted that the waveform calibration method of the present invention can be used to process the control waveform distortion on the Z control line. The method of the present invention can not only significantly reduce the computing resource overhead of waveform calibration, but also simplify the calibration process and improve the calibration accuracy.

[0129] Figure 4 A schematic diagram showing waveform distortion of an original waveform after line transmission according to an embodiment of the present invention is shown. Figure 5 A waveform schematic diagram of a calibrated waveform after line transmission according to an embodiment of the present invention is shown.

[0130] According to an embodiment of the present invention, a signal with a control pulse time range of 10ns~10us is applied through a microwave transmission channel with a passband of 0~10GHz, causing a frequency change on a quantum bit or a quantum coupler. The transmission characteristics of this channel are calibrated by measuring the residual voltage after the pulse ends, the transmission characteristic parameters are obtained by multi-exponential fitting, and the input waveform is corrected according to the fitting parameters.

[0131] According to the embodiment of the present invention, in order to further illustrate the effect of the waveform calibration method of the present invention, firstly, the original waveform in the simulation experiment and the waveform distortion after line transmission are used, such as Figure 4 shown.

[0132] According to an embodiment of the present invention, the waveform is further calibrated using the waveform calibration method of the present invention and transmitted via the Z control line, see Figure 5 It can be seen that the waveform processed by the method of the present invention is almost the same as the ideal waveform, which shows that the method of the present invention can effectively improve the fidelity of the waveform.

[0133] Figure 6 A schematic diagram comparing different distortion calibration methods according to an embodiment of the present invention is shown.

[0134] According to the embodiment of the present invention, in order to clearly see the advantages and disadvantages between the method of the present invention and the calibration method of the existing convolution scheme, the present invention conducts a comparative experiment. The experimental results are as follows: Figure 6 As shown by Figure 6 It can be seen that compared with the prior art, the distortion amplitude after calibration of the method of the present invention is smaller than that of the prior art. Therefore, the waveform processed by the method of the present invention has excellent fidelity.

[0135] Figure 7 A block diagram of a waveform calibration device according to an embodiment of the present invention is shown.

[0136] like Figure 7 As shown, the waveform calibration device 700 based on quantum bits includes a generation module 710 , a measurement module 720 , a fitting module 730 , a conversion module 740 , and a processing module 750 .

[0137] A generating module 710, configured to generate a target reference signal based on the calibrated preset quantum bits and the initial reference microwave signal;

[0138] The measurement module 720 is used to perform phase measurement on the target reference signal based on a preset scanning amount to obtain phase accumulation data within a preset time;

[0139] A fitting module 730 is used to perform fitting processing on the phase accumulation data to obtain a target fitting function, wherein the target fitting function includes a plurality of fitting coefficients;

[0140] A conversion module 740 is used to convert the phase accumulation data and the fitting coefficient based on the target time difference to obtain a target waveform calibration function;

[0141] The processing module 750 is used to process the input waveform using the target waveform calibration function to obtain a calibrated output waveform.

[0142] According to an embodiment of the present invention, by using a target reference signal obtained based on a preset quantum bit to measure phase accumulation, performing multi-exponential fitting processing on the phase accumulation data to obtain a fitting coefficient, and then mathematically transforming the phase accumulation data based on the target relationship coefficient, and combining the fitting coefficient, a target waveform calibration function can be constructed. The target waveform calibration function can be used to calibrate any input waveform, thereby reducing the fidelity of the waveform in the quantum circuit and reducing the computational cost of calibration.

[0143] According to an embodiment of the present invention, the fitting module 730 includes a fitting submodule and a determination submodule.

[0144] A fitting submodule is used to perform multi-exponential fitting processing on the phase accumulation data to obtain multiple initial fitting functions, wherein the number of exponential terms of different initial fitting functions is different;

[0145] The determination submodule is used to determine a target fitting function from a plurality of initial fitting functions based on a preset screening rule.

[0146] According to an embodiment of the present invention, the determination submodule includes a first generating unit and a determining unit.

[0147] A first generating unit is used to generate a fitting error for each initial fitting function according to the initial fitting function and the phase accumulation data;

[0148] The determination unit is used to determine a target fitting function from a plurality of initial fitting functions according to a plurality of fitting errors.

[0149] According to an embodiment of the present invention, the determining unit includes a first determining subunit, a second determining subunit, and an iterating subunit.

[0150] A first determining subunit is used to determine a fitting error with the smallest error value among the multiple fitting errors as a target fitting error;

[0151] A second determining subunit is used to determine an initial fitting function corresponding to a target fitting error as a target fitting function;

[0152] The iterative subunit is used to re-fit the phase accumulation data when the target fitting error is greater than a preset error threshold to obtain a new initial fitting function, so as to determine the target fitting function from the new initial fitting function.

[0153] According to an embodiment of the present invention, the conversion module 740 includes an obtaining unit and a second generating unit.

[0154] An obtaining unit is used to perform mathematical conversion on the phase accumulation data based on the target relationship coefficient to obtain a voltage-time function, wherein the voltage-time function represents the relationship between the total residual voltage and time, and the target relationship coefficient represents the relationship between the phase accumulation and the bias voltage;

[0155] The second generating unit is used to generate a target waveform calibration function according to the voltage-time function and a plurality of fitting coefficients.

[0156] According to an embodiment of the present invention, the second generation unit includes a first generation subunit, a second generation subunit, and a construction subunit.

[0157] A first generating subunit, configured to generate a plurality of exponential decay coefficients according to a target relationship coefficient, a plurality of fitting coefficients and a target time difference, wherein the voltage-time function includes the target relationship coefficient, and the target time difference represents a time difference between a rising edge and a falling edge in the target reference signal;

[0158] A second generating subunit is used to generate a plurality of calibration coefficients according to a plurality of exponential decay coefficients and a sampling time interval, wherein the sampling time interval represents a sampling interval between two adjacent sampling points in a target reference signal;

[0159] A construction subunit is used to construct a target waveform calibration function based on a plurality of calibration coefficients.

[0160] According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits, or at least part of the functions of any one of them can be implemented in one module. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be split into multiple modules for implementation. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be at least partially implemented as hardware circuits, such as field programmable gate arrays (Field Programmable Gate Array, FPGA), programmable logic arrays (Programmable Logic Arrays, PLA), systems on chips, systems on substrates, systems on packages, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), or can be implemented by hardware or firmware in any other reasonable way of integrating or packaging the circuit, or by any one of the three implementation methods of software, hardware, and firmware, or by a proper combination of any of them. Alternatively, according to the embodiments of the present invention, one or more of the modules, submodules, units, and subunits can be at least partially implemented as computer program modules, and when the computer program module is run, the corresponding functions can be performed.

[0161] For example, any multiple of the generation module 710, the measurement module 720, the fitting module 730, the conversion module 740, and the processing module 750 can be combined in one module / unit / sub-unit for implementation, or any one of the modules / units / sub-units can be split into multiple modules / units / sub-units. Alternatively, at least part of the functions of one or more of these modules / units / sub-units can be combined with at least part of the functions of other modules / units / sub-units and implemented in one module / unit / sub-unit. According to an embodiment of the present invention, at least one of the generation module 710, the measurement module 720, the fitting module 730, the conversion module 740, and the processing module 750 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 by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware, and firmware or in a suitable combination of any of them. Alternatively, at least one of the generation module 710 , the measurement module 720 , the fitting module 730 , the conversion module 740 , and the processing module 750 may be at least partially implemented as a computer program module, and when the computer program module is executed, a corresponding function may be performed.

[0162] It should be noted that the waveform calibration device part in the embodiment of the present invention corresponds to the waveform calibration method part in the embodiment of the present invention. The description of the waveform calibration device part specifically refers to the waveform calibration method part, which will not be repeated here.

[0163] Figure 8 A block diagram of an electronic device suitable for implementing the method described above according to an embodiment of the present invention is shown. Figure 8 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0164] like Figure 8 As shown, the electronic device 800 according to an embodiment of the present invention includes a processor 801, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 802 or the program loaded from the storage part 808 to the random access memory (RAM) 803. The processor 801 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), etc. The processor 801 may also include an onboard memory for caching purposes. The processor 801 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present invention.

[0165] In RAM 803, various programs and data required for the operation of electronic device 800 are stored. Processor 801, ROM 802 and RAM 803 are connected to each other via bus 804. Processor 801 performs various operations of the method flow according to the embodiment of the present invention by executing the programs in ROM 802 and / or RAM 803. It should be noted that the program can also be stored in one or more memories other than ROM 802 and RAM 803. Processor 801 can also perform various operations of the method flow according to the embodiment of the present invention by executing the programs stored in the one or more memories.

[0166] According to an embodiment of the present invention, the electronic device 800 may further include an input / output (I / O) interface 805, which is also connected to the bus 804. The system 800 may also include one or more of the following components connected to the I / O interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN card, a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I / O interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 810 as needed, so that the computer program read therefrom is installed into the storage section 808 as needed.

[0167] According to an embodiment of the present invention, the method flow according to an embodiment of the present invention can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 809, and / or installed from the removable medium 811. When the computer program is executed by the processor 801, the above-mentioned functions defined in the system of the embodiment of the present invention are executed. According to an embodiment of the present invention, the system, equipment, device, module, unit, etc. described above can be implemented by a computer program module.

[0168] The present invention also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiment; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present invention is implemented.

[0169] According to an embodiment of the present invention, the computer-readable storage medium may be a non-volatile computer-readable storage medium. For example, it may include, but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM (Erasable Programmable Read Only Memory, EPROM) or flash memory), a portable compact disk read-only memory (Computer Disc Read-Only Memory, CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present invention, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus or device.

[0170] For example, according to an embodiment of the present invention, the computer-readable storage medium may include the ROM 802 and / or the RAM 803 described above and / or one or more memories other than the ROM 802 and the RAM 803 .

[0171] An embodiment of the present invention also includes a computer program product, which includes a computer program, which contains program code for executing the method provided by the embodiment of the present invention. When the computer program product runs on an electronic device, the program code is used to enable the electronic device to implement the waveform calibration method provided by the embodiment of the present invention.

[0172] When the computer program is executed by the processor 801, the above functions defined in the system / device of the embodiment of the present invention are executed. According to the embodiment of the present invention, the system, device, module, unit, etc. described above can be implemented by a computer program module.

[0173] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 809, and / or installed from a removable medium 811. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0174] According to an embodiment of the present invention, the program code for executing the computer program provided by the embodiment of the present invention can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages ​​include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).

[0175] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram may represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box may also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions. It can be understood by those skilled in the art that the features recorded in the various embodiments and / or claims of the present invention can be combined and / or combined in various ways, even if such a combination or combination is not explicitly recorded in the present invention. In particular, without departing from the spirit and teaching of the present invention, the features described in the various embodiments and / or claims of the present invention may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present invention.

[0176] The embodiments of the present invention are described above. However, these embodiments are only for the purpose of illustration, and are not intended to limit the scope of the present invention. Although each embodiment is described above, it does not mean that the measures in each embodiment cannot be used in combination. The scope of the present invention is defined by the attached claims and their equivalents. Without departing from the scope of the present invention, those skilled in the art may make various substitutions and modifications, which should all fall within the scope of the present invention.

Claims

1. A waveform calibration method based on quantum bits, characterized in that: include: Generate a target reference signal based on the calibrated preset quantum bit and the initial reference microwave signal; Performing phase measurement on the target reference signal based on a preset scanning amount to obtain phase accumulation data within a preset time; Performing fitting processing on the phase accumulation data to obtain a target fitting function, wherein the target fitting function includes a plurality of fitting coefficients; Based on the target relationship coefficient, the phase accumulation data and the fitting coefficient are converted to obtain a target waveform calibration function; Processing an input waveform using the target waveform calibration function to obtain a calibrated output waveform; Wherein, based on the target relationship coefficient, the phase accumulation data and the fitting coefficient are converted to obtain a target waveform calibration function, including: Performing mathematical transformation on the phase accumulation data based on the target relationship coefficient to obtain a voltage-time function, wherein the voltage-time function represents the relationship between the total residual voltage and time, and the target relationship coefficient represents the relationship between the phase accumulation and the bias voltage; generating the target waveform calibration function according to the voltage-time function and the plurality of fitting coefficients; Wherein, generating the target waveform calibration function according to the voltage-time function and the plurality of fitting coefficients comprises: generating a plurality of exponential decay coefficients according to the target relationship coefficient, the plurality of fitting coefficients and a target time difference, wherein the voltage-time function includes the target relationship coefficient, and the target time difference represents a time difference between a rising edge and a falling edge in the target reference signal; generating a plurality of calibration coefficients according to the plurality of exponential decay coefficients and sampling time intervals, wherein the sampling time interval is determined according to a sampling rate of a device generating the output waveform; The target waveform calibration function is constructed based on a plurality of the calibration coefficients.

2. The method according to claim 1, characterized in that: Performing fitting processing on the phase accumulation data to obtain a target fitting function includes: Performing multi-exponential fitting processing on the phase accumulation data to obtain multiple initial fitting functions, wherein the number of exponential terms of different initial fitting functions is different; Based on a preset screening rule, the target fitting function is determined from a plurality of the initial fitting functions.

3. The method according to claim 2, characterized in that Determining the target fitting function from the plurality of initial fitting functions based on a preset screening rule includes: For each of the initial fitting functions, generating a fitting error according to the initial fitting function and the phase accumulation data; The target fitting function is determined from a plurality of the initial fitting functions according to a plurality of the fitting errors.

4. The method according to claim 3, characterized in that Determining the target fitting function from the plurality of initial fitting functions according to the plurality of fitting errors comprises: Determine a fitting error with the smallest error value among the plurality of fitting errors as a target fitting error; Determining an initial fitting function corresponding to the target fitting error as the target fitting function; Wherein, the waveform calibration method further includes: When the target fitting error is greater than a preset error threshold, the phase accumulation data is refitted to obtain a new initial fitting function, so as to determine the target fitting function from the new initial fitting function.

5. The method according to any one of claims 1 to 4, characterized in that The target fitting function is shown in formula (1): (1) in, is the phase accumulation value, N is the number of exponential terms, t is the preset scanning amount, , All are fitting coefficients.

6. The method according to claim 1, characterized in that The voltage-time function is shown in formula (2), the target relationship coefficient k is shown in formula (3), and the exponential decay coefficient , As shown in formula (4), the calibration coefficient , As shown in formula (5): (2) (3) (4) (5) in, is the total residual voltage, t is the preset scanning amount, , are all fitting coefficients, N is the number of exponential terms, For preset time, is the frequency variation of the target reference signal, is the bias voltage, is the sampling time interval, and T is the target time difference.

7. The method according to claim 1, characterized in that The target waveform calibration function is shown in formula (6): (6) in, is the output waveform, is the input waveform, is the sampling time interval, , is the calibration coefficient and N is the number of exponential terms.

8. A waveform calibration device based on quantum bits, characterized in that: include: A generation module, used to generate a target reference signal based on a calibrated preset quantum bit and an initial reference microwave signal; A measurement module, used to perform phase measurement on the target reference signal based on a preset scanning amount to obtain phase accumulation data within a preset time; A fitting module, used for performing fitting processing on the phase accumulation data to obtain a target fitting function, wherein the target fitting function includes a plurality of fitting coefficients; A conversion module, used for converting the phase accumulation data and the fitting coefficient based on the target relationship coefficient to obtain a target waveform calibration function; A processing module, configured to process an input waveform using the target waveform calibration function to obtain a calibrated output waveform; The conversion module includes: An obtaining unit is used to perform mathematical conversion on the phase accumulation data based on the target relationship coefficient to obtain a voltage-time function, wherein the voltage-time function represents the relationship between the total residual voltage and time, and the target relationship coefficient represents the relationship between the phase accumulation and the bias voltage; A second generating unit, used for generating a target waveform calibration function according to the voltage-time function and a plurality of fitting coefficients; Wherein, the second generation unit includes: A first generating subunit, configured to generate a plurality of exponential decay coefficients according to a target relationship coefficient, a plurality of fitting coefficients and a target time difference, wherein the voltage-time function includes the target relationship coefficient, and the target time difference represents a time difference between a rising edge and a falling edge in the target reference signal; A second generating subunit is used to generate a plurality of calibration coefficients according to a plurality of exponential decay coefficients and a sampling time interval, wherein the sampling time interval represents a sampling interval between two adjacent sampling points in a target reference signal; A construction subunit is used to construct a target waveform calibration function based on a plurality of calibration coefficients.

Citation Information

Patent Citations

  • Digital waveform adjustment method for quantum bit control

    CN105912070A

  • Automatic processing system and method for superconducting quantum chip calibration

    CN116070706A

  • Waveform calibration method and device of quantum bits and quantum computer control system

    CN116415668A

  • Waveform optimization method and system and computer equipment

    CN116629369A

  • Total harmonic distortion reduction method based on quantum subwolf optimization algorithm

    CN117650530A