A time delay detection method and device, electronic equipment and storage medium

CN119721271BActive Publication Date: 2026-10-23ORIGIN QUANTUM COMPUTING TECH (HEFEI) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311283861.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-28
Publication Date
2026-10-23
Estimated Expiration
2043-09-28

AI Technical Summary

Benefits of technology

[0023]本发明实施例提供的技术方案,可以在接收到针对第一线路通道和第二线路通道的第一检测任务时,根据第一对应关系,获取第一线路通道对应的第一时延和第二线路通道对应的第二时延,在根据第二对应关系确定第一线路通道和第二线路通道建立链接的情况下,将第一相对时延与第二相对时延的差值与预设时间阈值进行对比,从而确定第一时延和第二时延是否为异常时延数据,实现对第一线路通道和第二线路通道对应时延的检测,降低了时延异常的可能性,提高了各线路通道对应时延的准确性,从而提高了基于各线路通道时延进行信号传输的准确性,进而提高了量子计算准确性。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119721271B_ABST
    Figure CN119721271B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a time delay detection method and device, electronic equipment and storage medium. The scheme is as follows: when a first detection task is received, a first time delay corresponding to a first line channel and a second time delay corresponding to a second line channel are obtained according to a first correspondence relationship between each line channel and time delay stored in advance; whether the first line channel and the second line channel are linked is determined according to a second correspondence relationship between the third line channel, the fourth line channel and a numerical value; if it is determined that the first line channel and the second line channel are linked, the first difference value is compared with a preset time threshold; when the first difference value is less than or equal to the preset time threshold, the first time delay and the second time delay are determined as normal time delay data. Through the technical scheme provided by the embodiments of the present application, the detection of the time delay corresponding to each line channel is realized, thereby improving the accuracy of the time delay corresponding to each line channel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of quantum computing technology, and in particular to a delay detection method, apparatus, electronic device, and storage medium. Background Technology

[0002] Quantum computing is a computational paradigm that utilizes the fundamental properties of quantum mechanics to solve problems. By constructing precisely operable quantum physics hardware systems and running quantum computing software to implement quantum algorithms, computational problems can be solved, enabling the application of quantum computing in specific problems or fields.

[0003] In quantum computing, for single-qubit gate operations, the quantum computing measurement and control system (such as an integrated measurement and control machine) transmits the quantum state modulation signal to the interface of the corresponding pulse modulation line (i.e., the XY line) of the qubit via a pulse modulation circuit channel, and transmits the qubit frequency modulation signal to the interface of the corresponding magnetic flux modulation line (i.e., the Z line) of the same qubit via a magnetic flux modulation circuit channel. The qubit performs quantum calculations based on the received quantum state modulation signal and qubit frequency modulation signal.

[0004] For multi-qubit gate operations, such as two-qubit gate operations, the quantum computing measurement and control system transmits the quantum state modulation signal to the interface of the XY line corresponding to the two adjacent qubits through two pulse modulation line channels, and transmits the qubit frequency control signal to the interface of the two adjacent qubits and the tunable coupler corresponding to the Z line of the coupler that couples the two adjacent qubits through three magnetic flux modulation line channels. Summary of the Invention

[0005] The purpose of this invention is to provide a delay detection method, apparatus, electronic device, and storage medium to detect the delay of each line channel, thereby improving the accuracy of the delay detection for each line channel. The specific technical solution is as follows:

[0006] This application provides a delay detection method, the method comprising:

[0007] Upon receiving a first detection task for the first line channel and the second line channel, the first delay corresponding to the first line channel and the second delay corresponding to the second line channel are obtained according to the first correspondence between each line channel and the delay in the pre-stored first correspondence relationship.

[0008] Based on the second correspondence between the pre-stored third line channel, fourth line channel, and numerical value, it is determined whether the first line channel and the second line channel have established a link. The third line channel is used to transmit quantum state control signals, the fourth line channel is used to transmit quantum bit frequency control signals, and the numerical value is used to indicate whether the third line channel and the fourth line channel have established a link.

[0009] If it is determined that the first line channel and the second line channel have established a link, then the first difference is compared with a preset time threshold, wherein the first difference is the difference between the first relative delay and the second relative delay, the first relative delay is the difference between the first duration of signal transmission corresponding to the first line channel and the second duration of signal transmission corresponding to the second line channel, and the second relative delay is the difference between the first delay and the second delay.

[0010] When the first difference is less than or equal to a preset time threshold, the first delay and the second delay are determined to be normal delay data.

[0011] This application embodiment also provides a time delay detection device, the device comprising:

[0012] The first acquisition module is used to, upon receiving a first detection task for a first line channel and a second line channel, acquire the first delay corresponding to the first line channel and the second delay corresponding to the second line channel based on a pre-stored first correspondence between each line channel and the delay.

[0013] The first determining module is used to determine whether the first line channel and the second line channel are linked based on a second correspondence between the third line channel, the fourth line channel and the value stored in advance. The third line channel is used to transmit quantum state control signals, the fourth line channel is used to transmit quantum bit frequency control signals, and the value is used to indicate whether the third line channel and the fourth line channel are linked.

[0014] The first comparison module is used to compare a first difference with a preset time threshold if it is determined that the first line channel and the second line channel have established a link. The first difference is the difference between a first relative delay and a second relative delay. The first relative delay is the difference between a first duration of signal transmission corresponding to the first line channel and a second duration of signal transmission corresponding to the second line channel. The second relative delay is the difference between the first delay and the second delay.

[0015] The second determining module is used to determine that the first delay and the second delay are normal delay data when the first difference is less than or equal to a preset time threshold.

[0016] This application also provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;

[0017] Memory, used to store computer programs;

[0018] When a processor executes a program stored in memory, it implements any of the delay detection method steps described above.

[0019] This application also provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, which, when executed by a processor, implements any of the delay detection method steps described above.

[0020] This invention also provides a computer program product containing instructions that, when run on a computer, causes the computer to execute any of the delay detection methods described above.

[0021] This application also provides a quantum computing measurement and control system to implement any of the time delay detection methods described above.

[0022] Beneficial effects of the embodiments of the present invention:

[0023] The technical solution provided by this invention can, upon receiving a first detection task for a first line channel and a second line channel, obtain a first delay corresponding to the first line channel and a second delay corresponding to the second line channel based on a first correspondence. If a link is established between the first line channel and the second line channel based on the second correspondence, the difference between the first relative delay and the second relative delay is compared with a preset time threshold to determine whether the first delay and the second delay are abnormal delay data. This enables the detection of the corresponding delays of the first line channel and the second line channel, reduces the possibility of delay anomalies, improves the accuracy of the corresponding delays of each line channel, thereby improving the accuracy of signal transmission based on the delays of each line channel, and ultimately improving the accuracy of quantum computing.

[0024] Of course, implementing any product or method of the present invention does not necessarily require achieving all of the advantages described above at the same time. Attached Figure Description

[0025] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0026] Figure 1 This is a schematic diagram of the first flowchart of the delay detection method provided in the embodiments of this application;

[0027] Figure 2 This is a second flowchart illustrating the delay detection method provided in the embodiments of this application;

[0028] Figure 3 This is a schematic diagram of the third process of the delay detection method provided in the embodiments of this application;

[0029] Figure 4 This is a schematic diagram of the fourth process of the delay detection method provided in the embodiments of this application;

[0030] Figure 5 A schematic diagram of the fifth type of delay detection method provided in the embodiments of this application;

[0031] Figure 6 A sixth flowchart illustrating the delay detection method provided in this application embodiment;

[0032] Figure 7 A seventh flowchart illustrating the delay detection method provided in this application embodiment;

[0033] Figure 8 This is a schematic diagram of the eighth type of delay detection method provided in the embodiments of this application;

[0034] Figure 9 A ninth flowchart illustrating the delay detection method provided in this application embodiment;

[0035] Figure 10 A schematic diagram of the tenth type of delay detection method provided in the embodiments of this application;

[0036] Figure 11 This is an eleventh flowchart illustrating the delay detection method provided in an embodiment of this application.

[0037] Figure 12 This is a schematic diagram of the twelfth type of delay detection method provided in the embodiments of this application;

[0038] Figure 13 This is a schematic diagram of the thirteenth process of the delay detection method provided in the embodiments of this application;

[0039] Figure 14 A schematic diagram of the delay detection device provided in the embodiments of this application;

[0040] Figure 15 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0041] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0042] Currently, a quantum chip can include multiple qubits, with adjacent qubits coupled together via tunable couplers. These tunable couplers are structurally similar to qubits, but differ in that they lack an XY line interface for receiving quantum state modulation signals and a resonant cavity for direct information readout. For details on the structures of qubits and tunable couplers, please refer to the section on qubits and tunable couplers in related technologies; specific details will not be provided here.

[0043] The quantum computing measurement and control system can be connected to the qubits and tunable couplers on the quantum chip via the pulse modulation circuit channel (the third circuit channel below) and the magnetic flux modulation circuit channel (the fourth circuit channel below). Due to the differences in the devices and circuit lengths on the third and fourth circuit channels, the quantum state modulation signal and the qubit frequency control signal emitted simultaneously from the quantum computing measurement and control system cannot be transmitted to both the qubits and the tunable couplers at the same time. This will affect the quantum computing process of the qubits.

[0044] Therefore, in related technologies, the time delay corresponding to each line channel can be determined, and the corresponding line channel can be called for signal transmission based on that time delay. However, due to various factors, there may be abnormal time delay data in the time delay corresponding to each line channel, which will seriously affect the quantum computing process of qubits.

[0045] For example, during the latency update process, due to human error or system error, the latency of a certain line channel may become abnormal. Since the latency of each line channel is interconnected, the occurrence of this abnormal latency data will affect the latency updates of other line channels, thereby affecting the accuracy of the latency of all line channels.

