Synchronous triggering method, quantum computing measurement and control system and quantum computer

By introducing an analysis module into the routing board of the quantum computing measurement and control system, analyzing the trigger instructions of the central control board and outputting the trigger signal at the same time as the periodic pulse signal, the problem of functional modules in the quantum computing measurement and control system is solved, and synchronous triggering and efficient quantum computing task execution are achieved.

CN120409716APending Publication Date: 2025-08-01ORIGIN QUANTUM COMPUTING TECH (HEFEI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410138486.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-31
Publication Date
2025-08-01

AI Technical Summary

Technical Problem

The existing quantum computing measurement and control system is out of synchronization between multiple functional modules, resulting in the quantum computing task execution being out of synchronization.

Method used

By introducing a parsing module into the routing board, analyzing the triggering instructions sent by the central control board, determining that the thread module that needs to be triggered is the first target thread module, and generating and outputting the trigger signal at the same pulse moment of the periodic pulse signal, ensuring the synchronous triggering of each thread module and the functional board.

Benefits of technology

It improves the synchronization of quantum computing tasks performed by quantum computing measurement and control systems, ensures the synchronization of trigger signals of each thread module and functional board, and improves the execution efficiency and accuracy of quantum computing tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120409716A_ABST
    Figure CN120409716A_ABST
Patent Text Reader

Abstract

The invention discloses a synchronous triggering method, a quantum computing measurement and control system and a quantum computer, the quantum computing measurement and control system is composed of a plurality of routing board cards, a central control board card and a functional board card, the synchronous triggering method is applied to any routing board card, and the method comprises the steps that an analysis module analyzes a triggering instruction sent by the central control board card, determining that a plurality of thread modules of which the trigger states are first trigger states in the trigger instruction are first target thread modules; wherein the trigger instruction comprises trigger states of all the thread modules, and the first trigger state indicates that the corresponding thread module needs to be triggered; the analysis module generates a first trigger signal and outputs the first trigger signal to each first target thread module at the same pulse moment of the periodic pulse signal; each first target thread module responds to the first trigger signal according to the working state and outputs a second trigger signal to the target function board card. According to the invention, the synchronization of the quantum computing measurement and control system for executing the quantum computing task can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of quantum, and particularly relates to a synchronous triggering method, a quantum computing measurement and control system, and a quantum computer. Background Art

[0002] A quantum computer is a physical device that performs high-speed mathematical and logical operations, stores, and processes quantum information in accordance with the laws of quantum mechanics. The characteristics of quantum computers mainly include relatively fast operating speed, relatively strong information processing ability, and relatively wide application range, etc. Compared with general computers, the more information is processed, the more beneficial it is to perform operations on quantum computers, and the more accurate the operations can be ensured.

[0003] As the core component of a quantum computer, a quantum chip needs to be equipped with a quantum computing measurement and control system to meet the requirements of various quantum computing tasks. The number of qubits on the quantum chip is increasing rapidly. Among them, each qubit needs to be applied with multiple signals for regulation and reading. Therefore, a very large number of signal channels are required for regulation and reading, that is, various types of signal sources, signal processing devices, and other functional modules need to be integrated in the quantum computing measurement and control system, and the number of functional modules is very large; when processing quantum computing tasks, multiple functional modules are often inconsistent and out of sync.

[0004] There is an urgent need to propose a method that can meet the synchronous operation of the quantum computing measurement and control system. Summary of the Invention

[0005] The purpose of this application is to provide a synchronous triggering method, a quantum computing measurement and control system, and a quantum computer, which make up for the disadvantage of out-of-sync among multiple functional modules in the existing quantum computing measurement and control system, and improve the synchronization of the quantum computing measurement and control system when performing quantum computing tasks.

[0006] The technical solution of this application is specifically as follows:

[0007] In the first aspect of this application, a synchronous triggering method is provided. A quantum computing measurement and control system is composed of several routing boards, a central control board, and functional boards. Each of the routing boards includes an analysis module and several thread modules with thread numbers. The synchronous triggering method is applied to any one of the routing boards, and the method includes:

[0008] The analysis module analyzes the trigger instruction sent by the central control board, and determines that several thread modules with the trigger state of the first trigger state in the trigger instruction are the first target thread modules; wherein, the trigger instruction includes the trigger states of all thread modules, and the first trigger state indicates that the corresponding thread module needs to be triggered;

[0009] The parsing module generates a first trigger signal and outputs it to each of the first target thread modules at the same pulse moment of the periodic pulse signal;

[0010] Each of the first target thread modules responds to the first trigger signal according to its working state and outputs a second trigger signal to the target function board, where the target function board is the function board that receives the task packet of the quantum computing task to be executed sent by the routing board.

[0011] For the synchronous triggering method as described above, optionally, the parsing module parses the trigger instruction sent by the central control board and determines that several thread modules with the trigger state being the first trigger state in the trigger instruction are the first target thread modules, including:

[0012] The parsing module receives and parses the trigger instruction sent by the central control board to obtain the trigger states corresponding to the thread numbers of all thread modules; where the trigger states include the first trigger state that each thread module needs to trigger and the second trigger state that does not need to be triggered.

[0013] The parsing module determines that the thread module corresponding to the thread number and the first target thread number is the first target thread module; where the first target thread number is the thread number corresponding to the first trigger state.

[0014] For the synchronous triggering method as described above, optionally, the parsing module generates a first trigger signal and outputs it to each of the first target thread modules at the same pulse moment of the periodic pulse signal, including:

[0015] The parsing module generates a first trigger signal;

[0016] The parsing module outputs the first trigger signal to each of the first target thread modules at the next pulse rising edge of the current moment of obtaining the periodic pulse signal.

[0017] For the synchronous triggering method as described above, optionally, before the first target thread module responds to the first trigger signal according to its working state and outputs a second trigger signal to each function board, the method further includes:

[0018] The parsing module receives and parses the task packet sent by the host computer to obtain the second target thread number, the target board number, and the trigger information;

[0019] The parsing module sends the target board number and the trigger information to the second target thread module corresponding to the thread number and the second target thread number;

[0020] The second target thread module receives the target board number and the trigger information;

[0021] The second target thread module updates the working state from the idle state to the loading state.

[0022] For the synchronous triggering method as described above, optionally, the first target thread module responds to the first trigger signal according to the working state and outputs a second trigger signal to each of the function boards, including:

[0023] The third target thread module responds to the first trigger signal and outputs a second trigger signal to the function board corresponding to the target board number according to the trigger information; wherein, the third target thread module is the second target thread module in the loading state in the first target thread module.

[0024] For the synchronous triggering method as described above, optionally, the trigger information includes the number of triggers and the trigger interval duration, the trigger interval duration is an integer multiple of the pulse interval duration of the periodic pulse signal, and the third target thread module outputs a second trigger signal to the function board corresponding to the target board number according to the trigger information, including:

[0025] The third target thread module outputs a second trigger signal to the function board corresponding to the target board number according to the number of triggers and the trigger interval duration.

[0026] For the synchronous triggering method as described above, optionally, a trigger generation counter and a trigger number counter are included in the thread module, and the third target thread module outputs a second trigger signal to the function board corresponding to the target board number according to the number of triggers and the trigger interval duration, including:

[0027] The trigger generation counter generates a second trigger signal and outputs it to the function board corresponding to the target board number when counting to each trigger interval duration;

[0028] The trigger number counter increments the current trigger number by 1 when each second trigger signal is generated;

[0029] The trigger number counter stops outputting the second trigger signal when the current trigger number is equal to the number of triggers.

[0030] The second aspect of the present application provides a synchronous triggering method. A quantum computing measurement and control system is composed of several function boards and several routing boards. The synchronous triggering method is applied to any function board, and the method includes:

[0031] Receiving the second trigger signal sent by the routing board; wherein, the second trigger signal is generated by using the synchronous triggering method described in any one of the above.

[0032] Output a control signal to the quantum processor in response to the second trigger signal so that the quantum processor processes quantum computing tasks in parallel.

[0033] The third aspect of the present application provides a quantum computing measurement and control system, including a central control board, a plurality of routing boards, and a plurality of functional boards. Each of the routing boards uses the synchronous triggering method of any of the above first aspects to trigger the functional boards to process quantum computing tasks in parallel. Each of the functional boards uses the synchronous triggering method of the above second aspect to trigger the quantum processor to process quantum computing tasks in parallel.

[0034] The third aspect of the present application provides a quantum computer, including the above quantum computing measurement and control system and a quantum processor. The quantum processor synchronously processes quantum computing tasks in parallel according to the control signal output by the quantum computing measurement and control system.

[0035] Compared with the prior art, the present application has the following beneficial effects:

[0036] The present application proposes a synchronous triggering method, which is applied to any routing board. A plurality of the routing boards, the central control board, and a plurality of functional boards constitute a quantum computing measurement and control system. Each routing board includes an analysis module and a plurality of thread modules with thread numbers. The method includes: first, determining, through the analysis module, a plurality of thread modules with a trigger state of the first trigger state in the trigger instruction sent by the central control board as the first target thread modules; wherein, the first trigger state indicates that the corresponding thread module needs to be triggered; and generating, through the analysis module, a first trigger signal and outputting it to each first target thread module at the same pulse moment of the periodic pulse signal; then, each first target thread module responds to the first trigger signal according to the working state and outputs a second trigger signal to the target functional board.

[0037] The present application receives and obtains the trigger states in each trigger instruction, generates a plurality of first trigger signals according to the trigger states, and outputs them to the first target thread modules at the same pulse moment of the periodic pulse signal, ensuring that the first trigger signals received by each first target thread module are synchronous, and the response of each first target thread module to the first trigger signal according to the working state is also synchronous, so that the second trigger signals output to the target functional board are also synchronous; ensuring that the target functional board processes quantum computing tasks according to the synchronous second trigger signals, thereby improving the synchronization of the quantum computing measurement and control system in executing quantum computing tasks. Description of the Drawings

[0038] Figure 1 It is a schematic flowchart of a synchronous triggering method executed by a routing board provided by an embodiment of the present application;

[0039] Figure 2Schematic structural diagram of the first quantum computing measurement and control system provided by the embodiments of the present application;

[0040] Figure 3 Schematic diagram of the data format of the first trigger instruction provided by the embodiments of the present application;

[0041] Figure 4 Schematic diagram of the process for the parsing module to determine the first target thread module provided by the embodiments of the present application;

[0042] Figure 5 Schematic diagram of the process for the parsing module to output the first trigger signal provided by the embodiments of the present application;

[0043] Figure 6 Schematic diagram of the process for the parsing module to determine the second target thread module provided by the embodiments of the present application;

[0044] Figure 7 Schematic diagram of the process for a thread module to output a second trigger signal according to trigger information provided by the embodiments of the present application. Detailed implementation manners

[0045] The following detailed description is illustrative only and is not intended to limit the embodiments and / or the application or use of the embodiments. In addition, there is no intention to be bound by any explicit or implicit information presented in the foregoing "Background Art" or "Summary of the Invention" section or "Detailed Implementation Manner" section.

[0046] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, one or more embodiments are now described with reference to the accompanying drawings, where like reference numerals are used throughout to refer to like components. In the following description, for the purpose of explanation, many specific details are set forth in order to provide a more thorough understanding of one or more embodiments. However, it is obvious that one or more embodiments can be practiced without these specific details, and the various embodiments can be combined and cross-referenced with each other on the premise of not being contradictory.

[0047] It should be noted that the terms "first", "second", etc. in the description and claims of the present application and the above-mentioned drawings are used to distinguish similar objects and do not necessarily need to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.

[0048] To solve the problems in the related art, an embodiment of the present application provides a synchronous triggering method. As Figure 1 shown, Figure 1 is a flowchart of the synchronous triggering method provided by the embodiment of the present application. A plurality of routing boards, a central control board, and function boards constitute a quantum computing measurement and control system. Each routing board includes an analysis module and a plurality of thread modules with thread numbers. The synchronous triggering method is applied to any one of the routing boards and is used to trigger the target function board to synchronously process quantum computing tasks. In the attached Figure 1 method, the following steps are included.

[0049] Step S101: The analysis module analyzes the trigger instruction sent by the central control board and determines that a plurality of thread modules with the trigger state being the first trigger state in the trigger instruction are the first target thread modules; wherein, the trigger instruction includes the trigger states of all thread modules, and the first trigger state indicates that the corresponding thread module needs to be triggered.

[0050] Step S102: The analysis module generates a first trigger signal and outputs it to each first target thread module at the same pulse moment of the periodic pulse signal.

[0051] Step S103: Each first target thread module responds to the first trigger signal according to its working state and outputs a second trigger signal to the target function board; wherein, the target function board is the function board that receives the task packet of the quantum computing task to be executed sent by the routing board.

[0052] For easy understanding, in combination with Figure 2 the above quantum computing measurement and control system is described. Figure 2 is a schematic structural diagram of a quantum computing measurement and control system provided by an embodiment of the present application. In the Figure 2 shown quantum computing measurement and control system, it may include: a central control board, a plurality of routing boards, and a plurality of function boards.

[0053] In the Figure 2 shown central control board, it may include a thread execution module and a central control thread module. Among them, the number of central control thread modules may be multiple. For example, in the quantum computing measurement and control system corresponding to a 72-bit quantum chip, the number of central control thread modules is 5.

[0054] The above quantum computing measurement and control system may include multiple routing boards, such as the Figure 2 shown routing board, and three routing boards are integrated on the same hardware device. In actual design, Figure 2 the three shown routing boards may be respectively deployed on different hardware devices. In the Figure 2Each of the shown routing boards may include: a parsing module and multiple thread modules. For example, in a quantum computing measurement and control system corresponding to a 72-bit quantum chip, each routing board may include 5 thread modules. That is, the number of thread modules in each routing board matches the number of central control thread modules in the central control board. Note Figure 2 Only the composition of the functional modules in one routing board is exemplified herein, and the composition of the functional modules in other routing boards is the same. In addition, the above-mentioned quantum computing measurement and control system further includes multiple functional boards, and each functional board can be respectively deployed on different hardware devices.

[0055] The central control board is respectively communicatively connected to each routing board, that is, the central control board passes through Figure 2 the shown thread execution modules are respectively communicatively connected to each routing board. Among them, the central control board, the central control device integrated on the routing board, and the routing device usually adopt processors such as FPGA (Field Programmable Gate Array) and MCU (Microcontroller Unit). Each functional module is integrated inside the processor and is used for data communication, data processing, etc. Each routing board is communicatively connected to several functional boards.

[0056] Both the central control thread module in the central control board, the routing board, the thread module in the routing board, and the functional board have number information. For each quantum computing task to be executed, the required hardware resources are determined. Therefore, each task packet of the quantum computing tasks sent by the host computer contains the number information of the central control board, the routing board, the thread module, and the functional board for executing the quantum computing task. According to the number information in the task packet, the target routing board, the target thread module, and the target functional board can be determined.

[0057] In Figure 2 the shown quantum computing measurement and control system, the routing board is communicatively connected to the host computer (not shown in Note Figure 2 ), and receives the task packet sent by the host computer. Among them, the task packet can be a first task packet including various pulse waveform data, which is used for each functional board to generate corresponding pulse signals according to the pulse waveform data, such as pulse amplitude, pulse width, waveform pattern, etc.; the task packet can also be a second task packet including the number information of the central control board, the routing board, the thread module, and the functional board, the repetition times of the pulse signal, etc., which is related to each quantum computing task and is used for each board to cooperate to trigger the functional board to output specific pulse signals; for example, the target thread number, which corresponds to the thread number in the routing board, the target board number, which corresponds to the number of the functional board; the trigger information, which corresponds to the number of times, intervals, etc. of triggering the functional board to output pulse signals.

[0058] In Figure 2In the quantum computing measurement and control system shown, the routing board card receives the task packet sent by the host computer, and sends the first task packet to the corresponding target function board card according to the target thread number and target board card number in the second task packet. The target function board card is configured according to the pulse waveform data in the first task packet, and after the configuration is completed, it outputs the ready information. Then, the thread module in the routing board card obtains the ready information of each target function board card and forwards it to the central control board card. Furthermore, the central control board card outputs a trigger instruction according to the ready information to trigger the trigger of the thread module in the routing board card, and then the thread module in the routing board card triggers the target function board card to output a pulse signal corresponding to the pulse waveform data.

[0059] Among them, the trigger instruction sent by the central control board card includes the trigger status of all thread modules, and can trigger multiple routing board cards connected by communication and multiple thread modules in the routing board card to process multiple quantum computing tasks in parallel. The routing board card can obtain the trigger status of each thread module included in the trigger according to the received trigger instruction and generate a first trigger signal, and send it to the corresponding thread module. The thread module generates a second trigger signal according to the working state (that is, the idle state and execution state in the following text) in response to the first trigger signal and sends it to the target function board card, so as to trigger the target function board card connected by communication to process multiple quantum computing tasks in parallel.

[0060] In addition, when the routing board card parses the trigger instruction sent by the central control board card and generates a trigger signal, it is used to trigger the target function board card that is in the ready state after receiving the task packet and completing the configuration. The trigger instruction, target thread number, target function board card, etc. all have a corresponding quantum computing task to be executed.

[0061] In this process, the central control thread module in the central control board card enables the routing board card to start the parallel processing of multiple quantum computing tasks through the generated trigger instruction, that is, to prompt the routing board card to generate a trigger signal for triggering the parallel processing of multiple quantum computing tasks. The routing board card is used to start / trigger the parallel processing of multiple quantum computing tasks in the target function board card. Here, the parallel processing process of the quantum computing measurement and control system for quantum computing tasks will not be specifically described.

[0062] In the embodiment of the present application, for each routing board card, the thread module included in the routing board card corresponds one-to-one with the central control thread module in the above central control board card; that is, there is a central control thread module in each routing board card whose identification information is the same as the corresponding identification information of any thread module; in addition, for the function board card connected by communication to each routing board card, its identification information also corresponds to the thread module; in this embodiment, the identification information is the thread number.

[0063] In the above quantum computing measurement and control system, by deploying multiple central control thread modules on the above central control board and multiple thread modules on each routing board, the central control board and the routing board can simultaneously trigger the parallel processing of multiple quantum computing tasks, realizing multi-threaded quantum computing and improving the quantum computing efficiency.

[0064] The embodiments of the present application will be described below through specific examples.

[0065] For the above step S101, the parsing module parses the trigger instruction sent by the central control board, and determines that several thread modules with the trigger state being the first trigger state in the trigger instruction are the first target thread modules; wherein, the trigger instruction includes the trigger states of all thread modules, and the first trigger state indicates that the corresponding thread module needs to be triggered.

[0066] When the central control sends out the trigger instruction, it is sent to each routing board in a broadcast form, and each routing board receives the same trigger instruction and parses the trigger instruction. Specifically, the trigger instruction contains the trigger states of all thread modules of this routing board. The trigger state usually includes the first trigger state indicating that the corresponding thread module needs to be triggered and the second trigger state indicating that it does not need to be triggered. For the first trigger state that needs to be triggered, it means that the corresponding thread module needs to perform trigger output, and the parsing module determines the corresponding thread module as the first target thread module.

[0067] Among them, the trigger states included in each trigger instruction are different, and the number of the corresponding first target thread modules is also different, which needs to be determined according to the quantum computing tasks to be executed in specific applications.

[0068] As shown in the schematic diagram of the trigger instruction Figure 3 shown, the trigger instruction has a preset address bit number, a base type, and the mask information on each preset address bit number represents the trigger state of the corresponding thread number. The correspondence between the preset address bit number and the thread number exemplified in the appendix Figure 3 is only an example, and the trigger state using a high-level flag and a low-level flag is also only an example.

[0069] For the above step S102, the parsing module generates a first trigger signal and outputs it to each first target thread module at the same pulse moment of the periodic pulse signal. After determining the first target thread modules corresponding to a trigger instruction through step S101, it is necessary to trigger the first target thread modules, and the parsing module generates a first trigger signal. The number of the first trigger signals can be one, which is sent to the first target thread modules respectively; it can also be several, and the number corresponds to the first target thread modules and is sent respectively.

[0070] When the parsing module sends the first trigger signal to each first target thread module, it outputs according to the periodic pulse signal at the same pulse moment of the signal, ensuring that the first trigger signals output to each first target thread module are synchronized. The periodic pulse signal is a pulse waveform with the same pulse interval, usually output by a clock source module or a clock chip and sent to the parsing module in the routing board.

[0071] Regarding step S103, each first target thread module responds to the first trigger signal according to its working state and outputs a second trigger signal to the target function board. Among them, the target function board is the function board that receives the task packet of the quantum computing task to be executed sent by the routing board.

[0072] As described above, for each quantum computing task to be executed, a corresponding function board outputs a pulse signal to the quantum processor. The corresponding relationship is included in the task packet, sent by the host computer to the routing board, and the routing board obtains the corresponding relationship (target board number) in the task packet, and sends the pulse signal data to the target function board with the target board number. The target function board configures the pulse signal data, outputs a ready message to the routing board after the configuration is completed, and is in a state of waiting for trigger output, waiting for the routing board to send the second trigger signal.

[0073] After determining the first target thread module through the above steps S101 - S102, the first target thread module responds to the first trigger signal according to its working state and outputs a second trigger signal. Among them, the working state includes a loading state and an idle state. Specifically, the loading state means that the thread module receives a data packet and configures according to the task parameters in the data packet, and outputs a ready message after the configuration is completed, which is used to indicate that the thread module is in a state of waiting for trigger after the task parameter configuration is ready. The idle state means that the thread module does not receive a data packet and does not configure task parameters, and does not participate in the quantum computing task.

[0074] The first target thread module responds to the first trigger signal according to its working state, ensuring the accuracy of the trigger of the target function board, and thus ensuring the accurate execution of the quantum computing task. In addition, the first trigger signals received by each first target thread module are synchronized, and the first target thread modules respond to the first trigger signal according to their working states are also synchronized, so that the second trigger signals output to the target function board are also synchronized; ensuring that the target function board processes the quantum computing task according to the synchronized second trigger signal, thereby improving the synchronization of the quantum computing measurement and control system in executing the quantum computing task.

[0075] As shown in the appendix Figure 4 shown, the parsing module parses the trigger instruction sent by the central control board, and determines that several thread modules with the trigger state being the first trigger state in the trigger instruction are the first target thread modules, including the following steps.

[0076] Step S1011: The parsing module receives and parses the trigger instruction sent by the central control board to obtain the trigger status corresponding to the thread numbers of all thread modules; wherein, the trigger status includes a first trigger status that each thread module needs to trigger and a second trigger status that does not need to be triggered.

[0077] Step S1012: The parsing module determines that the thread module corresponding to the thread number and the first target thread number is the first target thread module; wherein, the first target thread number is the thread number corresponding to the first trigger status.

[0078] The parsing module parses the trigger instruction to obtain the trigger status corresponding to the thread numbers of all thread modules. For the first trigger status that needs to be triggered, it means that the corresponding thread module needs to perform trigger output. The parsing module determines the corresponding thread number as the first target thread number and determines the module with the thread number as the first target thread number as the first target thread module.

[0079] As shown in the appendix Figure 5 As shown, in this embodiment, the parsing module generates a first trigger signal and outputs it to each first target thread module at the same pulse moment of the periodic pulse signal, including the following steps.

[0080] Step S2011: The parsing module generates a first trigger signal.

[0081] Step S2012: The parsing module outputs the first trigger signal to each first target thread module at the next pulse rising edge of the current moment when obtaining the periodic pulse signal.

[0082] After the parsing module generates the first trigger signal, it waits to receive the periodic pulse signal. After receiving the periodic pulse signal, each pulse rising edge or falling edge can be used to output the first trigger signal. In this embodiment, the parsing module outputs the first trigger signal to each first target thread module at the next pulse rising edge of the current moment when receiving the periodic pulse signal, reducing the waiting time of the parsing module and outputting the synchronized first trigger signal to each first target thread module as soon as possible, improving the trigger efficiency of the first target thread module, and thus improving the efficiency of performing the quantum computing task.

[0083] As shown in the appendix Figure 6 As shown, in this embodiment, the second trigger signal is used to trigger the thread module that has loaded the task package and completed the configuration. Therefore, the thread module needs to be configured according to the received task package before receiving the second trigger signal. Before the first target thread module responds to the first trigger signal according to the working state and outputs the second trigger signal to each functional board, the method further includes the following steps.

[0084] Step S111: The parsing module receives and parses the task packet sent by the host computer, and obtains the second target thread number, the target board number, and the trigger information.

[0085] In this step, the task packet sent by the host computer is the task packet of the quantum computing task to be executed, which includes the second target thread number, the target board number, and the trigger information. Among them, the second target thread number is the number of the thread module that executes this task packet; the target board number is the number of the function board that executes this task packet; the trigger information is the information of the second trigger signal output by the routing board.

[0086] The corresponding information of these function boards has been determined when the host computer issues them, and the task packet is forwarded according to the corresponding information when the routing board forwards the task packet. Among them, when the host computer receives the 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, and determine the second target thread number and the target board number corresponding to each task packet; the trigger information is determined according to the number of repetitions of the computing task.

[0087] Each routing board is communicatively connected to several function boards with board numbers. After the host computer determines the target board number, the number of the routing board communicatively connected to it is also correspondingly determined. Therefore, according to the target board number of the target function board in the task packet sent by the host computer and the second target thread number in the routing board, the target routing board, the target second thread module, and the target function board that execute this task packet can be determined.

[0088] In addition, not only the routing board needs to be configured, but the function board also needs to be configured. When the routing board receives the first task packet containing pulse waveform data, it forwards it to the target function board corresponding to the target board number. The target function board configures the pulse waveform data, and outputs the ready information to the communicatively connected routing board after the configuration is completed.

[0089] Step S112: The parsing module sends the target board number and the trigger information to the second target thread module whose thread number corresponds to the second target thread number.

[0090] The parsing module distributes according to the second target thread number included in the task packet, and distributes the target board number and the trigger information to the second target thread module whose thread number corresponds to the second target thread number.

[0091] Step S113: The second target thread module receives the target board number and the trigger information.

[0092] Step S114: The second target thread module updates its working status from the idle status to the loading status.

[0093] After receiving the target board card number and trigger information, the second target thread module enters the loading state and waits in this state for the arrival of the first trigger signal used to trigger the output of this thread module; when the second target thread module receives the first trigger signal sent by the parsing module, it responds to the first trigger signal and outputs a second trigger signal.

[0094] In this embodiment, the first target thread module responds to the first trigger signal according to the working state and outputs the second trigger signal to each functional board card, including: the third target thread module responds to the first trigger signal and outputs the second trigger signal to the functional board card corresponding to the target board card number according to the trigger information; wherein, the third target thread module is the second target thread module in the loading state in the first target thread module.

[0095] Specifically, the central control board card sends the trigger instruction in a broadcast manner to all routing board cards. Therefore, each routing board card will determine the first target thread module in this routing board card after parsing the trigger instruction; not all first target thread modules in the routing board cards need to execute the trigger, and it needs to be matched according to the working state of the first target thread module.

[0096] Each second target thread module is determined according to the second target thread number in the task packet when the routing board card receives the task packet to be executed for quantum computing, and is a thread module that has loaded the target board card number and trigger information in the task packet and is in the loading state and needs to execute the trigger output; therefore, the second target thread module is included in the first target thread module, and all second target thread modules in the first target thread module that are in the loading state need to trigger the output. These thread modules are determined as the third target thread module, and the second trigger signal is output to the functional board card corresponding to the target board card number according to the trigger information.

[0097] Whether it is the first target thread module, the second target thread module, or the third target thread module, they are all one or several thread modules in the routing board card, and are numbered and named according to their execution states; the first target thread module is determined according to the trigger state after the routing board card parses the trigger instruction sent by the central control board card; the second target thread module is determined according to the second target thread number in the task packet when the routing board card receives the task packet to be executed for quantum computing; and the third target thread module is the second target thread module in the loading state in the first target thread module.

[0098] In this embodiment, the trigger information includes the number of triggers and the trigger interval duration. The trigger interval duration is an integer multiple of the pulse interval duration of the periodic pulse signal. The third target thread module outputs a second trigger signal to the function board corresponding to the target board number according to the trigger information, including: the third target thread module outputs a second trigger signal to the function board corresponding to the target board number according to the number of triggers and the trigger interval duration.

[0099] Quantum computing requires multiple repeated measurements and statistics on the results of multiple repeated measurements. During multiple repeated measurements, each measurement is triggered by a second trigger signal, and multiple triggers are repeated. Moreover, each trigger needs to ensure synchronization at the same pulse moment of the periodic pulse signal. Multiple repeated triggers need to ensure that they are all at the pulse moment of the periodic pulse signal.

[0100] Exemplarily, when the first second trigger signal is output at the rising edge moment of the periodic pulse signal, each subsequent second trigger signal is output at the rising edge moment of the periodic pulse signal, rather than at the falling edge moment or other moments, ensuring that multiple second trigger signals are synchronized with respect to the pulse rising edge or falling edge moment of the periodic pulse signal.

[0101] The periodic pulse signal has a pulse interval duration. The trigger information in the task packet includes the number of triggers and the trigger interval duration, and the trigger interval duration is an integer multiple of the pulse interval duration, thereby ensuring that multiple second trigger signals are synchronized with respect to the pulse rising edge or falling edge moment of the periodic pulse signal.

[0102] Therefore, when the third target thread module outputs a second trigger signal to the function board corresponding to the target board number according to the number of triggers and the trigger interval duration, the synchronization of multiple repeated outputs of the second trigger signal ensures the consistency of repeated measurements.

[0103] As shown in the appendix Figure 7 In this embodiment, as shown, the thread module includes a trigger generation counter and a trigger number counter. The third target thread module outputs a second trigger signal to the function board corresponding to the target board number according to the number of triggers and the trigger interval duration, including the following steps.

[0104] Step S3011: The trigger generation counter generates a second trigger signal and outputs it to the function board corresponding to the target board number when counting to each trigger interval duration.

[0105] Step S3012: The trigger number counter increments the current trigger number by 1 when each second trigger signal is generated.

[0106] Step S3013: The trigger number counter stops outputting the second trigger signal when the current trigger number is equal to the number of triggers.

[0107] The trigger generation counter and the trigger times counter output multiple periodic second trigger signals according to the trigger times and the trigger interval duration, ensuring the synchronization of the pulse moments of the multiple second trigger signals relative to the pulse moment of the periodic pulse signal.

[0108] As described above, for the thread module, its working states include the idle state, the loading state, and the execution state. Among them, the idle state is when the thread module has no task package loaded. In this state, the parsing module can allocate the task package sent by the host computer to this thread module according to the target second thread module; the loading state is when the thread module loads the target board number and trigger information in the task package. In this state, the thread module can only respond to the first trigger signal sent by the parsing module and will not load other task packages allocated by the parsing module; the execution state refers to the state where the thread module receives the first trigger signal and responds to output the second trigger signal. In this state, it will not load other task packages allocated by the parsing module, nor will it respond to other first trigger signals sent by the parsing module, and it will continue until the number of times of the second trigger signal reaches the trigger times in the trigger information, stop outputting the second trigger signal and update the working state to the idle state.

[0109] Based on the same inventive concept, an embodiment of the present application further provides a synchronous trigger method for a functional board. A quantum computing measurement and control system is composed of several functional boards and several routing boards. The synchronous trigger method is applied to any functional board, and the method includes the following steps.

[0110] Step S201: Receive the second trigger signal sent by the routing board; wherein, the second trigger signal is generated by using the synchronous trigger method for the routing board as described in any one of the above.

[0111] Step S202: Respond to the second trigger signal and output a control signal to the quantum processor so that the quantum processor processes the quantum computing task in parallel.

[0112] Based on the same inventive concept, an embodiment of the present application further provides a quantum computing measurement and control system, including a central control board, several routing boards, and several functional boards. Each routing board uses the synchronous trigger method for the routing board as described in any one of the above to trigger the functional boards to process the quantum computing task in parallel, and each functional board uses the synchronous trigger method for the functional board as described above to trigger the quantum processor to process the quantum computing task in parallel.

[0113] Based on the same inventive concept, an embodiment of the present application further provides a quantum computer, including the above-mentioned quantum computing measurement and control system and a quantum processor. The quantum processor synchronously processes the quantum computing task in parallel according to the control signal output by the quantum computing measurement and control system.

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

[0115] It should be noted that in this document, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including", or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article, or device including a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article, or device including the element.

[0116] Each embodiment in this specification is described in a related manner. The same or similar parts among the embodiments can be referred to each other, and the differences between each embodiment and other embodiments are emphasized. In particular, for embodiments such as systems, thread modules, parsing modules, routing boards, central control boards, quantum computers, computer-readable storage media, and computer program products, since they are basically similar to method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0117] The above are only the preferred embodiments of the present application and are not intended to limit the protection scope of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present application are all included in the protection scope of the present application.

