Triggering method and device, quantum computing measurement and control system and quantum computer

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

Patent Information

Application Number
CN202410354540.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-27
Publication Date
2026-10-23
Estimated Expiration
2044-03-27

AI Technical Summary

Technical Problem

[0003]量子计算在复杂计算方面具有巨大潜力,相关技术的量子计算机采用单线程执行机制,计算效率较低,而当采用多线程并行执行机制时,又会面临量子比特串扰问题

Benefits of technology

[0033]本申请通过对所有线程模块的触发状态进行获取,再由目标线程模块根据触发状态生成触发请求,确保当前一个目标线程模块生产触发请求时,其他线程模块均为空闲状态,响应执行模块输出的触发响应生成触发信号,进而使得多个触发信号之间是错开的;当多个目标线程模块同时发送触发请求时,执行模块在相邻两个触发响应之间增加延迟触发值,确保多个执行模块输出的触发信号之间是错开的,进而确保各个目标线程模块触发的量子计算任务交错执行,避免了量子处理器上运行量子计算任务的量子比特相互干扰,提高了对量子比特的精确控制,进而提高了量子计算结果。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120725169B_ABST
    Figure CN120725169B_ABST
Patent Text Reader

Abstract

The application discloses a triggering method and device, a quantum computing measurement and control system and a quantum computer, and is applied to a routing device of the quantum computing measurement and control system. The routing device comprises a plurality of thread modules and an execution module. The method comprises the following steps: the execution module acquires triggering states of all thread modules and sends the triggering states to the thread modules; a target thread module generates a triggering request of a quantum computing task and outputs the triggering request when triggering states of other thread modules are all idle states; the execution module outputs corresponding triggering responses to the target thread module in response to each triggering request; wherein the triggering responses corresponding to a plurality of triggering requests received at the same time have a delay triggering value; and the target thread module outputs staggered triggering signals according to the triggering responses, so that staggered execution of quantum computing tasks is realized. The application introduces a staggered triggering mechanism, staggered triggering of a plurality of quantum computing tasks is realized in a quantum parallel multi-thread scene, and influence of quantum bit crosstalk is significantly reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the quantum field, specifically a triggering method, device, quantum computing measurement and control system, and quantum computer. Background Technology

[0002] Quantum computing is a new computing paradigm that follows the laws of quantum mechanics to manipulate basic information units for computation. The basic information unit of classical computing is the classical bit, while the basic information unit of quantum computing is the qubit. A classical bit can only be in one state, either 0 or 1, while based on the superposition principle of quantum mechanics, a qubit can be in a superposition of multiple possible states. Therefore, the computational efficiency of quantum computing far exceeds that of classical computing.

[0003] Quantum computing holds immense potential for complex computations. However, current quantum computers employ a single-threaded execution mechanism, resulting in relatively low computational efficiency. Furthermore, multi-threaded parallel execution presents the challenge of qubit crosstalk. For instance, in multi-threaded parallel scenarios, crosstalk may occur between qubits performing different quantum computing tasks, making precise control of the qubits difficult and affecting computational results. To mitigate this issue, related technologies have staggered the positions of qubits used for different quantum computing tasks on the quantum processor, increasing the physical distance to avoid crosstalk. However, this introduces a new problem: it leads to a decrease in the utilization rate of qubit resources on the quantum processor. Summary of the Invention

[0004] The purpose of this application is to provide a triggering method, device, quantum computing measurement and control system, and quantum computer, which overcomes the shortcomings of existing technologies where the positions of qubits on the quantum processor are staggered and the physical distance is increased to avoid crosstalk. This avoids mutual interference between qubits running quantum computing tasks on the quantum processor, improves the precise control of qubits, and thus improves the quantum computing results.

[0005] The specific technical solution of this application is as follows:

[0006] This application provides a method for triggering quantum computing tasks, applied to a routing device in a quantum computing measurement and control system. The routing device includes several thread modules and an execution module. The method includes:

[0007] The execution module obtains the trigger status of all the thread modules and sends it to each of the thread modules; wherein, the trigger status includes an idle state and a working state;

[0008] When the trigger states of other thread modules are all in an idle state, the target thread module generates and outputs a trigger request for the quantum computing task; wherein, the target thread module is the thread module that receives the task package of the quantum computing task to be executed.

[0009] The execution module responds to each trigger request by outputting a corresponding trigger response to the target thread module, so that the target thread module outputs interleaved trigger signals to trigger the interleaved execution of each quantum computing task; wherein, the trigger responses corresponding to several trigger requests received at the same time have a delayed trigger value; the delayed trigger value is the time by which the execution module delays outputting the trigger response, and the delayed trigger value is not less than the execution time of the quantum computing task.