[0046] For example, if the line channels corresponding to the XY and Z line interfaces of a certain quantum bit are changed, and the time delay corresponding to the changed line channels is abnormal, this will affect the accuracy of quantum computing performed by that quantum bit.

[0047] To address the problems in related technologies, embodiments of this application provide a delay detection method. For example... Figure 1 As shown, Figure 1This is a schematic diagram of the first flowchart of the time delay detection method provided in this application embodiment. This method can be applied to any electronic device, such as a quantum computing measurement and control system (i.e., a measurement and control integrated machine), or a management unit within a quantum computing measurement and control system, etc., without specifically limiting the electronic device herein. Figure 1 The method shown includes the following steps.

[0048] Step S101: Upon receiving a first detection task for the first line channel and the second line channel, the first delay corresponding to the first line channel and the second delay corresponding to the second line channel are obtained according to the first correspondence between each line channel and the delay stored in advance.

[0049] Step S102: Based on the second correspondence between the pre-stored third line channel, fourth line channel, and numerical value, determine whether the first line channel and the second line channel are linked. The third line channel is used to transmit quantum state control signals, the fourth line channel is used to transmit quantum bit frequency control signals, and the numerical value is used to indicate whether the third line channel and the fourth line channel are linked.

[0050] Step S103: If it is determined that the first line channel and the second line channel have established a link, the first difference is compared with a preset time threshold. The first difference is the difference between the first relative delay and the second relative delay. The first relative delay is the difference between the first duration of signal transmission corresponding to the first line channel and the second duration of signal transmission corresponding to the second line channel. The second relative delay is the difference between the first delay and the second delay.

[0051] Step S104: When the first difference is less than or equal to a preset time threshold, determine the first delay and the second delay as normal delay data.

[0052] pass Figure 1 The method shown can, upon receiving a first detection task for a first line channel and a second line channel, obtain the first delay corresponding to the first line channel and the second delay corresponding to the second line channel based on a first correspondence. If it is determined that the first line channel and the second line channel have established a link based on the second correspondence, the difference between the first relative delay and the second relative delay is compared with a preset time threshold to determine whether the first delay and the second delay are abnormal delay data. This enables the detection of the corresponding delays of the first line channel and the second line channel, reduces the possibility of delay anomalies, improves the accuracy of the corresponding delays of each line channel, thereby improving the accuracy of signal transmission based on the delays of each line channel, and further improving the accuracy of quantum computing.

[0053] The embodiments of this application will be described below through specific examples.

[0054] Regarding step S101 above, that is, when receiving the first detection task for the first line channel and the second line channel, the first delay corresponding to the first line channel and the second delay corresponding to the second line channel are obtained according to the first correspondence between each line channel and the delay stored in advance.

[0055] In this embodiment of the application, the quantum computing measurement and control system may include multiple third line channels and multiple fourth line channels.

[0056] The third line channel is used to transmit quantum state control signals to the qubits on the quantum chip, and the fourth line channel is used to transmit qubit frequency control signals to the qubits or tunable couplers on the quantum chip. The number of the third and fourth line channels in the above quantum computing measurement and control system can be set according to the number of qubits and tunable couplers included on the quantum chip. Considering the presence of tunable couplers, the number of third line channels in the quantum computing measurement and control system is less than the number of fourth line channels. Therefore, no specific limit is made on the number of the third and fourth line channels in the above quantum computing measurement and control system.

[0057] In various scenarios, such as latency updates, channel invocation, and channel replacement, users can select one or more channels in the quantum computing measurement and control system for latency detection. In this case, the user can trigger a latency detection process for at least two channels in the quantum computing measurement and control system. Correspondingly, the electronic device can generate corresponding latency detection tasks based on the user's triggered operation. The electronic device will then receive latency detection tasks corresponding to any two of the at least two channel lines. Each user trigger operation can generate at least one latency detection task, and each latency detection task corresponds to two channel lines in the quantum computing measurement and control system.

[0058] In the embodiments of this application, the electronic device described above stores in advance the correspondence between each line channel and the time delay (denoted as the first correspondence).

[0059] The aforementioned first correspondence can be represented in the form of a list or a string. Furthermore, since the circuit channels included in the aforementioned quantum computing measurement and control system can be divided into the aforementioned third circuit channels and the aforementioned fourth circuit channels, the aforementioned first correspondence can include the correspondence between each third circuit channel and the time delay, as well as the correspondence between each fourth circuit channel and the time delay.

[0060] To facilitate understanding, the first correspondence is explained using the second and third lists as examples. The second list shows the correspondence between the third line channel and the delay, as shown in Table 1; the third list shows the correspondence between the fourth line channel and the delay, as shown in Table 2.

[0061] Table 1

[0062] Delay 0 0 0 …

[0063] Table 2

[0064] Delay 0 0 0 …

[0065] In Table 1 above, XY1-XY3 are the channel identifiers corresponding to the three third-line channels in the quantum computing measurement and control system, and a delay of 0 represents the delay corresponding to the corresponding third-line channel. In Table 2 above, Z1-Z3 are the channel identifiers corresponding to the three fourth-line channels in the quantum computing measurement and control system, and a delay of 0 represents the delay corresponding to the corresponding fourth-line channel.

[0066] For the second and third lists mentioned above, the time delay corresponding to each line channel in the second and third lists can be expressed as: the waiting time corresponding to the line channel when transmitting the corresponding quantum state control signal or quantum bit frequency control signal. The difference between the time delays of any two line channels is the relative time delay between these two line channels, which represents the time difference between the transmission of the corresponding quantum state control signal or quantum bit frequency control signal by these two line channels.

[0067] In this embodiment of the application, each delay in the second and third lists can be a preset delay, such as 0 in Table 1 above, or a delay updated before the current time.

[0068] In an optional embodiment, for each delay in the second and third lists above, if the delay was updated before the current time, then the delay can be the delay updated before the current time based on the relative delay between any two line channels. Here, any two line channels can be any one third line channel and any one fourth line channel, or any two fourth line channels.

[0069] In another optional embodiment, for each delay in the second and third lists above, if the delay was updated before the current time, then the delay can be the delay updated before the current time based on the delay update amount of other line channels associated with the corresponding line channel. The association between two line channels can be represented as the two line channels having established a link, as described below, and will not be specifically explained here.

[0070] When the electronic device receives a delay detection task (referred to as the first detection task) for the first line channel and the second line channel, the electronic device can obtain the delay corresponding to the first line channel in the first correspondence relationship stored in advance, as the first delay; and obtain the delay corresponding to the second line channel in the first correspondence relationship, as the second delay.

[0071] For ease of understanding, we will use Tables 1 and 2 above as examples. Let's assume that the first line channel is XY1 in Table 1 and the second line channel is Z1 in Table 2.

[0072] The electronic device can determine that the first delay corresponding to XY1 is 0 based on Table 1. The electronic device can determine that the second delay corresponding to Z1 is 0 based on Table 3 above.

[0073] When the electronic device receives the aforementioned first detection task, the time delay and the second time delay will differ depending on the time delay corresponding to each line channel in the aforementioned first correspondence, as well as the difference between the first line channel and the second line channel. Here, no specific limitations are made on the aforementioned first time delay and second time delay.

[0074] In this embodiment, the signal type transmitted by the first line channel may be the same as or different from the signal type transmitted by the second line channel. For example, the first line channel may be the third line channel used for transmitting quantum state modulation signals, or it may be the fourth line channel used for transmitting quantum bit frequency modulation signals. The second line channel may be either the third or the fourth line channel. No specific limitations are placed on the third and fourth line channels.

[0075] Regarding step S102 above, that is, based on the second correspondence between the pre-stored third line channel, fourth line channel and numerical value, it is determined whether the first line channel and the second line channel are linked. The third line channel is used to transmit quantum state control signals, the fourth line channel is used to transmit quantum bit frequency control signals, and the numerical value is used to indicate whether the third line channel and the fourth line channel are linked.

[0076] In this embodiment, the electronic device can store the correspondence between the third and fourth line channels and their values ​​(denoted as the second correspondence). The data values ​​in this correspondence can be used to indicate the link relationship (or association relationship) between the corresponding third and fourth line channels.

[0077] In an optional embodiment, the second correspondence described above can be represented in the form of a table, a string, or the like.

[0078] To facilitate understanding, the following explanation uses the first list as an example to illustrate the second correspondence mentioned above. In the first list, each row corresponds to a third line channel, and each column corresponds to a fourth line channel.

[0079] Table 3

[0080] XY1 0 / 1 0 / 1 0 / 1 … XY2 0 / 1 0 / 1 0 / 1 … XY3 0 / 1 0 / 1 0 / 1 … … … … … …

[0081] In Table 3 above, XY1, XY2, and XY3 are the channel identifiers corresponding to the third line channel, and Z1, Z2, and Z3 are the channel identifiers corresponding to the fourth line channel. Each cell in Table 3 contains the corresponding third line channel, fourth line channel, and numerical value.

[0082] In Table 3 above, each cell can contain either a first value or a second value. The first value indicates that the third and fourth line channels corresponding to the cell are not linked, such as 0 in Table 3; the second value indicates that the third and fourth line channels are linked, such as 1 in Table 1. For ease of understanding, the following explanation uses an example where the first value is 0 and the second value is 1, and does not constitute any limitation.

[0083] For each row in the first list above, if the values ​​corresponding to any two cells in that row are both the second value mentioned above, then the electronic device can determine that there is a correlation between the fourth line channels corresponding to these two cells, that is, the fourth line channels corresponding to these two cells are linked.

[0084] To facilitate understanding, we will use cell 1 corresponding to XY1 and Z1, and cell 2 corresponding to XY1 and Z2 in Table 3 above as examples for explanation.