Claims

1. A synchronous triggering method, characterized in that, A quantum computing measurement and control system is composed of several routing boards, a central control board, and functional boards. Each of the routing boards includes a parsing module and several thread modules with thread numbers. The synchronous triggering method is applied to any one of the routing boards, and the method includes: The parsing module parses the trigger instruction sent by the central control board, and determines that several thread modules with a trigger state of the first trigger state in the trigger instruction are first target thread modules; wherein, the trigger instruction includes the trigger states of all thread modules, and the first trigger state indicates that the corresponding thread module needs to be triggered; The parsing module generates a first trigger signal and outputs it to each of the first target thread modules at the same pulse moment of the periodic pulse signal; Each of the first target thread modules responds to the first trigger signal according to the working state and outputs a second trigger signal to the target functional board, wherein the target functional board is the functional board that receives the task packet of the quantum computing task to be executed sent by the routing board.

2. The synchronous triggering method according to claim 1, characterized in that The parsing module parses the trigger instruction sent by the central control board, and determines that several thread modules with a trigger state of the first trigger state in the trigger instruction are first target thread modules, including: The parsing module receives and parses the trigger instruction sent by the central control board to obtain the trigger states corresponding to the thread numbers of all thread modules; wherein, the trigger states include the first trigger state that each thread module needs to be triggered and the second trigger state that does not need to be triggered; The parsing module determines that the thread module corresponding to the thread number and the first target thread number is the first target thread module; wherein, the first target thread number is the thread number corresponding to the first trigger state.