[0010] In the quantum computing task triggering method described above, optionally, the execution module responds to each trigger request by outputting a corresponding trigger response to the target thread module, including:

[0011] When the execution module receives several trigger requests simultaneously, it responds to the trigger requests of the thread modules in sequence according to the preset priority order and delay trigger value and outputs the corresponding trigger response; wherein, the priority order is the output priority order of each thread module.

[0012] Optionally, in the quantum computing task triggering method described above, the execution module responds to the thread module's triggering requests sequentially according to a preset priority order and delay trigger value, and outputs corresponding triggering responses, including:

[0013] The execution module responds to each trigger request in descending order of priority, and outputs the trigger response of the next trigger request after a delay of the trigger response of the current trigger request.

[0014] Optionally, in the quantum computing task triggering method described above, after the execution module responds to each trigger request and outputs a corresponding trigger response to the target thread module, the method further includes:

[0015] The execution module updates the trigger status of all the thread modules and sends the updated trigger status to each of the thread modules.

[0016] Optionally, in the quantum computing task triggering method described above, the execution module updates the triggering state of all the thread modules, including:

[0017] When the target thread module outputs a trigger signal corresponding to the quantum computing task to be executed, the execution module updates the trigger state of the target thread module to the working state;

[0018] When the quantum computing task triggered by the target thread module is completed, the execution module updates the triggering state of the target thread module to the idle state.

[0019] This application also provides a triggering device for a quantum computing task, applied to a quantum computing measurement and control system, the device comprising:

[0020] Several thread modules are provided. The target thread module is used to generate and output a trigger request for a quantum computing task when the trigger states of other thread modules are all in an idle state. It is also used to output interleaved trigger signals based on the trigger response, so as to enable the interleaved execution of each quantum computing task. The target thread module is the thread module that receives the task package of the quantum computing task to be executed.

[0021] An execution module is used to acquire the trigger status of all the thread modules and send it to each of the thread modules, and to respond to each trigger request by outputting a corresponding trigger response to the target thread module; wherein, the trigger status includes an idle state and a working state, and the trigger responses corresponding to several trigger requests received at the same time have a delay trigger value; the delay trigger value is the time by which the execution module delays outputting the trigger response, and the delay trigger value is not less than the execution time of the quantum computing task.

[0022] This application further provides a quantum computing measurement and control system, comprising:

[0023] The routing device outputs a trigger signal using the triggering method described in any one of claims 1-5 above;

[0024] A signal generation device is used to generate measurement and control signals for the quantum computing task in response to the trigger signal.

[0025] The quantum computing measurement and control system described above includes a first routing device that receives a first task packet of a quantum computing task to be executed, and a second routing device that receives a second task packet of a virtual task.

[0026] Wherein, the first routing device outputs a first trigger signal for triggering the quantum computing task to be executed using any of the triggering methods described above; the first routing device outputs a second trigger signal for the virtual task using any of the triggering methods described above.

[0027] The quantum computing measurement and control system described above is characterized in that the signal generation device generates a measurement and control signal for the quantum computing task to be executed in response to the first trigger signal, and the signal generation device does not respond to the second trigger signal.

[0028] This application further provides a quantum computer, comprising:

[0029] The host computer receives quantum computing tasks and outputs the corresponding task packages;

[0030] The quantum computing measurement and control system described above is used to output measurement and control signals for the quantum computing task to be executed;

[0031] The quantum processor executes the quantum computing task based on the measurement and control signals.

[0032] Compared with the prior art, this application has the following beneficial effects:

[0033] This application acquires the trigger status of all thread modules, and then the target thread module generates a trigger request based on the trigger status. This ensures that when one target thread module generates a trigger request, other thread modules are in an idle state, responding to the trigger response output by the execution module to generate a trigger signal, thus ensuring that multiple trigger signals are staggered. When multiple target thread modules send trigger requests simultaneously, the execution module adds a delay trigger value between two adjacent trigger responses, ensuring that the trigger signals output by multiple execution modules are staggered. This ensures that the quantum computing tasks triggered by each target thread module are executed in an interleaved manner, avoiding mutual interference between qubits running quantum computing tasks on the quantum processor, improving the precise control of qubits, and thus improving the quantum computing results. Attached Figure Description

[0034] Figure 1 A flowchart illustrating a method for triggering a quantum computing task, provided in an embodiment of this application;

[0035] Figure 2 This is a schematic diagram of a quantum computing measurement and control structure provided in an embodiment of this application;

[0036] Figure 3 A flowchart illustrating the timing diagram of multiple thread modules executing quantum computing tasks in parallel without staggering, as provided in an embodiment of this application;