[0085] When the values ​​corresponding to cells 1 and 2 are both 1, that is, when the values ​​corresponding to cells 1 and 2 are 11, the electronic device can determine that Z1 and Z2 are related; when at least one of the values ​​corresponding to cells 1 and 2 is 0, that is, when the values ​​corresponding to cells 1 and 2 are 00, 01 or 10, the electronic device can determine that there is no related relationship between Z1 and Z2.

[0086] In this embodiment, the second correspondence can be generated during the update process of the line channel corresponding delay. For example, for each pair of line channels, after determining the corresponding delays of the two line channels based on their relative delays (i.e., after determining the delays in the first correspondence), the electronic device can update the values ​​corresponding to the delays of the two line channels in the second correspondence to the second value. The generation of the second correspondence is not specifically described here.

[0087] After receiving the first detection task, the electronic device can determine whether a link has been established between the first line channel and the second line channel based on the second correspondence.

[0088] In the above Figure 1 In the illustrated embodiment, after receiving the first detection task, the electronic device first obtains the first delay and the second delay, and then determines whether a link is established between the first line channel and the second line channel. Alternatively, after receiving the first detection task, the electronic device may first determine whether a link is established between the first line channel and the second line channel, and then obtain the first delay and the second delay, or they may perform these actions simultaneously. Here, the execution order of steps S101 and S102 after receiving the first detection task is not specifically limited.

[0089] Regarding step S103 above, if it is determined that the first line channel and the second line channel have established a link, the first difference is compared with a preset time threshold. The first difference is the difference between the first relative delay and the second relative delay. The first relative delay is the difference between the first duration of signal transmission corresponding to the first line channel and the second duration of signal transmission corresponding to the second line channel. The second relative delay is the difference between the first delay and the second delay.

[0090] In this step, when the electronic device determines that the first line channel and the second line channel have established a link, it can calculate the difference between the first delay and the second delay as the second relative delay, and compare the difference between the first relative delay and the second relative delay (referred to as the first difference) with a preset time threshold to obtain a comparison result (referred to as the first comparison result).

[0091] The aforementioned first relative delay is the difference between the first duration of signal transmission corresponding to the first line channel and the second duration of signal transmission corresponding to the second line channel. This first relative delay can be carried in the aforementioned first detection task, or it can be calculated by the electronic device from the first duration and the second duration.

[0092] The first and second durations mentioned above can be obtained by measuring the first and second line channels before the current moment. The measurement methods for the first and second durations can refer to the signal transmission duration measurement methods in related technologies, or they can be obtained by measuring the related control delay of quantum bits. Here, no specific limitation is made on the measurement methods for the first and second durations.

[0093] The first comparison result can indicate that the first difference is less than or equal to a preset time threshold, or indicate that the first difference is greater than the preset time threshold.

[0094] In one optional embodiment, the preset time threshold can be an integer multiple of the sampling period corresponding to the line channel.

[0095] For example, when the signal type transmitted by the first line channel is different from the signal type transmitted by the second line channel, such as when the first line channel is one of the third line channels and the second line channel is one of the fourth line channels, the preset time threshold can be an integer multiple of the sampling period corresponding to the third line channel.

[0096] For example, when the signal type transmitted by the first line channel is the same as the signal type transmitted by the second line channel, such as when both the first line channel and the second line channel belong to the fourth line channel, the preset time threshold can be an integer multiple of the sampling period corresponding to the fourth line channel.

[0097] In this embodiment, although the relative delay between each line channel is mainly affected by the line channel itself, the signal transmission duration is also affected by the sampling period of the corresponding signal when using the line channel for signal transmission. Therefore, if the preset time threshold is determined based on the sampling period corresponding to the line channel, the electronic device can effectively improve the accuracy of abnormal delay data judgment by comparing the difference between the two relative delays with the preset delay threshold, thereby improving the accuracy and effectiveness of delay detection.

[0098] The aforementioned preset time thresholds can be set according to user needs, etc. Here, no specific limitations are made regarding the setting of the aforementioned preset time thresholds.

[0099] Regarding step S104 above, when the first difference is less than or equal to a preset time threshold, the first delay and the second delay are determined to be normal delay data.

[0100] In this step, when the first comparison result indicates that the first difference is less than or equal to a preset time threshold, the electronic device can determine that the first delay of the first line channel and the second delay of the second line channel match the relative delays of the corresponding signal transmissions of the first and second line channels. That is, based on these first and second delays, when the first and second line channels are invoked for signal transmission, the arrival times of the two signals at the quantum bits are almost identical. At this point, the electronic device can determine that neither the first nor the second delay is abnormal, i.e., that the first and second delays are normal delay data.

[0101] In the embodiments of this application, the above Figure 1The method described can be applied to various scenarios, such as the latency update scenario of the aforementioned line channels, the line channel invocation scenario, and the line channel replacement scenario, effectively improving the applicability of the latency detection method in different scenarios. Furthermore, by using the latency detection method in different scenarios, the accuracy of the corresponding latency for each line channel can be effectively improved, thereby improving the accuracy of latency updates based on normal latency data or line channel invocation.

[0102] In an optional embodiment, according to the above... Figure 1 The method shown in this application embodiment also provides a delay detection method. For example... Figure 2 As shown, Figure 2 This is a second flowchart illustrating the delay detection method provided in an embodiment of this application. The method includes the following steps.

[0103] Step S201: Receive a first delay detection instruction sent by the user terminal. The first delay detection instruction includes a first channel identifier of the first line channel, a second channel identifier of the second line channel, a first duration of signal transmission corresponding to the first line channel, and a second duration of signal transmission corresponding to the second line channel.

[0104] In this step, the user can send a delay detection command (i.e., the first delay detection command) to the aforementioned electronic device via the user terminal for the first line channel and the second line channel.

[0105] The aforementioned first delay detection instruction may include the channel identifier corresponding to each line channel to be detected and the signal transmission duration. That is, the first delay detection instruction may include the first channel identifier of the first line channel, the second channel identifier of the second line channel, the first signal transmission duration corresponding to the first line channel, and the second signal transmission duration corresponding to the second line channel.

[0106] The first delay detection command targets the first and second line channels, which transmit different types of signals. For example, the first line channel can be used to transmit the quantum state modulation signal, meaning it belongs to the third line channel. The second line channel can be used to transmit the quantum bit frequency modulation signal, meaning it belongs to the fourth line channel. Alternatively, the first line channel can belong to the fourth line channel, and the second line channel can belong to the third line channel.

[0107] For ease of understanding, when the signal types transmitted by the first line channel and the second line channel are different, the following explanation will only take the example of the first line channel belonging to the third line channel mentioned above and the second line channel belonging to the fourth line channel mentioned above, and will not serve any limiting purpose.

[0108] Step S202: Generate a first detection task for the first line channel and the second line channel based on the first channel identifier, the second channel identifier, the first duration, and the second duration.

[0109] In this step, when the electronic device receives the first delay detection instruction, it can generate a delay detection task for the first line channel and the second line channel based on the information included in the first delay detection instruction, namely the first detection task.

[0110] In an optional embodiment, the electronic device can calculate the difference between the first duration and the second duration based on the first duration and the second delay included in the first delay detection instruction, and use this difference as the first relative delay. The electronic device can generate a first detection task including a first channel identifier, a second channel identifier, and the first relative delay.

[0111] Through the above steps S201-S202, the electronic device can generate targeted delay detection tasks for the first line channel and the second line channel according to the user's selection. This allows for the detection of the delay stored in the electronic device, i.e., the delay in the first correspondence mentioned above. This provides a guarantee for the subsequent signal transmission based on the second relative delay between the first and second delays, enabling the signal to be transmitted simultaneously through the first and second line channels to the qubits on the quantum chip for quantum computing, thereby improving the accuracy of quantum computing.

[0112] Step S203: Upon receiving the first detection task for the first line channel and the second line channel, the first delay corresponding to the first line channel and the second delay corresponding to the second line channel are obtained according to the first correspondence between each line channel and the delay stored in advance.

[0113] Step S204: Based on the second correspondence between the pre-stored third line channel, fourth line channel, and numerical value, determine whether the first line channel and the second line channel are linked. The third line channel is used to transmit quantum state control signals, the fourth line channel is used to transmit quantum bit frequency control signals, and the numerical value is used to indicate whether the third line channel and the fourth line channel are linked.

[0114] Step S205: If it is determined that the first line channel and the second line channel have established a link, then the first difference is compared with a preset time threshold. The first difference is the difference between the first relative delay and the second relative delay. The first relative delay is the difference between the first duration of signal transmission corresponding to the first line channel and the second duration of signal transmission corresponding to the second line channel. The second relative delay is the difference between the first delay and the second delay.

[0115] Step S206: When the first difference is less than or equal to a preset time threshold, determine the first delay and the second delay as normal delay data.

[0116] Steps S203-S206 are the same as steps S101-S104.

[0117] In the above Figure 2 In the illustrated embodiment, only the user-triggered first detection task is used as an example for explanation. Besides this, depending on the actual application scenario, other methods can be used to trigger the generation of the first detection task. For example, in a scenario of line channel delay updates, when the electronic device updates the delay of any two line channels, it can automatically detect the delay corresponding to these two line channels and perform an update operation when the detection result indicates that the corresponding delay is abnormal delay data. Here, the method of triggering the generation of the first detection task is not specifically limited.

[0118] In an optional embodiment, when the second correspondence is represented by the first list, and the signal type transmitted by the first line channel is different from the signal type transmitted by the second line channel, according to the above... Figure 1 The method shown in this application embodiment also provides a delay detection method. For example... Figure 3 As shown, Figure 3 This is a schematic diagram of a third delay detection method provided in an embodiment of this application. The method includes the following steps.