3. The synchronous triggering method according to claim 1, characterized in that, The parsing module generates a first trigger signal and outputs it to each of the first target thread modules at the same pulse moment of the periodic pulse signal, including: The parsing module generates a first trigger signal; The parsing module outputs the first trigger signal to each of the first target thread modules at the next pulse rising edge of the current moment when the periodic pulse signal is obtained.

4. The synchronous triggering method according to claim 1, wherein Before the first target thread module responds to the first trigger signal according to the working state and outputs a second trigger signal to each functional board, the method further includes: The parsing module receives and parses the task packet sent by the host computer to obtain the second target thread number, the target board number, and the trigger information; The parsing module sends the target board number and the trigger information to the second target thread module corresponding to the thread number and the second target thread number; The second target thread module receives the target board number and the trigger information; The second target thread module updates the working state from the idle state to the loading state.

5. The synchronous triggering method according to claim 4, wherein The first target thread module responds to the first trigger signal according to the working state and outputs a second trigger signal to each functional board, including: The third target thread module responds to the first trigger signal and outputs a second trigger signal to the functional board corresponding to the target board card number according to the trigger information; wherein, the third target thread module is the second target thread module in the first target thread module that is in the loading state.

6. The synchronous triggering method according to claim 5, wherein The trigger information includes the number of triggers and the trigger interval duration, and the trigger interval duration is an integer multiple of the pulse interval duration of the periodic pulse signal. The third target thread module outputs a second trigger signal to the functional board corresponding to the target board card number according to the trigger information, including: The third target thread module outputs a second trigger signal to the functional board corresponding to the target board card number according to the number of triggers and the trigger interval duration.