[0037] Figure 4 A flowchart illustrating the timing diagram of multiple thread modules executing quantum computing tasks in parallel and interleaved, as provided in an embodiment of this application;

[0038] Figure 5 A flowchart illustrating the process of updating the trigger state of a thread module by an execution module, provided in an embodiment of this application;

[0039] Figure 6 A schematic diagram of a triggering device for a quantum computing task provided in an embodiment of this application;

[0040] Figure 7 This is a schematic diagram of the structure of a quantum computing measurement and control system provided in an embodiment of this application. Detailed Implementation

[0041] The following detailed description is illustrative only and is not intended to limit the embodiments and / or their application or use. Furthermore, it is not intended to be construed as being bound by any express or implied information presented in the preceding "Background Art" or "Summary of the Invention" or "Detailed Description" sections.

[0042] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, one or more embodiments are now described with reference to the accompanying drawings, wherein similar reference numerals are used throughout the text to refer to similar components. In the following description, numerous specific details are set forth for purposes of explanation in order to provide a more thorough understanding of one or more embodiments. However, it will be apparent that one or more embodiments may be practiced in various circumstances without these specific details, and the various embodiments may be combined with and referenced to each other without contradiction.

[0043] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0044] Quantum computing holds immense potential for complex computations. However, current quantum computers employ a single-threaded execution mechanism, resulting in relatively low computational efficiency. Furthermore, multi-threaded parallel execution presents the challenge of qubit crosstalk. For instance, in multi-threaded parallel scenarios, crosstalk may occur between qubits performing different quantum computing tasks, making precise control of the qubits difficult and affecting computational results. To mitigate this issue, related technologies have staggered the positions of qubits used for different quantum computing tasks on the quantum processor, increasing the physical distance to avoid crosstalk. However, this introduces a new problem: it leads to a decrease in the utilization rate of qubit resources on the quantum processor.

[0045] A quantum computing task may need to be executed 1,000 to 10,000 times. When no other quantum computing tasks are executed during the total execution time of a quantum computing task on a quantum processor, it is called single-threaded execution. When other quantum computing tasks are executed during the total execution time of a quantum computing task on a quantum processor, it is called multi-threaded parallel execution.

[0046] This application provides a method for triggering quantum computing tasks, a quantum control subsystem, a quantum computing measurement and control system, and a quantum computer to improve related technologies. It should be noted that although this application uses a quantum processor as an example, it can be applied to other quantum computing devices, such as quantum computing simulation devices, and this application does not impose any limitations on them.

[0047] As attached Figure 1 As shown, attached Figure 1 This is a flowchart illustrating a method for triggering a quantum computing task according to an embodiment of this application. Figure 2 This is a schematic diagram of a quantum computing measurement and control system provided in an embodiment of this application.

[0048] Step S101: The execution module obtains the trigger status of all thread modules and sends it to each thread module; wherein, the trigger status includes idle status and working status.

[0049] Step S102: When the trigger states of other thread modules are all in an idle state, the target thread module generates and outputs a trigger request for the quantum computing task; wherein, the target thread module is the thread module that receives the task package of the quantum computing task to be executed.

[0050] Step S103: The execution module responds to each trigger request by outputting a corresponding trigger response to the target thread module, so that the target thread module outputs interleaved trigger signals to trigger the interleaved execution of each quantum computing task; wherein, the trigger responses corresponding to several trigger requests received at the same time have a delayed trigger value; the delayed trigger value is the time by which the execution module delays outputting the trigger response, and the delayed trigger value is not less than the execution time of the quantum computing task.

[0051] For ease of understanding, combined with Figure 2 The above-mentioned quantum computing measurement and control system will be described. Figure 2 This is a schematic diagram of a quantum computing measurement and control system provided in an embodiment of this application. Figure 2 The quantum computing measurement and control system shown may include: a central control device, several routing devices, and several signal generation devices.

[0052] The routing device is communicatively connected to the host computer, the signal generation device, and the central control device. It is used to receive task packets of quantum computing tasks to be executed from the host computer, forward the task packets to the signal generation device, forward the ready signals sent by the signal generation device according to the task packets to the central control module, receive the trigger instructions output by the central control module according to the ready signals, and generate trigger signals to the signal generation device according to the trigger instructions and the task packets. This triggers the signal generation device to output the measurement and control signals of each quantum computing task.

[0053] exist Figure 2The quantum computing measurement and control system shown may include multiple routing devices, each of which may include an execution module and a thread module. The number of thread modules can be multiple. For example, in a quantum computing measurement and control system corresponding to a 72-bit quantum processor, the number of thread modules is 5. Each thread module can be used to execute a quantum computing task.

