A quantum device instruction distribution system and method based on multi-thread parallel routing

The quantum device instruction distribution system, which utilizes multi-threaded parallel routing and FPGA chips and a matrix-style routing target code table, solves the problems of timing delay and insufficient parallelism in traditional quantum computer instruction distribution systems. It achieves high real-time performance and multi-device synchronous control, thereby improving the efficiency and flexibility of quantum computing.

CN120929140BActive Publication Date: 2026-05-12SUZHOU BIAOZHANG ELECTRONIC TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SUZHOU BIAOZHANG ELECTRONIC TECH CO LTD
Filing Date
2025-07-29
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

Traditional quantum computer instruction distribution systems suffer from large timing delays, insufficient parallelism, and low routing efficiency, failing to meet the high real-time requirements and multi-device synchronous operation demands of quantum computing.

Method used

A quantum device instruction distribution system based on multi-threaded parallel routing is adopted. It utilizes FPGA chips to achieve multi-threaded parallel execution, and combines a matrix-style routing target code table and an idle signal generator. By dynamically compensating for device path differences through a delay field, it achieves accurate instruction distribution and device synchronization.

Benefits of technology

It enables multi-threaded parallel execution of program instructions, meeting high real-time requirements. The dynamic routing mechanism supports synchronous control of multiple devices, reducing device response errors and improving system flexibility and instruction synchronization efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120929140B_ABST
    Figure CN120929140B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of quantum computer control and belongs to a quantum device instruction distribution system and method based on multi-thread parallel routing, which comprises a host computer, an instruction board, an instruction routing board and a device end, and the instruction distribution method comprises the following steps: S1, inputting program instructions and control instructions through the host computer and delivering the program instructions and the control instructions to the instruction board through a local bus interface; S2, the program instructions are subjected to multi-thread parallel execution in an FPGA chip of the instruction board, control instructions are generated, the control instructions are output to the routing board through a high-speed radio frequency interface, and the control instructions comprise target address codes; S3, the instruction routing board dynamically selects an output port according to the target address codes generated in S2, and distributes the instructions to specified devices; and S4, each device in the device end receives the instructions through an SSMA sequence interface and executes the instructions. Through the multi-thread parallel execution and the dynamic routing mechanism, efficient synchronous control of quantum devices is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of quantum computer control technology, specifically to a quantum device instruction distribution system and method based on multi-threaded parallel routing. Background Technology

[0002] The operation of quantum computers relies on precise synchronous control and rapid feedback of complex devices (such as counter cards, image cards, AVVG cards, DDS cards, TTL signal boards, etc.). Traditional instruction distribution systems suffer from large timing delays, insufficient parallelism, and low routing efficiency, making it difficult to meet the high real-time requirements and multi-device synchronous operation demands of quantum computing. In existing technologies, the number of parallel threads for program instructions is limited, and routing functions cannot efficiently support the requirements of dynamic and precise coordination among multiple devices. Summary of the Invention

[0003] To address the aforementioned technical problems, this invention provides a quantum device instruction distribution system and method based on multi-threaded parallel routing.

[0004] To achieve the above objectives, the present invention provides the following technical solution:

[0005] A quantum device instruction distribution system based on multi-threaded parallel routing is provided, including a host computer, an instruction board, an instruction routing board, and a device. The host computer is connected to the instruction board through a local bus interface, the instruction board and the instruction routing board are connected through a high-speed radio frequency interface, and the instruction routing board is connected to the device through an SSMA serial interface.

[0006] The host computer is equipped with an instruction sequence editor and a control instruction configuration interface;

[0007] The instruction board is equipped with an FPGA chip that supports the parallel execution of multiple threads;

[0008] The instruction routing board has a built-in matrix routing target code table.

[0009] Preferably, the FPGA chip includes a multi-threaded execution engine, a program instruction parser, a clock synchronization module, and an ldle signal generator.

[0010] A quantum device instruction distribution method based on multi-threaded parallel routing includes the following steps:

[0011] S1. Input program instructions and control instructions through the host computer and send them to the instruction board through the local bus interface;

[0012] S2. The program instructions are executed in parallel by multiple threads in the instruction board FPGA chip to generate control instructions, which are output to the routing board via the high-speed radio frequency interface. The control instructions include the target address code.

[0013] S3. The command routing board dynamically selects the output port based on the target address code generated in S2 and distributes the command to the designated device.

[0014] S4. Each device in the device terminal receives and executes instructions through the SSMA sequence interface.

[0015] Preferably, in step S2, the execution time of each program instruction in the FPGA chip is fixed, each thread is allocated a dedicated register group and a buffer area, and the thread scheduling adopts a priority preemptive algorithm.

[0016] Preferably, in step S2, the control instruction also includes an instruction header, origin address code, operation type, operation data, checksum, instruction tail, and delay field, and the delay field dynamically compensates for the time difference of instruction paths of different devices.

[0017] Preferably, in step S3, the target address code in the control command is extracted according to the matrix routing target code table to match the port mapping relationship, so as to realize the command distribution of 1 to 1 or 1 to N.