[0119] Step S301: Upon receiving a first detection task for the first line channel and the second line channel, the first delay corresponding to the first line channel and the second delay corresponding to the second line channel are obtained according to the first correspondence between each line channel and the delay stored in advance.

[0120] The above step S301 is the same as the above step S101.

[0121] Step S302: Locate the cell in the first list that corresponds to the first line channel and the second line channel, and use it as the target cell.

[0122] In this step, for each cell in the first list mentioned above, there exists a corresponding third line channel and a fourth line channel. Since the first line channel belongs to the third line channel and the second line channel belongs to the fourth line channel, there must exist cells in the first list that correspond to the first line channel and the second line channel. The electronic device can traverse each cell in the first list to find the cell that corresponds to the first line channel and the second line channel, and use it as the target cell.

[0123] Step S303: If the value corresponding to the target cell is the first value, then it is determined that the first line channel and the second line channel have not established a link.

[0124] For each cell in the first list above, there is a corresponding value. This value can be either the first value or the second value mentioned above.

[0125] After the electronic device locates the target cell, if the value of the target cell is the first value mentioned above, the electronic device can determine that the first line channel and the second line channel have not established a link.

[0126] Step S304: If the value corresponding to the target cell is the second value, then determine that the first line channel and the second line channel are linked.

[0127] In this step, after the electronic device finds the target cell, if the value of the target cell is the second value mentioned above, the electronic device can determine that the first line channel and the second line channel have established a link.

[0128] Steps S303 and S304 described above are executed when the value corresponding to the target cell is the first value and the second value, respectively. No specific limitations are placed on the execution of steps S303 and S304.

[0129] Steps S302-S304 above are a refinement of step S102 above.

[0130] Through steps S302-S304, the electronic device can directly determine whether the first line channel and the second line channel have established a link based on the corresponding values ​​in the first list. That is, it can determine whether the time delay corresponding to the first line channel and the second line channel in the first correspondence is obtained based on the relative time delay between the two line channels, thereby determining the validity of the time delay corresponding to the first line channel and the second line channel. If the time delay corresponding to the first line channel and the second line channel is valid, the device can detect the time delay corresponding to the first line channel and the second line channel, effectively improving the targeting and effectiveness of the time delay detection.

[0131] Step S305: If it is determined that the first line channel and the second line channel have established a link, then the first difference is compared with a preset time threshold. The first difference is the difference between the first relative delay and the second relative delay. The first relative delay is the difference between the first duration of signal transmission corresponding to the first line channel and the second duration of signal transmission corresponding to the second line channel. The second relative delay is the difference between the first delay and the second delay.

[0132] Step S306: When the first difference is less than or equal to a preset time threshold, determine the first delay and the second delay as normal delay data.

[0133] Steps S305-S306 are the same as steps S103-S104.

[0134] In an optional embodiment, according to the above... Figure 3 The method shown in this application embodiment also provides a delay detection method. For example... Figure 4 As shown, Figure 4 This is a schematic diagram of the fourth process of the delay detection method provided in the embodiments of this application. Figure 4 The method shown has been augmented with the following step, namely step S307.

[0135] Step S307: If it is determined that the first line channel and the second line channel have not established a link, then update the first delay and / or the second delay based on the first relative delay.

[0136] In this step, when the electronic device determines that the first line channel and the second line channel have not established a link, the electronic device can determine that it has not set a delay for the first line channel and the second line channel based on their corresponding relative delays. At this time, the electronic device can update the first delay and / or the second delay based on the first relative delay.

[0137] In an optional embodiment, if the first delay is greater than the second delay, then when the first difference is less than the first relative delay, the electronic device can update the first delay to a first sum; when the first difference is greater than the first relative delay, the electronic device can update the second delay to a second difference. Here, the first difference is the difference between the first delay and the second delay, the first sum is the sum between the second delay and the first relative delay, and the second difference is the difference between the first delay and the first relative delay.

[0138] In another optional embodiment, if the first delay is less than the second delay, then when the third difference is less than the first relative delay, the electronic device can update the second delay to a second sum; when the third difference is greater than the first relative delay, the electronic device can update the first delay to a fourth difference. Here, the third difference is the difference between the second delay and the first delay, the second sum is the sum between the first delay and the first relative delay, and the fourth difference is the difference between the second delay and the first relative delay.

[0139] In an optional embodiment, when the first difference or the second difference is equal to the first relative delay, the electronic device can determine that the first delay and the second delay match the first relative delay. In this case, the electronic device may not need to update the first delay and the second delay.

[0140] The above-described delay update is only an example of updating one of the first and second delays. Besides this, the electronic device can also use other methods to update one of the first and second delays. For example, the electronic device can select to update the delay of the line channel with the longer or shorter duration based on the first and second durations. Additionally, the electronic device can also update both the first and second delays simultaneously based on the first relative delay. Here, no specific limitations are made on the update methods for the first and second delays.

[0141] In this embodiment, after updating the first delay and / or the second delay based on the first relative delay, the electronic device can also update the value of the target cell, that is, update the value of the target cell from the first value to the second value. Furthermore, for the first line channel or the second line channel for delay updating, denoted as the update line channel, the electronic device can also synchronously update the delay of associated line channels that are related to the update line channel based on the delay update amount corresponding to the update line channel. Here, the calculation method for the delay update amount corresponding to the update line channel and the method for determining the associated line channels corresponding to the update line channel are not specifically described.

[0142] Through the above step S307, when the first line channel and the second line channel are not linked, the electronic device updates the first delay and / or the second delay according to the first relative delay, so that the updated delay can match the first relative delay, effectively improving the accuracy of the updated delay, thereby improving the accuracy of subsequent quantum computing.

[0143] In the embodiments of this application, steps S305 and S307 are steps executed by the electronic device when a link is established between the first line channel and the second line channel, and when no link is established, respectively. Here, the execution of steps S305 and S307 is not specifically limited.

[0144] In an optional embodiment, according to the above... Figure 3 The method shown in this application embodiment also provides a delay detection method. For example... Figure 5 As shown, Figure 5 This is a schematic diagram of the fifth process of the delay detection method provided in the embodiments of this application. Figure 5 The method shown has been augmented with the following steps, namely steps S308-S309.

[0145] Step S308: When the first difference is greater than a preset time threshold, the first delay and the second delay are determined to be abnormal delay data.

[0146] In this step, when the first comparison result indicates that the first difference is greater than the preset time threshold, the electronic device can determine that the first delay of the first line channel and the second delay of the second line channel do not match the relative delay of the corresponding signal transmission between the first and second line channels. That is, based on the first and second delays, when the first and second line channels are used for signal transmission, there is a significant difference in the arrival time of the two signals at the quantum bits. At this time, the electronic device can determine that the first and second delays are abnormal, i.e., it determines that the first and second delays are abnormal delay data.

[0147] Steps S308 and S306 described above are steps executed by the electronic device when the comparison result between the first difference and the preset time threshold is different. Here, the execution of steps S306 and S308 is not specifically limited.

[0148] Step S309: Send an abnormal delay alarm for the first line channel and the second line channel.

[0149] In this step, after determining that the first delay and the second delay are abnormal delay data, the electronic device can send an abnormal delay alarm for the first line channel and the second line channel.

[0150] For example, the electronic device can send a latency anomaly alarm message to the aforementioned user terminal. The user terminal can display the received latency anomaly alarm message, allowing the user to determine that there is an anomaly in the latency corresponding to the first line channel and the second line channel.

[0151] In one optional embodiment, the aforementioned abnormal latency alarm may carry the channel identifiers corresponding to the first and second line channels, abnormal latency data, the cause of the abnormality, log information, etc. Here, no specific limitations are placed on the information carried in the aforementioned abnormal latency alarm.

[0152] Through the above steps S308-S309, the electronic device can determine when the delay corresponding to the line channel is abnormal and issue an abnormal alarm for the line channel with the abnormal delay, so that the user can promptly determine the existence of the delay abnormality and avoid the abnormal delay from adversely affecting the subsequent delay update process or quantum computing process.

[0153] In an optional embodiment, according to the above... Figure 3 The method shown in this application embodiment also provides a delay detection method. For example... Figure 6 As shown, Figure 6 This is a schematic diagram of the sixth flowchart of the delay detection method provided in the embodiments of this application. Figure 6 The method shown has been augmented with the following step, namely step S310.

[0154] Step S310: Based on the second relative time delay, the first line channel and the second line channel are invoked for signal transmission.

[0155] In this step, after determining that the first delay and the second delay are normal delay data, the electronic device can call the first line channel and the second line channel for signal transmission based on the difference between the first delay and the second delay, that is, based on the second relative delay, so that the quantum state control signal transmitted by the first line channel and the quantum bit frequency control signal transmitted by the second line channel can simultaneously reach the same quantum bit connected by the first line channel and the second line channel.

[0156] Through the above step S310, the electronic device can call the line channel corresponding to the detected normal delay data for signal transmission, thereby enabling the two transmitted signals to reach the quantum bits simultaneously for quantum computing, thus improving the accuracy of quantum computing.

[0157] In an optional embodiment, the electronic device may receive a second detection task for the second and fifth line channels simultaneously with the first detection task. The first, second, and fifth line channels are all fourth line channels. In this case, according to the above... Figure 1 The method shown in this application embodiment also provides a delay detection method. For example... Figure 7 As shown, Figure 7 This is a seventh flowchart illustrating the delay detection method provided in this application. The method includes the following steps.

[0158] Step S701: Upon receiving a first detection task for the first line channel and the second line channel, the first delay corresponding to the first line channel and the second delay corresponding to the second line channel are obtained according to the first correspondence between each line channel and the delay stored in advance.

