Quantum bit frequency control signal generation method and device and quantum computer
By determining the mapping relationship between the central control module and the analog signal generation module, accurate qubit frequency control signals are output, which solves the problem of poor consistency of the frequency control signal voltage signal received by the quantum processor and ensures the frequency control effect of the quantum processor.
Patent Information
- Application Number
- CN202310276982.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-17
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2043-03-17
AI Technical Summary
In the existing technology, the voltage signal of the frequency control signal received by the quantum processor has poor consistency, causing the voltage signal transmitted to the quantum processor to deviate from the preset target value, affecting the frequency control effect of the quantum processor.
By determining the mapping relationship between the central control module and the analog signal generation module, the target register value is determined based on the control characters output by the host computer module, and accurate positive and negative voltage signals are output based on the mapping relationship to ensure the accuracy of the qubit frequency control signal.
It achieves the accuracy of the frequency control signal output of the quantum processor, ensures that the frequency control effect of the quantum processor meets expectations, and improves the consistency of signal transmission.
Smart Images

Figure CN118709797A
Abstract
Description
Technical Field
[0001] The present application relates to the field of quantum measurement and control technology, and in particular to a method and device for generating a quantum bit frequency control signal and a quantum computer. Background Art
[0002] The quantum processor is the core component for running quantum computing. Multiple qubits are integrated on the quantum processor. In order to ensure the normal operation of the qubit, multiple signal sources or signal generators need to be set up to provide various control signals, such as frequency control signals, for each qubit. Among them, the frequency control signal is a voltage signal, and it is a voltage signal in the positive and negative range. The voltage signal output by the voltage source is usually a positive voltage signal. It is necessary to use an op amp circuit to reversely process the positive voltage signal output by the voltage source, and then output a voltage signal in the positive and negative range to the quantum processor, and an electronic component for processing the voltage signal in the positive and negative range is set at the back end of the op amp circuit. Due to the influence of the op amp circuit and electronic components in the signal transmission line, the consistency of the voltage signal transmitted to the quantum processor is poor, and the voltage signal near the two ends is nonlinear, which causes the voltage signal transmitted to the quantum processor to deviate from the preset target value, directly affecting the control effect of the frequency of the quantum processor.
[0003] Therefore, there is an urgent need to provide a signal generation method or device that can accurately output positive and negative voltage signals to provide frequency control signals for quantum processors.
[0004] It should be noted that the information disclosed in the background technology section of this application is only intended to deepen the understanding of the general background technology of this application, and should not be regarded as an admission or suggestion in any form that the information constitutes prior art already known to those skilled in the art. Summary of the invention
[0005] The purpose of the present application is to provide a method and device for generating a qubit frequency control signal and a quantum computer, which are used to provide a precise frequency control signal including a voltage signal in a positive and negative range for a quantum processor.
[0006] In order to achieve the above objectives, the present application proposes a method for generating a qubit frequency control signal, comprising:
[0007] Determine a first mapping relationship between a register value sent by a central control module to an analog signal generating module and a qubit frequency control signal output by the analog signal generating module; wherein the qubit frequency control signal includes a voltage signal in a positive and negative range;
[0008] Determine, based on the first mapping relationship, a second mapping relationship between a control character sent by the host computer module to the central control module and a register value sent by the central control module to the analog signal generating module;
[0009] Determining a target register value output by the central control module according to the second mapping relationship and a control character corresponding to the target voltage output by the host computer module;
[0010] Output a corresponding qubit frequency control signal according to the first mapping relationship and the target register value.
[0011] The method for generating a qubit frequency control signal as described above, further, the step of determining a first mapping relationship between a register value sent by the central control module to the analog signal generating module and the qubit frequency control signal output by the analog signal generating module specifically includes:
[0012] Outputting at least two of the register values to the analog signal generating module and measuring corresponding measurement voltage values output by the analog signal generating module;
[0013] Determine a fitting line based on each of the register values and the corresponding measured voltage value;
[0014] Determine, based on the fitting line, a first corresponding relationship between the maximum value of the register value and the maximum value of the target voltage, and a second corresponding relationship between the minimum value of the register value and the minimum value of the target voltage; wherein the minimum value of the target voltage and the maximum value of the target voltage are determined according to the frequency of the quantum processor;
[0015] The first mapping relationship is determined based on the first corresponding relationship and the second corresponding relationship.
[0016] The method for generating the qubit frequency control signal as described above, further, the step of determining the second mapping relationship between the control character sent by the host computer module to the central control module and the register value sent by the central control module to the analog signal generating module based on the first mapping relationship, specifically includes:
[0017] Determine the maximum and minimum values of the control characters sent by the host computer module to the central control module; wherein the control characters correspond one to one with the target voltage;
[0018] Determine a third corresponding relationship between the maximum value of the control character and the maximum value of the register value, and a fourth corresponding relationship between the minimum value of the control character and the minimum value of the register value;
[0019] The second mapping relationship is determined based on the first mapping relationship, the third corresponding relationship, and the fourth corresponding relationship.
[0020] In the method for generating a quantum bit frequency control signal as described above, further, the second mapping relationship is a linear function.
[0021] The method for generating a qubit frequency control signal as described above, further comprises, after the step of determining the second mapping relationship based on the third corresponding relationship and the fourth corresponding relationship:
[0022] Determine a first parameter and a second parameter of the linear function; wherein the first parameter is the slope of the linear function, and the second parameter is the intercept of the linear function.
[0023] In the method for generating a quantum bit frequency control signal as described above, further, the range of the first parameter is determined to be [0, 1].
[0024] The method for generating the qubit frequency control signal as described above, further, the step of determining the target register value output by the central control module according to the second mapping relationship and the control character corresponding to the target voltage output by the host computer module, specifically includes:
[0025] Performing multiplication processing on the first parameter and the control character;
[0026] The result obtained after the multiplication process is added to the second parameter to obtain the target register value.
[0027] On the other hand, the present application provides a device for generating a qubit frequency control signal, comprising:
[0028] A measuring module configured to determine a first mapping relationship between a register value sent by the central control module to the analog signal generating module and a qubit frequency control signal output by the analog signal generating module; wherein the qubit frequency control signal comprises a voltage signal in a positive and negative range;
[0029] a host computer module, configured to determine, based on the first mapping relationship, a second mapping relationship between a control character sent to the central control module and a register value sent by the central control module to the analog signal generating module;
[0030] The central control module is configured to determine a target register value output by the central control module according to the second mapping relationship and a control character corresponding to the target voltage output by the host computer module;
[0031] The analog signal generating module is configured to output a corresponding quantum bit frequency control signal according to the first mapping relationship and the target register value.
[0032] As described above, in the device for generating a qubit frequency control signal, further, the central control module is also configured to store the second mapping relationship.
[0033] In the device for generating a qubit frequency control signal as described above, further, the central control module is further configured to store a second mapping relationship corresponding to each qubit on the quantum processor.
[0034] As described above, in the device for generating a quantum bit frequency control signal, further, the second mapping relationship is a linear function, the slope of the linear function is a first parameter, the intercept of the linear function is a second parameter, and the central control module is also configured to store the first parameter and the second parameter.
[0035] The device for generating the qubit frequency control signal as described above, further, the central control module includes a multiplier unit and an adder unit;
[0036] The multiplier unit is configured to perform multiplication processing on the first parameter and the control character;
[0037] The adder unit is configured to perform an addition process on a result obtained after the multiplier unit processes and the second parameter to obtain the target register value.
[0038] The device for generating the qubit frequency control signal as described above, further, the analog signal generation module includes a digital-to-analog conversion unit and an operational amplifier unit;
[0039] The digital-to-analog conversion unit is configured to output a corresponding positive voltage signal according to the first mapping relationship and the target register value;
[0040] The operational amplifier unit is configured to process the positive voltage signal and output a qubit frequency control signal including a voltage signal in a positive and negative range.
[0041] On the other hand, the present application provides a quantum computer, which adopts any of the above-mentioned methods for generating a qubit frequency control signal to output a control signal for controlling the frequency of qubits on a quantum processor, or includes a device for generating a qubit frequency control signal as described in any of the above-mentioned methods, and a quantum processor, wherein the device is used to provide a frequency control signal for the qubits on the quantum processor.
[0042] Compared with the prior art, this application has the following beneficial effects:
[0043] The present application first obtains a first mapping relationship between an input register value and an output voltage measurement value characterizing an analog signal generating module by measuring multiple groups of experimental data, and then obtains a second mapping relationship between an input control character and an output register value characterizing a central control module based on the first mapping relationship. The correspondence between the control character and the measured voltage can be achieved through the register values in the first mapping relationship and the second mapping relationship; after the upper computer module sends a control character corresponding to the target voltage, the analog signal generating module outputs a voltage signal consistent with the target voltage, thereby ensuring the accuracy of the output quantum bit frequency control signal, and thereby ensuring that the control effect on the quantum processor meets expectations. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 A schematic flow chart of a method for generating a quantum bit frequency control signal proposed in an embodiment of the present application;
[0045] Figure 2 A schematic diagram of the functional modules of a quantum computer proposed in an embodiment of the present application;
[0046] Figure 3 A schematic diagram of a process for obtaining a first mapping relationship proposed in an embodiment of the present application;
[0047] Figure 4 A schematic diagram of a fitting line proposed in an embodiment of the present application;
[0048] Figure 5 A schematic diagram of a process for obtaining a second mapping relationship proposed in an embodiment of the present application;
[0049] Figure 6 A coordinate diagram of a third corresponding relationship and a fourth corresponding relationship proposed in an embodiment of the present application;
[0050] Figure 7 A schematic diagram of a process for obtaining a target register value proposed in an embodiment of the present application;
[0051] Figure 8 A schematic diagram of the functional modules of a device for generating a quantum bit frequency control signal proposed in an embodiment of the present application.
[0052] 20- measurement module, 21- host computer module, 22- central control module, 23- analog signal generating module. DETAILED DESCRIPTION
[0053] The specific implementation of the present application will be described in more detail below in conjunction with the schematic diagram. The advantages and features of the present application will become clearer according to the following description and claims. It should be noted that the drawings are all in a very simplified form and are not in precise proportions, and are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present application.
[0054] In the description of the present application, it should be understood that the terms "center", "up", "down", "left", "right", etc., indicating directions or positional relationships are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore should not be understood as a limitation on the present application.
[0055] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0056] For some quantum computers currently available on the market, most of them use a combination of a host computer, a quantum control system, and a quantum chip to implement some quantum computing tasks. Generally, the host computer receives the user's quantum computing tasks, processes the quantum computing tasks and forms quantum circuits, and then maps the quantum circuits to the topological structure of the corresponding quantum chip. The quantum circuit contains the quantum logic gates required for this quantum computing task, the measurement operations of the final quantum computing results, and the timing of each operation. When the quantum control system receives the information contained in the quantum circuit, it will convert this information into corresponding instructions to enable the corresponding hardware equipment to operate and complete the quantum computing task.
[0057] Generally, a quantum chip is provided with a plurality of qubits and data transmission lines, and each qubit includes a detector and a qubit device coupled to each other, wherein the qubit device can be an artificial superconducting qubit formed by a superconducting Josephson junction and a ground capacitor, and the detector can be a resonant cavity. The qubit device is provided with a first control signal line and a second control signal line, and the detector coupled to the qubit device is provided with a third control signal line, wherein the first control signal line is used to transmit a quantum state control signal for controlling the quantum state information of the qubit device, the second control signal line is used to transmit a frequency control signal for controlling the frequency parameters of the qubit device, and the third control signal line is used to transmit a measurement signal for measuring and reading the detector and to output a read feedback signal returned by the detector, so as to realize indirect reading and measurement of the state of the qubit device. Therefore, the quantum control system for controlling and measuring qubits in a quantum chip needs to generate and output three control signals, which are respectively provided to the first to third control signal lines, so as to realize the control and measurement of the qubits in the quantum chip.
[0058] When using a voltage signal to control the frequency of the qubit on the quantum processor, the principle of flux modulation is usually used, that is, the voltage signal is converted into a current signal to reach the quantum processor, and the current signal will generate flux. Changing the voltage is changing the current, which is changing the flux, thereby changing the qubit frequency. The period of change of the qubit frequency with the magnetic flux is fixed, that is, the voltage period is fixed. Use a voltage signal with a positive and negative range to ensure that the voltage with the smallest absolute value is used to avoid additional heat affecting the entire system. Therefore, the range of the voltage signal output by the signal source or signal generator that provides the voltage signal to the quantum processor needs to include positive and negative.
[0059] In the field of electronic technology, a voltage source or a signal generator is usually used to provide a positive voltage signal, and an operational amplifier circuit is set in the signal transmission line at the output end of the voltage source to reversely process the positive voltage signal, thereby outputting a voltage signal in a positive and negative range to the quantum processor, and an electronic component for processing the voltage signal in a positive and negative range is set in the signal transmission circuit between the operational amplifier circuit and the quantum processor. Due to the influence of the operational amplifier circuit and the electronic components in the signal transmission line, the voltage signal transmitted to the quantum processor is nonlinear, and thus the voltage signal transmitted to the quantum processor deviates from the preset target value. For example, the required target voltage signal is +1V, and the voltage output to the quantum processor is actually measured by the measuring instrument as +1.1V, which directly affects the control effect of the frequency of the quantum processor.
[0060] Based on the above findings, in order to ensure that the value of the voltage signal in the positive and negative range transmitted to the quantum processor is the same as the preset target value, the present application provides a voltage signal generation method, please refer to Figure 1 , including the following steps:
[0061] Step S10: Determine a first mapping relationship between a register value sent by the central control module to the analog signal generating module and a qubit frequency control signal output by the analog signal generating module; wherein the qubit frequency control signal includes a voltage signal in a positive and negative range.
[0062] Combined with Figure 2The functional module diagram of the quantum computer shown in the figure includes a host computer module 21, a central control module 22, and an analog signal generating module 23, wherein the host computer module 21 is used to receive quantum computing tasks and send task instructions and task parameters to the central control module 22, the central control module 22 processes the task instructions and task parameters, and outputs specific signal parameters to the analog signal generating module 23, and the analog signal generating module 23 outputs specific control signals according to the received signal parameters. It should be supplemented that the data formats transmitted between the host computer module 21, the central control module 22 and the analog signal generating module 23 are different. For example, the task instructions and task parameters sent by the host computer module 21 to the central control module 22 are in the control character format, such as control characters in binary, decimal and other formats; and the signal parameters sent by the central control module 22 to the analog signal generating module 23 are register values, and the analog signal generating module 23 outputs corresponding control signals according to the register values. In addition, the attached Figure 2 The number of each functional module is only an example, and it may include multiple modules. Moreover, the analog signal generating module 23 may also include multiple output channels, and each output channel can output a quantum bit frequency control signal.
[0063] In summary, for the host computer module 21, each target voltage corresponds to a control character, and the control character is sent to the central control module 22 according to the target voltage; for the central control module 22, the control character is the input information, and the register value is the output information, and the input information and the output information are converted once; for the analog signal generating module 23, the register value is the input information, and the voltage value is the output information, and the input information and the output signal are converted once; through two conversions, the correspondence between the target voltage, the control character, the register value, and the output voltage is achieved. In actual applications, due to the influence of the electronic components in the analog signal generating module 23, the output voltage deviates from the target voltage, and the corresponding relationship deviates. It is necessary to measure the output voltage of the analog signal generating module 23 and redefine the corresponding relationship.
[0064] Specifically, the analog signal generating module 23 directly outputs a qubit frequency control signal of a voltage signal containing a positive and negative range. Specifically, the parameter of the output voltage signal is determined by the register value input to the analog signal generating module 23; it can be understood that the analog signal generating module 23 stores a number of register values, each of which corresponds to a parameter of a voltage signal; the register value is sent to the analog signal generating module 23 by the central control module 22. Therefore, it can be determined by specific tests to obtain a first mapping relationship between the register value sent by the central control module 22 to the analog signal generating module 23 and the qubit frequency control signal output by the analog signal generating module 23. For example, the central control module 22 outputs a register value to the analog signal generating module 23, and the voltage value of the voltage signal output by the analog signal generating module 23 is obtained by testing, and a set of corresponding data of the register value and the measured voltage value is obtained. After performing multiple tests, multiple sets of corresponding data of the register value and the measured voltage value can be obtained. This corresponding relationship is the first mapping relationship. In addition, the analog signal generating module 23 has multiple output channels, each of which is used to output the qubit frequency control signal; for each output channel, it is necessary to perform a test to determine the first mapping relationship.
[0065] It should be added that the first mapping relationship is a corresponding relationship determined through actual testing. The voltage error caused by the influence of electronic components in the analog signal generating module 23 is also reflected in the corresponding relationship. According to the first mapping relationship obtained by measurement, the measured voltage value can be adjusted to the target voltage by adjusting the register value.
[0066] Step S20: determining a second mapping relationship between a control character sent by the host computer module to the central control module and a register value sent by the central control module to the analog signal generating module based on the first mapping relationship.
[0067] After determining the first mapping relationship between the input and output of the analog signal generating module 23, the register value that needs to be input to the analog signal generating module 23 can be determined according to the voltage value of the qubit frequency control signal that needs to be output each time. In addition, the register value corresponding to the voltage value of the qubit frequency control signal is output from the central control module 22 to the analog signal generating module 23, and is determined by the control character sent from the host computer module 21 to the central control module 22, that is, there is also a corresponding relationship between the control character and the register value; and based on the first mapping relationship between the register value and the measured voltage value, the second mapping relationship between the control character and the register value is determined. Among them, each output channel of the analog signal generating module 23 corresponds to a first mapping relationship, so each output channel also corresponds to a second mapping relationship, and the first mapping relationship and the second mapping relationship of each output channel are also corresponding.
[0068] Step S30: determining the target register value output by the central control module according to the second mapping relationship and the control character corresponding to the target voltage output by the host computer module;
[0069] Step S40: outputting a corresponding qubit frequency control signal according to the second mapping relationship and the target register value.
[0070] As described above, the second mapping relationship is the correspondence between the control character and the register value. After the host computer module determines the target voltage to be output to the quantum processor according to the quantum computing task, it outputs the control character corresponding to the target voltage to the central control module 22. The central control module 22 can determine the target register value to be output to the analog signal generating module 23 according to the control character and the second mapping relationship. The analog signal generating module 23 outputs the corresponding qubit frequency control signal according to the first mapping relationship and the target register value, so that the voltage value of the qubit frequency control signal is consistent with the target voltage.
[0071] The present application first obtains a first mapping relationship between an input register value and an output voltage measurement value characterizing an analog signal generating module by measuring multiple groups of experimental data, and then obtains a second mapping relationship between an input control character and an output register value characterizing a central control module based on the first mapping relationship. The correspondence between the control character and the measured voltage can be achieved through the register values in the first mapping relationship and the second mapping relationship; after the upper computer module sends a control character corresponding to the target voltage, the analog signal generating module outputs a voltage signal consistent with the target voltage, thereby ensuring the accuracy of the output quantum bit frequency control signal, and thereby ensuring that the control effect on the quantum processor meets expectations.
[0072] As attached Figure 3 As shown, when the first mapping relationship is obtained through multiple groups of tests, the step of determining the first mapping relationship between the register value sent by the central control module to the analog signal generating module and the qubit frequency control signal output by the analog signal generating module specifically includes the following steps:
[0073] S110: Output at least two of the register values to the analog signal generating module and measure a corresponding measurement voltage value output by the analog signal generating module.
[0074] When performing a specific test, the central control module 22 outputs a register value to the analog signal generating module 23, and the voltage value of the voltage signal output by the analog signal generating module 23 is obtained through the test, and a set of corresponding data of the register value and the measured voltage value is obtained; performing multiple tests can obtain multiple sets of corresponding data of the register value and the measured voltage value. Through specific tests, the voltage error caused by the influence of the electronic components in the analog signal generating module 23 can be obtained.
[0075] S120: Determine a fitting line based on each of the register values and the corresponding measured voltage value.
[0076] As attached Figure 4 The coordinates and fitting lines shown in FIG. 1 are shown in FIG. 1 , where the horizontal axis of the coordinates is the register value, and the vertical axis of the coordinates is the measured voltage value. The straight line in the coordinates is a straight line fitted by corresponding data of multiple groups of register values and measured voltage values tested in detail, that is, each register value corresponds to an output voltage. It should be noted that the fitting line may include a straight line or a curve, which is related to the characteristics of the electronic components in the analog signal generating module 23. When the present application is implemented, the fitting line is a straight line, and the fitting line can be expressed by a linear function as follows: V out =p1*R+p2. Where, V out represents the measured voltage value, R represents the register value, p1 represents the slope of the fitted line, and p2 represents the intercept of the fitted line.
[0077] S130: Determine a first correspondence between the maximum value of the register value and the maximum value of the target voltage, and a second correspondence between the minimum value of the register value and the minimum value of the target voltage based on the fitting line, wherein the minimum value of the target voltage and the maximum value of the target voltage are determined according to the frequency of the quantum processor.
[0078] Continue as attached Figure 4 As shown in the figure, when the frequency of the quantum processor is controlled, the frequency of the quantum processor can be determined according to the control requirements of the quantum computing task, and then the maximum and minimum values of the target voltage for controlling the frequency of the quantum processor can be determined. Then, based on the fitted straight line, the maximum value of the register value corresponding to the maximum value of the target voltage and the minimum value of the register value corresponding to the minimum value of the target voltage are determined. The maximum value of the register value is represented by R max Indicates that the minimum value of the register value is represented by R min The maximum value of the target voltage is V max Indicates that the minimum target voltage is V min Indicates that the first corresponding relationship is determined to be R max =floor((V max -p2) / p1), determine the second corresponding relationship as R min =floor((V min -p2) / p1). Wherein, floor means that the host computer module 21 performs rounding operation when calculating the parameter to ensure that the value after the operation is an integer for easy transmission.
[0079] S140: Determine the first mapping relationship based on the first corresponding relationship and the second corresponding relationship.
[0080] Continue as attached Figure 4As shown, the first corresponding relationship between the maximum value of the register value and the maximum value of the target voltage, and the second corresponding relationship between the minimum value of the register value and the minimum value of the target voltage are determined in the fitting straight line, that is, the first mapping relationship between the register value and the output voltage of the analog signal generating module 23 can be determined, that is, [R min , R max ] and [V min , V max ]. Through the first mapping relationship, the register value corresponding to each target voltage can be determined.
[0081] As attached Figure 5 As shown, the step of determining the second mapping relationship between the control character sent by the host computer module to the central control module and the register value sent by the central control module to the analog signal generating module based on the first mapping relationship specifically includes the following steps:
[0082] S210: Determine the maximum and minimum values of the control characters sent by the host computer module to the central control module; wherein the control characters correspond one to one with the target voltage. In the host computer module 21, each target voltage is represented by a corresponding control character, and the maximum and minimum values of the corresponding control characters are sent to the central control module 22 according to the maximum and minimum values of the target voltage. It should be noted that the control characters used to represent the target voltage in the host computer module 21 are fixed, that is, for all analog signal generating modules 23 and all channels of the analog signal generating modules 23, the target voltage and the control characters are determined and consistent.
[0083] S220: Determine a third corresponding relationship between the maximum value of the control character and the maximum value of the register value, and a fourth corresponding relationship between the minimum value of the control character and the minimum value of the register value. When the vertical sampling rate of the analog signal generating module is different, control characters of different bases are used in the host computer module 21. For example, when the vertical sampling rate of the analog signal generating module is 16 bits, the control characters in the host computer module 21 are represented by hexadecimal characters, the minimum value of the control character is represented by 0000, and the maximum value of the control character is represented by FFFF. When the host computer module 21 outputs 0000 to the central control module 22, it indicates that the analog signal generating module 23 needs to output the minimum target voltage value V min Correspondingly, the central control module 22 needs to send the minimum value R of the register value corresponding to the minimum target voltage value min , that is, determine the minimum value R of the control character 0000 and the register value min The fourth corresponding relationship; when the host computer module 21 outputs FFFF to the central control module 22, the characterization analog signal generating module 23 needs to output the maximum target voltage value V max , correspondingly, the central control module 22 needs to send the maximum value R of the register value corresponding to the maximum target voltage valuemax , that is, determine the maximum value R of the control character FFFF and the register value max The third correspondence.
[0084] S230: Determine the second mapping relationship based on the first mapping relationship, the third corresponding relationship, and the fourth corresponding relationship.
[0085] After determining the third correspondence between the maximum value of the control character and the maximum value of the register value, and the fourth correspondence between the minimum value of the control character and the minimum value of the register value, the second mapping relationship between the control character and the register value can be determined by combining the maximum value and the minimum value of the register value determined in the first mapping relationship. After the central control module 22 receives the control character sent by the host computer module 21, it outputs the corresponding register value to the analog signal generating module 23 according to the second mapping relationship.
[0086] As attached Figure 6 As shown in the third and fourth corresponding relationships described in step 220, it can be found that the control characters and register values can also be expressed in the form of linear functions, similar to the first and second relationships. In terms of coordinate axes, the horizontal axis represents the register value, and the vertical axis represents the control character. Each corresponding relationship between a control character and a register value can be expressed in a linear function. Figure 4 and attached Figure 6 As shown, the minimum value of the control character corresponds to the minimum value of the target voltage, and the maximum value of the control character corresponds to the maximum value of the target voltage.
[0087] After a linear function is used to represent the second mapping relationship between the control character and the register value, after the step of determining the second mapping relationship based on the third corresponding relationship and the fourth corresponding relationship, the method further includes: determining a first parameter and a second parameter of the linear function; wherein the first parameter is the slope of the linear function, and the second parameter is the intercept of the linear function. Specifically, the linear function is represented by: R out =R in *k+b; where R in That is, the control character sent by the host computer module 21 to the central control module 22 is in the range of [0000, FFFF]; out That is, the register value output by the central control module 22 to the analog signal generating module 23 has a range of [R min , R max ]; k is the first parameter, b is the second parameter. By determining the first parameter k and the second parameter b and storing them, the central control module 22 receives the control character R sent by the upper computer module 21 each time. in Afterwards, the register value may be directly output according to the determined first parameter and second parameter.
[0088] In addition, the linear function is fitted through the third correspondence and the fourth correspondence, and we can get k = (R max -R min ) / (FFFF-0000), b=R min ; Among them, the maximum register value R max and register value minimum value R min It can be obtained through the first mapping relationship.
[0089] As attached Figure 6 As shown, in this embodiment, the first parameter is the slope of the linear function, which can be understood as the tangent operation result of the ratio of the control character to the register value. The range of the first parameter is determined to be [0, +1], ensuring that the target voltage corresponding to the register value output by the central control module 22 is within the voltage range set by the host computer module 21. In addition, the value of the first parameter is processed as a 16-bit signed integer to facilitate the storage and distribution of the first parameter value. The specific processing method is to process [0, +1] as [0, 2 15 -1].
[0090] As attached Figure 7 As shown, after the second mapping relationship is determined, the step of determining the target register value output by the central control module according to the second mapping relationship and the control character corresponding to the target voltage output by the host computer module specifically includes the following steps:
[0091] Step S310: performing multiplication processing on the first parameter and the control character.
[0092] Step S320: performing addition processing on the result obtained after the multiplication processing and the second parameter to obtain the target register value.
[0093] Combine the first parameter and the second parameter corresponding to the linear function of the second mapping relationship, first multiply the first parameter with the control character, and then add the result obtained after the multiplication to the second parameter to obtain the target register value. Specifically, multiply the control character with the complement of the quantized first parameter, and shift the multiplication result left by 15 bits to take the lower 16 bits as the result after the multiplication; the lower 16 bits of the result after the addition are also taken as the actual output, that is, the target register value.
[0094] As attached Figure 8As shown, based on the same application concept, the embodiment of the present application also provides a device for generating a qubit frequency control signal, including: a measurement module 20, which is configured to determine a first mapping relationship between a register value sent by a central control module 22 to an analog signal generating module 23 and a qubit frequency control signal output by the analog signal generating module 23; wherein the qubit frequency control signal includes a voltage signal in a positive and negative range. A host computer module 21, which is configured to determine a second mapping relationship between a control character sent to the central control module 22 and a register value sent by the central control module 22 to the analog signal generating module 23 based on the first mapping relationship. The central control module 22 is configured to determine a target register value output by the central control module 22 according to the second mapping relationship and the control character corresponding to the target voltage output by the host computer module 21. The analog signal generating module 23 is configured to output a corresponding qubit frequency control signal according to the first mapping relationship and the target register value.
[0095] Specifically, the measurement module 20 may include measuring devices such as a voltmeter, a spectrum analyzer, and an oscilloscope for measuring voltage signals; the host computer module 21 may include a functional module or functional software integrated in the host computer module; the central control module 22 may include a programmable control module such as FPGA (Field Programmable Gate Array), MCU (Microcontroller Unit)), MPU (Microprocessor Unit) or DSP (Digital Signal Processor); the analog signal generating module 23 includes a combination module such as DAC, operational amplifier circuit, and filter.
[0096] The second mapping relationship determined by the host computer module 21 can be stored in multiple locations, such as the host computer module 21 and the central control module 22. In this embodiment, the central control module 22 is also configured to store the second mapping relationship. By storing the second mapping relationship in the central control module 22, and storing the second mapping relationship of each output channel of the analog signal generating module 23 in the central control module 22, it is ensured that the central control module 22 receives the control characters and task parameters sent by the host computer module 21, and sends them to the corresponding data processing module according to the task requirements; it is avoided that the host computer module 21 needs to send the second mapping relationship every time it sends the task parameters, and when the connection interface between the central control module 22 or the analog signal generating module 23 and the host computer module 21 is changed, the task parameters need to be reconfigured.
[0097] In some embodiments of the present application, a plurality of qubits are integrated on the quantum processor, and each qubit requires an output channel of the analog signal generating module 23 to provide a frequency control signal when working. Therefore, the central control module 22 is also configured to store a second mapping relationship corresponding to each qubit on the quantum processor. When the central control module 22 receives the task parameters and control characters sent by the host computer module 21, the corresponding second mapping relationship is directly retrieved according to the qubit number in the task parameters, and the corresponding qubit frequency control signal is output according to the control character.
[0098] In some embodiments of the present application, the second mapping relationship is a linear function, the slope of the linear function is a first parameter, the intercept of the linear function is a second parameter, and the central control module is further configured to store the first parameter and the second parameter.
[0099] In some embodiments of the present application, the central control module 22 may include a multiplier unit and an adder unit; the multiplier unit is configured to perform multiplication processing on the first parameter and the control character; the adder unit is configured to perform addition processing on the result obtained after the multiplier unit is processed and the second parameter to obtain the target register value. The central control module 22 is preferably an FPGA, and a multiplier unit and an adder unit are configured in the FPGA to process the control character according to the linear function of the second mapping relationship and output the corresponding target register value.
[0100] In a specific implementation, the multiplier unit may select a multiplier that multiplies an unsigned number by a signed number, and the multiplication result of the first parameter and the control character is shifted left by 15 bits to take the lower 16 bits as the calculation result. The adder unit may select an adder that adds an unsigned number to a signed number, and the lower 16 bits of the result after the addition are taken as the actual output value, that is, the target register value.
[0101] In some embodiments of the present application, the analog signal generation module 23 includes a digital-to-analog conversion unit and an operational amplifier unit; the digital-to-analog conversion unit is configured to output a corresponding positive voltage signal according to the first mapping relationship and the target register value; the operational amplifier unit is configured to process the positive voltage signal and output a qubit frequency control signal including a voltage signal in a positive and negative range. A combination circuit of a digital-to-analog conversion unit and an operational amplifier unit is used to output a voltage signal including a positive and negative range.
[0102] Based on the same application concept, an embodiment of the present application also provides a quantum computer, which uses any of the methods for generating a qubit frequency control signal to output a control signal for controlling the frequency of qubits on a quantum processor, including any of the above-mentioned devices for generating a qubit frequency control signal, and a quantum processor, wherein the device is used to provide a frequency control signal for the qubits on the quantum processor.
[0103] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example" or "specific example" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification.
[0104] The above are only preferred embodiments of the present application and do not have any limiting effect on the present application. Any technical personnel in the relevant technical field, without departing from the scope of the technical solution of the present application, may make any form of equivalent replacement or modification to the technical solution and technical content disclosed in the present application, which shall be deemed as the content of the technical solution of the present application and still fall within the protection scope of the present application.
Claims
1. A method for generating a quantum bit frequency control signal, characterized in that: include: Determine a first mapping relationship between a register value sent by a central control module to an analog signal generating module and a qubit frequency control signal output by the analog signal generating module; wherein the qubit frequency control signal includes a voltage signal in a positive and negative range; Determine, based on the first mapping relationship, a second mapping relationship between a control character sent by the host computer module to the central control module and a register value sent by the central control module to the analog signal generating module; Determining a target register value output by the central control module according to the second mapping relationship and a control character corresponding to the target voltage output by the host computer module; Output a corresponding qubit frequency control signal according to the first mapping relationship and the target register value.
2. The method for generating a qubit frequency control signal according to claim 1, characterized in that: The step of determining a first mapping relationship between a register value sent by the central control module to the analog signal generating module and a qubit frequency control signal output by the analog signal generating module specifically includes: Outputting at least two of the register values to the analog signal generating module and measuring corresponding measurement voltage values output by the analog signal generating module; Determine a fitting line based on each of the register values and the corresponding measured voltage value; Determine, based on the fitting line, a first corresponding relationship between the maximum value of the register value and the maximum value of the target voltage, and a second corresponding relationship between the minimum value of the register value and the minimum value of the target voltage; wherein the minimum value of the target voltage and the maximum value of the target voltage are determined according to the frequency of the quantum processor; The first mapping relationship is determined based on the first corresponding relationship and the second corresponding relationship.
3. The method for generating a qubit frequency control signal according to claim 1, wherein: The step of determining, based on the first mapping relationship, a second mapping relationship between a control character sent by the host computer module to the central control module and a register value sent by the central control module to the analog signal generating module specifically includes: Determine the maximum and minimum values of the control characters sent by the host computer module to the central control module; wherein the control characters correspond one to one with the target voltage; Determine a third corresponding relationship between the maximum value of the control character and the maximum value of the register value, and a fourth corresponding relationship between the minimum value of the control character and the minimum value of the register value; The second mapping relationship is determined based on the first mapping relationship, the third corresponding relationship, and the fourth corresponding relationship.
4. The method for generating a qubit frequency control signal according to claim 3, characterized in that: The second mapping relationship is determined to be a linear function.
5. The method for generating a qubit frequency control signal according to claim 4, characterized in that: After the step of determining the second mapping relationship based on the third corresponding relationship and the fourth corresponding relationship, the method further includes: Determine a first parameter and a second parameter of the linear function; wherein the first parameter is the slope of the linear function, and the second parameter is the intercept of the linear function.
6. The method for generating a qubit frequency control signal according to claim 5, characterized in that: The range of the first parameter is determined to be [0, 1].
7. The method for generating a qubit frequency control signal according to claim 5, characterized in that: The step of determining the target register value output by the central control module according to the second mapping relationship and the control character corresponding to the target voltage output by the host computer module specifically includes: Performing multiplication processing on the first parameter and the control character; The result obtained after the multiplication process is added to the second parameter to obtain the target register value.
8. A device for generating a quantum bit frequency control signal, characterized in that: include: A measuring module configured to determine a first mapping relationship between a register value sent by the central control module to the analog signal generating module and a qubit frequency control signal output by the analog signal generating module; wherein the qubit frequency control signal comprises a voltage signal in a positive and negative range; a host computer module, configured to determine, based on the first mapping relationship, a second mapping relationship between a control character sent to the central control module and a register value sent by the central control module to the analog signal generating module; The central control module is configured to determine a target register value output by the central control module according to the second mapping relationship and a control character corresponding to the target voltage output by the host computer module; The analog signal generating module is configured to output a corresponding quantum bit frequency control signal according to the first mapping relationship and the target register value.
9. The device for generating a qubit frequency control signal according to claim 8, characterized in that: The central control module is further configured to store the second mapping relationship.
10. The device for generating a qubit frequency control signal according to claim 9, characterized in that: The central control module is also configured to store a second mapping relationship corresponding to each quantum bit on the quantum processor.
11. The device for generating a qubit frequency control signal according to claim 9, characterized in that: The second mapping relationship is a linear function, the slope of the linear function is a first parameter, the intercept of the linear function is a second parameter, and the central control module is further configured to store the first parameter and the second parameter.
12. The device for generating a qubit frequency control signal according to claim 11, characterized in that: The central control module includes a multiplier unit and an adder unit; The multiplier unit is configured to perform multiplication processing on the first parameter and the control character; The adder unit is configured to perform an addition process on a result obtained after the multiplier unit processes and the second parameter to obtain the target register value.
13. The device for generating a qubit frequency control signal according to claim 8, characterized in that: The analog signal generating module includes a digital-to-analog conversion unit and an operational amplifier unit; The digital-to-analog conversion unit is configured to output a corresponding positive voltage signal according to the first mapping relationship and the target register value; The operational amplifier unit is configured to process the positive voltage signal and output a qubit frequency control signal including a voltage signal in a positive and negative range.
14. A quantum computer, characterized in that: A method for generating a qubit frequency control signal as described in any one of claims 1 to 7 is used to output a control signal for controlling the frequency of a qubit on a quantum processor, or a device for generating a qubit frequency control signal as described in any one of claims 8 to 13, and a quantum processor, wherein the device is used to provide a frequency control signal for a qubit on the quantum processor.
Citation Information
Patent Citations
Quantum bit frequency control signal processing method and superconducting quantum chip
CN112149832A
Qubit control electronics
CN112236785A
Quantum controller with multiple pulse modes
CN113302631A
Quantum bit control signal test system and quantum computer
CN216286753U
Method for processing frequency control signal of qubit and superconducting quantum chip
US20220147859A1