[0054] Furthermore, the routing device in this embodiment can use an FPGA (Field-Programmable Gate Array). By configuring functional modules (execution module and thread module) on the FPGA, interleaved trigger signals are output to the signal generation device to realize the interleaved execution of multiple quantum computing tasks.

[0055] In step S101, the execution module obtains the trigger status of all thread modules and sends it to each thread module; wherein, the trigger status includes idle status and working status.

[0056] The task package for the quantum computing task to be executed is sent from the host computer to the thread module in the routing device. The signal waveform information used to generate the measurement and control signal in the task package is forwarded by the thread module to the signal generation device, which generates the specific measurement and control signal based on the signal waveform information. The task package also includes task information such as the thread number, the number of repeated triggers, and the trigger interval for executing the quantum computing task. The thread number is used to identify the information of each device module executing the quantum computing task, such as the thread number of the thread module and the thread number of the signal generation device. The thread module is used to output multiple repeated trigger signals to the signal generation device based on the task information such as the number of repeated triggers and the trigger interval. The signal generation device then responds to the trigger signals and outputs the measurement and control signal.

[0057] In this step, when a thread module is idle, it can trigger the execution of the quantum computing task to be executed; when a thread module is in the working state of outputting a trigger signal, other thread modules cannot trigger the execution of the quantum computing task. The execution module communicates with all thread modules, obtains the trigger status of all thread modules, and sends it to each thread module so that the thread module can determine whether it can generate a trigger request.

[0058] Specifically, when a target thread module outputs a trigger signal to trigger the execution of a quantum computing task, the trigger state of this target thread module is in the working state, and other target thread modules will not generate trigger requests; when the quantum computing task triggered by this target thread module is completed, and the trigger state of all thread modules is in the idle state, other target thread modules generate trigger requests based on the received quantum computing task package.

[0059] In step S102, when the trigger states of other thread modules are all in an idle state, the target thread module generates and outputs a trigger request for the quantum computing task; wherein, the target thread module is the thread module that receives the task package of the quantum computing task to be executed.

[0060] The thread module that receives the task packet for the quantum computing task to be executed is the target thread module. It needs to output a trigger signal to initiate the execution of the quantum computing task; therefore, it needs to output a trigger request. Before outputting the trigger request, the target thread module needs to determine the trigger status of all other thread modules sent by the execution module. When the trigger status of all other thread modules is in the first trigger state (i.e., none of the other thread modules have triggered the execution of the quantum computing task), the target thread module can then trigger the execution of the quantum computing task.

[0061] When the target thread module triggers the execution of a quantum computing task, it first generates a trigger request for that task and sends it to the execution module. The trigger response from the execution module then triggers the output of a trigger signal. It's important to note that the target thread module only represents the thread module that receives the task package of the quantum computing task to be executed. Once the triggered quantum computing task has completed execution, the target thread module is defined as the thread module; that is, the target thread module is updated in real time based on the execution of the quantum computing task to be executed.

[0062] In step S103, the execution module responds to each trigger request by outputting the corresponding trigger response to the target thread module; wherein, the trigger responses corresponding to several trigger requests received at the same time have a delayed trigger value; the delayed trigger value is the time that the execution module delays in outputting the trigger response, and the delayed trigger value is not less than the execution time of the quantum computing task.

[0063] In step S102, the target thread module determines whether the quantum computing task to be executed can be triggered based on the trigger status of all thread modules. When it is determined that it can be triggered and a trigger request is output to the execution module, the execution module responds to the trigger request of the target thread module and outputs a trigger response, triggering the target thread module to output a trigger signal.

[0064] When a target thread module outputs a trigger signal to initiate the execution of a quantum computing task, its trigger state is active, and other target thread modules will not generate trigger requests. When the quantum computing task triggered by the target thread module is completed, and all thread modules are in an idle state, other target thread modules generate trigger requests based on the received quantum computing task packets. This ensures that the quantum computing tasks triggered by each target thread module are executed in an interleaved manner, avoiding mutual interference between qubits running on the quantum processor, improving the precise control of qubits, and thus improving the quantum computing results.

[0065] It is conceivable that when several target thread modules generate trigger requests in sequence, the above steps S101-S102 can ensure that the trigger requests are staggered. Therefore, when the target thread module generates a trigger signal in response to the trigger response sent by the execution module in step S103, the trigger signals are also staggered.

[0066] It should be added that multiple target thread modules may receive the task packets of the quantum computing tasks to be executed at the same time. Therefore, in step S102, multiple target thread modules may send trigger requests at the same time. If the execution module responds to the multiple trigger requests received at the same time and outputs the trigger response, these target thread modules will generate trigger signals at the same time, thereby causing multiple quantum computing tasks to be executed at the same time, and the qubits of the corresponding execution tasks will interfere with each other.