[0159] Step S702: Based on the second correspondence between the pre-stored third line channel, fourth line channel, and numerical value, determine whether the first line channel and the second line channel are linked. The third line channel is used to transmit quantum state control signals, the fourth line channel is used to transmit quantum bit frequency control signals, and the numerical value is used to indicate whether the third line channel and the fourth line channel are linked.

[0160] Step S703: If it is determined that the first line channel and the second line channel have established a link, then the first difference is compared with a preset time threshold. The first difference is the difference between the first relative delay and the second relative delay. The first relative delay is the difference between the first duration of signal transmission corresponding to the first line channel and the second duration of signal transmission corresponding to the second line channel. The second relative delay is the difference between the first delay and the second delay.

[0161] Step S704: When the first difference is less than or equal to a preset time threshold, determine the first delay and the second delay as normal delay data.

[0162] Steps S701-S704 are the same as steps S101-S104.

[0163] Step S705: Based on the first correspondence, obtain the third delay corresponding to the fifth line channel.

[0164] In this step, when the electronic device receives the second detection task, it can obtain the second delay corresponding to the second line channel and the third delay corresponding to the fifth line channel according to the first correspondence.

[0165] In step S705 above, considering that the second delay corresponding to the second line channel has already been obtained in step S701 above, the step of repeatedly obtaining the second delay is not reflected in step S705 above.

[0166] In an optional embodiment, the first detection task and the second detection task can be received simultaneously. In this case, step S705 can be executed simultaneously with step S701.

[0167] Step S706: Based on the second correspondence, determine whether a link is established between the second line channel and the fifth line channel.

[0168] In this step, the electronic device can determine whether the second line channel and the fifth line channel are linked based on the correspondence between the third line channel, the fourth line channel and the values ​​in the first correspondence mentioned above. The specific determination method can be found in the description below, and will not be repeated here.

[0169] Step S707: If it is determined that the second line channel and the fifth line channel have established a link, then the second difference is compared with a preset time threshold. The second difference is the difference between the third relative delay and the fourth relative delay. The third relative delay is the difference between the third duration of signal transmission corresponding to the fifth line channel and the second duration of signal transmission corresponding to the second line channel. The fourth relative delay is the difference between the third delay and the second delay.

[0170] In this step, once the electronic device confirms that a link has been established between the second and fifth line channels, it can calculate the difference between the third duration of signal transmission corresponding to the fifth line channel and the second duration of signal transmission corresponding to the second line channel, as the second relative delay; and calculate the difference between the third and second delays, as the fourth relative delay. After calculating the third and fourth relative delays, the electronic device can compare the difference between the third and fourth relative delays (denoted as the second difference) with a preset time threshold to obtain a comparison result (denoted as the second comparison result).

[0171] The second comparison result can indicate that the second difference is less than or equal to a preset time threshold, or indicate that the second difference is greater than the preset time threshold.

[0172] Step S708: When the second difference is less than or equal to a preset time threshold, the second delay and the third delay are determined to be normal delay data.

[0173] In this step, when the second comparison result indicates that the second difference is less than or equal to a preset time threshold, the electronic device can determine that the third delay of the fifth line channel and the second delay of the second line channel match the relative delays of the corresponding signal transmissions of the fifth line channel and the second line channel. That is, based on this third delay and this second delay, when the fifth line channel and the second line channel are used for signal transmission, the arrival times of the two signals at the quantum bits are almost the same. At this point, the electronic device can determine that the third delay and the second delay are not abnormal, i.e., determine that the third delay and the second delay are normal delay data.

[0174] In this embodiment of the application, the electronic device can determine that the first delay and the second delay are normal delay data only when the first delay and the second delay are determined to be normal delay data in step S704 and the second delay and the third delay are determined to be normal delay data in step S708, and then perform signal transmission based on the first delay, the second delay and the third delay.

[0175] Through steps S705-S708 described above, the electronic device can simultaneously determine whether the time delays corresponding to the three path channels are correct. Due to the above... Figure 7 The first, second, and third line channels in the quantum chip are all the aforementioned fourth line channels. Therefore, by detecting the delay of the first, second, and third line channels, the delay of the line channels connecting two adjacent qubits on the quantum chip to the Z-line interface of the coupled qubits can be detected, providing a delay guarantee for the operation of multi-qubit logic gates.

[0176] In the above Figure 7In the illustrated embodiment, steps S705-S708 are performed after steps S701-S704 as an example. Since the first and second detection tasks can be generated simultaneously, steps S705-S708 can be performed before or simultaneously with steps S701-S704. The specific execution order of steps S705-S708 and steps S701-S704 is not specifically limited here.

[0177] In an optional embodiment, according to the above... Figure 7 The method shown in this application embodiment also provides a delay detection method. For example... Figure 8 As shown, Figure 8 This is an eighth flowchart illustrating the delay detection method provided in this application. The method includes the following steps.

[0178] Step S801: Receive a second delay detection instruction sent by the user terminal. The second delay detection instruction includes a first channel identifier of the first line channel, a second channel identifier of the second line channel, a third channel identifier of the fifth line channel, a first duration of signal transmission corresponding to the first line channel, a second duration of signal transmission corresponding to the second line channel, and a third duration of signal transmission corresponding to the fifth line channel.

[0179] In this step, the user can send delay detection commands (i.e., second delay detection commands) for the first line channel, the second line channel, and the fifth line channel to the aforementioned electronic device through the user terminal.

[0180] The aforementioned second delay detection instruction may include the channel identifier and signal transmission duration corresponding to each line channel to be detected. That is, the second delay detection instruction may include the first channel identifier of the first line channel, the second channel identifier of the second line channel, the third channel identifier of the fifth line channel, the first signal transmission duration corresponding to the first line channel, the second signal transmission duration corresponding to the second line channel, and the third signal transmission duration corresponding to the fifth line channel.

[0181] The first, second, and fifth line channels targeted by the aforementioned second delay detection command all transmit the same type of signal. For example, the first, second, and fifth line channels can all be used to transmit the aforementioned quantum bit frequency modulation signal.

[0182] Step S802: Based on the first channel identifier, the second channel identifier, the third channel identifier, the first duration, the second duration, and the third duration, generate a first detection task for the first line channel and the second line channel, and a second detection task for the second line channel and the fifth line channel.

[0183] The generation method of the first detection task and the second detection task in step S802 above can refer to the generation method of the first detection task in step S202 above, and will not be specifically explained here.

[0184] Through steps S801-S802, the electronic device can generate targeted delay detection tasks for the first, second, and fifth line channels according to user selection. This detects the delays stored in the electronic device, i.e., the delays in the first correspondence mentioned above. This ensures that the first, second, and fifth line channels can be used for signal transmission later based on the second and fourth relative delays corresponding to the first, second, and third delays. As a result, the signal can be transmitted through the first, second, and fifth line channels to the qubits on the quantum chip for quantum computing, improving the accuracy of quantum computing.

[0185] Step S803: Upon receiving the first detection task for the first line channel and the second line channel, the first delay corresponding to the first line channel and the second delay corresponding to the second line channel are obtained according to the first correspondence between each line channel and the delay stored in advance.

[0186] Step S804: Based on the second correspondence between the pre-stored third line channel, fourth line channel, and numerical value, determine whether the first line channel and the second line channel are linked. The third line channel is used to transmit quantum state control signals, the fourth line channel is used to transmit quantum bit frequency control signals, and the numerical value is used to indicate whether the third line channel and the fourth line channel are linked.

[0187] Step S805: If it is determined that the first line channel and the second line channel have established a link, then the first difference is compared with a preset time threshold. The first difference is the difference between the first relative delay and the second relative delay. The first relative delay is the difference between the first duration of signal transmission corresponding to the first line channel and the second duration of signal transmission corresponding to the second line channel. The second relative delay is the difference between the first delay and the second delay.

[0188] Step S806: When the first difference is less than or equal to a preset time threshold, determine the first delay and the second delay as normal delay data.

[0189] Step S807: Based on the first correspondence, obtain the third delay corresponding to the fifth line channel.

[0190] Step S808: Based on the second correspondence, determine whether the second line channel and the fifth line channel are linked.

[0191] Step S809: If it is determined that the second line channel and the fifth line channel have established a link, then the second difference is compared with a preset time threshold. The second difference is the difference between the third relative delay and the fourth relative delay. The third relative delay is the difference between the third duration of signal transmission corresponding to the fifth line channel and the second duration of signal transmission corresponding to the second line channel. The fourth relative delay is the difference between the third delay and the second delay.

[0192] Step S810: When the second difference is less than or equal to a preset time threshold, the second delay and the third delay are determined to be normal delay data.

[0193] Steps S803-S810 are the same as steps S701-S708.

[0194] In an optional embodiment, when the second correspondence is represented as a first list, according to the above... Figure 7 The method shown in this application embodiment also provides a delay detection method. For example... Figure 9 As shown, Figure 9 This is a schematic diagram of the ninth flowchart of the delay detection method provided in the embodiments of this application. Figure 9 In the method shown, step S702 can be further refined into the following steps, namely step S7021-step S7023.

[0195] Step S7021: Check if there is a first cell group in the first list. The first cell group is two cells in the same third line channel that correspond to the first line channel and the second line channel respectively and have the second value.

[0196] In this step, for the columns containing the first line channel and the second line channel in the first list, the electronic device can traverse each row of the first list to check if the first cell group exists in the first list.

[0197] For each third line channel in the first list, when the value of the cell corresponding to the third line channel and the first line channel is the second value, and the value of the cell corresponding to the third line channel and the second line channel is the second value, the electronic device can determine that these two cells are the first cell group.

[0198] To facilitate understanding, the first cell group above will be explained using Table 4 as an example.

[0199] Table 4

