Pulse-based quantum bit operation method and device, electronic device and medium
By optimizing the automated selection of pulse parameters, the problem of difficult pulse parameter selection in quantum computer characterization and calibration is solved, efficiency and accuracy are improved, and the industrial application of quantum computers is promoted.
Patent Information
- Application Number
- CN202310333885.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-30
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2043-03-30
AI Technical Summary
During the automated characterization and calibration process of quantum computers, it is difficult to select appropriate pulse parameters, resulting in low efficiency and accuracy, and manual assistance requires a lot of experiments and adjustments.
By determining multiple sets of data, including pulse amplitude and duration values, based on these data, determine the change curve of the probability of the qubit in the first state with the pulse driving frequency, optimize the qubit frequency value and pulse driving coefficient value, and automatically scan the pulse parameters to improve characterization and calibration efficiency and accuracy.
It achieves automated selection of pulse parameters, improves the efficiency and accuracy of qubit characterization and calibration, reduces the need for manual adjustments, and simplifies the industrial application of quantum computers.
Smart Images

Figure CN116484964B
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computers, in particular to the field of quantum computer technology, and specifically to a pulse-based quantum bit operation method, device, electronic device, computer-readable storage medium, and computer program product. Background Art
[0002] Quantum computers have powerful information processing capabilities. Currently, scientists have experimentally proved that the computing efficiency of quantum computers on specific problems far exceeds that of classical supercomputers, that is, they have quantum advantages. The main difficulties facing the current quantum computing industry are to develop practical quantum computers and demonstrate applications with industrial value. However, developing practical quantum computers is a complex and arduous project. In order to push quantum computers into actual industrial applications, a large number of technical problems need to be solved, one of which is the problem of automated characterization and calibration of quantum computers. Summary of the invention
[0003] The present disclosure provides a pulse-based quantum bit operation method, apparatus, electronic device, computer-readable storage medium, and computer program product.
[0004] According to one aspect of the present disclosure, a pulse-based quantum bit operation method is provided, comprising: determining multiple sets of data, each set of data comprising a pair of pulse amplitude values and pulse duration values; determining, based on the multiple sets of data, respectively, a curve of the probability of the quantum bit being in the first state as a function of the pulse driving frequency, so as to determine the quantum bit frequency values corresponding to each of the multiple sets of data, wherein the probability is determined based on the pulse amplitude, the pulse duration, the pulse driving frequency, the quantum bit frequency, and the pulse driving coefficient; determining an optimal quantum bit frequency value to use the optimal quantum bit frequency value as a first quantum bit frequency value, and setting the pulse driving frequency value to be equal to the optimal quantum bit frequency value; determining, based on each of the pulse driving frequency value and one or more preset first pulse duration values, , fitting the probability of the quantum bit being in the first state as it changes with the pulse amplitude to determine a first pulse duration value and a corresponding first pulse amplitude value with the best fitting effect; determining a pulse driving coefficient value based on the optimal first pulse duration value and the corresponding first pulse amplitude value; and based on the pulse driving coefficient value and the first quantum bit frequency value, scanning at least one parameter among the pulse amplitude, the pulse duration and the driving frequency within a preset corresponding first value range, and determining the values of other parameters among the pulse amplitude, the pulse duration and the driving frequency except the at least one parameter, so as to determine the value of each parameter of the at least one parameter based on the change curve of the probability as the at least one parameter changes.
[0005] According to another aspect of the present disclosure, a pulse-based quantum bit operation device is provided, comprising: a first determination unit, configured to determine a plurality of sets of data, each set of data comprising a pair of pulse amplitude values and pulse duration values; a second determination unit, configured to determine, based on the plurality of sets of data, respectively, a curve of a probability of the quantum bit being in a first state as a function of a pulse driving frequency, so as to determine the quantum bit frequency values corresponding to each of the plurality of sets of data, wherein the probability is determined based on the pulse amplitude, the pulse duration, the pulse driving frequency, the quantum bit frequency, and the pulse driving coefficient; a third determination unit, configured to determine an optimal quantum bit frequency value so as to use the optimal quantum bit frequency value as a first quantum bit frequency value, and to set the pulse driving frequency value to be equal to the optimal quantum bit frequency value; a first fitting unit, configured to fit the quantum bit frequency value according to the pulse driving frequency value and one or more preset first pulses. For each of the pulse duration values, the probability of the quantum bit being in the first state changes with the pulse amplitude to fit, so as to determine the first pulse duration value and the corresponding first pulse amplitude value with the best fitting effect; a fourth determining unit is configured to determine the pulse driving coefficient value based on the optimal first pulse duration value and the corresponding first pulse amplitude value; and a first scanning unit is configured to scan at least one parameter of the pulse amplitude, the pulse duration and the driving frequency within a preset corresponding first value range based on the pulse driving coefficient value and the first quantum bit frequency value, and determine the values of other parameters of the pulse amplitude, the pulse duration and the driving frequency except the at least one parameter, so as to determine the value of each parameter of the at least one parameter based on the change curve of the probability with the at least one parameter.
[0006] 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; the memory stores instructions executable 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 execute the method described in the present disclosure.
[0007] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided. The computer instructions are used to cause a computer to execute the method described in the present disclosure.
[0008] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, which implements the method described in the present disclosure when executed by a processor.
[0009] According to one or more embodiments of the present disclosure, it is not necessary to scan every pulse parameter over a full range, and the pulse parameters can be automatically selected, thereby improving the efficiency and accuracy of quantum bit characterization and calibration.
[0010] 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
[0011] 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.
[0012] Figure 1 A flow chart of a pulse-based quantum bit operation method according to an embodiment of the present disclosure is shown;
[0013] Figure 2 A flow chart for further determining pulse parameter values according to an embodiment of the present disclosure is shown;
[0014] Figure 3 A schematic diagram of determining line width according to an embodiment of the present disclosure is shown;
[0015] Figure 4 A schematic diagram showing the results of a two-dimensional scanning experiment in step 240 according to an embodiment of the present disclosure;
[0016] Figure 5 A schematic diagram of fitting results based on a theoretical model according to an embodiment of the present disclosure is shown;
[0017] Fig. 6A and 6B Schematic diagrams showing experimental results of scanning pulse duration and driving frequency according to an embodiment of the present disclosure;
[0018] Fig. 7A and 7B A schematic diagram showing experimental results of scanning pulse amplitude and pulse duration according to an embodiment of the present disclosure;
[0019] Figure 8 A structural block diagram of a pulse-based quantum bit operation device according to an embodiment of the present disclosure is shown; and
[0020] Fig. 9 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
[0021] 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.
[0022] 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.
[0023] 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.
[0024] The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
[0025] So far, all the different types of computers in use are based on classical physics as the theoretical basis for information processing, and are called traditional computers or classical computers. Classical information systems use binary data bits, which are the easiest to implement physically, to store data or programs. Each binary data bit is represented by 0 or 1, called a bit or bit, as the smallest unit of information. Classical computers themselves have inevitable weaknesses: one is the most basic limitation of energy consumption in the computing process. The minimum energy required for logic elements or storage units should be several times more than kT to avoid misoperation due to thermal expansion and fall; the second is information entropy and heat energy consumption; the third is that when the wiring density of computer chips is very high, according to the Heisenberg uncertainty relation, when the uncertainty of the electron position is very small, the uncertainty of the momentum will be very large. Electrons are no longer bound, and there will be quantum interference effects, which may even destroy the performance of the chip.
[0026] A quantum computer is a type of physical device that follows the properties and laws of quantum mechanics to perform high-speed mathematical and logical operations, store and process quantum information. When a device processes and calculates quantum information and runs quantum algorithms, it is a quantum computer. Quantum computers follow the unique laws of quantum dynamics (especially quantum interference) to achieve a new mode of information processing. For parallel processing of computational problems, quantum computers have an absolute advantage in speed over classical computers. The transformation of each superposition component by a quantum computer is equivalent to a classical calculation. All these classical calculations are completed at the same time and superimposed according to a certain probability amplitude to give the output result of the quantum computer. This calculation is called quantum parallel computing. Quantum parallel processing greatly improves the efficiency of quantum computers, allowing them to complete tasks that classical computers cannot complete, such as factoring a large natural number. Quantum coherence is essentially used in all quantum ultra-fast algorithms. Therefore, quantum parallel computing, which replaces classical states with quantum states, can achieve computing speeds and information processing functions that are incomparable to classical computers, while saving a lot of computing resources.
[0027] Quantum computers use qubits as the most basic information processing unit. When performing specific computing tasks, quantum algorithms are usually written in quantum circuits. Quantum circuits are composed of quantum operations such as quantum logic gates and quantum measurements. These quantum operations manipulate the state of qubits to complete specific computing tasks. An essential step before the actual use of quantum devices is characterization and calibration. Characterization is to obtain the basic information of quantum devices through specific technical means. Only after having this basic information can quantum operations be realized. Calibration is to obtain accurate control parameters through specific technologies, so that high-fidelity quantum operations can be performed on qubits. Some researchers also classify characterization and calibration as device calibration. Quantum devices can only be used after they are characterized and calibrated. Since qubits are the basic information units of quantum computers, accurate characterization and calibration of qubits are crucial.
[0028] For example, in a superconducting quantum computer, in order to make the superconducting quantum computer work properly, it is necessary to characterize the superconducting quantum computer, obtain basic information such as the frequency of the quantum bit, and then calibrate the pulse parameters of various quantum operations to achieve precise control of the quantum bit. When the number of quantum bits is not high, people can manually characterize and calibrate the quantum device. As the scale of quantum computers continues to expand, fully automated characterization and calibration has gradually become the mainstream method.
[0029] In the physical route of quantum computing, technical routes such as superconducting quantum computing require the use of pulses to implement quantum operations. When a brand new quantum device is obtained, usually little information is known about the device. In order to characterize it, it is necessary to use pulses to manipulate the quantum bits to obtain relevant information. However, in the case of insufficient initial information, it is difficult to know how to select a set of pulse parameters to complete the corresponding quantum operation. In order to break this contradiction, artificial experience is usually required to assist. For example, in order to achieve the excitation of quantum bits, it is necessary to implement quantum logic gates such as X gates. At this time, a set of empirical parameters are generally selected manually. After obtaining the results, it is judged successful based on artificial experience, or the parameters are adjusted to re-experiment until the goal is finally achieved. In the process of quantum device characterization and calibration, there are a large number of experiments that require the selection of different pulse parameters, and the number of pulse parameters is large. Inappropriate pulse parameters will lead to the failure of automated characterization and calibration.
[0030] Therefore, according to an embodiment of the present disclosure, a pulse-based quantum bit operation method is provided. Figure 1 A flow chart of a pulse-based quantum bit operation method according to an embodiment of the present disclosure is shown, as shown in Figure 1 As shown, method 100 includes: determining multiple sets of data, each set of data includes a pair of pulse amplitude values and pulse duration values (step 110); determining, based on the multiple sets of data, respectively, the probability curve of the quantum bit being in the first state as a function of the pulse driving frequency, so as to determine the quantum bit frequency values corresponding to each of the multiple sets of data, wherein the probability is determined based on the pulse amplitude, the pulse duration, the pulse driving frequency, the quantum bit frequency, and the pulse driving coefficient (step 120); determining the optimal quantum bit frequency value to use the optimal quantum bit frequency value as the first quantum bit frequency value, and setting the pulse driving frequency value to be equal to the optimal quantum bit frequency value (step 130); determining the probability curve of the quantum bit being in the first state as a function of the pulse driving frequency based on the multiple sets of data, wherein the probability is determined based on the pulse amplitude, the pulse duration, the pulse driving frequency, the quantum bit frequency, and the pulse driving coefficient (step 120); determining the optimal quantum bit frequency value to use the optimal quantum bit frequency value as the first quantum bit frequency value, and setting the pulse driving frequency value to be equal to the optimal quantum bit frequency value (step 130); determining the probability curve of the quantum bit being in the first state based on the pulse driving frequency value and each of the preset one or more first pulse duration values; The probability of the first state is fitted with the change of the pulse amplitude to determine the first pulse duration value and the corresponding first pulse amplitude value with the best fitting effect (step 140); based on the optimal first pulse duration value and the corresponding first pulse amplitude value, the pulse driving coefficient value is determined (step 150); and based on the pulse driving coefficient value and the first quantum bit frequency value, at least one parameter among the pulse amplitude, the pulse duration and the driving frequency is scanned within a preset corresponding first value range, and the values of other parameters among the pulse amplitude, the pulse duration and the driving frequency except the at least one parameter are determined, so as to determine the value of each parameter of the at least one parameter based on the change curve of the probability with the at least one parameter (step 160).
[0031] According to the embodiments of the present disclosure, it is not necessary to perform a full-range scan on each pulse parameter, and the pulse parameters can be automatically selected, thereby improving the efficiency and accuracy of quantum bit characterization and calibration.
[0032] In superconducting quantum computing, there are two main scenarios for the use of pulses. One is the pulse applied to the read resonant cavity, called the read pulse, and the other is the pulse applied to the quantum bit, which is used to excite the quantum bit. For the read resonant cavity, the information that needs to be characterized is the frequency of the read resonant cavity. As for the amplitude and duration of the pulse used, it is relatively simple to optimize the optimal pulse parameters during the readout calibration. For the quantum bit, the information that needs to be characterized and calibrated includes the quantum bit frequency, the amplitude and duration of the Pi pulse, the curve between the Z line voltage and the quantum bit frequency, the coupling strength of the XY line, and so on. For example, the curve between the Z line voltage and the quantum bit frequency means that changing the Z line voltage can be used to change the quantum bit frequency, and the information that needs to be obtained is the true frequency of the quantum bit when the Z line voltage of the quantum bit is set. For each voltage value point, the corresponding quantum bit frequency needs to be obtained and made into a lookup table for use.
[0033] In superconducting quantum computing, the quantum bit is initially in After applying a pulse with certain parameters, the quantum bit is excited to state, and the quantum bit is in The probability of the state is A special pulse, the Pi pulse, is a pulse that fully excites the quantum bit to The pulse of the state, even if It is understandable that the Pi pulse parameters here are not unique. Different pulse parameters need to be used in different scenarios. Pulses with these parameters can meet For example, the basic parameters of a pulse may include amplitude, start time, center position, duration, and so on.
[0034] Rabi oscillation refers to the situation where the parameters of the sweep pulse, such as amplitude, or duration , it can be observed that the quantum bit is in The probability of the state The periodic oscillation between 0 and 1 is called Rabi oscillation. With Rabi oscillation, Pi pulses are naturally obtained. In the characterization and calibration of quantum bits, before the calibration is read out, what is actually obtained is the change in IQ value, not the direct probability. But IQ represents The size of can be unified by probability To represent, its function is equivalent to IQ value.
[0035] Therefore, according to some embodiments, the first state is state, and the probability Determined according to the following formula:
[0036]
[0037] in, ,in is the driving coefficient (which is a constant), is the pulse amplitude, ,in is the driving frequency, is the qubit frequency, is a time determined based on the pulse duration. For example, when there is no time delay in the pulse device, ,in is the pulse duration.
[0038] The square wave pulse is a square wave amplitude modulation of a sine wave of a certain frequency. The frequency of this sine wave is recorded as the driving frequency. Roughly speaking, the qubit will be excited only when the driving frequency is close to the qubit frequency. For square wave pulses, we only need to pay attention to the amplitude and duration. But for other pulses, such as Gaussian pulses, we also need to pay attention to the center position of the pulse, the standard deviation of the pulse, etc.
[0039] Since the pulse duration used in quantum computing is much longer than the quantum bit period, it can be considered that the integrated area of the pulse from the start time to the end time affects the quantum bit excitation probability. Although the parameters of different types of pulses are different, for other types of pulses, as long as the integrated area is consistent, it can be equivalent to the corresponding square wave pulse. Therefore, in some examples, after determining the corresponding pulse parameters according to the embodiments of the present disclosure, it can be converted into corresponding other types of pulses.
[0040] Therefore, in the present disclosure, for the convenience of description, only square wave pulses can be considered, and further only the amplitude and duration of the pulses can be considered. Furthermore, the pulse amplitude can be normalized to a real number between 0 and 1, which is recorded as ; The pulse duration is recorded as .
[0041] According to some embodiments, the probability that the quantum bit is in the first state is further determined based on the pulse delay time. Therefore, determining multiple sets of data may also include: determining a preset pulse delay time value.
[0042] In actual operation, due to the influence of pulse device sensitivity and pulse start time calibration, the device used to emit pulses may have a certain time delay. Therefore, in this embodiment, during the characterization and calibration of quantum bits, the influence of pulse delay time can be further considered, thereby improving the accuracy of quantum bit characterization and calibration.
[0043] In some examples, the pulse delay time value may be predetermined based on a corresponding pulse device, such as 0.1 s or 0 s.
[0044] Furthermore, in the first state In the embodiment of the state, the time . It is a constant, indicating the pulse delay time value, which is usually 0. If the start time is not calibrated well, there will be a delay value. The graph of the pulse parameters is called the Rabi chevron pattern.
[0045] According to some embodiments, among the multiple groups of data, there are at least two groups of data whose ratio of first data is an irrational number, wherein the first data is the product of a pulse amplitude value and a pulse duration value in the same group of data.
[0046] Note that the qubit frequency and the drive coefficient are non-adjustable parameters, and their values are constants. When the drive frequency value is equal to the qubit frequency value, the probability that the qubit is in the first state is determined by the pulse amplitude and pulse duration, and the other values are constants. In an embodiment of the state (when considering the pulse delay time, the pulse delay time value can be a preset constant, such as 0), there is a When is a positive integer, the probability In order to avoid the probability is 0. Among the determined multiple groups of data, there may be at least two groups of data where the ratio of the first data is an irrational number, and the first data is the product of the pulse amplitude value and the pulse duration value in the same group of data.
[0047] Specifically, multiple sets of pulse amplitude values and pulse duration values may be set, for example etc., and at least two sets of pulse parameters , the ratio of the values is an irrational number. For example, = irrational number. Thus, when Even if a certain set of pulse parameters , another set of pulse parameters must satisfy That is, there is at least one set of pulse parameters under which the observation probability With the driving frequency The change curve has a signal.
[0048] After determining multiple sets of pulse amplitude values and pulse duration values, the probability curve of the quantum bit being in the first state as a function of the pulse driving frequency can be determined. Specifically, the observed probability With the driving frequency The frequency of the quantum bit can be roughly obtained by fitting the curve or taking the middle position of the signal according to the symmetry. The fitting of the probability of the quantum bit being in the first state as a function of the pulse driving frequency can be easily achieved and will not be described in detail here.
[0049] In step 130, an optimal quantum bit frequency value is determined to be used as a first quantum bit frequency value, and a pulse driving frequency value is set to be equal to the optimal quantum bit frequency value; and in step 140, according to the pulse driving frequency value and each of the preset one or more first pulse duration values, the probability of the quantum bit being in the first state is fitted with the change of the pulse amplitude to determine the first pulse duration value with the best fitting effect and the corresponding first pulse amplitude value .
[0050] Specifically, the driving frequency is set so that , arbitrarily select one or more pulse duration values, such as 100ns, 200ns. Scan the pulse amplitude in the full range from 0 to 1 (when considering the pulse delay time, the pulse delay time value can be a preset constant, such as 0), fit the Rabi oscillation curve to obtain the pulse amplitude value corresponding to the Pi pulse at each pulse duration value, so as to determine the pulse duration value and pulse amplitude value with the best fitting effect, as the first pulse duration value and the first pulse amplitude value .
[0051] In some examples, the first pulse duration value with the best fitting effect is not necessarily the selected pulse duration value, because it is possible that a complete Rabi oscillation cycle cannot be scanned, and in this case, the pulse duration needs to be obtained based on theoretical calculations.
[0052] After obtaining the above Pi pulse parameters, the driving coefficient can be calculated , as the pulse drive coefficient value. At this point, a set of pulse drive coefficient values and quantum bit frequency values have been obtained (i.e., step 130). When considering the pulse delay time, the pulse delay time value can be a preset constant, such as 0. At this point, a scanning experiment can be performed based on this set of values to determine a set of adjustable pulse parameter values, including its amplitude, by observing the quantum bit spectrum line. , Duration and drive frequency .
[0053] In some embodiments, when determining the value of each parameter of the at least one parameter based on the probability curve along the at least one parameter (i.e., step 160), a forward prediction may be performed first. , Duration and drive frequency , we can get the probability of the quantum bit being excited in a certain state, such as The probability of excitation of a quantum bit can be predicted for any pulse. This can also be used to predict the results of a scanning experiment, i.e. as a look-up table.
[0054] In some examples, fixed pulse amplitude, sweep pulse duration, and drive frequency The experimental results of these two dimensions can predict the fixed drive frequency and the scanning pulse amplitude. and pulse duration Experimental results in these two dimensions. These experiments are also often used in the characterization and calibration of quantum devices. After obtaining the corresponding scanning results, the appropriate pulse parameters can be automatically provided in the scanning results according to user needs.
[0055] For example, the user wants the scanning pulse drive frequency to be If the qubit spectrum obtained when scanning has only one peak and the line width of the peak is a certain set value, the pulse amplitude and duration parameters that meet the conditions can be given according to the scanning results, which is very useful in characterizing the curve between the Z line voltage and the qubit frequency. Alternatively, if the user hopes to see a specific number of Rabi oscillation cycles when scanning the pulse amplitude or pulse duration from zero, the pulse parameters that meet the conditions can be given according to the scanning results, which is very useful in the subsequent precise characterization and calibration of Pi pulses.
[0056] According to some embodiments, Figure 2As shown, before scanning at least one parameter among the pulse amplitude, the pulse duration and the driving frequency within a preset corresponding first value range, it also includes method 200: determining a second pulse duration value and a second pulse amplitude value based on the driving coefficient value and a preset number of Rabi oscillation cycles (step 210); fitting the probability of the qubit being in the first state as a function of the driving frequency based on the second pulse duration value, the second pulse amplitude value and the driving coefficient value to determine the line width of the qubit spectrum line (step 220); determining a second scanning range corresponding to the qubit frequency based on the line width, and determining a third scanning range corresponding to the pulse amplitude based on the second pulse amplitude value (step 230); and fitting the probability of the qubit being in the first state as a function of the qubit frequency and the pulse amplitude based on the second pulse duration value, and based on scanning the second scanning range and the third scanning range respectively, to re-determine the pulse driving coefficient value and the first qubit frequency value based on the fitting result (step 240).
[0057] In some examples, the pulse drive coefficient value and the qubit frequency value determined based on the fitting result can be used as the new pulse drive coefficient value and the first qubit frequency value. Thus, based on the new pulse drive coefficient value and the first qubit frequency value, at least one parameter among the pulse amplitude, the pulse duration and the driving frequency is scanned within the preset corresponding first value range, and the values of other parameters except at least one parameter among the pulse amplitude, the pulse duration and the driving frequency are determined, so as to determine the value of each parameter of the at least one parameter based on the change curve of the probability with the at least one parameter, that is, the step 160 is performed based on the new pulse drive coefficient value and the first qubit frequency value.
[0058] In this embodiment, the preset number of Rabi oscillation cycles is is a constant, usually greater than 1, for example, 2.5, 3, 4, etc. Based on the calculated drive coefficient value And the preset number of Rabi oscillation cycles , the second pulse duration value can be determined and the second pulse amplitude value ,satisfy Based on the above parameters, we can get the probability With drive frequency The change curve of the quantum bit spectrum is calculated to obtain the line width .
[0059] According to some embodiments, the line width of the quantum bit spectrum line is determined according to the following operations: determining the half-height line based on half of the peak-to-peak value of the quantum bit spectrum line; and determining the maximum distance between two intersection points of the quantum bit spectrum line based on the intersection points of the quantum bit spectrum line and the half-height line, so as to use the maximum distance as the line width.
[0060] like Figure 3 As shown, half of the height value H between the peak and the trough of the spectrum line is determined as the half-height line, that is, L. The half-height line forms multiple intersections with the spectrum line, and the maximum distance between two intersections can be used as the line width .
[0061] It can be understood that the user can determine the line width based on any suitable method, which is not limited here.
[0062] According to some embodiments, the second scanning range includes ,in is the line width, Represents the first quantum bit frequency value.
[0063] According to some embodiments, the third scanning range includes ,in is the second pulse amplitude value.
[0064] In this embodiment, some pulse initial values can be roughly obtained through 110-150 and step 210, including the quantum bit frequency , driving coefficient , the line width of the determined quantum bit spectrum and a set of second pulse duration values and second pulse amplitude values (when considering the pulse delay time, the pulse delay time value may be a preset constant, such as 0). Based on these initial values, the number of scanning points required in the subsequent step can be greatly reduced, thereby improving the efficiency of quantum bit characterization and calibration; and these initial values can be used as fitting initial values in the fitting process of step 240, thereby improving the fitting success rate.
[0065] It can be understood that the above-mentioned second scanning range and third scanning range are merely exemplary and are not limiting herein.
[0066] Figure 4 FIG. 2 is a schematic diagram showing the results of the two-dimensional scanning experiment in step 240 according to an embodiment of the present disclosure. Figure 4 As shown, the color of the schematic diagram represents the probability that the quantum bit is in the first state, for example . Figure 5 A schematic diagram of the fitting results based on the theoretical model according to an embodiment of the present disclosure is shown, wherein the goodness of fit is .
[0067] In order to verify the prediction effect of the model, the pulse amplitude was selected , the scanning pulse duration is used as the first dimension and the scanning drive frequency is used as the second dimension to predict the IQ value (i.e., corresponding to the probability ), and the result is as follows Fig. 6A As shown in the figure, such an experiment was configured on a real machine, and the experimental results obtained are as follows Figure 6B As shown in the figure, it can be seen that the predicted results are very consistent. And note that most of the theoretical predictions here are not Figure 4 The experimental data in are new experimental data, which means that the model can predict experimental results beyond the fitted experimental data.
[0068] In order to further verify the correctness of the model prediction, the driving frequency is fixed so that , scan the pulse amplitude and duration, predict the IQ value, and get the result as follows Fig. 7A As shown in the figure, such an experiment was configured on a real machine, and the experimental results were as follows Figure 7B As shown in the figure, it can be seen that the predicted results are very consistent. Also, most of the data here are new experimental data different from the above two experiments, indicating that the model can predict experimental results other than the fitted experimental data.
[0069] Continue to refer Figure 2 ,pass Figure 2 The steps shown in the figure can usually be further used to obtain more accurate constant parameters, including the qubit frequency , driving coefficient According to some embodiments, re-determining the second pulse drive coefficient value and the first qubit frequency value based on the fitting result includes: re-determining the second pulse drive coefficient value, the first qubit frequency value and the pulse delay time value based on the fitting result. That is, when considering the pulse delay time, a more accurate pulse delay time can be further obtained through fitting. In this way, pulse parameters with smaller errors can be automatically provided.
[0070] According to some embodiments, the probability that the qubit is in the first state changes with the qubit frequency and the pulse amplitude, so as to redetermine the second pulse driving coefficient value and the first qubit frequency value based on the fitting result, including: in response to determining that the goodness of fit is greater than a preset threshold, using the pulse driving coefficient value and the qubit frequency value redetermined based on the fitting result as the new pulse driving coefficient value and the first qubit frequency value; and in response to determining that the goodness of fit is not greater than the preset threshold, keeping the pulse driving coefficient value and the first qubit frequency value unchanged.
[0071] That is, in step 240, the goodness of fit can be further determined to further determine based on the goodness of fit whether to conduct a scanning experiment based on the original pulse drive coefficient value and the original first quantum bit frequency value, or to conduct a scanning experiment based on the pulse drive coefficient value and the first quantum bit frequency value re-determined through fitting.
[0072] According to the embodiments of the present disclosure, Figure 8 A pulse-based quantum bit operation device 800 is also provided, comprising: a first determination unit 810, configured to determine multiple sets of data, each set of data comprising a pair of pulse amplitude values and pulse duration values; a second determination unit 820, configured to determine, based on the multiple sets of data, a curve of the probability of the quantum bit being in the first state as a function of the pulse driving frequency, so as to determine the quantum bit frequency values corresponding to each of the multiple sets of data, wherein the probability is determined based on the pulse amplitude, the pulse duration, the pulse driving frequency, the quantum bit frequency, and the pulse driving coefficient; a third determination unit 830, configured to determine an optimal quantum bit frequency value so as to use the optimal quantum bit frequency value as the first quantum bit frequency value, and to set the pulse driving frequency value to be equal to the optimal quantum bit frequency value; a first fitting unit 840, configured to determine the optimal quantum bit frequency value based on the pulse driving frequency value and one or more preset first pulses. For each of the duration values, the probability of the quantum bit being in the first state changes with the pulse amplitude to fit, so as to determine the first pulse duration value and the corresponding first pulse amplitude value with the best fitting effect; a fourth determination unit 850 is configured to determine the pulse driving coefficient value based on the optimal first pulse duration value and the corresponding first pulse amplitude value; and a first scanning unit 860 is configured to scan at least one parameter of the pulse amplitude, the pulse duration and the driving frequency within a preset corresponding first value range based on the pulse driving coefficient value and the first quantum bit frequency value, and determine the values of other parameters of the pulse amplitude, the pulse duration and the driving frequency except the at least one parameter, so as to determine the value of each parameter of the at least one parameter based on the change curve of the probability with the at least one parameter.
[0073] Here, the operations of the above-mentioned units 810~860 of the pulse-based quantum bit operation device 800 are similar to the operations of steps 110~160 described above, and will not be repeated here.
[0074] According to an embodiment of the present disclosure, an electronic device, a readable storage medium and a computer program product are also provided.
[0075] refer to Fig. 9, a block diagram of an electronic device 900 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.
[0076] like Fig. 9 As shown, the electronic device 900 includes a computing unit 901, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 902 or a computer program loaded from a storage unit 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the electronic device 900 can also be stored. The computing unit 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0077] Multiple components in the electronic device 900 are connected to the I / O interface 905, including: an input unit 906, an output unit 907, a storage unit 908, and a communication unit 909. The input unit 906 can be any type of device that can input information to the electronic device 900. The input unit 906 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 907 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 908 can include but is not limited to a disk, an optical disk. The communication unit 909 allows the electronic device 900 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks, and can 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.
[0078] The computing unit 901 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 901 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 901 performs the various methods and processes described above, such as method 100. For example, in some embodiments, the method 100 may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 908. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 900 via the ROM 902 and / or the communication unit 909. When the computer program is loaded into the RAM 903 and executed by the computing unit 901, one or more steps of the method 100 described above may be performed. Alternatively, in other embodiments, the computing unit 901 may be configured to perform the method 100 in any other appropriate manner (e.g., by means of firmware).
[0079] 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), complex 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.
[0080] 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.
[0081] 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 device, 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.
[0082] 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).
[0083] The systems and techniques described herein may be implemented in a computing system that includes backend 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 frontend 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 backend components, middleware components, or frontend 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), the Internet, and a blockchain network.
[0084] A computer system may include a client and a server. The client and the server 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 with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0085] 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.
[0086] 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 invention is not limited by these embodiments or examples, but only by the claims after authorization and their equivalent scope. Various elements in the embodiments or examples can be omitted or replaced by their equivalent elements. In addition, each step can be performed in an order different from that described in the present disclosure. Further, the various elements in the embodiments or examples can be combined in various ways. It is important that with the evolution of technology, many elements described herein can be replaced by equivalent elements that appear after the present disclosure.
Claims
1. A pulse-based quantum bit operation method, comprising: Determine a plurality of sets of data, each set of data including a pair of pulse amplitude value and pulse duration value; Determine, based on the multiple sets of data respectively, a curve of the probability of the qubit being in the first state as a function of the pulse driving frequency, so as to determine the qubit frequency value corresponding to each of the multiple sets of data, wherein the probability is determined based on the pulse amplitude, the pulse duration, the pulse driving frequency, the qubit frequency, and the pulse driving coefficient; Determine an optimal qubit frequency value to use the optimal qubit frequency value as a first qubit frequency value, and set the pulse driving frequency value to be equal to the optimal qubit frequency value; According to the pulse driving frequency value and each of the preset one or more first pulse duration values, fitting the probability of the quantum bit being in the first state with the change of the pulse amplitude to determine the first pulse duration value with the best fitting effect and the corresponding first pulse amplitude value; determining a pulse drive coefficient value based on the optimal first pulse duration value and the corresponding first pulse amplitude value; and Based on the pulse driving coefficient value and the first quantum bit frequency value, at least one parameter among the pulse amplitude, the pulse duration and the driving frequency is scanned within a preset corresponding first value range, and the values of other parameters among the pulse amplitude, the pulse duration and the driving frequency except the at least one parameter are determined, so as to determine the value of each parameter of the at least one parameter based on the change curve of the probability with the at least one parameter.
2. The method of claim 1, wherein: Among the multiple groups of data, there are at least two groups of data whose ratio of first data is an irrational number, wherein the first data is the product of a pulse amplitude value and a pulse duration value in the same group of data.
3. The method of claim 1, wherein: Before scanning at least one parameter of the pulse amplitude, the pulse duration and the driving frequency within a preset corresponding first value range, the method further includes: Determining a second pulse duration value and a second pulse amplitude value based on the driving coefficient value and a preset number of Rabi oscillation cycles; Based on the second pulse duration value, the second pulse amplitude value and the driving coefficient value, fitting the probability of the quantum bit being in the first state as a function of the driving frequency to determine the line width of the quantum bit spectrum line; Determining a second scanning range corresponding to the quantum bit frequency based on the line width, and determining a third scanning range corresponding to the pulse amplitude based on the second pulse amplitude value; and Based on the second pulse duration value, and based on scanning the second scanning range and the third scanning range respectively, the probability of the quantum bit being in the first state is fitted with changes in the quantum bit frequency and the pulse amplitude, so as to redetermine the pulse driving coefficient value and the first quantum bit frequency value based on the fitting results.
4. The method of claim 3, wherein: Fitting the probability of the qubit being in the first state with the qubit frequency and the pulse amplitude to re-determine the pulse driving coefficient value and the first qubit frequency value based on the fitting result, including: In response to determining that the goodness of fit is greater than a preset threshold, using the pulse drive coefficient value and the qubit frequency value re-determined based on the fitting result as the new pulse drive coefficient value and the first qubit frequency value; and In response to determining that the goodness of fit is not greater than the preset threshold, the pulse drive coefficient value and the first quantum bit frequency value are kept unchanged.
5. The method of claim 3, wherein: The line width of the quantum bit spectrum line is determined according to the following operation: Determining a half-height line based on half of the peak-to-peak value of the quantum bit spectrum line; and Based on the intersection of the quantum bit spectrum line and the half-height line, the maximum distance between two intersections of the quantum bit spectrum line is determined, so as to use the maximum distance as the line width.
6. The method of claim 3, wherein: The probability that the quantum bit is in the first state is further determined based on the pulse delay time, and wherein determining the plurality of sets of data comprises: determining a preset pulse delay time value.
7. The method of claim 6, wherein: Redetermining the pulse driving coefficient value and the first quantum bit frequency value based on the fitting result includes: redetermining the pulse driving coefficient value, the first quantum bit frequency value and the pulse delay time value based on the fitting result.
8. The method according to any one of claims 1 to 7, wherein: The first state is state, and the probability Determined according to the following formula: ,in, ,in is the driving coefficient, is the pulse amplitude, ,in is the driving frequency, is the qubit frequency, is a time determined based on the pulse duration.
9. The method of claim 3, wherein: The second scanning range includes ,in is the line width, Represents the first quantum bit frequency value.
10. The method of claim 3, wherein: The third scanning range includes ,in is the second pulse amplitude value.
11. A pulse-based quantum bit operation device, comprising: A first determination unit is configured to determine a plurality of sets of data, each set of data comprising a pair of a pulse amplitude value and a pulse duration value; A second determination unit is configured to determine, based on the multiple sets of data, a curve of the probability of the quantum bit being in the first state as a function of the pulse driving frequency, so as to determine the quantum bit frequency value corresponding to each of the multiple sets of data, wherein the probability is determined based on the pulse amplitude, the pulse duration, the pulse driving frequency, the quantum bit frequency, and the pulse driving coefficient; A third determining unit is configured to determine an optimal qubit frequency value to use the optimal qubit frequency value as the first qubit frequency value, and set the pulse driving frequency value to be equal to the optimal qubit frequency value; A first fitting unit is configured to fit the probability of the quantum bit being in the first state as the pulse amplitude changes according to the pulse driving frequency value and each of the one or more preset first pulse duration values, so as to determine the first pulse duration value with the best fitting effect and the corresponding first pulse amplitude value; a fourth determining unit configured to determine a pulse driving coefficient value based on the optimal first pulse duration value and the corresponding first pulse amplitude value; and The first scanning unit is configured to scan at least one parameter among the pulse amplitude, the pulse duration and the driving frequency within a preset corresponding first value range based on the pulse driving coefficient value and the first quantum bit frequency value, and determine the values of other parameters among the pulse amplitude, the pulse duration and the driving frequency except the at least one parameter, so as to determine the value of each parameter of the at least one parameter based on the change curve of the probability with the at least one parameter.
12. The device of claim 11, wherein: Among the multiple groups of data, there are at least two groups of data whose ratio of first data is an irrational number, wherein the first data is the product of a pulse amplitude value and a pulse duration value in the same group of data.
13. The device of claim 11, wherein: Also includes: a fifth determination unit, configured to determine a second pulse duration value and a second pulse amplitude value based on the driving coefficient value and a preset number of Rabi oscillation cycles before scanning at least one parameter among the pulse amplitude, the pulse duration and the driving frequency within a preset corresponding first value range; A second fitting unit is configured to fit the probability of the qubit being in the first state as a function of the driving frequency based on the second pulse duration value, the second pulse amplitude value and the driving coefficient value, so as to determine the line width of the qubit spectrum line; a sixth determining unit, configured to determine a second scanning range corresponding to the quantum bit frequency based on the line width, and to determine a third scanning range corresponding to the pulse amplitude based on the second pulse amplitude value; as well as The second scanning unit is configured to scan based on the second pulse duration value and based on the second scanning range and the third scanning range respectively, and fit the probability of the quantum bit being in the first state with the change of the quantum bit frequency and the pulse amplitude, so as to redetermine the pulse driving coefficient value and the first quantum bit frequency value based on the fitting result.
14. The device of claim 13, wherein: The second scanning unit comprises: A first response subunit, configured to, in response to determining that the goodness of fit is greater than a preset threshold, use the pulse drive coefficient value and the qubit frequency value re-determined based on the fitting result as the new pulse drive coefficient value and the first qubit frequency value; and The second response subunit is configured to keep the pulse driving coefficient value and the first quantum bit frequency value unchanged in response to determining that the goodness of fit is not greater than the preset threshold.
15. The device of claim 13, wherein: The line width of the quantum bit spectrum line is determined according to the following operation: Determining a half-height line based on half of the peak-to-peak value of the quantum bit spectrum line; and Based on the intersection of the quantum bit spectrum line and the half-height line, the maximum distance between two intersections of the quantum bit spectrum line is determined, so as to use the maximum distance as the line width.
16. The device of claim 13, wherein: The probability that the quantum bit is in the first state is further determined based on the pulse delay time, and wherein determining the plurality of sets of data comprises: determining a preset pulse delay time value.
17. The device of claim 16, wherein: The second scanning unit includes a determination subunit configured to: re-determine the pulse driving coefficient value, the first quantum bit frequency value and the pulse delay time value based on the fitting result.
18. The device according to any one of claims 11 to 17, wherein: The first state is state, and the probability Determined according to the following formula: ,in, ,in is the driving coefficient, is the pulse amplitude, ,in is the driving frequency, is the qubit frequency, is a time determined based on the pulse duration.
19. The device of claim 13, wherein: The second scanning range includes ,in is the line width, Represents the first quantum bit frequency value.
20. The device of claim 13, wherein: The third scanning range includes ,in is the second pulse amplitude value.
21. An electronic device comprising: 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 10.
22. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-10.
23. A computer program product comprising a computer program, wherein: When the computer program is executed by a processor, the method according to any one of claims 1 to 10 is implemented.