[0067] To avoid the situation where the execution module responds to trigger requests from multiple target thread modules simultaneously, in this step, when the execution module receives trigger requests from multiple target thread modules at the same time, a delay trigger value is added between two adjacent trigger responses. That is, the execution module responds to the first trigger request and outputs the corresponding first trigger response, and then responds to the second trigger request and outputs the corresponding second trigger response after the delay trigger value time of outputting the first trigger response; then responds to the third trigger request and outputs the corresponding third trigger response after the delay trigger value time of outputting the second trigger response, and so on, to ensure that there is a delay trigger value between the trigger responses corresponding to multiple trigger requests received at the same time.

[0068] In addition, the delay trigger value is not less than the execution time of the quantum computing task. When the execution module responds to the second trigger request and outputs the corresponding second trigger response after the delay trigger value time, the quantum computing task corresponding to the first trigger signal has been completed. This ensures that multiple quantum computing tasks are executed in a staggered manner, avoiding mutual interference between the qubits executing the quantum computing tasks.

[0069] For example, see attached Figure 3The schematic timing diagram illustrates the parallel execution of quantum computing tasks by multiple thread modules without employing the triggering method of this application, and includes... Figure 4 The timing diagram shown illustrates the parallel execution of quantum computing tasks by multiple thread modules using the triggering method of this application. It shows thread module 1, thread module 2, and thread module 3. Each thread module is used to execute a quantum computing task to be executed, which can realize the parallel execution of three quantum computing tasks.

[0070] Furthermore, quantum computing is characterized by repetitive execution; therefore, each quantum computing task, or its subtasks, will be repeatedly triggered and executed multiple times, as shown in the attached diagram. Figure 4 The tasks executed by each thread module in the process need to be repeatedly triggered and executed multiple times, with each repetition having a trigger time interval. The interleaved execution of quantum computing tasks in this application utilizes the trigger time interval of repeated execution to run other quantum computing tasks within the execution time interval of the current quantum computing task. This not only ensures the interleaving of two quantum computing tasks but also improves the efficiency of running quantum computing tasks.

[0071] It should be added that the quantum computing task to be executed in this embodiment can be a complete quantum computing task or a subtask after a relatively large quantum computing task is broken down, such as a measurement task to measure qubits, or a control task, etc. In this embodiment, subtasks are mainly used as examples. The triggering time interval of each current subtask is used to trigger other subtasks, ensuring that the two quantum computing tasks are executed in an interleaved manner, while greatly improving the efficiency of running quantum computing tasks.

[0072] This application acquires the trigger status of all thread modules, and then the target thread module generates a trigger request based on the trigger status. This ensures that when one target thread module generates a trigger request, other thread modules are in an idle state, responding to the trigger response output by the execution module to generate a trigger signal, thus ensuring that multiple trigger signals are staggered. When multiple target thread modules send trigger requests simultaneously, the execution module adds a delay trigger value between two adjacent trigger responses, ensuring that the trigger signals output by multiple execution modules are staggered. This ensures that the quantum computing tasks triggered by each target thread module are executed in an interleaved manner, avoiding mutual interference between qubits running quantum computing tasks on the quantum processor, improving the precise control of qubits, and thus improving the quantum computing results.

[0073] Combined with appendix Figure 3The diagram illustrates the timing of multiple thread modules executing quantum computing tasks in parallel. Each thread module generates a trigger request and sends it to the execution module after receiving a task packet. If the execution module does not check the time interval between two adjacent trigger requests and directly outputs a trigger response to the thread module upon receiving the request, the thread module will generate a trigger signal to trigger the execution of the quantum computing task. This would result in several quantum computing tasks running simultaneously, causing interference between the qubits running on the quantum processor. Furthermore, quantum computing is characterized by repetitive execution; therefore, each quantum computing task will be executed multiple times, leading to a very high frequency and duration of simultaneous execution of multiple quantum computing tasks. This reduces the precise control of the qubits and directly affects the computational results.

[0074] In one embodiment, the execution module responds to each trigger request by outputting a corresponding trigger response to the target thread module, including: when the execution module receives several trigger requests simultaneously, it responds to the trigger requests of the thread modules in sequence according to a preset priority order and a delayed trigger value and outputs the corresponding trigger response; wherein, the priority order is the output priority order of each thread module.

[0075] In this embodiment, the thread module has a preset priority order for output, for example, as shown in the appendix. Figure 4 The diagram illustrates three thread modules with the priority order of Thread Module 1 > Thread Module 2 > Thread Module 3. When the execution module simultaneously receives trigger requests from several target thread modules, it responds to the trigger requests according to their priority order. Each trigger request after the first one is delayed in response. Specifically, each subsequent trigger request, arranged in priority order, is responded to after a delay value. This ensures that the trigger signals output by the several target thread modules conform to their priority order, and the time interval between each trigger signal is the delay value, not less than the execution time of the quantum computing task. This allows several quantum computing tasks to be executed in an interleaved manner according to their priority order.