7. The synchronous triggering method according to claim 6, characterized in that A trigger generation counter and a trigger number counter are included in the thread module. The third target thread module outputs a second trigger signal to the functional board corresponding to the target board card number according to the number of triggers and the trigger interval duration, including: The trigger generation counter generates and outputs a second trigger signal to the functional board corresponding to the target board card number every time it counts to each trigger interval duration; The trigger number counter increments the current trigger number by 1 each time a second trigger signal is generated; The trigger number counter stops outputting the second trigger signal when the current trigger number is equal to the number of triggers.

8. A synchronous triggering method, characterized in that, A quantum computing measurement and control system is composed of several functional boards and several routing boards. The synchronous triggering method is applied to any functional board, and the method includes: Receiving the second trigger signal sent by the routing board; wherein, the second trigger signal is generated by using the synchronous triggering method described in any one of the above claims 1-7; Responding to the second trigger signal and outputting a control signal to the quantum processor to enable the quantum processor to parallel process quantum computing tasks.

9. A quantum computing measurement and control system, characterized in that, It includes a central control board, several routing boards and several functional boards. Each routing board uses the synchronous triggering method described in any one of the above claims 1-7 to trigger the functional boards to parallel process quantum computing tasks, and each functional board uses the synchronous triggering method described in claim 8 to trigger the quantum processor to parallel process quantum computing tasks.

10. A quantum computer, characterized in that, It includes the quantum computing measurement and control system and the quantum processor described in claim 9. The quantum processor synchronously and parallel processes quantum computing tasks according to the control signal output by the quantum computing measurement and control system.