Quantum calculation measurement and control system and quantum computer
By adopting the design of multi-threaded routing devices and central control devices in the quantum computing measurement and control system, the problem of low operation efficiency of the existing system is solved, and multi-task parallel execution and efficient data packet dispatch are realized, which significantly improves the overall efficiency of the system.
Patent Information
- Application Number
- CN202311819198.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-26
- Publication Date
- 2025-06-27
AI Technical Summary
The operating efficiency of existing quantum computing measurement and control systems is very low, especially when performing complex quantum computing tasks, the issuance time of a single task data is long, which makes it impossible to issue data in other tasks in a timely manner, thereby reducing the overall efficiency of the system.
Using a routing device with a plurality of first thread modules, each first thread module can receive a data packet of a quantum computing task and forward it to the target signal generation module. The routing communication module collects and forwards the ready information to the central control device. The central control device outputs a trigger signal according to the ready packet to control the signal to generate the module output task signal.
It realizes the execution of multiple quantum computing tasks at the same time, improves the operation efficiency of the quantum computing measurement and control system and the efficiency of the host computer sending data packets, and thus improves the efficiency of the quantum computer performing quantum computing tasks.
Smart Images

Figure CN120218266A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of quantum computing, and in particular, relates to a quantum computing measurement and control system and a quantum computer. Background Art
[0002] Quantum computers are physical devices that follow the laws of quantum mechanics to perform high-speed mathematical and logical operations, store and process quantum information. The main characteristics of quantum computers are fast operation speed, strong information processing capabilities, and a wide range of applications. Compared with ordinary computers, the more information is processed, the more advantageous it is for quantum computers to perform operations, and the more accurate the operations can be.
[0003] As the core component of quantum computers, quantum processors need to be equipped with a quantum computing measurement and control system to meet the needs of various quantum computing tasks. The system integrates multiple functional modules to provide driving signals. As the number of quantum bits on quantum processors increases rapidly, the number of supporting functional modules is also increasing, and the quantum computing measurement and control system is becoming more and more complex. Usually, a central control module is used to control each functional module through a router to output driving signals to the quantum processor to perform quantum computing.
[0004] Specifically, when executing a quantum computing task, the task data is sent down by the host computer and sent down in sequence according to the transmission chain of the central control module, router, and functional module, and the task data is sent down in sequence in units of quantum computing tasks. When the quantum computing task is complex and the amount of task data is large, the sending time of a single task data is long, and the task data of other quantum computing tasks cannot be sent down when the current quantum computing task is executed, which makes the operation efficiency of the quantum computing measurement and control system very low, and thus makes the efficiency of the quantum computer in executing quantum computing tasks very low. Summary of the invention
[0005] The purpose of this application is to provide a quantum computing measurement and control system and a quantum computer to solve the defects and shortcomings of the very low operating efficiency of the quantum computing measurement and control system in the prior art. This application can improve the efficiency of the host computer sending data packets and the operating efficiency of the quantum computing measurement and control system.
[0006] The technical solution of this application is as follows:
[0007] On one hand, the present application provides a quantum computing measurement and control system, including a central control device, a routing device and a plurality of signal generation modules, each of which starts working according to a trigger signal output by the central control device forwarded by the routing device; the routing device includes:
[0008] The data parsing module is used to obtain the target thread number and the corresponding target task data according to the data packet sent by the host computer;
[0009] A number of first thread modules with thread numbers, and the target first thread module corresponding to the target thread number is used to receive and forward the target task data to the target signal generation module, and to obtain and forward the ready information indicating that the target signal generation module configures the target task data;
[0010] The routing communication module is used to collect and forward the ready packet including the ready information of the target first thread module to the central control device, and sequentially forward the trigger signal output by the central control device according to the ready packet to the target first thread module and the target signal generation module.
[0011] For the quantum computing measurement and control system as described above, optionally, the routing device further includes a first ready parsing module, and the first ready parsing module is used to receive the ready information of the target signal generation module and forward it to the corresponding target first thread module.
[0012] For the quantum computing measurement and control system as described above, optionally, the first thread module includes:
[0013] The ready receiving unit is used to receive and forward the ready information of a target signal generation module to the routing communication module;
[0014] The trigger generation unit is used to receive and forward the trigger signal to the target signal generation module corresponding to the target thread number.
[0015] For the quantum computing measurement and control system as described above, optionally, the routing communication module includes a ready arbitration unit, and the ready arbitration unit is used to arbitrate the ready information sent by multiple target first thread modules, and generate a ready packet according to the ready order after arbitration and send it to the central control device.
[0016] For the quantum computing measurement and control system as described above, optionally, the number of the routing devices is multiple, each routing device has number information, and the ready packet sent by the target first thread module further includes the number information.
[0017] For the quantum computing measurement and control system as described above, optionally, the central control device is further used to output a trigger signal to the routing device corresponding to the number information according to the ready packet.
[0018] For the quantum computing measurement and control system as described above, optionally, each routing device is located in a chassis, and each routing device is used to trigger the target signal generation module in the chassis to play the target task data and output the corresponding task signal according to the trigger signal.
[0019] For the quantum computing measurement and control system as described above, optionally, the central control device includes:
[0020] A second ready parsing module, configured to parse the ready packet to obtain the number information, the target thread number, and the ready information;
[0021] A plurality of second thread modules with thread numbers, and the target second thread module corresponding to the target thread number is configured to output the trigger signal to the target first thread module corresponding to the target thread number in the routing device according to the ready information.
[0022] For the quantum computing measurement and control system as described above, optionally, the central control device further includes an instruction parsing module, configured to parse an instruction packet sent by a host computer to obtain a reset signal, and forward the reset signal to the first thread module and the second thread module.
[0023] For the quantum computing measurement and control system as described above, optionally, the reset signal is used to reset all the first thread modules and the second thread modules, or
[0024] is used to reset the target first thread module and the target second thread module.
[0025] On the other hand, this application provides a quantum computer, including any one of the above-mentioned quantum computing measurement and control systems, a host computer, and a quantum processor;
[0026] The host computer is configured to output the data packet according to the quantum computing task to be executed;
[0027] The quantum computing measurement and control system is configured to output a corresponding task signal according to the data packet;
[0028] The quantum processor executes a quantum computing task according to the task signal.
[0029] Compared with the prior art, a quantum computing measurement and control system of the present application adopts a routing device with multiple first thread modules. Each first thread module can receive a data packet of a quantum computing task and forward it to a target signal generation module. The target signal generation module configures the data packet, outputs a ready message to the target first thread module, and then the routing communication module forwards a ready packet including the ready message of the target first thread module with the target thread number to the central control device. The central control device determines the target signal generation module that needs to be triggered and outputs a trigger signal according to the ready message in the ready packet. The routing device controls the signal generation module to output a task signal to execute the quantum computing task according to the trigger signal, so that multiple quantum computing tasks can be executed simultaneously, improving the operation efficiency. Moreover, data packets with a large amount of data are directly sent from the host computer to each first thread module of the routing device, and the first thread module realizes the collection and trigger control of the ready message of the signal generation module. The central control device is only used to send the trigger signal according to the ready packet, without receiving and sending data packets, improving the efficiency of the host computer in sending data packets, and further improving the operation efficiency of the quantum computing measurement and control system. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0031] Figure 1 is a schematic diagram of a quantum computer provided by an embodiment of the present application;
[0032] Figure 2 is a schematic diagram of a system for running a quantum computing task by connecting a quantum computer through a network provided by an embodiment of the present application;
[0033] Figure 3 is a schematic diagram of the composition of a quantum computing measurement and control system provided by an embodiment of the present application;
[0034] Figure 4 is a schematic diagram of the composition of a quantum computing measurement and control system including a first ready message parsing module provided by an embodiment of the present application;
[0035] Figure 5 is a schematic diagram of the composition of a first thread module provided by an embodiment of the present application;
[0036] Figure 6 is a schematic diagram of the composition of a routing device including a ready message arbitration unit provided by an embodiment of the present application;
[0037] Figure 7 It is a schematic diagram of the composition of a quantum computing measurement and control system including multiple routing devices provided by an embodiment of the present application;
[0038] Figure 8 It is a schematic diagram of the composition of a central control device provided by an embodiment of the present application;
[0039] Figure 9 It is a schematic diagram of the composition of a central control device including an instruction parsing module provided by an embodiment of the present application;
[0040] Figure 10 It is a schematic diagram of the composition of a quantum computer provided by an embodiment of the present application. Detailed implementation manners
[0041] The technical solutions proposed in the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. According to the following description, the advantages and features of the present application will be clearer. It should be noted that the accompanying drawings are all in very simplified forms and use non-precise scales, only for the purpose of facilitating and clearly assisting in explaining the purpose of the embodiments of the present application.
[0042] In the description of the present application, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the present application, "a plurality of" means at least two, such as two, three, etc., unless otherwise specifically defined.
[0043] As shown in the appended Figure 1 figures, an embodiment of the present application provides a schematic diagram of a quantum computer, including a host computer, a quantum computing measurement and control system, and a quantum processor that are communicatively connected. The host computer may include a quantum computing operating system, a quantum computing compiler, quantum computing measurement and control software, etc. The user's computing requirements are compiled into a quantum computing program through the quantum computing operating system and the quantum computing compiler, and the quantum computing program is processed into operation instructions recognizable by the quantum computing measurement and control system through the quantum computing measurement and control software and sent down. The quantum computing measurement and control system outputs corresponding control signals to the quantum processor according to the operation instructions, and the quantum processor executes the quantum computing task; and the quantum computing measurement and control system collects and processes the operation results of the quantum processor to obtain corresponding task results, and then sends the task results to the host computer, which is fed back to the user by the host computer.
[0044] As shown in the appended Figure 2As shown, an embodiment of the present application provides a schematic diagram of a system in which a client runs a quantum computing task by connecting to a quantum computer through a network. It includes a network, which is used to provide a medium for communication links between different devices where multiple clients are connected to a server. The network can include connections such as, for example, wired communication links, wireless communication links, and fiber optic cables. In an example, the server can be a quantum computer with a high-speed connection to the network.
[0045] Multiple clients are also connected to the network, and the clients are clients of the server. In this example, the client can be a desktop or personal computer connected to a wired communication link of the network. The clients in this example are only examples. In addition, the clients can also include other types of data processing systems connected to wired or wireless communication links of the network, such as, for example, network computers, laptop computers, handheld computers, smartphones, smart TVs, smart watches, gaming devices, etc.
[0046] In addition, the Figure 2 schematic system can include any number of additional servers, clients, and other devices not shown in storage. The program code of the system can be stored on a computer-readable storage medium and downloaded to a computer or other data processing device for use. For example, the program code can be stored on a readable storage medium of a host computer and downloaded to the client through the network for use on the client.
[0047] In the Figure 2 depicted example, the system can be implemented as multiple different types of communication networks, such as, for example, the Internet, an intranet, a local area network (LAN), and a wide area network (WAN), only as examples and not as an architectural limitation of different illustrative embodiments.
[0048] As shown in the Figure 3 accompanying figure, an embodiment of the present application provides a quantum computing measurement and control system, including a central control device, a routing device, and several signal generation modules. Each of the signal generation modules starts working according to a trigger signal output by the central control device forwarded by the routing device; the routing device includes: a data parsing module, which is used to obtain a target thread number and corresponding target task data according to a data packet sent by a host computer; several first thread modules with thread numbers, and the target first thread module corresponding to the target thread number is used to receive and forward the target task data to a target signal generation module, and to obtain and forward the ready information indicating that the target signal generation module has configured the target task data; a routing communication module, which is used to collect and forward a ready packet including the ready information of the target first thread module to the central control device, and sequentially forward a trigger signal output by the central control device according to the ready packet to the target first thread module and the target signal generation module.
[0049] TheFigure 3 The connections between the modules in the figure indicate communication connections for transmitting data or signals, including unidirectional communication and bidirectional communication. In the attached figure, a single arrow represents unidirectional communication, and a double arrow represents bidirectional communication. For example, there is unidirectional communication between the data parsing module and the first thread module, and the data parsing module sends the target task data to the target first thread module corresponding to the target thread number; there is bidirectional communication between the first thread module and the signal generation module. The first thread module not only sends the target task data to the target signal generation module corresponding to the target thread number, but also collects the ready information of the target signal generation module and forwards it to the routing communication module, and also forwards the trigger signal of the routing communication module to the target signal generation module. In addition, the communication methods between the first thread module and the routing communication module, and between the routing communication module and the central control device are the same and will not be elaborated here.
[0050] Among them, the data packet sent by the host computer includes the target thread number and the target task data corresponding to each target thread number. In this embodiment, the target thread number, the target first thread module, and the target signal generation module are all corresponding according to the number, that is, each target thread number corresponds to a target first thread module and several target signal generation modules; the corresponding information of these functional modules has been determined when the host computer sends them, and the target task data is forwarded according to the corresponding information when the routing device forwards it. Among them, when the host computer receives a quantum computing task, it will schedule according to the working status and idle status of each device and module in the quantum computing measurement and control system to determine the target thread number corresponding to each task packet.
[0051] In addition, in the attached figure Figure 3 several first thread modules are independent of each other. Each first thread module can receive a target thread number and the corresponding target task data to execute tasks. Among them, the first thread module has a thread number, and the data parsing module can select the corresponding target first thread module according to the target thread number when sending. It should be added that the target thread number included in the data packet is usually one. When multiple first thread modules need to work in parallel, the host computer sends multiple task packets including different target thread numbers to the corresponding target first thread modules.
[0052] The data parsing module in the routing device in this embodiment is also used to receive the data packet sent by the host computer in real time, and forward it to the corresponding target first thread module according to the target thread number and target task data in the data packet received in real time, which improves the operation efficiency of the quantum computing measurement and control system and also improves the efficiency of executing quantum computing tasks.
[0053] For example, the routing device includes 5 first thread modules, and their thread numbers are 1 / 2 / 3 / 4 / 5 respectively. When the data parsing module parses a data packet and obtains 1 target thread number, for example, 1, it will send the target task data corresponding to the target thread number 1 to the first thread module with the thread number 1; when the data parsing module obtains multiple data packets and parses them in sequence to obtain the corresponding target thread numbers 1, 2, and 3, it will send the target task data corresponding to the target thread number 1 to the first thread module with the thread number 1; send the target task data corresponding to the target thread number 2 to the first thread module with the thread number 2; send the target task data corresponding to the target thread number 3 to the first thread module with the thread number 3. The target thread numbers included in the data packet may also include other situations, which will not be elaborated one by one in this embodiment.
[0054] In addition, the quantum computing measurement and control system of the present application further includes several signal generation modules. The signal generation modules may include a DC signal source, a pulse signal source, a microwave signal source, a signal processing circuit, etc., or may also include other source devices to provide various control signals required for the quantum processor to execute quantum computing tasks. Each first thread module can control multiple signal generation modules, and select the corresponding signal generation module as the target signal generation module according to the target thread number to output a task signal corresponding to the target task data in the task packet.
[0055] When the target signal generation module receives the target task data forwarded by the target first thread module, it will configure the target task data, and after the configuration is completed, output a ready message to the corresponding target first thread module, indicating that the target signal generation module has completed the configuration of the task data and is waiting for a trigger signal to trigger the output.
[0056] After each target first thread module receives the ready message from the corresponding target signal generation module, it will forward the ready message to the routing communication module. The routing communication module receives the ready messages carrying the target thread numbers sent by each target first thread module, and collects the target first thread numbers and the corresponding ready messages to form a ready packet including the corresponding relationship, and sends it to the central control device in the form of a ready packet.
[0057] The quantum computing measurement and control system of this embodiment adopts a routing device with multiple first thread modules. Each first thread module can receive a data packet of a quantum computing task and forward it to the target signal generation module. The target signal generation module configures the data packet, outputs a ready message to the target first thread module, and then the routing communication module forwards a ready packet including the ready message of the target first thread module with the target thread number to the central control device. The central control device determines the target signal generation module that needs to be triggered according to the ready message in the ready packet and outputs a trigger signal. The routing device controls the signal generation module to output a task signal to execute the quantum computing task according to the trigger signal, and can execute multiple quantum computing tasks simultaneously, improving the operation efficiency. Moreover, data packets with a large amount of data are directly sent from the upper computer to each first thread module of the routing device. The first thread module realizes the collection of ready packets and trigger control of the signal generation module. The central control is only used to send a trigger signal according to the ready packet, without receiving and sending data packets, improving the data packet sending efficiency, further improving the operation efficiency of the quantum computing measurement and control system, and improving the efficiency of the quantum computer executing quantum computing tasks.
[0058] As shown in the appendix Figure 4 As shown, in this embodiment, the ready message after the target signal generation module configures the target task data is sent to the first ready parsing module set in the routing device, which is used to parse the ready messages of each target signal generation module and then forward them to each target first thread module. Specifically, the first ready parsing module is used to receive the ready message of the target signal generation module and forward it to the corresponding target first thread module. Among them, the first ready parsing module receives the ready messages of the target signal generation modules corresponding to the target thread numbers in the current task packet, parses the ready messages, and then forwards the ready messages to the corresponding target first thread modules according to the parsed target thread numbers. In addition, continuing as shown in the appendix Figure 4 As shown, the routing device further includes a thread trigger module, which is used to forward the target task data and trigger signals sent by each first thread module to the corresponding target signal generation module.
[0059] In this embodiment, the first thread module is not only used to receive and forward the target task data to the signal generation module, but also used to process the ready message of the target signal generation module after parsing. According to the ready messages related to all corresponding target thread numbers in the target task data in the first thread module, when it is judged that all the ready messages of the target signal generation modules have been received, the ready message is sent to the routing communication module, and it is also used to receive and forward the trigger signal of the central control device to the target signal generation module. Therefore, in this embodiment, multiple functional units are set in the first thread module, as shown in the appendix Figure 5As shown in the figure, the first thread module includes: a ready receiving unit, configured to receive and forward the ready information of a target signal generation module to the routing communication module; and a trigger generation unit, configured to receive and forward the trigger signal to the target signal generation module corresponding to the target thread number.
[0060] Among them, only one first thread module is exemplified in the figure. The ready receiving unit receives the ready information of the target signal generation module corresponding to the thread number of the first thread module sent by the first ready parsing module, and forwards it to the routing communication module. Figure 5
[0061] In addition, when the target task data received by the target first thread module also includes information of the trigger signal, such as the number of triggers and the trigger interval; when the trigger generation unit receives the trigger signal from the central control device, it combines the number of triggers and the trigger interval to generate several trigger signals to the target signal generation module corresponding to the target thread number.
[0062] As described above, multiple first thread modules are provided in the routing device, and each first thread module can receive the target task data to be executed with a target thread number in the data packet. Therefore, multiple quantum computing task triggers can be executed in parallel. For the triggers of multiple quantum computing tasks, they can be synchronous or asynchronous. Therefore, arbitration needs to be performed on the ready information of the target signal generation modules for executing multiple computing tasks to ensure the accurate operation of each quantum computing task.
[0063] Figure 6 As shown in the figure, the routing communication module includes a ready arbitration unit, and the ready arbitration unit is configured to arbitrate the ready information sent by multiple target first thread modules, and generate a ready packet according to the ready order after arbitration and send it to the central control device.
[0064] Specifically, when the ready information sent by multiple target first thread modules received by the ready arbitration unit has a sequence, it follows the principle of first ready first response, that is, it preferentially forwards the ready information of the target first thread module received first to the central control device; when the ready arbitration unit receives the ready information sent by multiple target first thread modules at the same time, it will forward the ready information according to the priority order, where the priority order is determined according to the thread number, that is, thread number 1 is the most priority, followed by thread number 2, then thread number 3, and then thread number 4, and so on.
[0065] In addition, during the generation of the ready packet for the current target thread number by the ready arbitration unit, when the ready signals of other target thread numbers arrive, they will be latched. After the generation of the ready packet for the current target thread number is completed, the ready information of the latched other target thread numbers will be responded to generate a ready packet. Among them, the above-mentioned priority order is also followed for multiple latched ready information.
[0066] Continue as shown in the appendix Figure 6 As shown, the routing communication module further includes a trigger forwarding unit, which is used to receive the trigger signal sent by the central control device and forward it to the corresponding target first thread module according to the target thread number. Among them, the routing communication module communicates with the central control device using an RS422 interface.
[0067] As shown in the appendix Figure 7 As shown, as the number of bits of the quantum processor expands, the number of functional modules in the corresponding quantum computing measurement and control system is also increasing and becoming more and more complex, and the number of required routing devices will also gradually increase. In another embodiment, the number of the routing devices is multiple, each of the routing devices has number information, and the ready packet sent by the target first thread module further includes the number information. The central control device is further configured to output a trigger signal to the routing device corresponding to the number information according to the ready packet.
[0068] It can be imagined that each routing device has a first thread module with several thread numbers. When multiple routing devices all send ready packets to the central control module and the target thread numbers in each ready packet are repeated, the central control device cannot determine which routing device the trigger signal needs to be sent to only based on the target thread number in the ready packet. Therefore, each routing device has number information, and the ready packet sent by the routing communication module in each routing device to the central control device further includes the number information of the routing device, which is convenient for the central control device to determine that each target thread number is the target thread number in the routing device corresponding to the number information when receiving the ready packet, so as to ensure the accurate triggering of the target signal generation module corresponding to the target thread number in each task packet, and further ensure the accuracy of quantum computing.
[0069] When the quantum computing measurement and control system needs to be expanded, a routing device and multiple signal generation modules can be integrated in a chassis or a cabinet. Each of the routing devices is located in a chassis, and each of the routing devices is configured to trigger the target signal generation module in the chassis to play the target task data and output the corresponding task signal according to the trigger signal.
[0070] As the quantum measurement and control system expands, the number of routing devices is increasing. In order to realize the triggering of multiple first thread modules and signal generation modules in multiple routing devices, in this embodiment, the central control device can also adopt multiple parallel thread modules to trigger the ready packets of multiple routing devices at the same time.
[0071] As shown in the appendix Figure 8 The central control device includes a second ready parsing module for parsing the ready packet to obtain the number information, the target thread number, and the ready information; a plurality of second thread modules with thread numbers, and the target second thread module corresponding to the target thread number is used to output the trigger signal to the target first thread module corresponding to the target thread number in the routing device according to the ready information.
[0072] Specifically, the second ready parsing module is communicatively connected to the routing communication modules of all routing devices, can receive the ready packets sent by the routing communication modules in all routing devices, obtain the target thread numbers in each ready packet, and forward them to the corresponding target second thread modules. Among them, the second thread module also has a thread number, and each second thread module with the same thread number as the target thread number is used as the target second thread module, receives the ready information corresponding to the target thread number, and outputs a trigger signal to the target first thread module corresponding to the target thread number in each corresponding routing device according to the ready information.
[0073] Exemplarily, the second ready parsing module receives the ready packet 1 sent by the routing communication module 1 in the routing device 1 and the ready packet 2 sent by the routing communication module 2 in the routing device 2; the ready packet 1 includes the ready signals of the target first thread modules with thread numbers 1 and 2 in the routing device 1; the ready packet 2 includes the ready signals of the target first thread modules with thread numbers 1 and 2 in the routing device 2; the second ready parsing module will send the ready signal with thread number 1 in the routing device 1 and the ready signal with thread number 1 in the routing device 2 to the second thread module with thread number 1, and send the ready signal with thread number 2 in the routing device 1 and the ready signal with thread number 2 in the routing device 2 to the second thread module with thread number 2. Then, the trigger signal is sent to the target first thread module with thread number 1 in the routing device 1 and the target first thread module with thread number 1 in the routing device 2 through the second thread module with thread number 1; and the trigger signal is sent to the target first thread module with thread number 2 in the routing device 1 and the target first thread module with thread number 2 in the routing device 2 through the second thread module with thread number 2. It is realized that the target second thread module can trigger the first thread modules with the same thread number in multiple routing devices according to the target thread number, and further can realize the simultaneous triggering of the first thread numbers in multiple routing devices.
[0074] In addition, the trigger signal sent by the second thread module includes trigger information for all the first thread modules in each routing device. Specifically, the readiness information for the target first thread module that executes the computing task is represented by high-level digital information, indicating that the target first thread module corresponding to the target thread number and the target signal generation module need to start working through the trigger signal; the readiness information for the first thread module that does not execute the task is represented by low-level digital information and does not need to be started through the trigger signal.
[0075] For example, the number of routing devices is 5, numbered 1 / 2 / 3 / 4 / 5 respectively; the number of first thread modules in each routing device is also 5, numbered 1 / 2 / 3 / 4 / 5 respectively. The target thread numbers included in several data packets are 1, 2, and 3 respectively. The data packet with the target thread number 1 is sent to the target first thread module with the thread number 1 in the routing device 1, the data packet with the target thread number 2 is sent to the target first thread module with the thread number 2 in the routing device 2, and the data packet with the target thread number 3 is sent to the target first thread module with the thread number 3 in the routing device 3. After the target signal generation module corresponding to the target thread number configures the target task data transmission readiness information, it is sent to the second readiness parsing module through the routing communication module in each routing device, and the second readiness parsing module sends the readiness packets with the target thread numbers 1 / 2 / 3 to the second thread modules with the thread numbers 1 / 2 / 3, and the corresponding second thread modules output trigger signals respectively.
[0076] In addition, the central control device also includes a trigger signal processing unit, which is used to collect the trigger signals of all the second thread modules and process them into a trigger instruction and send it to each routing device. For example, the trigger signals represented by high-level digital information of the second thread modules with the thread numbers 1 / 2 / 3 in the above embodiment, and the trigger signals represented by low-level digital information of the second thread modules with the thread numbers 4 / 5; that is, the digital information of the trigger signal sent by the central control device can be represented as {0, 0, 1, 1, 1}; the order of the digital information corresponds to the order of the thread numbers from large to small.
[0077] The central control device sends the trigger signal with the digital information represented as {0, 0, 1, 1, 1} to all the routing devices, and each routing device responds to the trigger according to the digital information included in the trigger signal and the status of the corresponding thread number, and forwards it to the corresponding target signal production module.
[0078] It should be added that all routing devices will receive a trigger signal with digital information represented as {0, 0, 1, 1, 1}, which indicates that the target first thread modules with thread numbers 1 / 2 / 3 need to respond to the trigger. However, each routing device will respond to the trigger information according to the status of the target first thread. For example, the target first thread numbers that need to be triggered are the target first thread module with thread number 1 in routing device 1, the target first thread module with thread number 2 in routing device 2, and the target first thread module with thread number 3 in routing device 3. Only these 3 target first thread modules are in the working state, and the first thread modules with the same thread number in other routing devices are all in the idle state; because when the data parsing module in each routing device receives and parses the data packet from the host computer, the first thread modules with these thread numbers do not receive the target thread number and target task data and do not execute tasks, so they are in the idle state. Therefore, the trigger information corresponding to the thread numbers in the trigger signals received by these first thread modules will not be responded to either.
[0079] Each second thread module can trigger several target first thread modules in multiple routing devices and the target signal generation module packet according to the ready packet, and realizes the trigger synchronization of multiple routing devices that execute a task of a target thread number through the same trigger signal. It should be added that when the second thread module triggers the target first line module and the target signal generation module packet in multiple routing devices according to the ready packet, each thread number corresponds one-to-one with the target thread number.
[0080] When the quantum computer executes quantum computing tasks, the types and complexities of the computing tasks are diverse. When multiple computing tasks need to be executed simultaneously, it is necessary to ensure that the quantum computing measurement and control system can output task signals simultaneously to ensure the synchronization of the quantum processor's execution of computing tasks. The simultaneous trigger of the target first thread modules in multiple routing devices is realized through the trigger signal output by the central control device, and then the synchronous trigger of the target signal generation modules corresponding to the multiple target first thread modules is realized through the multiple target first thread modules, and then the synchronous execution of multiple computing tasks is realized.
[0081] As shown in the Figure 9 attachment, the central control device further includes an instruction parsing module for parsing the instruction packet sent by the host computer to obtain a reset signal and forwarding the reset signal to the first thread module and the second thread module. Among them, the reset signal is used to reset all the first thread modules and the second thread modules, or to reset the target first thread module and the target second thread module.
[0082] As one implementation, after the target first thread module and the target second thread module complete the triggering of the current data packet, the ready information, the target thread number, and / or the number information in the target first thread module and the target second thread module can be reset through a reset signal. As another implementation, when the central control device and the routing device malfunction or are powered on again, all the first thread modules and the second thread modules in the central control device and the routing device need to be reset to ensure that the subsequent task packets can be accurately triggered.
[0083] Among them, both the central control device and the routing device in the quantum computing measurement and control system of this embodiment can adopt FPGA (Field-Programmable Gate Array), that is, a field programmable gate array, and configure functional modules in the FPGA to configure and transmit various data information or signal information.
[0084] As shown in the Figure 10 accompanying drawings, based on the same inventive concept, an embodiment of the present application further provides a quantum computer, including the quantum computing measurement and control system, a host computer, and a quantum processor described in any one of the above; the host computer is used to output the data packet according to the quantum computing task to be executed; the quantum computing measurement and control system is used to output a corresponding task signal according to the data packet; the quantum processor executes the quantum computing task according to the task signal.
[0085] The above description is only a description of the preferred embodiment of the present application, and does not limit the scope of the present application in any way. Any changes and modifications made by those of ordinary skill in the art of the present application according to the above disclosure shall fall within the protection scope of the claims.
Claims
1. A quantum computing measurement and control system, characterized in that It includes a central control device, a routing device, and several signal generation modules. Each of the signal generation modules starts working according to the trigger signal output by the central control device forwarded by the routing device. The routing device includes: A data parsing module, which is used to obtain the target thread number and the corresponding target task data according to the data packet sent by the host computer; Several first thread modules with thread numbers. The target first thread module corresponding to the target thread number is used to receive and forward the target task data to the target signal generation module, and to obtain and forward the ready information indicating that the target signal generation module configures the target task data; A routing communication module, which is used to collect and forward the ready packet including the ready information of the target first thread module to the central control device, and sequentially forward the trigger signal output by the central control device according to the ready packet to the target first thread module and the target signal generation module.
2. The quantum computing measurement and control system according to claim 1, characterized in that, The routing device further includes a first ready parsing module, which is used to receive the ready information of the target signal generation module and forward it to the corresponding target first thread module.
3. The quantum computing measurement and control system according to claim 1, wherein The first thread module includes: A ready receiving unit, which is used to receive and forward the ready information of a target signal generation module to the routing communication module; A trigger generating unit, which is used to receive and forward the trigger signal to the target signal generation module corresponding to the target thread number.
4. The quantum computing measurement and control system according to claim 1, characterized in that, The routing communication module includes a ready arbitration unit, which is used to arbitrate the ready information sent by multiple target first thread modules, and generate a ready packet according to the ready order after arbitration and send it to the central control device.
5. The quantum computing measurement and control system according to claim 1, characterized in that, The number of the routing devices is multiple, each routing device has number information, and the ready packet sent by the target first thread module further includes the number information.
6. The quantum computing measurement and control system according to claim 5, wherein The central control device is further used to output a trigger signal to the routing device corresponding to the number information according to the ready packet.
7. The quantum computing measurement and control system according to claim 5, wherein, Each routing device is located in a chassis, and each routing device is used to trigger the target signal generation module in the chassis to play the target task data and output the corresponding task signal according to the trigger signal.
8. The quantum computing measurement and control system according to claim 5, characterized in that, The central control device includes: A second ready parsing module, which is used to parse the ready packet to obtain the number information, the target thread number, and the ready information; Several second thread modules with thread numbers. The target second thread module corresponding to the target thread number is used to output the trigger signal to the target first thread module corresponding to the target thread number in the routing device according to the ready information.
9. The quantum computing measurement and control system according to claim 8, characterized in that, The central control device further includes an instruction parsing module, which is used to parse the instruction packet sent by the host computer to obtain a reset signal, and forward the reset signal to the first thread module and the second thread module.
10. The quantum computing measurement and control system according to claim 9, wherein, The reset signal is used to reset all the first thread modules and the second thread modules, or is used to reset the target first thread module and the target second thread module.
11. A quantum computer, characterized in that, It includes the quantum computing measurement and control system, the host computer, and the quantum processor according to any one of claims 1-10; The host computer is used to output the data packet according to the quantum computing task to be executed; The quantum computing measurement and control system is used to output a corresponding task signal according to the data packet; The quantum processor executes the quantum computing task according to the task signal.