[0200] XY1 1 0 1 0 1 0 0 0 XY2 0 1 0 0 0 0 0 0 XY3 0 0 1 0 1 0 0 0 XY4 0 0 0 1 0 0 0 0

[0201] In one example, if the first line channel and the second line channel mentioned above are Z1 and Z2 in Table 4 respectively, according to Table 1, there are no rows in the columns containing Z1 and Z2 where the value is 1 simultaneously. In this case, the electronic device can determine that the first cell group mentioned above is not found in the first list.

[0202] In another example, if the first line channel and the second line channel mentioned above are Z1 and Z3 in Table 4 respectively, according to Table 1, there are rows in the columns containing Z1 and Z3 where the value is 1 simultaneously, namely the cells corresponding to XY1 and Z1, and the cells corresponding to XY1 and Z3. In this case, the electronic device can determine that the first cell group mentioned above is found in the first list.

[0203] Step S7022: If the first cell group is not found, determine that the first line channel and the second line channel have not established a link.

[0204] Step S7023: When the first cell group is found, determine that the first line channel and the second line channel are linked.

[0205] Steps S7022 and S7023 are steps executed by the electronic device based on the search results of the first cell group. Here, the execution of steps S7022 and S7023 is not specifically limited.

[0206] Through the above steps S7021-S7023, the electronic device can determine whether the first line channel and the second line channel are linked by searching the first cell in the first list. This effectively improves the accuracy of the link establishment judgment between the first line channel and the second line channel. Thus, when the first line channel and the second line channel are linked, the device can detect the corresponding delay of the first line channel and the second line channel, effectively improving the pertinence and effectiveness of the delay detection.

[0207] In the above Figure 9 In the method shown, step S706 can be further refined into the following steps, namely step S7061-step S7063.

[0208] Step S7061: Check if there is a second cell group in the first list. The second cell group consists of two cells in the same third line channel that correspond to the second line channel and the fifth line channel respectively, and the second cell group has the second value.

[0209] The search method for the second cell group mentioned above can be the same as that for the first cell group mentioned above, and will not be explained in detail here.

[0210] Step S7062: If the second cell group is not found, determine that the second line channel and the fifth line channel have not established a link.

[0211] Step S7063: When the second cell group is found, determine that the second line channel and the fifth line channel are linked.

[0212] Steps S7062 and S7063 are steps executed by the electronic device based on the search results of the second cell group. Here, the execution of steps S7062 and S7063 is not specifically limited.

[0213] Through the above steps S7061-S7063, the electronic device can determine whether the second line channel and the fifth line channel are linked by searching the second cell in the first list. This effectively improves the accuracy of the link establishment judgment between the second line channel and the fifth line channel. Thus, when the second line channel and the fifth line channel are linked, the device can detect the corresponding delay of the second line channel and the fifth line channel, effectively improving the pertinence and effectiveness of the delay detection.

[0214] In an optional embodiment, according to the above... Figure 7 The method shown in this application embodiment also provides a delay detection method. For example... Figure 10 As shown, Figure 10 This is a schematic diagram of the tenth flowchart of the delay detection method provided in this application embodiment. Figure 10 The method shown has been augmented with the following steps, namely steps S709-S710.

[0215] Step S709: When the first difference is greater than a preset time threshold and the second difference is greater than a preset time threshold, the first delay, the second delay and the third delay are determined to be abnormal delay data.

[0216] In this step, when the first difference is greater than the preset delay threshold and the second difference is greater than the preset time threshold, the electronic device can determine that the first delay of the first line channel and the second delay of the second line channel do not match the relative delay of the corresponding signal transmission of the first and second line channels; and that the second delay of the second line channel and the third delay of the fifth line channel do not match the relative delay of the corresponding signal transmission of the second and fifth line channels. That is, based on the first, second, and third delays, when the first, second, and fifth line channels are used for signal transmission, there is a significant difference in the arrival time of the three signals at the quantum bits. At this time, the electronic device can determine that the first, second, and third delays are abnormal, i.e., that the first, second, and third delays are abnormal delay data.

[0217] Step S709 is performed when the first difference indicated by the first comparison result in step S703 is greater than a preset time threshold, and when the second difference indicated by the second comparison result in step S707 is greater than a preset time threshold. The execution of step S709 is not specifically limited here.

[0218] Step S710: Send abnormal delay alarms for the first line channel, the second line channel, and the fifth line channel.

[0219] The sending of abnormal delay alarm in step S710 above can refer to the sending method of abnormal delay alarm in step S309 above, and will not be explained in detail here.

[0220] Through the above steps S709-S710, the electronic device can determine when the delay corresponding to the line channel is abnormal and issue an abnormal alarm for the line channel with the abnormal delay, so that the user can promptly determine the existence of the delay abnormality and avoid the abnormal delay from adversely affecting the subsequent delay update process or quantum computing process.

[0221] In an optional embodiment, according to the above... Figure 7 The method shown in this application embodiment also provides a delay detection method. For example... Figure 11 As shown, Figure 11 This is a schematic diagram of the eleventh step in the delay detection method provided in this application embodiment. Figure 11 The method shown includes the addition of the following step, namely step S711.

[0222] Step S711: Based on the second relative delay and the fourth relative delay, the first line channel, the second line channel and the fifth line channel are invoked for signal transmission.

[0223] In this step, after determining that the first, second, and third delays are normal delay data, the electronic device can call the first, second, and fifth line channels for signal transmission based on the second and fourth relative delays. That is, the quantum bit frequency control signals are transmitted to the Z-line interfaces corresponding to the respective connected quantum bits and tunable couplers through the first, second, and fifth line channels, so that the three quantum bit frequency control signals can reach the corresponding Z-line interfaces simultaneously, thereby enabling the two quantum bits and the tunable coupler to perform quantum computing based on the received signals.

[0224] For ease of understanding, we will use the second relative delay as t1 and the fourth relative delay as t2 as examples. We now assume that the first, second, and fifth line channels are connected to the first qubit, the second qubit, and the Z-line interface of the tunable coupler, respectively.

[0225] At time t, the electronic device transmits a qubit frequency control signal to the first qubit using the first line channel. At time t+t2, the electronic device can transmit a qubit frequency control signal to the second qubit using the second line channel. At time t+t2+t1, the electronic device can transmit a qubit frequency control signal to the tunable coupler using the fifth line channel.

[0226] In step S711 above, when the first qubit, the second qubit, and the tunable coupler perform quantum computing, the first and second qubits require not only the qubit frequency modulation signal but also a quantum state modulation signal. That is, they need to receive the quantum state modulation signal transmitted through the third line channel. After the time delays of the third line channels connected to the first and second qubits at their respective XY line interfaces are determined to be normal delay data, the relative time delays between each line channel connected to the first qubit, the second qubit, and the tunable coupler are also determined. The electronic device can transmit signals based on the relative time delays between each line channel; this will not be specifically explained here.

[0227] Through the above step S711, the electronic device can transmit the quantum bit frequency control signal according to the second relative delay and the fourth relative delay, so that the three quantum bit frequency control signals can reach two quantum bits and one tunable coupler at the same time, ensuring the accuracy of quantum computing.

[0228] In an optional embodiment, according to the above... Figure 7 The method shown in this application embodiment also provides a delay detection method. For example... Figure 12 As shown, Figure 12 This is a schematic diagram of the twelfth step in the delay detection method provided in this application embodiment. Figure 12 The method shown has been augmented with the following step, namely step S712.

[0229] Step S712: If it is determined that the second line channel and the fifth line channel have not established a link, then update the second delay and / or the third delay based on the third relative delay.

[0230] In this step, after executing steps S704 and S706, if the electronic device determines that the second line channel and the fifth line channel have not established a link, the electronic device can determine that the first delay and the second delay are normal delay data. However, the second delay and the third delay are not the delays determined when the second line channel and the fifth line channel have established a link. At this time, the electronic device can update the second delay and / or the third delay based on the third relative delay.

[0231] The update method for the second delay and / or the third delay mentioned above can refer to the update method for the first delay and / or the second delay in step S307 above, and will not be specifically explained here.

[0232] In an optional embodiment, considering that updating the second delay may cause a mismatch between the first delay and the updated second delay and the relative delay between the first line channel and the second line channel, the electronic device may prioritize updating the third delay when performing the above step S712, or, after updating the second delay, synchronously update the first delay according to the delay update amount of the second delay.

[0233] In the embodiments of this application, the method of updating the second delay and / or the third delay based on the third relative delay is not specifically limited.

[0234] Steps S707 and S712 described above are executed when a link is established between the second and fifth line channels, and when no link is established, respectively. The execution of steps S707 and S712 is not specifically limited here.

[0235] Through the above step S712, the electronic device matches the relative delays between the first and second delays with the first and second line channels. However, if the relative delays between the second and third delays do not match the relative delays between the second and fifth line channels, the electronic device updates the second and / or third delays. This allows the updated delays to match the relative delays, improving the accuracy of each delay and providing a guarantee for the subsequent quantum computing process.

[0236] In an optional embodiment, according to the above... Figure 7 The method shown in this application embodiment also provides a delay detection method. For example... Figure 13 As shown, Figure 13 This is a schematic diagram of the thirteenth process of the delay detection method provided in this application embodiment. Figure 13 The method shown has been augmented with the following step, namely step S713.

[0237] Step S713: If it is determined that the first line channel and the second line channel have not established a link, then update the first delay and / or the second delay based on the first relative delay.

[0238] In this step, after executing steps S702 and S708, if the electronic device determines that the first line channel and the second line channel have not established a link, the electronic device can determine that the second delay and the third delay are normal delay data. However, the first delay and the second delay are not the delays determined when the first line channel and the second line channel have established a link. At this time, the electronic device can update the first delay and / or the second delay based on the first relative delay.

