System ready method and quantum computing measurement and control system
By introducing thread modules and synchronization pulse mechanisms into the quantum computing measurement and control system, the signal transmission between the central control board and the routing board is simplified, and the complex and time-consuming problem of the ready process is solved, and efficient signal synchronization and system readiness are achieved.
Patent Information
- Application Number
- CN202410091140.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-23
- Publication Date
- 2025-07-25
AI Technical Summary
The preparation process of the quantum computing measurement and control system is complex and time-consuming, which affects the readiness efficiency, mainly due to the complex determination of signal transmission delay parameters between the central control board and the routing board.
By introducing a thread module between the central control board and the routing board, it is ensured that the delay error during signal transmission of each transmission link is less than the preset error threshold. After receiving all ready instructions, the thread module switches to the synchronization calibration state, generates and sends a synchronization pulse signal, so that each routing board generates a matching second synchronization pulse.
The preparation process of the quantum computing measurement and control system is simplified, the preparation time is shortened, the readiness efficiency is improved, and the signal synchronization between the router boards is ensured.
Smart Images

Figure CN120373484A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of quantum computing technology, and particularly to a system readiness method and a quantum computing measurement and control system. Background Art
[0002] Quantum computing is a computing mode that uses the basic characteristics of quantum mechanics to solve problems. By constructing a quantum physical hardware system that can be precisely operated and running quantum computing software to implement quantum algorithms, computing problems are solved to realize the application of quantum computing in specific problems or fields.
[0003] As an important part of a quantum computer, a quantum computing measurement and control system can provide corresponding pulse signals for the quantum computing process. With the application of multi-threading technology in the quantum computing process, the central control board in the quantum computing measurement and control system needs to communicate with multiple routing boards. To ensure the working coordination between the central control board and each routing board in the quantum computing measurement and control system, before the quantum computing measurement and control system participates in quantum computing, a readiness process needs to be performed on the quantum computing measurement and control system.
[0004] In the above-mentioned readiness process of the quantum computing measurement and control system, it is necessary to determine the delay parameters corresponding to each routing board according to the signal transmission delay between the central control board and each routing board, and it is also necessary to generate synchronization pulses corresponding to the central control board and each routing board respectively. This makes the readiness process of the quantum computing measurement and control system complex and time-consuming, affecting the readiness efficiency of the quantum computing measurement and control system. Summary of the Invention
[0005] The purpose of the embodiments of the present application is to provide a system readiness method and a quantum computing measurement and control system to simplify the readiness process of the quantum computing measurement and control system, shorten the time consumed in the readiness process, and improve the readiness efficiency of the quantum computing measurement and control system. The specific technical solutions are as follows:
[0006] The embodiments of the present application provide a system readiness method, which is applied to a quantum computing measurement and control system. The quantum computing measurement and control system includes a central control board and multiple routing boards. The central control board includes a thread module, and the thread module communicates with each routing board through different transmission links. The signal transmission delay error between each transmission link is less than a preset error threshold. The method includes:
[0007] Each routing board sends a first readiness instruction to the thread module;
[0008] If the thread module receives the first readiness instructions sent by all routing boards in the waiting readiness state, it switches to the synchronization calibration state;
[0009] In the synchronization calibration state, the thread module generates a first synchronization pulse and a trigger signal corresponding to the first synchronization pulse, and sends the trigger signal to each routing board card;
[0010] Each routing board card generates a second synchronization pulse according to the received trigger signal.
[0011] An embodiment of the present application further provides a quantum computing measurement and control system, which includes a central control board card and multiple routing board cards. The central control board card includes a thread module. The thread module is communicatively connected to each routing board card through different transmission links, and the signal transmission delay error between each transmission link is less than a preset error threshold;
[0012] The routing board card is used to send a first ready instruction to the thread module;
[0013] The thread module is used to switch to the synchronization calibration state if it receives the first ready instructions sent by all routing board cards in the waiting ready state; in the synchronization calibration state, generate a first synchronization pulse and a trigger signal corresponding to the first synchronization pulse, and send the trigger signal to each routing board card;
[0014] The routing board card is further used to generate a second synchronization pulse according to the received trigger signal.
[0015] Beneficial effects of the embodiment of the present application:
[0016] In the technical solution provided by the embodiment of the present application, after each routing board card in the quantum computing measurement and control system sends a first ready instruction to the thread module in the central control board card, if the thread module receives all the first ready instructions in the waiting ready state, it switches to the synchronization calibration state. The thread module generates a first synchronization pulse and a trigger signal corresponding to the first synchronization pulse in the synchronization calibration state, and sends the trigger signal to each routing board card, so that each routing board card generates a second synchronization pulse according to the received trigger signal.
[0017] Compared with the related art, through the improvement of the hardware link, the signal transmission delay error between the central control board card and the routing board card is less than the preset error threshold, that is, the error between the signal transmission delays corresponding to the central control board card and each routing board card can be ignored. Therefore, in the preparation process of the quantum computing measurement and control system, it is no longer necessary to determine the delay parameters corresponding to each routing board card, but directly generate the first synchronization pulse corresponding to the central control board card and the second synchronization pulse corresponding to each routing board card. This simplifies the preparation process of the quantum computing measurement and control system, shortens the time-consuming of the preparation process, and improves the readiness efficiency of the quantum computing measurement and control system.
[0018] In addition, since the second synchronization pulses corresponding to each routing board are all based on the same signal, that is, the trigger signal corresponding to the first synchronization pulse, the second synchronization pulses corresponding to each routing board are matched. Moreover, the first synchronization pulse and the second synchronization pulse are also matched, which effectively ensures the signal synchronization between the routing boards and the signal synchronization between the central control board and the routing boards.
[0019] Of course, it is not necessary for any product or method implementing this application to achieve all the above-mentioned advantages simultaneously. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] 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, without creative efforts, other drawings can be obtained based on these drawings.
[0021] Figure 1 It is a signaling diagram for the process of determining the delay parameters corresponding to the routing boards in the existing quantum computing measurement and control system;
[0022] Figure 2 It is the first signaling diagram of the system readiness method provided by the embodiment of the present application;
[0023] Figure 3 It is the first structural schematic diagram of the quantum computing measurement and control system provided by the embodiment of the present application;
[0024] Figure 4 It is the second signaling diagram of the system readiness method provided by the embodiment of the present application;
[0025] Figure 5 It is the third flow schematic diagram of the system readiness method provided by the embodiment of the present application;
[0026] Figure 6 It is the fourth signaling diagram of the system readiness method provided by the embodiment of the present application;
[0027] Figure 7 It is the fifth signaling diagram of the system readiness method provided by the embodiment of the present application;
[0028] Figure 8 It is the sixth signaling diagram of the system readiness method provided by the embodiment of the present application;
[0029] Figure 9 It is a structural schematic diagram of the quantum computing measurement and control system provided by the embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0030] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts belong to the scope of protection of the present application.
[0031] In the related art, the preparation process of the quantum computing measurement and control system needs to determine the delay parameters corresponding to each routing board card, and determine the synchronization pulses corresponding to the central control board card and each routing board card.
[0032] For ease of understanding, in conjunction with Figure 1 the process of determining the delay parameters corresponding to each routing board card in the quantum computing measurement and control system will be described. Figure 1 FIG. is a signaling diagram of a process for determining the delay parameters corresponding to the routing board card in the existing quantum computing measurement and control system.
[0033] In Figure 1 the shown process of determining the delay parameters, each routing board card in the quantum computing measurement and control system can, according to its own ready state at the current moment, when the ready state switches to the target state, send a ready instruction carrying the current ready state to the communication module in the central control board card, such as Figure 1 the ready instruction 1 shown. Regarding the target state, reference can be made to the following description and will not be elaborated here.
[0034] Each time the central control board card receives a ready instruction 1, it can determine that the routing board card that sent the ready instruction 1 has switched to the above-mentioned target state. When all the routing board cards have switched to the above-mentioned target state, that is, when the central control board card receives the ready instructions 1 sent by all the routing board cards, the central control board card can send a Trig (trigger) signal to each routing board card.
[0035] After each routing board card receives the Trig signal sent by the central control board card, it will generate a response signal for the Trig signal, that is, Figure 1 the TrigOK signal shown. Each routing board card sends the generated TrigOK signal to the central control board card.
[0036] After the central control board card receives the TrigOK signals fed back by all the routing board cards, it can calculate the signal transmission delay between itself and each routing board card according to the sending time of the Trig signal and the receiving time of each TrigOK signal. According to the signal transmission delay between itself and each routing board card, the central control board card can further calculate the delay parameters corresponding to each routing board card. The central control board card can send each delay parameter to the corresponding routing board card.
[0037] After receiving the delay parameter, each routing board card can store the delay parameter. During the parallel execution of quantum computing tasks in the later stage, when each routing board card receives the trigger signal sent by the central control board card, it can trigger the lower-level board cards in the quantum computing measurement and control system to execute quantum computing tasks in parallel according to the stored delay parameter.
[0038] During the preparation process of the above quantum computing measurement and control system, in addition to the central control board card needing to determine the delay parameter corresponding to each routing board card respectively, the central control board card and each routing board card also need to generate corresponding synchronization pulses, which will make the entire preparation process complex and time-consuming, affecting the readiness efficiency of the quantum computing measurement and control system.
[0039] To solve the problems in the related technology, the embodiment of the present application provides a system readiness method. As Figure 2 shown, Figure 2 FIG. 10 is the first signaling diagram of the system readiness method provided by the embodiment of the present application. This method is applied to a quantum computing measurement and control system, which includes a central control board card and multiple routing board cards. The central control board card includes a thread module, and the thread module is communicatively connected to each routing board card through different transmission links. The signal transmission delay error between each transmission link is less than a preset error threshold. In Figure 2 the method shown includes the following steps.
[0040] Step S201, each routing board card sends a first readiness instruction to the thread module.
[0041] Step S202, if the thread module receives the first readiness instructions sent by all routing board cards in the waiting readiness state, it switches to the synchronization calibration state.
[0042] Step S203, in the synchronization calibration state, the thread module generates a first synchronization pulse and a trigger signal corresponding to the first synchronization pulse, and sends the trigger signal to each routing board card.
[0043] Step S204, each routing board card generates a second synchronization pulse according to the received trigger signal.
[0044] In the embodiment of the present application, for the transmission links between the above thread module and each routing board card, by improving the corresponding length, material, etc. of each transmission link. For example, the lengths of each transmission link are the same and the materials used are the same, it can make the signal transmission delay error between each transmission link less than the above preset error threshold, that is, the error in signal transmission delay of each transmission link can be ignored, so that it is no longer necessary to determine the delay parameter corresponding to each routing board card during the preparation process of the quantum computing measurement and control device.
[0045] The above preset error threshold can be a relatively small value. For example, the above preset error threshold can be at the nanosecond level. Here, no specific limitation is imposed on the preset error threshold.
[0046] For the above quantum computing measurement and control system, as Figure 3 shown, Figure 3 FIG. 1 is a schematic structural diagram of a first quantum computing measurement and control system provided by an embodiment of the present application. In Figure 3 the quantum computing measurement and control system shown, it includes: a host computer, a central control board, a plurality of routing boards (such as Figure 3 the routing boards 1-3 shown) and a plurality of lower-level boards (such as Figure 3 the lower-level boards 1-3 shown).
[0047] Compared with the central control board in the related art, Figure 3 in the central control board shown, the above communication module is discarded, and a parsing module and a thread module are introduced. Among them, the thread module may include thread sub-modules, and the thread sub-modules in the thread module can be in one-to-one correspondence with a plurality of thread sub-modules in the routing board, so as to be more suitable for the application of multi-thread technology.
[0048] In the above quantum computing measurement and control system, the host computer is communicatively connected to the central control board. For example, the host computer can be communicatively connected to Figure 3 the parsing module in the central control board shown. The central control board is communicatively connected to each routing board respectively. For example, Figure 3 the parsing module and the thread module in the central control board shown can be communicatively connected to each routing board respectively through different transmission links. The routing board is communicatively connected to the lower-level board and is in one-to-one correspondence. For example, in Figure 3 routing board 1 is communicatively connected to lower-level board 1, routing board 2 is communicatively connected to lower-level board 2, and routing board 3 is communicatively connected to lower-level board 3.
[0049] Through Figure 2 the method shown, after each routing board in the quantum computing measurement and control system sends a first ready instruction to the thread module in the central control board, if the thread module receives all the first ready instructions in the waiting ready state, it switches to the synchronous calibration state. The thread module generates a first synchronization pulse and a trigger signal corresponding to the first synchronization pulse in the synchronous calibration state, and sends the trigger signal to each routing board, so that each routing board generates a second synchronization pulse according to the received trigger signal.
[0050] Compared with the related art, by improving the hardware link, the signal transmission delay error between the central control board and the routing board is made less than the preset error threshold, that is, the error between the signal transmission delays corresponding to the central control board and each routing board can be ignored. Therefore, during the preparation process of the quantum computing measurement and control system, it is no longer necessary to determine the delay parameters corresponding to each routing board, but directly generate the first synchronization pulse corresponding to the central control board and the second synchronization pulse corresponding to each routing board. This simplifies the preparation process of the quantum computing measurement and control system, shortens the time-consuming of the preparation process, and improves the readiness efficiency of the quantum computing measurement and control system.
[0051] In addition, since the second synchronization pulse corresponding to each routing board is based on the same signal, that is, the trigger signal corresponding to the first synchronization pulse, the second synchronization pulses corresponding to each routing board are matched, and moreover, the first synchronization pulse and the second synchronization pulse are also matched. This effectively ensures the signal synchronization between each routing board and the signal synchronization between the central control board and the routing board.
[0052] The embodiments of the present application will be described below through specific examples.
[0053] Regarding the above step S201, that is, each routing board sends a first readiness instruction to the thread module.
[0054] In this step, during the preparation process of the above quantum computing measurement and control system, for each routing board in the quantum computing measurement and control system, there are multiple readiness states for the routing board, namely the first readiness state, the second readiness state, and the third readiness state. Regarding each readiness state of the routing board and the switching of each readiness state, please refer to the following description and will not be elaborated here.
[0055] For each routing board, when the current readiness state of the routing board switches from the above first readiness state to the second readiness state, the routing board can send a readiness instruction (denoted as the first readiness instruction) to the thread module in the central control board. Among them, the second readiness state is the above target state.
[0056] In the embodiment of the present application, the above first readiness instruction is the first readiness instruction sent by each routing board to the central control board during the preparation process.
[0057] In addition, compared with the readiness instruction carried by the routing board to the central control board in the related art, which carries the current readiness state of the routing board, the above first readiness instruction no longer carries the current readiness state of the routing board. This effectively reduces the data volume of the first readiness instruction, improves the transmission efficiency of the first readiness instruction, thereby shortening the time required for signal transmission during the preparation process of the quantum computing measurement and control system, and improving the readiness efficiency of the quantum computing measurement and control system.
[0058] Regarding the above step S202, that is, if the thread module receives the first ready instruction sent by all routing boards in the waiting ready state, it will switch to the synchronous calibration state.
[0059] In the embodiment of the present application, during the preparation process of the above quantum computing measurement and control system, there are also multiple ready states in the thread module of the central control board, which may specifically include: idle state (i.e., idle state), waiting ready state (i.e., wait_ready state), synchronous calibration state (i.e., sync_create state), and working state (i.e., work state).
[0060] If there is no abnormality in the above quantum computing measurement and control system, when the above routing board sends the above first ready instruction, the thread module should be in the above waiting ready state. At this time, if the thread module receives the first ready instructions sent by all routing boards, the thread module will switch from the waiting ready state to the above synchronous calibration state.
[0061] In an optional embodiment, when the thread module is in the above waiting ready state, if the thread module never receives the first ready instructions sent by all routing boards, the thread module will not switch the ready state, that is, the thread module will always be in the waiting ready state.
[0062] Regarding the above step S203, that is, in the synchronous calibration state, the thread module generates a first synchronous pulse and a trigger signal corresponding to the first synchronous pulse, and sends the trigger signal to each routing board.
[0063] In this step, when the above thread module switches to the synchronous calibration state, the thread module can automatically generate the first synchronous pulse it needs, and generate a trigger signal matching the first synchronous pulse. The thread module can send the generated trigger signals to each routing board respectively.
[0064] The above first synchronous pulse is a periodic clock signal, and the period of the first synchronous pulse can be set according to user requirements, user experience values, etc. Here, the generation of the above first synchronous pulse is not specifically limited.
[0065] In the embodiment of the present application, the above thread module may include multiple thread sub-modules, and the above first synchronous pulse can be used to realize the synchronous control of multiple thread sub-modules in the thread module, which effectively ensures the signal synchronization of multiple thread sub-modules in the thread module.
[0066] Regarding the above step S204, that is, each routing board generates a second synchronous pulse according to the received trigger signal.
[0067] In this step, after the above thread module sends the above trigger signal to each routing board, through the transmission link between the thread module and each routing board, each routing board can receive the trigger signal. At this time, for each routing board, the routing board can generate a second synchronization pulse that matches it according to the trigger signal.
[0068] In the embodiment of the present application, for each routing board, the routing board may also include multiple thread sub-modules. The above second synchronization pulse can be used to implement synchronous control of multiple thread sub-modules in each routing board, which effectively ensures the signal synchronization of multiple thread sub-modules in each routing board.
[0069] In addition, since the trigger signals received by each routing board are the same, the second synchronization pulses generated by each routing board are matched. For example, the periods, amplitudes, etc. corresponding to each second synchronization pulse are the same. And since the trigger signals received by each routing board are generated according to the above first synchronization pulse, the second synchronization pulses corresponding to each routing board are also matched with the first synchronization pulse corresponding to the above thread module. For example, the second synchronization pulse and the first synchronization pulse have the same period.
[0070] In an optional embodiment, according to the above Figure 2 shown method, the embodiment of the present application also provides a system readiness method. As Figure 4 shown, Figure 4 This is the second signaling diagram of the system readiness method provided by the embodiment of the present application. The method includes the following steps.
[0071] Step S401, the host computer sends a first global reset instruction to the parsing module.
[0072] In this step, when the above quantum computing measurement and control system is powered on, the host computer in the quantum computing measurement and control system can send a first global reset instruction to the parsing module in the central control board. The first global reset instruction is used to instruct the central control board to perform a global reset operation.
[0073] Step S402, the parsing module sends a global reset signal to the thread module and sends a second global reset instruction to each routing board according to the received first global reset instruction.
[0074] In this step, when the parsing module in the central control board receives the above first global reset instruction, through the parsing of the first global reset instruction, it can be determined that a global reset operation needs to be performed. At this time, the parsing module can send a global reset signal to the thread module and send a second global reset instruction to each routing board respectively. Among them, the second global reset instruction can be used to instruct the routing board to perform a global reset operation.
[0075] Step S403: If the thread module receives a global reset signal in the idle state, it performs a global reset operation based on the global reset signal and switches to the waiting ready state.
[0076] In the embodiment of the present application, when the above-mentioned quantum computing measurement and control system is powered on, the above-mentioned thread module will be in the above-mentioned idle state. At this time, if the thread module receives the global reset signal sent by the above-mentioned parsing module, the thread module can perform a global reset operation according to the global reset signal. And when the thread module completes the global reset operation, the thread module will switch from the idle state to the above-mentioned waiting ready state.
[0077] In the embodiment of the present application, for the above-mentioned idle state, when the thread module is in the idle state, no function will be executed in the thread module, and at this time, the thread module will not respond to any ready instructions.
[0078] By introducing the above-mentioned idle state, the above-mentioned thread module can be made not to respond to any ready instructions without performing a global reset operation, that is, in the idle state, the thread module will not respond to any ready instructions received. This makes the ready instructions sent by the routing board card can only be responded when the central control board card is in the waiting ready state, avoiding the interference of the ready instructions sent by the routing board card on the ready process of the thread module, and ensuring the accuracy of the ready process of the quantum computing measurement and control system.
[0079] In an optional embodiment, during the parallel execution of quantum computing tasks, the above-mentioned thread module is used to generate a trigger signal, which is used to trigger the routing board card to start the parallel execution process of quantum computing tasks. Therefore, after the quantum computing measurement and control system is powered on, the above-mentioned thread module may store the synchronization pulses generated by the thread module during the previous ready process, and in each thread sub-module of the thread module, there may be stored trigger data related to the parallel execution of quantum computing tasks generated after the previous ready process is completed. Therefore, the global reset operation of the above-mentioned thread module can be expressed as: deleting the synchronization pulses stored in the thread module, and deleting the trigger data stored in each thread sub-module of the thread module.
[0080] In the embodiment of the present application, by deleting the synchronization pulses in the above-mentioned thread module and the trigger data in each thread sub-module, the global reset of the thread module can be realized, avoiding the influence of the synchronization pulses stored in the thread module on the ready process of the current quantum computing measurement and control system, and avoiding the influence of the trigger data stored in each thread sub-module on the parallel execution of subsequent quantum computing tasks, thereby improving the accuracy of quantum computing.
[0081] Step S404: Each routing board card performs a global reset operation according to the received second global reset instruction.
[0082] In an optional embodiment, during the parallel execution of quantum computing tasks, the above routing board is used to generate a trigger signal, which is used to trigger the lower-layer board connected to it to generate the pulse signals required for the parallel execution of quantum computing tasks. Therefore, after the quantum computing measurement and control system is powered on, for each routing board, the routing board may store the synchronization pulses generated during the previous readiness process, and the thread sub-module in the routing board may store the trigger data generated after the previous readiness is completed for the parallel execution of quantum computing tasks. Therefore, for each routing board, the global reset operation of the routing board after receiving the above second global reset instruction can be specifically expressed as: deleting the synchronization pulses stored in the routing board and deleting the trigger data stored in each thread sub-module of the routing board.
[0083] In the embodiment of the present application, by deleting the synchronization pulses in each routing board and the trigger data in each thread sub-module, the global reset of each routing board can be realized, avoiding the influence of the synchronization pulses stored in each routing board on the current readiness process of the quantum computing measurement and control system, and avoiding the influence of the trigger data stored in each thread sub-module on the later parallel execution of quantum computing tasks, thereby improving the accuracy of quantum computing.
[0084] For each routing board, after the global reset operation of the routing board, the ready state of the routing board will switch to the above first ready state. The first ready state is used to indicate that the routing board has completed the global reset operation.
[0085] In the above embodiment, the above step S404 is executed after step S403. In addition, the above step S404 can also be executed simultaneously with step S403. Here, the execution order of the above steps S403 and S404 is not specifically limited.
[0086] In the embodiment of the present application, the host computer sends a first global reset instruction to the parsing module in the central control board, thereby promoting the global reset operations of the central control board and each routing board, avoiding the influence of the data stored in the central control board and the routing board during the previous readiness process and the parallel execution process of quantum computing tasks on the current readiness process and the parallel execution process of quantum computing tasks, improving the accuracy of the current readiness process of the quantum computing measurement and control system, and thus ensuring the accuracy of the later parallel execution of quantum computing tasks.
[0087] Step S405, each routing board sends a third global reset instruction to the lower-layer board connected to it according to the received second global reset instruction.
[0088] In this step, for each routing board card, when the routing board card receives the above-mentioned second global reset instruction, it can also send a third global reset instruction to the lower-layer board card connected to it communicatively, and the third global reset instruction is used to instruct the lower-layer board card to perform a global reset operation.
[0089] In the embodiment of the present application, the above-mentioned step S405 can be executed simultaneously with the above-mentioned step S404.
[0090] Step S406, each lower-layer board card performs a global reset operation according to the received third global reset instruction, and sends a first ready signal to the routing board card connected to it communicatively.
[0091] In this step, for each lower-layer board card, when the lower-layer board card receives the third global reset instruction sent by the routing board card connected to it communicatively, the lower-layer board card can perform a global reset operation according to the third global reset instruction. After completing the global reset operation, the lower-layer board card can send a first ready signal to the routing board card connected to it communicatively.
[0092] In an optional embodiment, during the parallel execution of quantum computing tasks, the above-mentioned lower-layer board card is used to generate pulse signals required for the parallel execution of quantum computing tasks. For example, flux modulation signals, pulse modulation signals, etc. required for qubits on a quantum chip. Therefore, after the quantum computing measurement and control system is powered on, for each lower-layer board card, the lower-layer board card may store synchronization pulses generated during the previous ready process, as well as pulse signals generated during the parallel execution of quantum computing tasks. Therefore, during the global reset operation of the lower-layer board card, the lower-layer board card can delete the synchronization pulses and pulse signals stored by itself.
[0093] In the embodiment of the present application, before and after the above-mentioned lower-layer board card performs a global reset operation, the ready state corresponding to the lower-layer board card is different. That is, after the lower-layer board card performs a global reset operation, the current ready state of the lower-layer board card will be switched. Here, the ready state before and after the switching of the lower-layer board card is not specifically described.
[0094] Compared with the related art in which the ready signal sent by the lower-layer board card to the routing board card carries the current ready state of the lower-layer board card, the above-mentioned first ready signal does not carry the current ready state of the lower-layer board card, which effectively reduces the data volume of the first ready signal, improves the transmission rate of the first ready signal, thereby shortening the signal transmission duration during the ready process of the quantum computing measurement and control system, and further improving the ready efficiency of the quantum computing measurement and control system.
[0095] Step S407, after each routing board card receives the first ready signal, it sends a first ready instruction to the thread module.
[0096] In this step, for each routing board, when the routing board receives the first ready signal sent by the lower-layer board to which it is communicatively connected, the ready state of the routing board will switch from the above-mentioned first ready state to the above-mentioned second ready state. At this time, the routing board can send a first ready instruction to the thread module.
[0097] Through the above steps S405 - S407, after receiving the above-mentioned second global reset instruction, in addition to performing a global reset operation itself, the routing board can also trigger the global reset operation of the lower-layer board, thereby avoiding the impact of the data stored in the lower-layer board generated during the previous ready process and the quantum computing task parallel process on the current ready process and the quantum computing task parallel execution process, improving the accuracy of the current ready process of the quantum computing measurement and control system, and thus ensuring the accuracy of the subsequent parallel execution of the quantum computing task.
[0098] Step S408, if the thread module receives the first ready instructions sent by all routing boards in the waiting ready state, it will switch to the synchronous calibration state.
[0099] Step S409, in the synchronous calibration state, the thread module generates a first synchronous pulse and a trigger signal corresponding to the first synchronous pulse, and sends the trigger signal to each routing board.
[0100] Step S410, each routing board generates a second synchronous pulse according to the received trigger signal.
[0101] The above steps S408 - S410 are the same as the above steps S202 - S204.
[0102] In an optional embodiment, according to the above Figure 4 shown method, the embodiment of the present application also provides a system ready method. As Figure 5 shown, Figure 5 is the third process schematic diagram of the system ready method provided by the embodiment of the present application. The following steps are added to the method shown in Figure 5 i.e., steps S411 - S412.
[0103] Step S411, each routing board generates a synchronization signal and a synchronization instruction according to the received trigger signal, and sends the synchronization signal and the synchronization instruction to the lower-layer board to which it is communicatively connected.
[0104] In this step, for each routing board, when the routing board receives the trigger signal sent by the above-mentioned thread module, the routing board can generate corresponding synchronization signal and synchronization instruction according to the trigger signal. The routing board can send the synchronization signal and the synchronization instruction to the lower-layer board to which it is communicatively connected.
[0105] In an optional embodiment, the above synchronization signal and synchronization instruction are sent to the lower-layer board through different transmission links.
[0106] Step S412: Each lower-layer board generates a third synchronization pulse according to the received synchronization signal and synchronization instruction.
[0107] In this step, for each lower-layer board, when the lower-layer board receives the above synchronization signal and synchronization instruction, it can determine that it needs to generate a synchronization pulse according to the synchronization instruction. At this time, the lower-layer board can generate a third synchronization pulse according to the synchronization signal.
[0108] In the embodiment of the present application, since the above synchronization signal and synchronization instruction are generated according to the above trigger signal, and the above third synchronization pulse is generated according to the synchronization signal, the third synchronization pulse can match the above first synchronization pulse and second synchronization pulse, that is, the periods corresponding to the first synchronization pulse, the second synchronization pulse, and the third synchronization pulse can be the same.
[0109] In the embodiment of the present application, the routing board can prompt the lower-layer board to generate a third synchronization pulse by sending the above synchronization signal and synchronization instruction to the lower-layer board communicatively connected to it, thereby ensuring the signal synchronization among the lower-layer board, the routing board, and the central control board during the parallel execution of the quantum computing task, and providing guarantee for the parallel execution of the quantum computing task.
[0110] In an optional embodiment, according to the above Figure 5 shown method, the embodiment of the present application also provides a system readiness method. As Figure 6 shown, Figure 6 This is the fourth signaling diagram of the system readiness method provided by the embodiment of the present application. The method includes the following steps, namely step S413-step S415.
[0111] Step S413: Each lower-layer board sends a second readiness signal to the lower-layer board communicatively connected to it.
[0112] In this step, for each lower-layer board, after generating the above third synchronization pulse, the lower-layer board can send a second readiness signal to the lower-layer board communicatively connected to it.
[0113] In the embodiment of the present application, when the lower-layer board generates the above third synchronization pulse, the readiness state of the lower-layer board will be switched. At this time, the lower-layer board completes the preparation process and enters the working state.
[0114] Step S414: Each routing board sends a second readiness instruction to the thread module according to the received second readiness signal.
[0115] In this step, for each routing board, when the routing board receives the second ready signal sent by the lower-layer board, the routing board completes the ready process. At this time, the ready state of the routing board can be switched from the above-mentioned second ready state to the above-mentioned third ready state, that is, the working state. At this time, the routing board will send a second ready instruction to the thread module.
[0116] Step S415, if the thread module receives the second ready instructions sent by all routing boards in the synchronous calibration state, it will switch to the working state.
[0117] In this step, in the above-mentioned synchronous calibration state, if the above-mentioned thread module receives the second ready states sent by all routing boards, the thread module will complete the ready process. At this time, the thread module will switch from the above-mentioned synchronous calibration state to the working state.
[0118] In the embodiments of the present application, after the lower-layer board generates the above-mentioned third synchronous pulse, by sending a second ready signal to the routing board, and the routing board sends a second ready instruction to the thread module, the routing board and the central control board can be switched to the working state respectively, laying a foundation for the parallel execution of subsequent quantum computing tasks.
[0119] In an optional embodiment, according to the above Figure 6 shown method, the embodiments of the present application also provide a system ready method. As Figure 7 shown, Figure 7 is the fifth signaling diagram of the system ready method provided by the embodiments of the present application. This method includes the following steps, that is, step S416 - step S417.
[0120] Step S416, the thread module feeds back a global reset response to the first global reset instruction to the host computer.
[0121] In this step, after the thread module switches to the working state, it can generate a response instruction to the above-mentioned first global reset instruction, that is, a global reset response. The thread module can feed back this global reset response to the above-mentioned host computer.
[0122] Step S417, the host computer receives the global reset response.
[0123] In this step, when there are no abnormalities in the network environment, transmission link, etc. between the host computer and the central control board, the above-mentioned global reset response can be normally transmitted to the host computer. At this time, the host computer can receive this global reset response.
[0124] In the embodiments of the present application, after receiving the global reset response command, the host computer can determine that the entire quantum computing measurement and control system has completed the readiness process. At this time, the quantum computing measurement and control system can trigger the generation of pulse signals required for parallel execution of quantum computing tasks.
[0125] In an optional embodiment, according to the Figure 7 method shown above, the embodiments of the present application also provide a system readiness method. As Figure 8 shown, Figure 8 This is the sixth signaling diagram of the system readiness method provided by the embodiments of the present application. The method includes the following steps, namely step S418 - step S421.
[0126] Step S418, if the host computer does not receive the global reset response command within the preset time period, it sends a first abnormal reset instruction to the parsing module.
[0127] In the embodiments of the present application, affected by factors such as the network environment and transmission link, abnormalities may occur during the readiness process of the above-mentioned quantum computing measurement and control system. For example, the above-mentioned central control board does not receive all the first readiness instructions or second readiness instructions, which will cause the host computer to be unable to receive the above-mentioned global reset response command or the reception of the above-mentioned global reset response command times out.
[0128] The host computer can detect in real time whether it has received the above-mentioned global reset response command. If the host computer does not receive the global reset response command within the preset time period after sending the above-mentioned first global reset instruction, the host computer can trigger an abnormal reset of the central control board. That is, the host computer can send a first abnormal reset instruction to the parsing module in the central control board.
[0129] The above-mentioned preset time period can be set according to the historical readiness time of the quantum computing measurement and control system or user experience, etc. Here, no specific limitation is made on the above-mentioned preset time period.
[0130] Step S419, based on the received first abnormal reset instruction, the parsing module sends an abnormal reset signal to the thread module and sends a second abnormal reset instruction to each routing board.
[0131] In this step, after receiving the first abnormal reset instruction sent by the host computer, the above-mentioned parsing module can determine that an abnormal reset operation needs to be performed. At this time, the parsing module can send an abnormal reset signal to the thread module and send a second abnormal reset instruction to each routing board respectively.
[0132] Step S420, the thread module performs an abnormal reset operation according to the received abnormal reset signal.
[0133] In this step, when the thread module receives the exception reset signal sent by the parsing module, it can perform an exception reset operation. The exception reset operation of the thread module can be specifically expressed as: deleting the trigger data stored in each thread sub-module in the thread module and retaining the synchronization pulse stored in the thread module.
[0134] Step S421: Each routing board card performs an exception reset operation according to the received second exception reset instruction.
[0135] In this step, for each routing board card, after receiving the above-mentioned second exception reset instruction, the routing board card can perform an exception reset operation. The exception reset operation of the routing board card can be specifically expressed as: deleting the trigger data stored in each thread sub-module in the routing board card and retaining the synchronization pulse stored in the routing board card.
[0136] Through the above steps S418 - S421, when the host computer does not receive the above-mentioned global reset response within the preset time period, by issuing the above-mentioned first exception reset instruction, it can prompt the central control board card, the routing board card, and the lower-layer board card to perform exception reset operations in sequence, thereby avoiding the impact of abnormal phenomena on the quantum computing measurement and control system.
[0137] Based on the same inventive concept, according to the system readiness method provided in the embodiment of the present application, the embodiment of the present application also provides a quantum computing measurement and control system. As Figure 9 shown, Figure 9 is a schematic structural diagram of a quantum computing measurement and control system provided in an embodiment of the present application. The quantum computing measurement and control system includes a central control board card 901 and multiple routing board cards 902. The central control board card 901 includes a thread module 903. The thread module is communicatively connected to each routing board card 902 through different transmission links, and the signal transmission delay error between each transmission link is less than a preset error threshold;
[0138] The above-mentioned routing board card 902 is used to send a first readiness instruction to the thread module 903;
[0139] The above-mentioned thread module 903 is used to switch to the synchronization calibration state if it receives the first readiness instructions sent by all routing board cards 902 in the waiting readiness state; in the synchronization calibration state, generate a first synchronization pulse and a trigger signal corresponding to the first synchronization pulse, and send the trigger signal to each routing board card 902;
[0140] The above-mentioned routing board card 902 is further used to generate a second synchronization pulse according to the received trigger signal.
[0141] Optionally, the above-mentioned quantum computing measurement and control system may further include a host computer, and the central control board card 901 may further include a parsing module;
[0142] The above host computer is used to send a first global reset instruction to the parsing module;
[0143] The above parsing module is used to send a global reset signal to the thread module 903 and send a second global reset instruction to each routing board 902 according to the received first global reset instruction;
[0144] The above thread module 903 can also be used to perform a global reset operation based on the global reset signal and switch to the waiting ready state if the global reset signal is received in the idle state;
[0145] The above routing board 902 can also be used to perform a global reset operation according to the received second global reset instruction.
[0146] Optionally, the above quantum computing measurement and control system may further include multiple lower-layer boards, and the lower-layer boards are in communication connection with the routing board 902 and correspond one by one;
[0147] The above routing board 902 can also be used to send a third global reset instruction to the lower-layer board in communication connection according to the received second global reset instruction;
[0148] The above lower-layer board can also be used to perform a global reset operation according to the received third global reset instruction and send a first ready signal to the routing board 902 in communication connection;
[0149] The above routing board 902 can also be used to execute the step of sending a first ready instruction to the thread module 903 after receiving the first ready signal.
[0150] Optionally, the above quantum computing measurement and control system may further include multiple lower-layer boards, and the lower-layer boards are in communication connection with the routing board 902 and correspond one by one;
[0151] The above routing board 902 can also be used to generate a synchronization signal and a synchronization instruction according to the received trigger signal and send the synchronization signal and the synchronization instruction to the lower-layer board in communication connection;
[0152] The above lower-layer board can also be used to generate a third synchronization pulse according to the received synchronization signal and synchronization instruction.
[0153] Optionally, the above lower-layer board can also be used to send a second ready signal to the lower-layer board in communication connection after generating the third synchronization pulse;
[0154] The above routing board 902 can also be used to send a second ready instruction to the thread module 903 according to the received second ready signal;
[0155] The above thread module 903 can also be used to switch to the working state if the second ready instructions sent by all the routing boards 902 are received in the synchronous calibration state.
[0156] Optionally, the above thread module 903 can also be used to feedback a global reset response command for the first global reset instruction to the host computer after the thread module 903 switches to the working state;
[0157] The above host computer can also be used to receive the global reset response command.
[0158] Optionally, the above host computer can also be used to send a first abnormal reset instruction to the parsing module if the global reset response command is not received within a preset time period;
[0159] The above parsing module can also be used to send an abnormal reset signal to the thread module 903 and send a second abnormal reset instruction to each routing board 902 based on the received first abnormal reset instruction;
[0160] The above thread module 903 can also be used to perform an abnormal reset operation according to the received abnormal reset signal;
[0161] The above routing board 902 can also be used to perform an abnormal reset operation according to the received second abnormal reset instruction.
[0162] Through the quantum computing measurement and control system provided by the embodiments of the present application, after each routing board in the quantum computing measurement and control system sends a first ready instruction to the thread module in the central control board, if the thread module receives all the first ready instructions in the waiting ready state, it switches to the synchronous calibration state. The thread module generates a first synchronous pulse and a trigger signal corresponding to the first synchronous pulse in the synchronous calibration state, and sends the trigger signal to each routing board, so that each routing board generates a second synchronous pulse according to the received trigger signal.
[0163] Compared with the related technology, through the improvement of the hardware link, the signal transmission delay error between the central control board and the routing board is less than the preset error threshold, that is, the error between the signal transmission delays corresponding to the central control board and each routing board can be ignored. Therefore, in the preparation process of the quantum computing measurement and control system, it is no longer necessary to determine the delay parameters corresponding to each routing board, but directly generate the first synchronous pulse corresponding to the central control board and the second synchronous pulse corresponding to each routing board. This simplifies the preparation process of the quantum computing measurement and control system, shortens the time-consuming of the preparation process, and improves the ready efficiency of the quantum computing measurement and control system.
[0164] In addition, since the second synchronization pulses corresponding to each routing board are all based on the same signal, that is, the triggering signal corresponding to the first synchronization pulse, the second synchronization pulses corresponding to each routing board are matched. Moreover, the first synchronization pulse and the second synchronization pulse are also matched, which effectively ensures the signal synchronization between the routing boards and the signal synchronization between the central control board and the routing boards.
[0165] Based on the same inventive concept, according to the system readiness method provided in the embodiment of the present application above, the embodiment of the present application further provides a quantum computer, and the quantum computer includes the above-mentioned quantum computing measurement and control system, and when the quantum computer measurement and control system is executed, the method steps of any of the above system readiness are realized.
[0166] Based on the same inventive concept, according to the system readiness method provided in the embodiment of the present application above, the embodiment of the present application further provides a computer-readable storage medium, and a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of any of the above system readiness methods are realized.
[0167] Based on the same inventive concept, according to the system readiness method provided in the embodiment of the present application above, the embodiment of the present application further provides a computer program product including instructions, and when it runs on a computer, it causes the computer to execute any of the system readiness methods in the above embodiments.
[0168] 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 described in 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 computer-readable storage medium. 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 available media integrated. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid-state disk (SSD)).
[0169] 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 terms "comprising", "including" or any other variant thereof are intended to cover non-exclusive inclusion, such that a process, method, article or device comprising 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 "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the element.
[0170] Each embodiment in this specification is described in a related manner. For the same and similar parts among the embodiments, reference can be made to each other. Each embodiment focuses on the differences from other embodiments. In particular, for embodiments such as quantum computing measurement and control systems, quantum computers, computer-readable storage media, and computer program products, since they are basically similar to the method embodiments, the description is relatively simple, and reference can be made to the corresponding parts of the method embodiments for the relevant content.
[0171] 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 modification, equivalent replacement, improvement, 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 system readiness method, characterized in that, Applied to a quantum computing measurement and control system, the quantum computing measurement and control system includes a central control board and multiple routing boards. The central control board includes a thread module. The thread module is communicatively connected to each routing board through different transmission links. The signal transmission delay error between each transmission link is less than a preset error threshold. The method includes: Each routing board sends a first ready instruction to the thread module; If the thread module receives the first ready instructions sent by all routing boards in the waiting ready state, it switches to the synchronous calibration state; In the synchronous calibration state, the thread module generates a first synchronous pulse and a trigger signal corresponding to the first synchronous pulse, and sends the trigger signal to each routing board; Each routing board generates a second synchronous pulse according to the received trigger signal.
2. The method according to claim 1, wherein The quantum computing measurement and control system further includes a host computer, and the central control board further includes an analysis module; The method further includes: The host computer sends a first global reset instruction to the analysis module; The analysis module sends a global reset signal to the thread module and a second global reset instruction to each routing board according to the received first global reset instruction; If the thread module receives the global reset signal in the idle state, it performs a global reset operation based on the global reset signal and switches to the waiting ready state; Each routing board performs a global reset operation according to the received second global reset instruction.
3. The method according to claim 2, wherein The quantum computing measurement and control system further includes multiple lower-level boards, and the lower-level boards are communicatively connected to the routing boards and are in one-to-one correspondence; The method further includes: Each routing board sends a third global reset instruction to the communicatively connected lower-level board according to the received second global reset instruction; Each lower-level board performs a global reset operation according to the received third global reset instruction and sends a first ready signal to the communicatively connected routing board; After each routing board receives the first ready signal, it executes the step of sending the first ready instruction to the thread module.
4. The method according to claim 1, wherein The quantum computing measurement and control system further includes multiple lower-level boards, and the lower-level boards are communicatively connected to the routing boards and are in one-to-one correspondence; The method further includes: Each routing board generates a synchronization signal and a synchronization instruction according to the received trigger signal, and sends the synchronization signal and the synchronization instruction to the communicatively connected lower-level board; Each lower-level board generates a third synchronous pulse according to the received synchronization signal and synchronization instruction.
5. The method according to claim 4, wherein After generating the third synchronous pulse, the method further includes: Each lower-level board sends a second ready signal to the communicatively connected lower-level board; Each routing board sends a second ready instruction to the thread module according to the received second ready signal; If the thread module receives the second ready instructions sent by all routing boards in the synchronous calibration state, it switches to the working state.
6. The method according to claim 2 or 5, characterized in that After the thread module switches to the working state, the method further includes: The thread module feeds back a global reset response order for the first global reset instruction to the host computer; The host computer receives the global reset response order.
7. The method according to claim 6, wherein The method further includes: If the host computer does not receive the global reset response within the preset time period, it sends a first abnormal reset instruction to the parsing module; Based on the received first abnormal reset instruction, the parsing module sends an abnormal reset signal to the thread module and sends a second abnormal reset instruction to each routing board; The thread module performs an abnormal reset operation according to the received abnormal reset signal; Each routing board performs an abnormal reset operation according to the received second abnormal reset instruction.
8. A quantum computing measurement and control system, characterized in that, The quantum computing measurement and control system includes a central control board and multiple routing boards. The central control board includes a thread module. The thread module is communicatively connected to each routing board through different transmission links, and the signal transmission delay error between each transmission link is less than a preset error threshold; The routing board is used to send a first ready instruction to the thread module; The thread module is used to switch to the synchronous calibration state if it receives the first ready instructions sent by all routing boards in the waiting ready state; In the synchronous calibration state, a first synchronous pulse and a trigger signal corresponding to the first synchronous pulse are generated, and the trigger signal is sent to each routing board; The routing board is further used to generate a second synchronous pulse according to the received trigger signal.
9. The quantum computing measurement and control system according to claim 8, wherein, The quantum computing measurement and control system further includes a host computer, and the central control board further includes a parsing module; The host computer is used to send a first global reset instruction to the parsing module; The parsing module is used to send a global reset signal to the thread module and send a second global reset instruction to each routing board according to the received first global reset instruction; The thread module is further used to perform a global reset operation based on the global reset signal and switch to the waiting ready state if it receives the global reset signal in the idle state; The routing board is further used to perform a global reset operation according to the received second global reset instruction.
10. The quantum computing measurement and control system according to claim 9, wherein The quantum computing measurement and control system further includes multiple lower-level boards, and the lower-level boards are communicatively connected to the routing boards and are in one-to-one correspondence; The routing board is further used to send a third global reset instruction to the communicatively connected lower-level board according to the received second global reset instruction; The lower-level board is further used to perform a global reset operation according to the received third global reset instruction and send a first ready signal to the communicatively connected routing board; The routing board is further used to execute the step of sending a first ready instruction to the thread module after receiving the first ready signal.
11. The quantum computing measurement and control system according to claim 8, wherein The quantum computing measurement and control system further includes multiple lower-level boards, and the lower-level boards are communicatively connected to the routing boards and are in one-to-one correspondence; The routing board is further used to generate a synchronization signal and a synchronization instruction according to the received trigger signal and send the synchronization signal and the synchronization instruction to the communicatively connected lower-level board; The lower-level board is further used to generate a third synchronous pulse according to the received synchronization signal and synchronization instruction.
12. The quantum computing measurement and control system according to claim 11, wherein The lower-level board is further used to send a second ready signal to the communicatively connected lower-level board after generating the third synchronous pulse; The routing board is further configured to send a second ready instruction to the thread module according to the received second ready signal; The thread module is further configured to switch to the working state if it receives the second ready instructions sent by all routing boards in the synchronous calibration state.
13. The quantum computing measurement and control system according to claim 9 or 12, characterized in that The thread module is further configured to feedback a global reset response to the host computer for the first global reset instruction after the thread module switches to the working state; The host computer is further configured to receive the global reset response.
14. The quantum computing measurement and control system according to claim 13, wherein The host computer is further configured to send a first abnormal reset instruction to the parsing module if it does not receive the global reset response within a preset duration; The parsing module is further configured to send an abnormal reset signal to the thread module and send a second abnormal reset instruction to each routing board based on the received first abnormal reset instruction; The thread module is further configured to perform an abnormal reset operation according to the received abnormal reset signal; The routing board is further configured to perform an abnormal reset operation according to the received second abnormal reset instruction.