[0018] Preferably, in steps S2 and S3, the instruction gap is maintained by the idle signal generated by the idle signal generator to maintain clock synchronization at the receiving end.

[0019] Compared with existing technologies, the present invention provides a quantum device instruction distribution system and method based on multi-threaded parallel routing, which has the following advantages:

[0020] 1. Multi-threaded parallel architecture: The program instructions can achieve multi-threaded parallel execution, with each thread independently handling conditional branches and loops, which can meet the high real-time requirements of quantum computing.

[0021] 2. Dynamic Routing Mechanism: By matching the output port with the target code, precise command distribution and synchronous control of multiple devices can be achieved. Through the routing target code table, NxN command exchange and distribution from 1 to N can be realized.

[0022] 3. Instruction Classification Optimization: Program instructions and control instructions are separated. Program instructions ensure functional logic, while control instructions implement routing and device status management, improving system flexibility.

[0023] 4. Command Synchronization and Transient Response: When no command is being sent, an idle signal is sent to keep the receiver and transmitter synchronized in clock and phase at all times, avoiding the need to adjust the phase of the receiving clock when a control command is received.

[0024] 5. Delay Compensation Mechanism: A delay field is added to the control commands to dynamically compensate for the time difference in command paths between different devices. The delay parameters are automatically calculated by the host computer or routing board to ensure synchronous response from all devices and reduce errors.

[0025] The features and advantages of the present invention will be described in detail through embodiments and in conjunction with the accompanying drawings. Attached Figure Description

[0026] Figure 1 This is a flowchart illustrating a quantum device instruction distribution system and method based on multi-threaded parallel routing according to the present invention.

[0027] Figure 2 This is a block diagram of the overall system architecture of the present invention;

[0028] Figure 3 This is a schematic diagram of the dynamic routing mechanism of the present invention. Detailed Implementation

[0029] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. However, it should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of the invention. Furthermore, descriptions of well-known structures and technologies are omitted in the following description to avoid unnecessarily obscuring the concept of the invention.

[0030] See Figures 1-3 This invention provides a quantum device instruction distribution system based on multi-threaded parallel routing, including a host computer, an instruction board, an instruction routing board, and a device. The host computer is connected to the instruction board via a local bus interface, the instruction board and the instruction routing board are connected via a high-speed radio frequency interface, and the instruction routing board is connected to the device via an SSMA sequence interface. The host computer is equipped with an instruction sequence editor and a control instruction configuration interface. The instruction board is equipped with an FPGA chip that supports the parallel operation of multiple threads. The instruction routing board has a built-in matrix routing target code table.

[0031] Specifically, the FPGA chip includes a multi-threaded execution engine, a program instruction parser, a clock synchronization module, and an ldle signal generator.

[0032] Each device on the equipment side is equipped with a counter card, image card, AVVG card, DDS card, and wavelet parameter module.

[0033] This invention also provides a quantum device instruction distribution method based on multi-threaded parallel routing, comprising the following steps:

[0034] S1. Input program instructions and control instructions through the host computer and send them to the instruction board through the local bus interface;

[0035] S2. The program instructions are executed in parallel by multiple threads in the instruction board FPGA chip to generate control instructions, which are output to the routing board via the high-speed radio frequency interface. The control instructions include the target address code.

[0036] S3. The command routing board dynamically selects the output port based on the target address code generated in S2 and distributes the command to the designated device.

[0037] S4. Each device in the device terminal receives and executes instructions through the SSMA sequence interface.

[0038] Specifically, in step S2, the execution time of each program instruction in the FPGA chip is fixed, each thread is allocated a dedicated register group and a buffer area, and the thread scheduling adopts a priority preemptive algorithm.

[0039] Specifically, in step S2, the control instruction also includes an instruction header, origin address code, operation type, operation data, check code, instruction tail, and delay field, and the delay field dynamically compensates for the time difference of instruction paths of different devices.

[0040] Specifically, in step S3, the target address code in the control command is extracted according to the matrix routing target code table to match the port mapping relationship, thereby realizing 1-to-1 or 1-to-N command distribution.

[0041] Specifically, in steps S2 and S3, the instruction gap is maintained by the idle signal generated by the idle signal generator to maintain clock synchronization at the receiving end.

[0042] In one specific embodiment of this application, the host computer provides a graphical interface for writing program instructions and control instructions. Program instructions include sequential, conditional, and loop structures. The execution time of each instruction is strictly fixed at 4ns, 8ns, or 16ns depending on the number of threads, and is sent to the instruction board via Ethernet or PXIe interface. The instruction board uses an FPGA chip (such as the Xilinx UltraScale+ series) to implement multi-threaded parallel execution. Internally, it can be divided into 8, 16, or 32 independent threads, each allocated a dedicated register set and buffer to avoid resource conflicts. Thread scheduling uses a priority preemptive algorithm to ensure that high real-time instructions are processed first. After the program instructions are executed, control instructions are generated, with a format including source code, target code, operation type, and checksum, and are transmitted to the routing board via a high-speed LVDS interface (5Gbps).