[0076] As described above, when the execution module receives several trigger requests simultaneously, the execution module responds to the thread module's trigger requests in sequence according to the preset priority order and delay trigger value, and outputs the corresponding trigger response. This includes: the execution module responds to each trigger request in descending priority order, and outputs the trigger response of the next trigger request after the delay trigger value time after outputting the trigger response of the current trigger request.

[0077] When the execution module responds to the trigger request of the thread module with the highest priority and outputs a trigger response, causing that thread module to output a trigger signal to trigger the completion of the quantum computing task, the execution module then responds to the trigger request of the thread module with the second highest priority and outputs the corresponding trigger response after a delay of the trigger value time; and so on, until all the thread modules that sent trigger requests at the same time have output trigger signals, so that the quantum computing tasks received by these thread modules from the task package are executed in an interleaved manner.

[0078] In step S103 above, the execution module will respond to the trigger request and output the corresponding trigger response. After the execution module responds to each trigger request and outputs the corresponding trigger response to the target thread module, the method further includes: the execution module updates the trigger status of all thread modules and sends the updated trigger status to each thread module.

[0079] After the execution module outputs the trigger response corresponding to each trigger request, it updates the trigger status of all thread modules, including updating the trigger status of the target thread module corresponding to the trigger request; and sends the updated trigger status to each thread module.

[0080] By updating the trigger status of all thread modules in real time based on the trigger response, the execution module ensures that other target thread modules do not generate trigger requests. This ensures that the quantum computing tasks triggered by each target thread module are executed in an interleaved manner, avoiding mutual interference between qubits running quantum computing tasks on the quantum processor, improving the precise control of qubits, and thus improving the quantum computing results.

[0081] As attached Figure 5 As shown, the execution module updates the trigger status of all thread modules, including the following steps.

[0082] Step S1041: When the target thread module outputs the trigger signal corresponding to the quantum computing task to be executed, the execution module updates the trigger state of the target thread module to the working state.

[0083] When one of the target thread modules outputs a trigger signal to trigger the execution of the quantum computing task it received, the execution module updates the trigger state of the target thread module to the working state. That is, at this time, in step S101, the trigger states received by other target thread modules include idle state and working state. Therefore, step S102 will not be executed, and the target thread module will not generate a trigger request.

[0084] Step S1042: When the quantum computing task triggered by the target thread module is completed, the triggering state of the target thread module in the execution module is updated to the idle state.

[0085] In this embodiment, the delayed trigger value is not less than the execution time of the quantum computing task. Therefore, after the delayed trigger value, the quantum computing task triggered by the target thread module has been completed. At this time, the execution module updates the trigger state of the target thread module to the idle state and returns to the execution steps S101-S103. The next target thread module that receives the quantum computing task package generates a trigger request. The execution module receives the trigger request and outputs a trigger response. Then, the target thread module generates a trigger signal according to the trigger response, so as to realize the interleaved execution of the quantum computing tasks triggered by each target thread module.

[0086] As shown above, the triggering state of the target thread module is updated through steps S1041-S1042, and steps S101-S103 are repeated to achieve interleaved execution of quantum computing tasks triggered by each target thread module. This avoids mutual interference between qubits running quantum computing tasks on the quantum processor, improves the precise control of qubits, and thus improves the quantum computing results.

[0087] As attached Figure 6 As shown, based on the same application concept, this embodiment also provides a quantum computing task triggering device, applied to a quantum computing measurement and control system. The device includes: several thread modules, wherein a target thread module generates and outputs a quantum computing task trigger request when the trigger states of other thread modules are all in an idle state, and is used to output interleaved trigger signals according to the trigger response, so as to enable the interleaved execution of each quantum computing task; wherein, the target thread module is the thread module that receives the task package of the quantum computing task to be executed; an execution module is used to obtain the trigger states of all thread modules and send them to each thread module, and is used to respond to each trigger request and output the corresponding trigger response to the target thread module; wherein, the trigger state includes an idle state and an active state, and the trigger responses corresponding to several trigger requests received at the same time have a delayed trigger value; the delayed trigger value is the time that the execution module delays in outputting the trigger response, and the delayed trigger value is not less than the execution time of the quantum computing task.

