Method and device for optimizing working frequency of quantum bit
By constructing the initial topology structure and combining the target topology structure supplemented by the measurement and control lines, the qubit frequency is optimized, and the problem of failure to fully consider non-near influences in the existing technology is solved, and the fidelity and computing performance of the quantum chip are improved.
Patent Information
- Application Number
- CN202510286014.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-11
- Publication Date
- 2025-07-25
AI Technical Summary
When selecting the operating frequency of qubits, the prior art only considers the impact of the near or sub-near qubits, and fails to fully consider the impact of the signal transmission line, resulting in a decrease in the fidelity of the quantum chip.
By constructing the initial topology of the quantum chip, combining the measurement and control line structure to obtain the target topology structure, optimize the operating frequency of the qubits, and consider the influence of non-near qubits.
It improves the quantum operation fidelity of quantum chips, ensures that the selection of quantum bit frequency is more appropriate, and improves the accuracy and stability of quantum computing.
Smart Images

Figure CN120373479A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the technical field of quantum chips, and particularly relates to a method and device for optimizing the operating frequency of qubits. Background Art
[0002] For large-scale superconducting quantum chips, it is necessary to select appropriate operating frequencies for qubits, such as the frequency of single-qubit gates and two-qubit gates for each qubit, to improve the overall quantum operation fidelity of the multi-qubit system. Currently, when selecting frequencies, only the mutual influence between adjacent or next-nearest qubits on the quantum chip is considered. However, since the signal transmission lines on the chip or external signal transmission lines may affect non-adjacent qubits, it is insufficient to only consider the influence between adjacent or non-adjacent qubits at this time, which may lead to inappropriate selection of the operating frequencies of qubits and affect the fidelity of the quantum chip. Summary of the Invention
[0003] In view of the above problems, the embodiments of this application provide a method and device for optimizing the operating frequency of qubits. By considering the measurement and control lines to construct a target topological structure and optimizing the operating frequency of qubits through the target topological structure, the selected operating frequency of qubits can be made more appropriate, thereby improving the quantum operation fidelity of the quantum chip.
[0004] In a first aspect, the embodiments of this application provide a method for optimizing the operating frequency of qubits, the method comprising:
[0005] Constructing an initial topological structure of qubits according to the connection structure of qubits in a quantum chip;
[0006] Supplementing the initial topological structure of the qubits according to the measurement and control line structure of the quantum chip to obtain a target topological structure;
[0007] Optimizing the operating frequencies of each qubit based on the target topological structure.
[0008] In some embodiments, the supplementing the initial topological structure of the qubits according to the measurement and control line structure of the quantum chip to obtain a target topological structure includes:
[0009] Determining the distance between the measurement and control lines corresponding to two qubits based on the measurement and control line structure;
[0010] Determining whether two qubits with a distance less than a distance threshold are adjacent qubits;
[0011] In the case where two qubits with a distance less than the distance threshold are not adjacent qubits, it is determined that there is a correlation between the two qubits with a distance less than the distance threshold;
[0012] Based on the qubits with correlation, supplement the initial topological structure to obtain a target topological structure.
[0013] In some embodiments, the optimizing the operating frequencies of each qubit based on the target topological structure includes:
[0014] Select a qubit from the target topological structure as the optimization starting point;
[0015] According to the target topological structure and the optimization range of the selected frequency, optimize the frequency of the optimization starting point, the adjacent qubits of the optimization starting point, and the qubits correlated with the optimization starting point;
[0016] Determine the adjacent points of the optimized optimization starting point as the new optimization starting point, and perform frequency optimization to traverse all qubits to obtain the operating frequencies of each qubit. Wherein, in the process of optimizing the frequency of any first qubit, when the frequencies of the qubits adjacent to the first qubit have been optimized, optimize the frequency of the first qubit based on the frequencies of the qubits adjacent to the first qubit as a constraint.
[0017] In some embodiments, the method further includes:
[0018] When the frequency optimization of the qubits in the quantum chip is completed, perform a fidelity test on multiple qubits in the quantum chip;
[0019] In the case where there is a qubit with an unqualified fidelity test, perform a single performance test on the qubit with an unqualified fidelity test;
[0020] In the case where there is a second qubit with an unqualified single performance test, delete the frequency of the second qubit from the optimization range and re-optimize.
[0021] In some embodiments, the method further includes:
[0022] In the case where there is a third qubit with a qualified single performance test, perform multi-qubit operation optimization on the qubits in the quantum chip based on the frequency of the third qubit.
[0023] In some embodiments, the performing multi-qubit operation optimization on the qubits in the quantum chip based on the frequency of the third qubit includes:
[0024] Select any first target qubit from the third qubits as the optimization target, adjust the frequency of the first target qubit in a first adjustment direction according to the frequency adjustment step size and the change range of the frequencies of the qubits adjacent to the first target qubit, so that the performance or frequency of the first target qubit meets the requirements;
[0025] Perform a performance test on the fourth qubits that are adjacent to the first target qubit and have passed the performance test;
[0026] Determine whether the performance of the fourth qubit deteriorates;
[0027] When the performance of the fourth qubit deteriorates and the degree of deterioration does not exceed the critical value, measure whether the performance of other qubits improves;
[0028] In the case where there is a second target qubit in the third qubits, use the second target qubit as the new optimization target for optimization to optimize all the third qubits, where the second target qubit is the qubit with improved performance;
[0029] In the case where there is no such second target qubit in the third qubits, select a qubit from the third qubits as the new optimization target for optimization to optimize all the third qubits.
[0030] In some embodiments, the method further includes:
[0031] When the performance of the fourth qubit deteriorates and the degree of deterioration exceeds the critical value, adjust the frequency of the first target qubit in a second adjustment direction and perform a performance test on the fourth qubit, where the first adjustment direction is opposite to the second adjustment direction;
[0032] When the performance of the fourth qubit returns to within the set value, measure whether the performance of other qubits improves;
[0033] In the case where there is a second target qubit in the third qubits, use the second target qubit as the new optimization target for optimization to optimize all the third qubits;
[0034] In the case where there is no such second target qubit in the third qubits, select a qubit from the third qubits as the new optimization target for optimization to optimize all the third qubits.
[0035] In some embodiments, the method further includes:
[0036] After traversing all the third qubits, determine whether there is a third target qubit among all the qubits, where the performance of the third target qubit is unqualified;
[0037] If there is a third target qubit, delete the frequency of the third target qubit from the optimization range of the selected frequency and re-optimize.
[0038] In a second aspect, an embodiment of the present application provides an optimization device for the operating frequency of qubits, including:
[0039] A first construction module, configured to construct an initial topology of qubits according to the connection structure of qubits in a quantum chip;
[0040] A second construction module, configured to supplement the initial topology of the qubits according to the measurement and control line structure of the quantum chip to obtain a target topology;
[0041] A first optimization module, configured to optimize the operating frequencies of each qubit based on the target topology.
[0042] In a third aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements an optimization method for the operating frequency of qubits provided in the first aspect above.
[0043] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, it implements an optimization method for the operating frequency of qubits provided in the first aspect above.
[0044] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, it implements an optimization method for the operating frequency of qubits provided in the first aspect above.
[0045] In a sixth aspect, an embodiment of the present application provides a computer program product, and when the computer program product runs on an electronic device, it causes the electronic device to execute an optimization method for the operating frequency of qubits provided in the first aspect above.
[0046] The beneficial effects of the embodiments of the present application compared with the prior art are:
[0047] The optimization method for the operating frequency of qubits provided by the embodiments of the present application constructs an initial topological structure of qubits according to the connection structure of qubits in a quantum chip; supplements the initial topological structure of the qubits according to the measurement and control circuit structure of the quantum chip to obtain a target topological structure, and optimizes the operating frequencies of the respective qubits based on the target topological structure. Since the influence generated by non-adjacent qubits is considered, the selected operating frequencies of the qubits are more appropriate, thereby improving the fidelity of quantum operations of the quantum chip.
[0048] It can be understood that the beneficial effects of the second to sixth aspects above can be referred to the relevant descriptions in the first aspect above, and will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0050] Figure 1 It is a schematic diagram of the implementation process of an optimization method for qubits provided in the related art;
[0051] Figure 2 It is a schematic diagram of an optimization path for qubits provided in the related art;
[0052] Figure 3 It is a schematic diagram of the process of an optimization method for the operating frequency of qubits provided by the embodiments of the present application;
[0053] Figure 4 It is a schematic diagram of an optimization route for qubits provided by the embodiments of the present application;
[0054] Figure 5 It is a schematic diagram of the process of an optimization method for the operating frequency of qubits provided by the embodiments of the present application;
[0055] Figure 6 It is a schematic diagram of the implementation process of step S505 provided by the embodiments of the present application;
[0056] Figure 7 It is a schematic diagram of the structure of an optimization device for the operating frequency of qubits provided by the embodiments of the present application;
[0057] Figure 8 It is a schematic diagram of the structure of an electronic device provided by the embodiments of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0058] In the following description, for the purpose of illustration rather than limitation, specific details such as specific system architectures, technologies, etc. are presented to provide a thorough understanding of the embodiments of the present application. However, those skilled in the art should clearly understand that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid unnecessary details from obscuring the description of the present application.
[0059] It should be understood that when used in the specification and appended claims of the present application, the term "comprising" indicates the presence of the described features, wholes, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components, and / or their combinations.
[0060] It should also be understood that the term "and / or" used in the specification and appended claims of the present application refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0061] As used in the specification and appended claims of the present application, the term "if" can be interpreted as "when", "once", "in response to determining", or "in response to detecting" depending on the context. Similarly, the phrases "if determined" or "if detected" can be interpreted as meaning "once determined", "in response to determining", "once detected", or "in response to detecting" depending on the context.
[0062] In addition, in the description of the specification and appended claims of the present application, the terms "first", "second", "third", etc. are only used for distinguishing descriptions and cannot be understood as indicating or implying relative importance.
[0063] The reference to "one embodiment" or "some embodiments" etc. described in the specification of the present application means that a specific feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, statements such as "in one embodiment", "in some embodiments", "in other some embodiments", "in still other embodiments", etc. that appear in different places in this specification do not necessarily all refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in another way.
[0064] Before introducing the embodiments of the present application, a brief introduction to the technical problems in the related art is given. For a superconducting quantum system, when it works, it is necessary to select the working frequency of the qubits. As the scale of the quantum system gradually increases, this way of selecting the working frequency usually needs to be automatically selected through an optimization method. Its basic method is to select parameters related to frequency optimization that may affect the qubit fidelity, and construct an approximate mapping function of frequency and fidelity as a cost function for optimization. In addition, since it is computationally intensive to traverse and search for the global optimal point by varying the frequencies of all qubits, the basic idea of the currently commonly used method is to select one qubit as the starting point, and select the relevant parameters of the qubits adjacent to it on the chip within a certain range to form a cost function for optimization, and optimize it to determine the working frequencies of the qubits within a small range. Based on this, the frequencies of the adjacent qubits are optimized based on the optimized qubits, so as to continuously expand the number of qubits with selected frequencies, and gradually complete the selection of the frequency points of all qubits on the entire quantum chip. A well-known method of this kind is the Snake method. Figure 1 It is a schematic diagram of the implementation process of an optimization method for qubits provided in the related art, as Figure 1 shown. By inputting the topological structure of the qubits, one qubit or multiple qubits are selected as the starting point, and the frequencies of the qubits within a small range are selected according to the provided topological structure of the qubits, the optimization scheme used, and the selected optimization range. Finally, based on the qubits with the selected frequencies, all qubits are gradually traversed. Figure 2 It is a schematic diagram of an optimization path for qubits provided in the related art. The qubits are optimized starting from qubit 1, and the selected optimization range is the two adjacent qubits. At the same time, the qubits on the diagonal are not directly coupled: Select qubit 1 as the basis, and optimize the frequencies of qubit 2 and qubit 3 adjacent to itself and the upper and lower adjacent qubits at the same time, and the single-bit working frequency and two-bit working frequency of the qubits can be obtained. Based on 2 and 3, optimize the working frequencies of the adjacent qubits 4, 5, and 6. It should be noted that the optimization of qubit 4 needs to be carried out under the simultaneous frequency constraints of 2 and 3, and only the frequency of one of the qubits 2 and 3 is required for the constraints of 5 and 6.
[0065] It can be seen that in the related art, when selecting the frequency, only the mutual influence between adjacent qubits or next-nearest-neighbor qubits on the quantum chip is considered. However, since the signal transmission lines on the chip or the external signal transmission lines may affect non-adjacent qubits, it is insufficient to only consider the influence between adjacent or non-adjacent qubits at this time, which may lead to inappropriate working frequencies of the selected qubits and affect the fidelity of the quantum chip.
[0066] Based on the technical problems of related technologies, an optimization method for the operating frequency of qubits in the embodiments of the present application can be applied to electronic devices such as mobile phones, tablet computers, wearable devices, augmented reality (AR) / virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPCs), netbooks, and personal digital assistants (PDAs). The embodiments of the present application do not impose any restrictions on the specific types of electronic devices.
[0067] The embodiments of the present application provide an optimization method for the operating frequency of qubits. Figure 3 FIG. is a schematic flowchart of an optimization method for the operating frequency of qubits provided by an embodiment of the present application. As Figure 3 shown, the method includes:
[0068] Step S101, constructing an initial topology of the qubits according to the connection structure of the qubits in the quantum chip.
[0069] In the embodiments of the present application, there are specific connection methods between the qubits in the quantum chip, and these connection relationships have important influences on aspects such as the interaction between the qubits and the overall quantum computing performance. By deeply analyzing how each qubit in the quantum chip is connected to each other, such as through specific coupling devices or following a certain specific physical layout to achieve the connection, etc., based on this, the initial topology of the qubits is constructed. This initial topology can initially reflect the connection architecture of the qubits on the chip and provide a starting framework for subsequent further processing.
[0070] Step S102, supplementing the initial topology of the qubits according to the measurement and control circuit structure of the quantum chip to obtain a target topology.
[0071] In the embodiments of the present application, in addition to the quantum bits themselves and their connection structures, the quantum chip is also equipped with measurement and control circuits. These measurement and control circuits are used to perform various measurement and control operations on the quantum bits, such as applying specific pulse signals to manipulate the states of the quantum bits, reading the information of the quantum bits, etc. The connection structure of the measurement and control circuits is correlated with the connection structure of the quantum bits, and it will affect the operability and performance of the quantum bits during actual operation. Therefore, according to the specific situation of the measurement and control circuit structure of the quantum chip, the initial topological structure of the already constructed quantum bits needs to be supplemented and improved. In the embodiments of the present application, the target topological structure may include: an initial topological structure and a supplementary topological structure. By integrating the information related to the measurement and control circuit structure into the initial topological structure, the finally obtained target topological structure can more comprehensively reflect the complete relationship between the quantum bits on the quantum chip and the associated measurement and control circuits, thereby more accurately guiding subsequent operations such as optimizing the working frequency of the quantum bits.
[0072] Exemplarily, Figure 4 is a schematic diagram of an optimization route for a quantum bit provided by an embodiment of the present application. As Figure 4 shown, the target topological structure may include: an initial topological structure and a supplementary topological structure. In the target topological structure, there is a correlation between quantum bit 1 and quantum bit 7, and this correlation is the supplementary topological structure.
[0073] In the embodiments of the present application, step S102 can be implemented through the following steps:
[0074] Step S1021, determine the distance between the measurement and control circuits corresponding to two quantum bits based on the measurement and control circuit structure.
[0075] In the embodiments of the present application, the measurement and control circuit structure of the quantum chip stipulates the layout and orientation of the measurement and control circuits corresponding to each quantum bit, etc. By deeply studying and analyzing this measurement and control circuit structure, the actual positional relationship between the measurement and control circuits corresponding to any two quantum bits on the chip can be determined, and then the distance between them can be accurately calculated. The distance between two endpoints or key nodes of the measurement and control circuits can be determined by using the distance formula between two points based on the coordinate positions of the measurement and control circuits on the chip plane.
[0076] Step S1022, determine whether two quantum bits with a distance less than the distance threshold are adjacent quantum bits.
[0077] In the embodiments of the present application, the distance threshold can be a pre-determined standard value, which is used to measure whether the distance between the measurement and control circuits corresponding to two quantum bits is close enough.
[0078] In the embodiments of the present application, after determining the distance between the measurement and control lines corresponding to two qubits through the previous steps, this distance is compared with a distance threshold. If the distance between the measurement and control lines corresponding to the two qubits is less than this distance threshold, it is then necessary to further determine whether these two qubits are adjacent qubits in the ordinary sense. The "adjacency" mentioned here may have a more rigorous physical definition, such as whether it is within the direct interaction range between qubits, etc., rather than simply meaning that the qubits are adjacent just because the measurement and control lines are close. So even if the distance between the measurement and control lines is less than the threshold, it is possible that these two qubits are not actually adjacent.
[0079] Step S1023, in the case where two qubits with a distance less than the distance threshold are not adjacent qubits, determine that there is a correlation between the two qubits with a distance less than the distance threshold.
[0080] In the embodiments of the present application, when two qubits with a distance less than the distance threshold are not adjacent qubits, at this time, although they may not be adjacent at the direct interaction level of the qubits, considering factors such as the structure of the measurement and control lines, it is determined that there is a correlation between these two qubits. This correlation stems from the layout of the measurement and control lines on the chip, the common functions they undertake, or their association with other components, etc., such that although these two qubits are not adjacent in the traditional sense, there is still an inherent connection between them during the operation of the entire quantum chip system.
[0081] Step S1024, determine a supplementary topology based on the qubits with a correlation, and obtain a target topology structure based on the supplementary topology and the initial topology structure.
[0082] In the embodiments of the present application, once the qubits with a correlation are determined, a supplementary topology is determined using these qubits with a correlation. The supplementary topologies are added to the initial topology structure, enabling the initial topology structure to more comprehensively reflect the true relationships between the qubits on the quantum chip and between the qubits and the measurement and control lines. After such supplementation and improvement, the finally obtained is the target topology structure, which is more accurate and complete than the initial topology structure and can provide a more reliable basis for subsequent operations such as optimizing the working frequencies of the qubits based on this topology structure.
[0083] The method provided by the embodiments of the present application supplements and improves the initial topology structure by analyzing the distance between the qubit measurement and control lines, determining whether they are adjacent, and determining the correlation, etc., so as to obtain a target topology structure that more conforms to the actual situation of the quantum chip.
[0084] Step S103, optimize the working frequencies of each qubit based on the target topology structure.
[0085] In the embodiments of the present application, since the target topological structure comprehensively considers the connection structure of qubits and the measurement and control circuit structure, it provides a more favorable environment and accurate basis for optimizing the working frequencies of each qubit. Under the framework of this target topological structure, the mutual influence relationships between each qubit and its surrounding qubits and the measurement and control circuits can be analyzed more precisely, and then it can be determined how to adjust the working frequency of each qubit to achieve better performance in the overall quantum chip environment. For example, according to factors such as the coupling strength between qubits presented by the target topological structure and the influence mode of the measurement and control circuit on the qubits, specific algorithms or adjustment strategies can be used to optimize the working frequencies of each qubit to achieve a series of optimization goals such as improving the accuracy of quantum computing, reducing the error rate, and enhancing the operation speed.
[0086] In the embodiments of the present application, step S103 can be implemented through the following steps:
[0087] Step S1031, select a qubit from the target topological structure as the optimization starting point.
[0088] In the embodiments of the present application, a qubit is selected from this target topological structure as the optimization starting point. This selection may be random or based on certain specific rules or consideration factors (such as the relatively critical position of the qubit in the topological structure, its initial performance being representative, etc.). The number of selected qubits can be one or more.
[0089] Continuing with the above example, qubit 1 is used as the optimization starting point.
[0090] Step S1032, perform frequency optimization on the optimization starting point, the adjacent qubits of the optimization starting point, and the qubits correlated with the optimization starting point according to the target topological structure and the selected frequency optimization range.
[0091] In the embodiments of the present application, after determining the optimization starting point, frequency optimization work should be carried out according to the relationships between each qubit presented by the target topological structure (including adjacent relationships, correlations, etc.) and the pre-selected frequency optimization range.
[0092] In some embodiments, frequency optimization can also be carried out based on the use of an optimization scheme, the target topological structure, and the pre-selected frequency optimization range. The optimization scheme can be the Snake method.
[0093] In the embodiments of the present application, for the optimization starting point itself, its adjacent qubits, and the qubits correlated with it, within this frequency optimization range, a specific optimization method is used to make their frequencies reach a better state. The optimization range here is set in advance. It may be determined, based on comprehensive considerations of various factors such as the performance requirements of the quantum chip and the characteristics of the qubits themselves, a suitable frequency interval. Through optimization, the frequencies of these qubits are made to fall within this interval to achieve better performance.
[0094] Continuing with the above example, see Figure 4 , starting from qubit 1, simultaneously optimize the frequencies of adjacent qubits 2 and 3. Due to the supplementary topology, qubit 7 also needs to be optimized simultaneously during this process.
[0095] Step S1033, determine the adjacent point of the optimized optimization starting point as the new optimization starting point, and perform frequency optimization to traverse all qubits, obtaining the working frequencies of each qubit. Among them, during the process of optimizing the frequency of any first qubit, when the frequencies of the qubits adjacent to the first qubit have been optimized, the frequency of the first qubit is optimized based on the frequencies of the qubits adjacent to the first qubit as a constraint.
[0096] In the embodiments of the present application, the adjacent point of the optimization starting point after frequency optimization is determined as the new optimization starting point, and then the frequency optimization steps described above are performed again on the new optimization starting point, its adjacent qubits, and related qubits. By continuously updating the optimization starting point and performing frequency optimization operations in this way, all qubits are gradually traversed. The purpose is to perform frequency optimization processing on each qubit on the quantum chip, and finally obtain the working frequencies of each qubit.
[0097] In the embodiments of the present application, the first qubit can be any qubit. During the process of optimizing the frequency of any qubit called the first qubit, if it is found that the frequencies of the qubits adjacent to the first qubit have been optimized, then at this time, the frequency optimization of the first qubit cannot be carried out arbitrarily, but the frequencies of these adjacent qubits after optimization are used as a constraint condition. That is to say, when optimizing the frequency of the first qubit, the mutual relationship and overall coordination between it and the adjacent qubits need to be considered. It is not allowed to damage the frequency states of the already optimized adjacent qubits and their cooperative relationships due to excessive optimization of the frequency of the first qubit. It is necessary to ensure that the frequency optimization of the qubits on the entire quantum chip is a coordinated and orderly process to achieve overall performance improvement.
[0098] Continuing with the above example, qubits 2 and 3 are used as the basis to optimize the adjacent qubits. During this process, it should be noted that the limitations of the already optimized qubit 7 need to be considered during the optimization of qubits 4 and 5.
[0099] The method provided by the embodiments of the present application constructs an initial topology of qubits according to the connection structure of qubits in a quantum chip; supplements the initial topology of the qubits according to the measurement and control circuit structure of the quantum chip to obtain a target topology, and optimizes the operating frequencies of each qubit based on the target topology. Since the influence generated by non-adjacent qubits is considered, the selected operating frequencies of the qubits are more appropriate, thereby improving the fidelity of quantum operations of the quantum chip.
[0100] In some embodiments, after step S103, the method further includes:
[0101] Step S104, when the frequency optimization of the qubits in the quantum chip is completed, perform a fidelity test on multiple qubits in the quantum chip.
[0102] In the embodiments of the present application, fidelity is an important indicator in the field of quantum computing. It is used to measure the degree to which a qubit can maintain its initial quantum state during the execution of an operation, that is, to evaluate the stability and accuracy of the qubit state. By performing a fidelity test on multiple qubits, the performance of the qubits after frequency optimization in actual operation can be comprehensively understood.
[0103] Step S105, when there are qubits with unqualified fidelity test results, perform a single performance test on the qubits with unqualified fidelity test results.
[0104] In the embodiments of the present application, if qubits with unqualified fidelity test results are found during the fidelity test, it means that these qubits fail to meet the expected requirements in terms of maintaining the stability and accuracy of the quantum state. At this time, a single performance test will be performed on these qubits with unqualified fidelity test results. The single performance test may involve checking more aspects of the qubits, such as the coherence time, manipulation accuracy, fidelity, etc. of the qubits, so as to more deeply understand in which aspects these qubits have problems, thereby providing a more accurate basis for subsequent processing.
[0105] Step S106, when there are second qubits with unqualified single performance test results, delete the frequencies of the second qubits from the optimization range and re-optimize.
[0106] In the embodiments of the present application, the second qubit is a qubit that fails a single performance test. The coherence time, manipulation accuracy, and fidelity of the qubit can be compared with the corresponding preset values respectively to determine whether the performance test is qualified. For example, if the fidelity is less than the preset value, it is determined to be unqualified; if the fidelity is greater than the preset value, it is determined to be qualified.
[0107] In the embodiments of the present application, if the frequency of the second qubit is deleted from the optimization range and re-optimized based on the new optimization range, and after multiple rounds of iterative optimization, the performance test of the second qubit is still unqualified, then the test of the second qubit with unqualified performance test is deleted from the topological structure, and re-optimization is performed based on the updated topological structure. The number of rounds of iteration in the embodiments of the present application can be configured. Exemplarily, it can be configured as 3 times, 2 times, etc. Since the second qubit with unqualified performance test is deleted, the layout and mutual relationship of the qubits in the quantum chip have changed, and the previous frequency optimization results may no longer be applicable to the new topological structure. Therefore, it is necessary to re-conduct the frequency optimization work to enable the qubits to achieve better performance under the new topological structure and further improve the overall performance of the quantum chip.
[0108] In the embodiments of the present application, after the qubit frequency optimization is completed, a series of operations such as fidelity testing and single performance testing are performed to screen out the problematic qubits and perform corresponding processing (updating the topological structure), and finally, the frequency optimization is performed again based on the updated topological structure. The complete process aims to continuously optimize the performance of the quantum chip and ensure the stability and accuracy of the qubits during actual operation.
[0109] In some embodiments, after step S105, the method further includes:
[0110] Step S107, in the case where there is a third qubit with a qualified single performance test, perform multi-qubit operation optimization on the qubits of the quantum chip based on the frequency of the third qubit.
[0111] In the embodiments of the present application, the third qubit is a qubit with an unqualified fidelity test and an inconsistent single performance test.
[0112] In the embodiments of the present application, step S107 can be implemented through the following steps:
[0113] Step S1, select any first target qubit from the third qubits as the optimization target, and select a change range according to the frequency adjustment step size and the frequencies of the qubits adjacent to the first target qubit to adjust the frequency of the first target qubit in the first adjustment direction so that the performance or frequency of the first target qubit meets the requirements.
[0114] In the embodiments of the present application, any qubit is randomly selected or selected according to a certain established rule from a specific set of third qubits, and is defined as the first target qubit.
[0115] In the embodiments of the present application, in order to enable the performance or frequency of the first target qubit to meet the expected requirements, it is necessary to adjust its frequency according to two important parameters. One is the preset frequency adjustment step size, which determines the magnitude of the change each time the frequency is adjusted; the other is the frequency selection change range of the qubits adjacent to the first target qubit, and this range limits the interval within which the frequency of the first target qubit can be adjusted considering the influence of adjacent qubits. Then, an adjustment operation is performed on the frequency of the first target qubit in the first adjustment direction (this direction may be a specific direction such as increasing the frequency or decreasing the frequency, etc.).
[0116] Step S2: Perform a performance test on the fourth qubits adjacent to the first target qubit and passing the performance test.
[0117] In the embodiments of the present application, after the frequency of the first target qubit is adjusted, a performance test needs to be performed on the adjacent qubits. For the adjacent qubits that have undergone a performance test before and the result is qualified, these qubits are defined as the fourth qubits, and then a performance test needs to be performed on them again. The main purpose of performing a performance test on the fourth qubits is to check whether the adjustment of the frequency of the first target qubit will affect these adjacent fourth qubits with originally qualified performance, thereby causing a change in their performance.
[0118] Step S3: Determine whether the performance of the fourth qubit deteriorates.
[0119] In the embodiments of the present application, if the performance of the fourth qubit does not deteriorate, qubits are selected from the third qubits as new optimization targets for optimization to optimize all the third qubits.
[0120] In the embodiments of the present application, if the performance of the fourth qubit deteriorates, step S4 needs to be executed.
[0121] Step S4: When the performance of the fourth qubit deteriorates and the degree of deterioration does not exceed the critical value, measure whether the performance of other qubits improves.
[0122] In the embodiments of the present application, when it is found that the performance of the fourth qubit deteriorates and the degree of deterioration does not exceed a preset critical value, the performance of other qubits (mainly referring to other qubits in the third qubit set here) is further measured to see if it has improved. This is because although the performance of the fourth qubit has decreased, it is still within an acceptable range, and it is possible that during the process of adjusting the frequency of the first target qubit, the performance of other qubits has been improved. Therefore, it is necessary to further investigate this possibility.
[0123] Step S5, in the case where there is a second target qubit in the third qubits, using the second target qubit as a new optimization target for optimization to optimize all the third qubits, where the second target qubit is a qubit with improved performance.
[0124] In the embodiments of the present application, if during the process of measuring the performance of other qubits, it is found that there is a certain second target qubit in the third qubits and the performance of this second target qubit has improved, then this favorable situation is seized, and this second target qubit is used as a new optimization target, and then optimized according to the optimization method for the first target qubit described above. By continuously using the qubit with improved performance as a new optimization target for optimization, the optimization of all the third qubits is gradually realized to improve the performance of the entire set.
[0125] In some embodiments, after step S4, the method further includes:
[0126] Step S6, in the case where there is no such second target qubit in the third qubits, selecting a qubit from the third qubits as a new optimization target for optimization to optimize all the third qubits.
[0127] In the embodiments of the present application, if it is not found that the performance of any second target qubit has improved in the third qubits, it means that the adjustment of the frequency of the first target qubit this time has not brought about a change that is overall beneficial to the third qubit set. At this time, it is necessary to re-select a qubit from the third qubits as a new optimization target and start a new round of optimization process again, and continue to try to optimize all the third qubits by adjusting the frequency and other operations until a better performance improvement effect is achieved.
[0128] The method provided by the embodiments of the present application continuously tries to optimize all the third qubits to improve their overall performance by gradually selecting optimization targets, adjusting frequencies, testing the performance of adjacent qubits, and flexibly adjusting optimization strategies according to different situations.
[0129] In some embodiments, after step S3, the method further includes:
[0130] Step S7, when the performance of the fourth qubit deteriorates and the degree of deterioration exceeds a critical value, adjust the frequency of the first target qubit in a second adjustment direction, and perform a performance test on the fourth qubit, where the first adjustment direction is opposite to the second adjustment direction.
[0131] In the embodiment of the present application, after performing a performance test on the fourth qubit that is adjacent to the first target qubit and whose performance was qualified before, it is found that the performance of the fourth qubit not only deteriorates, but also the degree of deterioration exceeds a preset critical value. This situation indicates that the operation of adjusting the frequency of the first target qubit in the first adjustment direction before has had a relatively serious negative impact on the fourth qubit. Therefore, it is necessary to adjust the frequency of the first target qubit in the second adjustment direction. For example, if the first adjustment direction is to increase the frequency, then the second adjustment direction is to decrease the frequency; vice versa. Through this reverse adjustment, it is expected to alleviate the adverse consequences brought by the previous adjustment and improve the performance of the fourth qubit.
[0132] Step S8, when the performance of the fourth qubit returns to within the set value, measure whether the performance of other qubits has improved.
[0133] In the embodiment of the present application, after adjusting the frequency of the first target qubit in the second adjustment direction, immediately perform a performance test on the fourth qubit again. This is to timely understand whether the performance of the fourth qubit has changed after this reverse adjustment and whether it develops in the direction of returning to an acceptable state (i.e., within the set value).
[0134] In the embodiment of the present application, when after the above reverse adjustment, the performance of the fourth qubit returns to within the set value, this means that the reverse adjustment of the frequency of the first target qubit has played a certain positive role, making the performance of the fourth qubit return to a relatively acceptable range. In this case, similar to the processing method when the performance of the fourth qubit deteriorated but did not exceed the critical value before, measure whether the performance of other qubits (here mainly referring to other qubits in the third qubit set) has improved. Because although the performance of the fourth qubit has recovered, the optimization goal of the entire third qubit set is to improve the performance of all qubits, so it is necessary to further check whether this adjustment has also had a beneficial impact on other qubits.
[0135] Step S9, when there is a second target qubit in the third qubits, use the second target qubit as a new optimization target for optimization to optimize all third qubits.
[0136] In the embodiments of the present application, if during the process of measuring the performance of other qubits, it is found that the performance of a certain second target qubit in the third qubit has improved, then this second target qubit will be used as the new optimization target. Then, follow the similar optimization process described above.
[0137] Step S10, in the case where the second target qubit does not exist in the third qubit, select a qubit from the third qubit as the new optimization target and perform optimization to optimize all the third qubits.
[0138] In the embodiments of the present application, if it is not found that the performance of any second target qubit has improved in the third qubit, it means that the frequency adjustment (including forward adjustment and reverse adjustment) of the first target qubit this time has not brought about a change that is overall beneficial to the set of third qubits. At this time, it is necessary to re-select a qubit from the third qubit as the new optimization target and start a new round of optimization process again, and continue to try to optimize all the third qubits by adjusting operations such as frequency until a better performance improvement effect is achieved.
[0139] The method provided by the embodiments of the present application continuously promotes the optimization of the set of third qubits through operations such as reverse adjustment of the frequency of the first target qubit, re-testing the performance of the fourth qubit, and flexibly determining the subsequent optimization target according to the performance of other qubits, so as to achieve the improvement of the overall performance.
[0140] In some embodiments, after step S10 or step S6, the method further includes:
[0141] Step S11, in the case of traversing all the third qubits, determine whether there is a third target qubit among all the qubits, where the performance of the third target qubit is unqualified.
[0142] In the embodiments of the present application, it is necessary to determine the qubit with unqualified performance, and the qubit with unqualified performance here can be defined as the third target qubit.
[0143] Step S12, in the case where there is a third target qubit, delete the frequency of the third target qubit from the optimization range of the selected frequency and perform optimization again.
[0144] In the embodiments of the present application, if it is found through inspection that there is indeed a third target qubit, then the optimization operation related to its frequency needs to be adjusted.
[0145] In the embodiments of the present application, the frequency of the third target qubit is removed from the previously selected frequency optimization range. After the removal, in the subsequent optimization process, the frequency adjustment of this qubit within this specific optimization range is no longer considered because its performance is unqualified. Continuing to optimize within this range may not achieve the desired effect and may even interfere with the overall optimization.
[0146] In the embodiments of the present application, after completing the above operation of deleting the frequency optimization range, re-optimization is to be carried out next.
[0147] Based on the foregoing embodiments, the embodiments of the present application further provide an optimization method for the operating frequency of a qubit. Figure 5 As shown in the flowchart of an optimization method for the operating frequency of a qubit provided by the embodiments of the present application, Figure 5 as shown, it includes:
[0148] Step S501, perform offline qubit frequency optimization.
[0149] Step S502, perform fidelity tests on multiple qubits using RB or XEB.
[0150] Step S503, perform single-qubit tests on unqualified qubits.
[0151] Step S504, determine whether the single-qubit test is good.
[0152] In the embodiments of the present application, if it is good, then execute Step S505; if it is not good, then execute Step S506.
[0153] Step S505, due to coupling, separate the frequency of the bad qubit from the frequencies of other qubits and re-perform crosstalk optimization.
[0154] Exemplarily, if the 3 qualified judgment is due to coupling, separate the frequency of the bad qubit from the frequencies of other qubits and re-perform crosstalk optimization.
[0155] After Step S505, the process ends.
[0156] Step S506, if it is determined to be a TLS point, deduct this point and return to Step S501 to re-perform offline optimization.
[0157] Exemplarily, if the 3 unqualified judgment is determined to be a TLS point, deduct this point and return to Step S101 to re-perform offline optimization. Steps S101 to S103 can be considered as the process of offline optimization.
[0158] In the embodiments of the present application, Figure 6This is a schematic diagram of the implementation process of step S505 provided by an embodiment of the present application, as shown in Figure 6 shown, step S505 can be implemented through the following steps:
[0159] Step S5051: Select a qubit with poor performance for measurement and regulation, and at the same time measure the adjacent qubits.
[0160] Step S5052: Select a step size, and according to the frequency of the adjacent good qubits, select a change range to adjust the selected bad qubit in the direction of increasing its XEB until it meets the requirements or reaches the set range.
[0161] Step S5053: Measure whether the adjacent good qubits become worse and exceed the critical value.
[0162] Step S5054: If it exceeds, change the frequency of the selected bad qubit in the opposite direction, and at the same time measure the good qubit that has become bad until it returns to the set value, and then perform step S5055. If it does not exceed the critical value, directly perform step S5055.
[0163] Step S5055: Measure whether the fidelity of other qubits has changed. If the XEB of other bad qubits increases, select it as the next optimization target and record it. Otherwise, randomly select other bad qubits for adjustment. If a good qubit becomes bad, also record it.
[0164] Step S5056: Whether all bad qubits have been traversed. If not, start adjusting the new qubit from step S5052. After traversing, perform step S5057.
[0165] Step S5057: Whether there are still qubits with poor XEB after traversing.
[0166] In the embodiment of the present application, if there is, perform step S5058. If not, end.
[0167] Step S5058: Delete the range near its frequency from the snake optimization, and use the qubits with mutual influence of non-adjacent bits recorded to construct a new topology, re-perform offline optimization, and return to step S5051.
[0168] It should be understood that the magnitudes of the sequence numbers of the above steps in the embodiments do not mean the order of execution. The order of execution of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
[0169] According to the foregoing embodiments, an embodiment of the present application provides an optimization device for the operating frequency of qubits. Each module included in the device, as well as each unit included in each module, may be implemented by a processor in a computer device; of course, it may also be implemented by specific logic circuits. During implementation, the processor may be a central processing unit (CPU), a microprocessor unit (MPU), a digital signal processor (DSP), or a field programmable gate array (FPGA), etc.
[0170] An embodiment of the present application provides an optimization device for the operating frequency of qubits. Figure 7 It is a schematic structural diagram of an optimization device for the operating frequency of qubits provided by an embodiment of the present application. As Figure 7 shown, the optimization device 700 for the operating frequency of qubits includes:
[0171] A first construction module 701, configured to construct an initial topology of qubits according to the connection structure of qubits in a quantum chip;
[0172] A second construction module 702, configured to supplement the initial topology of the qubits according to the measurement and control line structure of the quantum chip to obtain a target topology;
[0173] A first optimization module 703, configured to optimize the operating frequency of each qubit based on the target topology.
[0174] In some embodiments, the second construction module includes:
[0175] A first determination unit, configured to determine the distance between the measurement and control lines corresponding to two qubits based on the measurement and control line structure;
[0176] A second determination unit, configured to determine whether two qubits with a distance less than a distance threshold are adjacent qubits;
[0177] A third determination unit, configured to determine that there is a correlation between two qubits with a distance less than a distance threshold when the two qubits with a distance less than a distance threshold are not adjacent qubits;
[0178] A fourth determination unit, configured to determine a supplementary topology based on the qubits with a correlation;
[0179] An obtaining unit, configured to obtain a target topology based on the supplementary topology and the initial topology structure.
[0180] In some embodiments, the first optimization module includes:
[0181] A selection unit for selecting a qubit as an optimization starting point from the target topological structure;
[0182] A first optimization unit for performing frequency optimization on the optimization starting point, the neighboring qubits of the optimization starting point, and the qubits correlated with the optimization starting point according to the target topological structure and the optimization range of the selected frequency;
[0183] A second optimization unit for determining the neighboring points of the optimized optimization starting point as new optimization starting points and performing frequency optimization to traverse all qubits to obtain the operating frequencies of each qubit. During the process of optimizing the frequency of any first qubit, when the frequencies of the qubits neighboring the first qubit have been optimized, the frequency of the first qubit is optimized based on the frequencies of the qubits neighboring the first qubit as a constraint.
[0184] In some embodiments, the optimization device 700 for the operating frequency of qubits further includes:
[0185] A first test module for performing a fidelity test on multiple qubits in the quantum chip when the frequency optimization of the qubits in the quantum chip is completed;
[0186] A second test module for performing a single - performance test on the qubits with unqualified fidelity test results when there are qubits with unqualified fidelity test results;
[0187] A deletion module for deleting the frequency of the second qubit with unqualified single - performance test results from the optimization range and re - performing optimization when there is a second qubit with unqualified single - performance test results.
[0188] In some embodiments, the optimization device 700 for the operating frequency of qubits further includes:
[0189] A second optimization module for performing multi - qubit operation optimization on the qubits of the quantum chip based on the frequency of the third qubit when there is a third qubit with qualified single - performance test results.
[0190] In some embodiments, the second optimization module includes:
[0191] The first adjustment unit is configured to select any first target qubit from the third qubits as an optimization target, and adjust the frequency of the first target qubit in a first adjustment direction according to a frequency adjustment step size and a change range of frequencies of qubits adjacent to the first target qubit, so that the performance or frequency of the first target qubit meets the requirements;
[0192] The first measurement unit is configured to perform a performance test on a fourth qubit that is adjacent to the first target qubit and has passed the performance test;
[0193] The fifth determination unit is configured to determine whether the performance of the fourth qubit deteriorates;
[0194] The second measurement unit is configured to measure whether the performance of other qubits improves when the performance of the fourth qubit deteriorates and the degree of deterioration does not exceed a critical value;
[0195] The third optimization unit is configured to, when there is a second target qubit in the third qubits, use the second target qubit as a new optimization target for optimization to optimize all the third qubits, where the second target qubit is a qubit with improved performance;
[0196] The fourth optimization unit is configured to, when there is no such second target qubit in the third qubits, select a qubit from the third qubits as a new optimization target for optimization to optimize all the third qubits.
[0197] In some embodiments, the second optimization module includes:
[0198] The second adjustment unit is configured to, when the performance of the fourth qubit deteriorates and the degree of deterioration exceeds the critical value, adjust the frequency of the first target qubit in a second adjustment direction and perform a performance test on the fourth qubit, where the first adjustment direction is opposite to the second adjustment direction;
[0199] The third measurement unit is configured to measure whether the performance of other qubits improves when the performance of the fourth qubit returns to within a set value;
[0200] The fifth optimization unit is configured to, when there is a second target qubit in the third qubits, use the second target qubit as a new optimization target for optimization to optimize all the third qubits.
[0201] The sixth optimization unit is configured to, when there is no such second target qubit in the third qubits, select a qubit from the third qubits as a new optimization target for optimization to optimize all the third qubits.
[0202] In some embodiments, the second optimization module includes:
[0203] A sixth determination unit, configured to determine whether there is a third target qubit among all qubits when all third qubits are traversed, where the performance of the third target qubit is unqualified;
[0204] A deletion unit, configured to, when there is a third target qubit, delete the frequency of the third target qubit from the optimization range of the selected frequency, and perform optimization again.
[0205] In addition, Figure 7 The optimization device 700 for the operating frequency of the qubits shown may be a software unit, a hardware unit, or a unit combining software and hardware built into an existing electronic device, may also be integrated into a vehicle as an independent pendant, or may exist as an independent terminal device.
[0206] It should be noted that for the information interaction, execution process, etc. between the above-mentioned devices / units, since they are based on the same concept as the method embodiments of the present application, for their specific functions and the technical effects brought, reference may be specifically made to the method embodiment part, and details are not described herein again.
[0207] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the above-mentioned division of each functional unit and module is used as an example. In actual applications, the above-mentioned functions may be allocated to different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated into one processing unit, may also exist as individual physical units, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of each functional unit and module are only for the convenience of mutual distinction and do not limit the protection scope of the present application. The specific working processes of the units and modules in the above-mentioned system may refer to the corresponding processes in the foregoing method embodiments, and details are not described herein again.
[0208] The embodiments of the present application provide an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the optimization method for the operating frequency of the qubits in the above-mentioned embodiments is implemented.
[0209] Figure 8 It is a schematic structural diagram of the electronic device provided by the embodiments of the present application. As Figure 8 shown, the electronic device 300 of this embodiment may include: at least one processor 30(Figure 8 Only one processor 30), a memory 31, and a computer program 32 stored in the memory 31 and executable on at least one processor 30 are shown. When the processor 30 executes the computer program 32, the steps in any of the above method embodiments are implemented, or when the processor 30 executes the computer program 32, the functions of each module / unit in the above device embodiments are implemented.
[0210] Exemplarily, the computer program 32 can be divided into one or more modules / units. One or more modules / units are stored in the memory 31 and executed by the processor 30 to complete this application. One or more modules / units can be a series of computer program 32 instruction segments capable of performing specific functions, and these instruction segments are used to describe the execution process of the computer program 32 in the electronic device 300.
[0211] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program 32, and when the computer program 32 is executed by the processor 30, the steps in any of the above method embodiments can be implemented.
[0212] The embodiment of the present application provides a computer program product. When the computer program product runs on an electronic device, the electronic device is caused to implement the steps in any of the above method embodiments when executed.
[0213] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, to implement all or part of the processes in the above embodiment methods of this application, it can be completed by instructing relevant hardware through the computer program 32. The computer program 32 can be stored in a computer-readable storage medium. When the computer program 32 is executed by the processor 30, the steps in any of the above method embodiments can be implemented. Among them, the computer program 32 includes computer program code, and the computer program code can be in the form of source code, object code, executable file, or some intermediate form, etc. The computer-readable medium can at least include: any entity or device capable of carrying the computer program code to the terminal, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal, and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk, or an optical disc, etc. In some jurisdictions, according to legislation and patent practice, the computer-readable medium cannot be an electrical carrier signal and a telecommunication signal.
[0214] In the above embodiments, the descriptions of the various embodiments each have their own emphasis. For parts not detailed or recorded in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
[0215] Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, or by a combination of computer software and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered to exceed the scope of this application.
[0216] In the embodiments provided in this application, it should be understood that the disclosed device / network device and method can be implemented in other ways. For example, the device / network device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces. The indirect couplings or communication connections of the devices or units can be in electrical, mechanical or other forms.
[0217] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place, or can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0218] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features. And these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included in the protection scope of this application.
[0219] The relevant personal information of users that may be involved in the embodiments of this application is all processed in strict accordance with the requirements of laws and regulations, following the principles of legality, fairness, and necessity, for reasonable purposes based on business scenarios, for the personal information actively provided by users during the use of products / services or generated due to the use of products / services, and obtained with the authorization of users.
[0220] The user's personal information processed by the applicant may vary depending on the specific product / service scenario. It is subject to the specific scenario of the user's use of the product / service and may involve the user's account information, device information, driving information, vehicle information or other relevant information. The applicant will treat the user's personal information and its processing with a high degree of diligence.
[0221] The applicant attaches great importance to the security of the user's personal information and has taken security protection measures that meet industry standards and are reasonable and feasible to protect the user's information and prevent personal information from being accessed, publicly disclosed, used, modified, damaged or lost without authorization.
Claims
1. An optimization method for the operating frequency of a qubit, characterized in that, The method includes: Constructing an initial topology of qubits according to the connection structure of qubits in a quantum chip; Complementing the initial topology of the qubits according to the measurement and control circuit structure of the quantum chip to obtain a target topology; Optimizing the working frequencies of each qubit based on the target topology.
2. The method according to claim 1, characterized in that The complementing the initial topology of the qubits according to the measurement and control circuit structure of the quantum chip to obtain a target topology includes: Determining the distance between the measurement and control circuits corresponding to two qubits based on the measurement and control circuit structure; Determining whether two qubits with a distance less than a distance threshold are adjacent qubits; When the two qubits with a distance less than the distance threshold are not adjacent qubits, determining that there is a correlation between the two qubits with a distance less than the distance threshold; Determining a complementary topology based on the qubits with a correlation; Obtaining a target topology based on the complementary topology and the initial topology structure.
3. The method according to claim 1, characterized in that The optimizing the working frequencies of each qubit based on the target topology includes: Selecting a qubit from the target topology as an optimization starting point; Optimizing the frequency of the optimization starting point, the adjacent qubits of the optimization starting point, and the qubits correlated with the optimization starting point according to the target topology and the optimization range of the selected frequency; Determining the adjacent points of the optimized optimization starting point as new optimization starting points and performing frequency optimization to traverse all qubits to obtain the working frequencies of each qubit. Among them, during the process of optimizing the frequency of any first qubit, when the frequencies of the qubits adjacent to the first qubit have been optimized, the frequency of the first qubit is optimized based on the frequencies of the qubits adjacent to the first qubit as a limit.
4. The method according to claim 3, characterized in that, The method further includes: Performing a fidelity test on multiple qubits in the quantum chip when the frequency optimization of the qubits in the quantum chip is completed; Performing a single performance test on the qubits with unqualified fidelity test results when there are qubits with unqualified fidelity test results; When there is a second qubit with an unqualified single performance test, deleting the frequency of the second qubit from the optimization range and re-performing optimization.
5. The method according to claim 4, wherein The method further includes: Performing multi-qubit operation optimization on the qubits of the quantum chip based on the frequency of the third qubit when there is a third qubit with a qualified single performance test.
6. The method according to claim 5, wherein The performing multi-qubit operation optimization on the qubits of the quantum chip based on the frequency of the third qubit includes: Selecting any first target qubit from the third qubits as an optimization target, and adjusting the frequency of the first target qubit in a first adjustment direction according to the frequency adjustment step size and the frequencies of the qubits adjacent to the first target qubit to make the performance or frequency of the first target qubit meet the requirements; Performing a performance test on the fourth qubit adjacent to the first target qubit and with a qualified performance test; Determine whether the performance of the fourth qubit deteriorates; When the performance of the fourth qubit deteriorates and the degree of deterioration does not exceed the critical value, measure whether the performance of other qubits improves; When there is a second target qubit in the third qubits, use the second target qubit as a new optimization target and perform optimization to optimize all the third qubits, where the second target qubit is the qubit with improved performance; When there is no such second target qubit in the third qubits, select a qubit from the third qubits as a new optimization target and perform optimization to optimize all the third qubits.
7. The method according to claim 6, characterized in that, The method further includes: When the performance of the fourth qubit deteriorates and the degree of deterioration exceeds the critical value, adjust the frequency of the first target qubit in the second adjustment direction and perform a performance test on the fourth qubit, where the first adjustment direction is opposite to the second adjustment direction; When the performance of the fourth qubit returns within the set value, measure whether the performance of other qubits improves; When there is the second target qubit in the third qubits, use the second target qubit as a new optimization target and perform optimization to optimize all the third qubits; When there is no such second target qubit in the third qubits, select a qubit from the third qubits as a new optimization target and perform optimization to optimize all the third qubits.
8. The method according to any one of claims 6 or 7, characterized in that The method further includes: When all the third qubits have been traversed, determine whether there is a third target qubit among all the qubits, where the performance of the third target qubit is unqualified; When there is a third target qubit, delete the frequency of the third target qubit from the optimization range of the selected frequency and re-perform optimization.
9. An optimization device for the operating frequency of a qubit, characterized in that, Includes: A first construction module for constructing an initial topology of qubits according to the connection structure of the qubits in the quantum chip; A second construction module for supplementing the initial topology of the qubits according to the measurement and control line structure of the quantum chip to obtain a target topology; A first optimization module for optimizing the operating frequencies of each qubit based on the target topology.
10. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, the method according to any one of claims 1 to 8 is implemented.
11. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.