[0043] The command routing board is designed with 4 input and 4 output ports, supporting dynamic routing distribution. The routing table has a pre-defined mapping relationship between target codes and ports (e.g., target code 0x01 corresponds to port 1 of the ion trap device, and 0x02 corresponds to port 2 of the neutral atom device), and can be updated remotely via a host computer. After receiving control commands, the routing board extracts the target code, queries the routing table, matches the output port, and distributes the command. If multiple devices need to operate synchronously, commands can be broadcast to multiple ports simultaneously, and synchronization markers can be inserted to ensure that commands arrive at the device end at the same time. The device end connects to the neutral atom and ion trap control equipment. For complex devices such as counter cards, DDS cards, and TTL signal boards, commands are received through the SSMA interface, and operations such as laser triggering and magnetic field adjustment are executed. Device status signals are fed back to the host computer in real time, forming a closed-loop control.

[0044] In summary, the present invention can achieve the following:

[0045] 1. Multi-threaded parallel architecture: Program instructions are executed in parallel by multiple threads, with each thread independently handling conditional branches and loops, meeting the high real-time requirements of quantum computing. For example... Figure 2 As shown, the multi-threaded engine within the FPGA avoids timing conflicts by scheduling threads at a fixed period (e.g., 4ns), while ensuring phase synchronization on the device side through an idle signal generator.

[0046] 2. Dynamic routing mechanism: By matching the target code with the output port, precise command distribution and synchronous control of multiple devices are achieved. For example... Figure 3 As shown, each port in the routing card has a routing destination code table. When the routing card receives a control command, it looks up the routing destination code in the table according to the destination code of the control command, finds the corresponding port, and then sends the control command from that port. Through the routing destination code table, NxN command exchange and distribution from 1 to N can be achieved.

[0047] 3. Instruction Classification Optimization: Program instructions and control instructions are separated. Program instructions ensure functional logic, while control instructions implement routing and device status management, improving system flexibility.

[0048] 4. Command Synchronization and Transient Response: When no command is being sent, an idle signal is sent to keep the receiver and transmitter synchronized in clock and phase at all times, avoiding the need to adjust the phase of the receiving clock when a control command is received.

[0049] 5. Delay Compensation Mechanism: A "Delay" field is added to the control commands to dynamically compensate for the time difference in command paths between different devices. The delay parameters are automatically calculated by the host computer or routing board to ensure that all devices respond synchronously with an error of less than 0.1ns.

[0050] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions or improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A quantum device instruction distribution system based on multi-threaded parallel routing, characterized in that: It includes a host computer, an instruction board, an instruction routing board, and a device. The host computer is connected to the instruction board via a local bus interface. The instruction board and the instruction routing board are connected via a high-speed radio frequency interface. The instruction routing board is connected to the device via an SSMA serial interface. The host computer is equipped with an instruction sequence editor and a control instruction configuration interface; The instruction board is equipped with an FPGA chip that supports the parallel execution of multiple threads; The command routing board has a built-in matrix routing target code table; The FPGA chip contains a multi-threaded execution engine, a program instruction parser, a clock synchronization module, and an ldl signal generator; The multi-threaded execution engine and program instruction parser are used to generate control instructions containing target address codes and delay fields, wherein the delay fields are used to dynamically compensate for the time difference of instruction paths from different devices. The idle signal generator is used to emit an idle signal during the instruction gap, which works with the clock synchronization module to maintain clock synchronization at the receiving end.

2. A quantum device instruction distribution method based on multi-threaded parallel routing according to the system described in claim 1, characterized in that: Includes the following steps: S1. Input program instructions and control instructions through the host computer and send them to the instruction board through the local bus interface; S2. The program instructions are executed in parallel by multiple threads in the instruction board FPGA chip to generate control instructions, which are output to the routing board via the high-speed radio frequency interface. The control instructions include the target address code. S3. The command routing board dynamically selects the output port based on the target address code generated in S2 and distributes the command to the designated device. In step S3, the target address code in the control command is extracted according to the matrix routing target code table to match the port mapping relationship, so as to realize the one-to-one or one-to-N command distribution; S4. Each device in the device terminal receives and executes instructions through the SSMA sequence interface.

3. The quantum device instruction distribution method based on multi-threaded parallel routing as described in claim 2, characterized in that: In step S2, the execution time of each program instruction in the FPGA chip is fixed, each thread is allocated a dedicated register set and buffer area, and the thread scheduling adopts a priority preemptive algorithm.

4. The quantum device instruction distribution method based on multi-threaded parallel routing as described in claim 2, characterized in that: In step S2, the control instruction also includes an instruction header, origin address code, operation type, operation data, check code, instruction tail, and delay field. The delay field is used to dynamically compensate for the time difference of instruction paths of different devices.

5. The quantum device instruction distribution method based on multi-threaded parallel routing as described in claim 2, characterized in that: In steps S2 and S3, the instruction gap is maintained by the idle signal generated by the idle signal generator to maintain clock synchronization at the receiving end.