[0088] This application acquires the trigger status of all thread modules, and then the target thread module generates a trigger request based on the trigger status. This ensures that when one target thread module generates a trigger request, other thread modules are in an idle state, responding to the trigger response output by the execution module to generate a trigger signal, thus ensuring that multiple trigger signals are staggered. When multiple target thread modules send trigger requests simultaneously, the execution module adds a delay trigger value between two adjacent trigger responses, ensuring that the trigger signals output by multiple execution modules are staggered. This ensures that the quantum computing tasks triggered by each target thread module are executed in an interleaved manner, avoiding mutual interference between qubits running quantum computing tasks on the quantum processor, improving the precise control of qubits, and thus improving the quantum computing results.

[0089] As attached Figure 7 As shown, based on the same application concept, this embodiment also provides a quantum computing measurement and control system, including: a routing device that outputs a trigger signal using any of the triggering methods described above; and a signal generation device that generates measurement and control signals for quantum computing tasks in response to the trigger signal.

[0090] When a quantum processor runs a quantum computing task, it needs to provide various measurement and control signals. In this embodiment, a quantum computing measurement and control system is used to provide measurement and control signals to the quantum processor. The quantum computing measurement and control system includes a routing device and a signal generation device. The routing device includes an execution module and several thread modules. The triggering method described above is used to output the trigger signal of the quantum computing task to be executed to the signal generation device. Then, the signal generation device responds to the trigger signal to generate the measurement and control signal of the task and outputs it to the quantum processor. This ensures that the quantum processor runs quantum computing tasks in an interleaved manner, avoids mutual interference between the qubits running quantum computing tasks on the quantum processor, improves the precise control of the qubits, and thus improves the quantum computing results.

[0091] It should be added that... Figure 7 The illustration shows a communication connection between a routing device and a signal generation device, which is only an example. In a quantum computing measurement and control system, a routing device can communicate with multiple signal generation devices. Specifically, a thread module in each routing device can communicate with several signal generation devices to trigger the signal generation devices connected to the communication connection.

[0092] It is conceivable that as the number of qubits on a quantum processor increases, the number of measurement and control signals required also increases accordingly. The number of signal generation devices integrated into the quantum computing measurement and control system increases significantly, and correspondingly, the number of routing devices also needs to be expanded.

[0093] In one embodiment, the number of routing devices in the quantum computing measurement and control system is several. The routing devices include a first routing device that receives a first task packet of a quantum computing task to be executed and a second routing device that receives a second task packet of a virtual task. The first routing device outputs a first trigger signal for triggering the quantum computing task to be executed using any of the above-mentioned triggering methods. The first routing device outputs a second trigger signal of the virtual task using any of the above-mentioned triggering methods.

[0094] The quantum computing measurement and control system integrates multiple routing devices and signal generation devices, which can be used to execute multiple quantum computing tasks. For a quantum computing task to be executed, the first routing device that receives the first task packet outputs the corresponding first trigger signal using the triggering method described above. For a second routing device that does not participate in the quantum computing task to be executed, a second task packet of a virtual task needs to be sent to the second routing device, and the second routing device also outputs the corresponding second trigger signal using the triggering method described above.

[0095] The first trigger signal carries trigger information for the signal generation device. The signal generation device responds to the first trigger signal to generate a control signal for the quantum computing task to be executed, which is then used by the quantum processor to execute the quantum computing task. The second trigger signal, however, does not carry trigger information. The signal generation device does not respond to the second trigger signal and will not generate the corresponding control signal; the quantum processor will not execute the virtual task. Furthermore, the virtual task corresponds to the quantum computing task to be executed, having the same trigger time interval and trigger sequence; that is, the virtual task is triggered synchronously with the quantum computing task to be executed.

[0096] This application's embodiments introduce a virtual task mechanism to enable the synchronous execution of quantum computing tasks across multiple routing devices. In a quantum parallel multithreaded scenario, a quantum computing task may, for example, use a portion of the qubits on a quantum chip. These qubits are controlled by a portion of the routing devices and a signal generation device. However, the host computer does not only send the quantum computing task to these routing devices, but also sends the task to all routing devices. That is, in addition to sending the quantum computing task to the routing devices that need to execute it, it also sends the corresponding virtual task to other routing devices that do not need to execute it. This ensures that all routing devices receive the task, but the routing devices that need to execute the quantum computing task receive the real task, while the routing devices that do not need to execute it receive the virtual task.

[0097] Based on the same concept, this embodiment also provides a quantum computer, including: a host computer, which receives quantum computing tasks and outputs corresponding task packages; a quantum computing measurement and control system as described in any of the above claims, used to output measurement and control signals for the quantum computing tasks to be executed; and a quantum processor, which runs the quantum computing tasks according to the measurement and control signals.