[0239] The update method for the first delay and / or the second delay mentioned above can refer to the update method for the first delay and / or the second delay in step S307 above, and will not be specifically explained here.

[0240] In an optional embodiment, considering that updating the second delay may cause a mismatch between the third delay and the updated second delay and the relative delay between the fifth line channel and the second line channel, the electronic device may prioritize updating the first delay when performing the above step S713, or, after updating the second delay, may synchronously update the third delay according to the delay update amount of the second delay.

[0241] In the embodiments of this application, the method of updating the first delay and / or the second delay based on the first relative delay is not specifically limited.

[0242] Step S713 is executed after step S702 determines that the first line channel and the second line channel have not established a link, and after step S708 determines that the second delay and the third delay are normal delay data. The execution of step S713 is not specifically limited here.

[0243] Through the above step S713, the electronic device matches the relative delays between the second and third delays and the second and third line channels. However, if the first and second delays do not match the relative delays between the first and second line channels, the first and / or second delays are updated so that the updated delays can match the relative delays, thereby improving the accuracy of each delay and providing a guarantee for the subsequent quantum computing process.

[0244] Based on the same inventive concept, and according to the delay detection method provided in the above embodiments of this application, this application also provides a delay detection device. For example... Figure 14 As shown, Figure 14 This is a schematic diagram of a delay detection device provided in an embodiment of this application. The device includes the following modules.

[0245] The first acquisition module 1401 is used to, upon receiving a first detection task for the first line channel and the second line channel, acquire the first delay corresponding to the first line channel and the second delay corresponding to the second line channel according to the first correspondence between each line channel and the delay stored in advance.

[0246] The first determining module 1402 is used to determine whether the first line channel and the second line channel are linked based on the second correspondence between the third line channel, the fourth line channel and the value stored in advance. The third line channel is used to transmit quantum state control signals, the fourth line channel is used to transmit quantum bit frequency control signals, and the value is used to indicate whether the third line channel and the fourth line channel are linked.

[0247] The first comparison module 1403 is used to compare a first difference with a preset time threshold if it is determined that a link is established between the first line channel and the second line channel. The first difference is the difference between a first relative delay and a second relative delay. The first relative delay is the difference between the first duration of signal transmission corresponding to the first line channel and the second duration of signal transmission corresponding to the second line channel. The second relative delay is the difference between the first delay and the second delay.

[0248] The second determining module 1404 is used to determine the first delay and the second delay as normal delay data when the first difference is less than or equal to a preset time threshold.

[0249] Optionally, the above second correspondence is represented as a first list, where each row in the first list corresponds to a third line channel and each column corresponds to a fourth line channel;

[0250] The aforementioned first determining module 1402 can be specifically used to search for the cell corresponding to the first line channel and the second line channel in the first list as the target cell if the signal type transmitted by the first line channel is different from the signal type transmitted by the second line channel.

[0251] If the value corresponding to the target cell is the first value, then it is determined that the first line channel and the second line channel have not established a link;

[0252] If the value corresponding to the target cell is the second value, then it is determined that the first line channel and the second line channel are linked.

[0253] Optionally, the aforementioned delay detection device may further include:

[0254] The first update module is used to update the first delay and / or the second delay based on the first relative delay if it is determined that the first line channel and the second line channel have not established a link.

[0255] Optionally, the aforementioned delay detection device may further include:

[0256] The third determining module is used to determine that the first delay and the second delay are abnormal delay data when the first difference is greater than a preset time threshold.

[0257] The first sending module is used to send abnormal delay alarms for the first line channel and the second line channel.

[0258] Optionally, the aforementioned delay detection device may further include:

[0259] The first calling module is used to call the first line channel and the second line channel for signal transmission based on the second relative delay after determining that the first delay and the second delay are normal delay data.

[0260] Optionally, the aforementioned delay detection device may further include:

[0261] The first receiving module is used to receive a first delay detection instruction sent by the user terminal. The first delay detection instruction includes a first channel identifier of the first line channel, a second channel identifier of the second line channel, a first duration of signal transmission corresponding to the first line channel, and a second duration of signal transmission corresponding to the second line channel.

[0262] The first generation module is used to generate a first detection task for the first line channel and the second line channel based on the first channel identifier, the second channel identifier, the first duration, and the second duration.

[0263] Optionally, the aforementioned delay detection device may further include:

[0264] The second acquisition module is used to acquire the third delay corresponding to the fifth line channel if, when the first detection task is received, a second detection task for the second line channel and the fifth line channel is also received, and the first line channel, the second line channel, and the fifth line channel are all fourth line channels, according to the first correspondence relationship.

[0265] The fourth determining module is used to determine whether a link is established between the second line channel and the fifth line channel based on the second correspondence relationship;

[0266] The second comparison module is used to compare the second difference with a preset time threshold if it is determined that the second line channel and the fifth line channel have established a link. The second difference is the difference between the third relative delay and the fourth relative delay. The third relative delay is the difference between the third duration of signal transmission corresponding to the fifth line channel and the second duration of signal transmission corresponding to the second line channel. The fourth relative delay is the difference between the third delay and the second delay.

[0267] The fifth determination module is used to determine that the second delay and the third delay are normal delay data when the second difference is less than or equal to a preset time threshold.

[0268] Optionally, the above second correspondence is represented as a first list, where each row in the first list corresponds to a third line channel and each column corresponds to a fourth line channel;

[0269] The aforementioned first determining module 1402 can be specifically used to check whether a first cell group exists in the first list. The first cell group is two cells in the same third line channel that correspond to the first line channel and the second line channel respectively and have the second value. If the first cell group is not found, it is determined that the first line channel and the second line channel have not established a link. If the first cell group is found, it is determined that the first line channel and the second line channel have established a link.

[0270] The aforementioned fourth determination module is specifically used to check whether a second cell group exists in the first list. The second cell group consists of two cells with the second value corresponding to the second and fifth line channels, respectively, within the same third line channel. If the second cell group is not found, it is determined that the second line channel and the fifth line channel have not established a link. If the second cell group is found, it is determined that the second line channel and the fifth line channel have established a link.

[0271] Optionally, the aforementioned delay detection device may further include:

[0272] The sixth determining module is used to determine the first delay, the second delay, and the third delay as abnormal delay data when the first difference is greater than a preset time threshold and the second difference is greater than a preset time threshold.

[0273] The second sending module is used to send abnormal delay alarms for the first line channel, the second line channel, and the fifth line channel.

[0274] Optionally, the aforementioned delay detection device may further include:

[0275] The second calling module is used to call the first line channel, the second line channel, and the fifth line channel for signal transmission based on the second relative delay and the fourth relative delay after determining that the second delay and the third delay are normal delay data.

[0276] Optionally, the aforementioned delay detection device may further include:

[0277] The second update module is used to update the second delay and / or the third delay based on the third relative delay after determining that the first delay and the second delay are normal delay data and if it is determined that the second line channel and the fifth line channel have not established a link.

[0278] Optionally, the aforementioned delay detection device may further include:

[0279] The third update module is used to update the first delay and / or the second delay based on the first relative delay after determining that the second delay and the third delay are normal delay data and if it is determined that the first line channel and the second line channel have not established a link.

[0280] Optionally, the aforementioned delay detection device may further include:

[0281] The second receiving module is used to receive a second delay detection instruction sent by the user terminal. The second delay detection instruction includes a first channel identifier of the first line channel, a second channel identifier of the second line channel, a third channel identifier of the fifth line channel, a first duration of signal transmission corresponding to the first line channel, a second duration of signal transmission corresponding to the second line channel, and a third duration of signal transmission corresponding to the fifth line channel.

[0282] The second generation module is used to generate a first detection task for the first line channel and the second line channel, and a second detection task for the second line channel and the fifth line channel, based on the first channel identifier, the second channel identifier, the third channel identifier, the first duration, the second duration, and the third duration.

[0283] The apparatus provided in this application embodiment can, upon receiving a first detection task for a first line channel and a second line channel, obtain a first delay corresponding to the first line channel and a second delay corresponding to the second line channel based on a first correspondence. If a link is established between the first line channel and the second line channel based on a second correspondence, the difference between the first relative delay and the second relative delay is compared with a preset time threshold to determine whether the first delay and the second delay are abnormal delay data. This enables the detection of the corresponding delays of the first line channel and the second line channel, reducing the possibility of abnormal delays, improving the accuracy of the corresponding delays of each line channel, thereby improving the accuracy of signal transmission based on the delays of each line channel, and ultimately improving the accuracy of quantum computing.

[0284] Based on the same inventive concept, and according to the delay detection method provided in the above embodiments of this application, this application also provides an electronic device, such as... Figure 15 As shown, it includes a processor 1501, a communication interface 1502, a memory 1503, and a communication bus 1504. The processor 1501, communication interface 1502, and memory 1503 communicate with each other via the communication bus 1504.

[0285] Memory 1503 is used to store computer programs;

[0286] When processor 1501 executes the program stored in memory 1503, it performs the following steps:

[0287] Upon receiving a first detection task for the first line channel and the second line channel, the first delay corresponding to the first line channel and the second delay corresponding to the second line channel are obtained according to the first correspondence between each line channel and the delay in the pre-stored first correspondence relationship.

[0288] Based on the second correspondence between the pre-stored third line channel, fourth line channel and numerical value, it is determined whether the first line channel and the second line channel have established a link. The third line channel is used to transmit quantum state control signals, the fourth line channel is used to transmit quantum bit frequency control signals, and the numerical value is used to indicate whether the third line channel and the fourth line channel have established a link.

[0289] If it is determined that the first line channel and the second line channel are linked, the first difference is compared with a preset time threshold. The first difference is the difference between the first relative delay and the second relative delay. The first relative delay is the difference between the first duration of signal transmission corresponding to the first line channel and the second duration of signal transmission corresponding to the second line channel. The second relative delay is the difference between the first delay and the second delay.

[0290] When the first difference is less than or equal to a preset time threshold, the first delay and the second delay are determined to be normal delay data.

[0291] The electronic device provided in this application embodiment can, upon receiving a first detection task for a first line channel and a second line channel, obtain a first delay corresponding to the first line channel and a second delay corresponding to the second line channel based on a first correspondence. If a link is established between the first line channel and the second line channel based on a second correspondence, the difference between the first relative delay and the second relative delay is compared with a preset time threshold to determine whether the first delay and the second delay are abnormal delay data. This enables the detection of the corresponding delays of the first line channel and the second line channel, reducing the possibility of abnormal delays and improving the accuracy of the corresponding delays for each line channel. This, in turn, improves the accuracy of signal transmission based on the delays of each line channel, and ultimately improves the accuracy of quantum computing.

[0292] The communication bus mentioned in the above electronic devices can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.

[0293] The communication interface is used for communication between the aforementioned electronic devices and other devices.

[0294] The memory may include random access memory (RAM) or non-volatile memory (NVM), such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.

[0295] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.

[0296] Based on the same inventive concept, and according to the latency detection method provided in the above embodiments of this application, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of any of the above latency detection methods.

[0297] Based on the same inventive concept, and according to the latency detection method provided in the above embodiments of this application, this application also provides a computer program product containing instructions, which, when run on a computer, causes the computer to execute any of the latency detection methods in the above embodiments.

[0298] Based on the same inventive concept, and according to the time delay detection method provided in the above embodiments of this application, this application also provides a quantum computing measurement and control system to implement any of the time delay detection methods described above.

[0299] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)).

[0300] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0301] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for embodiments such as apparatuses, electronic devices, computationally readable storage media, computer program products, and quantum computing measurement and control systems, since they are basically similar to the method embodiments, the descriptions are relatively simple, and relevant parts can be referred to the descriptions of the method embodiments.

[0302] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention are included within the scope of protection of the present invention.

Claims

1. A time delay detection method, characterized in that, The method includes: Upon receiving a first detection task for the first line channel and the second line channel, the first delay corresponding to the first line channel and the second delay corresponding to the second line channel are obtained according to the first correspondence between each line channel and the delay in the pre-stored first correspondence relationship. Based on the second correspondence between the pre-stored third line channel, fourth line channel, and numerical value, it is determined whether the first line channel and the second line channel have established a link. The third line channel is used to transmit quantum state control signals, the fourth line channel is used to transmit quantum bit frequency control signals, and the numerical value is used to indicate whether the third line channel and the fourth line channel have established a link. The first line channel is either the third line channel or the fourth line channel, and the second line channel is either the third line channel or the fourth line channel. If it is determined that the first line channel and the second line channel have established a link, then the first difference is compared with a preset time threshold, wherein the first difference is the difference between the first relative delay and the second relative delay, the first relative delay is the difference between the first duration of signal transmission corresponding to the first line channel and the second duration of signal transmission corresponding to the second line channel, and the second relative delay is the difference between the first delay and the second delay. When the first difference is less than or equal to a preset time threshold, the first delay and the second delay are determined to be normal delay data.

2. The method according to claim 1, characterized in that, The second correspondence is represented as a first list, where each row in the first list corresponds to a third line channel and each column corresponds to a fourth line channel; If the signal type transmitted by the first line channel is different from the signal type transmitted by the second line channel, then the step of determining whether a link is established between the first line channel and the second line channel based on the second correspondence between the pre-stored third line channel, fourth line channel, and numerical values ​​includes: Find the cell in the first list that corresponds to the first line channel and the second line channel, and use it as the target cell; If the value corresponding to the target cell is the first value, then it is determined that the first line channel and the second line channel have not established a link; If the value corresponding to the target cell is the second value, then it is determined that the first line channel and the second line channel are linked.

3. The method according to claim 2, characterized in that, The method further includes: If it is determined that the first line channel and the second line channel have not established a link, then the first delay and / or the second delay are updated based on the first relative delay.

4. The method according to claim 2, characterized in that, The method further includes: When the first difference is greater than the preset time threshold, the first delay and the second delay are determined to be abnormal delay data; Send abnormal delay alarms for the first line channel and the second line channel.

5. The method according to claim 2, characterized in that, After determining that the first delay and the second delay are normal delay data, the method further includes: Based on the second relative time delay, the first line channel and the second line channel are invoked for signal transmission.

6. The method according to claim 1, characterized in that, The method further includes: Receive a first delay detection instruction sent by the user terminal. The first delay detection instruction includes a first channel identifier of a first line channel, a second channel identifier of a second line channel, a first duration of signal transmission corresponding to the first line channel, and a second duration of signal transmission corresponding to the second line channel. Based on the first channel identifier, the second channel identifier, the first duration, and the second duration, a first detection task is generated for the first line channel and the second line channel.

7. The method according to claim 1, characterized in that, If, upon receiving the first detection task, a second detection task is also received for the second and fifth line channels, and the first, second, and fifth line channels are all the fourth line channel, then the method further includes: Based on the first correspondence, obtain the third delay corresponding to the fifth line channel; Based on the second correspondence, determine whether the second line channel and the fifth line channel have established a link; If it is determined that the second line channel and the fifth line channel establish a link, then the second difference is compared with the preset time threshold, wherein the second difference is the difference between the third relative delay and the fourth relative delay, the third relative delay is the difference between the third duration of signal transmission corresponding to the fifth line channel and the second duration of signal transmission corresponding to the second line channel, and the fourth relative delay is the difference between the third delay and the second delay; When the second difference is less than or equal to the preset time threshold, the second delay and the third delay are determined to be normal delay data.

8. The method according to claim 7, characterized in that, The second correspondence is represented as a first list, where each row in the first list corresponds to a third line channel and each column corresponds to a fourth line channel; The step of determining whether a link is established between the first line channel and the second line channel based on a pre-stored second correspondence between the third line channel, the fourth line channel, and numerical values ​​includes: Check if a first cell group exists in the first list. The first cell group consists of two cells in the same third line channel that correspond to the first line channel and the second line channel respectively and have the second value. If the first cell group is not found, it is determined that the first line channel and the second line channel have not established a link; When the first cell group is found, it is determined that the first line channel and the second line channel are linked. The step of determining whether a link is established between the second line channel and the fifth line channel based on the second correspondence includes: Check if a second cell group exists in the first list. The second cell group consists of two cells with the second value that correspond to the second line channel and the fifth line channel, respectively, within the same third line channel. If the second cell group is not found, it is determined that the second line channel and the fifth line channel have not established a link; When the second cell group is found, it is determined that the second line channel and the fifth line channel are linked.

9. The method according to claim 7, characterized in that, The method further includes: When the first difference is greater than the preset time threshold and the second difference is greater than the preset time threshold, the first delay, the second delay, and the third delay are determined to be abnormal delay data. Send abnormal delay alarms for the first line channel, the second line channel, and the fifth line channel.

10. The method according to claim 7, characterized in that, After determining that the second delay and the third delay are normal delay data, the method further includes: Based on the second relative delay and the fourth relative delay, the first line channel, the second line channel, and the fifth line channel are invoked for signal transmission.

11. The method according to claim 7, characterized in that, After determining that the first delay and the second delay are normal delay data, the method further includes: If it is determined that the second line channel and the fifth line channel have not established a link, then the second delay and / or the third delay are updated based on the third relative delay.

12. The method according to claim 7, characterized in that, After determining that the second delay and the third delay are normal delay data, the method further includes: If it is determined that the first line channel and the second line channel have not established a link, then the first delay and / or the second delay are updated based on the first relative delay.

13. The method according to claim 7, characterized in that, The method further includes: The system receives a second delay detection instruction sent by the user terminal. The second delay detection instruction includes a first channel identifier of a first line channel, a second channel identifier of a second line channel, a third channel identifier of a fifth line channel, a first duration of signal transmission corresponding to the first line channel, a second duration of signal transmission corresponding to the second line channel, and a third duration of signal transmission corresponding to the fifth line channel. Based on the first channel identifier, the second channel identifier, the third channel identifier, the first duration, the second duration, and the third duration, a first detection task is generated for the first line channel and the second line channel, and a second detection task is generated for the second line channel and the fifth line channel.

14. A time delay detection device, characterized in that, The device includes: The first acquisition module is used to, upon receiving a first detection task for a first line channel and a second line channel, acquire the first delay corresponding to the first line channel and the second delay corresponding to the second line channel based on a pre-stored first correspondence between each line channel and the delay. The first determining module is used to determine whether the first line channel and the second line channel are linked based on a second correspondence between the third line channel, the fourth line channel and the value stored in advance. The third line channel is used to transmit quantum state control signals, the fourth line channel is used to transmit quantum bit frequency control signals, and the value is used to indicate whether the third line channel and the fourth line channel are linked. The first line channel is either the third line channel or the fourth line channel, and the second line channel is either the third line channel or the fourth line channel. The first comparison module is used to compare a first difference with a preset time threshold if it is determined that the first line channel and the second line channel have established a link. The first difference is the difference between a first relative delay and a second relative delay. The first relative delay is the difference between a first duration of signal transmission corresponding to the first line channel and a second duration of signal transmission corresponding to the second line channel. The second relative delay is the difference between the first delay and the second delay. The second determining module is used to determine that the first delay and the second delay are normal delay data when the first difference is less than or equal to a preset time threshold.

15. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the steps of the method described in any one of claims 1-13.

16. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method described in any one of claims 1-13.

Citation Information

Patent Citations

  • Delay symmetry measurement method, device and system

    CN109005557A

  • Time delay detection method and device, equipment and storage medium

    CN116668338A