[0098] The above description, based on the embodiments shown in the drawings, details the structure, features, and effects of this application. The above description is only a preferred embodiment of this application, but this application does not limit the scope of implementation to what is shown in the drawings. Any changes made in accordance with the concept of this application, or modifications to equivalent embodiments, that do not exceed the spirit covered by the specification and drawings, should be within the protection scope of this application.

Claims

1. A method for triggering a quantum computing task, characterized in that, A routing device applied to a quantum computing measurement and control system, the routing device comprising several thread modules and an execution module; the method comprising: The execution module obtains the trigger status of all the thread modules and sends it to each of the thread modules; wherein, the trigger status includes an idle state and a working state; When the trigger states of other thread modules are all in an idle state, the target thread module generates a trigger request for the quantum computing task and outputs it to the execution module; wherein, the target thread module is the thread module that receives the task package of the quantum computing task to be executed; The execution module responds to each trigger request by outputting a corresponding trigger response to the target thread module, so that the target thread module outputs interleaved trigger signals to trigger the interleaved execution of each quantum computing task; wherein, the trigger responses corresponding to several trigger requests received at the same time have a delayed trigger value; the delayed trigger value is the time by which the execution module delays outputting the trigger response, and the delayed trigger value is not less than the execution time of the quantum computing task; The execution module updates the trigger status of all the thread modules and sends the updated trigger status to each of the thread modules.

2. The method for triggering a quantum computing task according to claim 1, characterized in that, The execution module responds to each trigger request by outputting a corresponding trigger response to the target thread module, including: When the execution module receives several trigger requests simultaneously, it responds to the trigger requests of the thread modules in sequence according to the preset priority order and delay trigger value and outputs the corresponding trigger response; wherein, the priority order is the output priority order of each thread module.

3. The method for triggering a quantum computing task according to claim 2, characterized in that, The execution module responds to the thread module's trigger requests sequentially according to a preset priority order and delay trigger value, and outputs the corresponding trigger responses, including: The execution module responds to each trigger request in descending order of priority, and outputs the trigger response of the next trigger request after a delay of the trigger response of the current trigger request.

4. The method for triggering a quantum computing task according to claim 1, characterized in that, The execution module updates the trigger state of all the thread modules, including: When the target thread module outputs the trigger signal corresponding to the quantum computing task to be executed, the execution module updates the trigger state of the target thread module to the working state; When the quantum computing task triggered by the target thread module is completed, the execution module updates the triggering state of the target thread module to the idle state.

5. A triggering device for a quantum computing task, characterized in that, The device, used in quantum computing measurement and control systems, includes: Several thread modules are provided. The target thread module is used to generate a trigger request for a quantum computing task and output it to the execution module when the trigger states of other thread modules are all in an idle state. It is also used to output interleaved trigger signals according to the trigger response so that the quantum computing tasks are executed in an interleaved manner. The target thread module is the thread module that receives the task package of the quantum computing task to be executed. An execution module is used to acquire the trigger status of all the thread modules and send it to each of the thread modules, and to respond to each trigger request by outputting a corresponding trigger response to the target thread module; wherein, the trigger status includes an idle state and a working state, and the trigger responses corresponding to several trigger requests received at the same time have a delay trigger value; the delay trigger value is the time by which the execution module delays outputting the trigger response, and the delay trigger value is not less than the execution time of the quantum computing task; The execution module is also used to update the trigger status of all the thread modules and send the updated trigger status to each of the thread modules.

6. A quantum computing measurement and control system, characterized in that, include: The routing device outputs a trigger signal using the triggering method described in any one of claims 1-4 above; A signal generation device is used to generate measurement and control signals for the quantum computing task in response to the trigger signal.

7. The quantum computing measurement and control system according to claim 6, characterized in that, The routing device includes a first routing device that receives a first task packet of a quantum computing task to be executed, and a second routing device that receives a second task packet of a virtual task. Wherein, the first routing device outputs a first trigger signal for triggering the quantum computing task to be executed using the triggering method as described in any one of claims 1-4; the second routing device outputs a second trigger signal for the virtual task using the triggering method as described in any one of claims 1-4.

8. The quantum computing measurement and control system according to claim 7, characterized in that, The signal generating device generates a measurement and control signal for the quantum computing task to be executed in response to the first trigger signal, and the signal generating device does not respond to the second trigger signal.

9. A quantum computer, characterized in that, include: The host computer receives quantum computing tasks and outputs the corresponding task packages; The quantum computing measurement and control system as described in any one of claims 6-8 is used to output measurement and control signals for the quantum computing task to be executed; The quantum processor executes the quantum computing task based on the measurement and control signals.

Citation Information

Patent Citations

  • Application task processing method, device and system

    CN107491346A

  • Routing device and method of quantum control system and quantum computer

    CN116708164A