Quantum computer and method of execution thereof
Patent Information
- Application Number
- CN202311632235.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-30
- Publication Date
- 2026-10-20
- Estimated Expiration
- 2043-11-30
AI Technical Summary
当量子计算机搭载大规模的量子芯片时,必然会面临多个量子计算任务同时执行的情况,如果还是利用这种量子计算操作系统或云端与量子计算测控系统直接通信的架构来执行量子计算任务,会严重影响量子计算任务的执行效率
[0028]本发明提出的量子计算机的执行方法,在对量子芯片中第一量子比特执行校准任务时,量子计算测控系统将包含所述第一量子比特需要执行校准任务的第一信息输出给云服务对接系统以及量子计算操作系统或云端。所述云服务对接系统在接收到所述第一信息时,将所有需要利用所述第一量子比特的量子计算任务均暂停直至校准任务执行完成。通过本申请的方案,通过在量子计算机执行校准任务时,将利用相关资源的量子计算任务暂停处理,可有效避免由于校准任务中量子比特相关参数的变更导致相关量子计算任务的执行出现错误的问题,在一定程度上提高了量子计算机的精确性。
Smart Images

Figure CN120069104B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of quantum computing technology, and in particular to a quantum computer and its execution method. Background Technology
[0002] A quantum computer is a physical device that performs high-speed mathematical and logical operations, stores and processes quantum information, following the laws of quantum mechanics. The main characteristics of quantum computers include high operating speed, strong information processing capabilities, and a wide range of applications. Compared to conventional computers, the greater the amount of information processed, the more advantageous it is for quantum computers to perform calculations, and the more accurately the calculations can be ensured.
[0003] Most existing quantum computers employ an architecture combining a quantum computing operating system or cloud platform, a quantum computing control system, and quantum chips to achieve quantum computing functionality. When quantum chips are small-scale, such as those with two or four qubits, this existing quantum computer architecture is sufficient for quantum computing. However, with the continuous advancement of quantum computing technologies, the number of qubits on quantum chips is increasing year by year. It is foreseeable that larger-scale quantum chips will emerge, containing even more qubits, and quantum computers will incorporate these larger-scale chips. When quantum computers are equipped with large-scale quantum chips, they will inevitably face situations where multiple quantum computing tasks are executed simultaneously. If the current architecture, which relies on direct communication between the quantum computing operating system or cloud platform and the quantum computing control system, is still used to execute these tasks, the efficiency of the quantum computing tasks will be severely affected.
[0004] It should be noted that the information disclosed in the background section of this application is intended only to enhance the understanding of the general background of this application, and should not be construed as an admission or in any way implying that the information constitutes prior art known to those skilled in the art. Summary of the Invention
[0005] The purpose of this invention is to provide a quantum computer and its execution method to improve the accuracy of the quantum computer.
[0006] To address the above technical problems, this invention proposes a method for executing quantum computer functions, comprising:
[0007] When performing a calibration task on the first qubit in the quantum chip, the quantum computing measurement and control system will output the first information containing the first qubit that needs to perform a calibration task to the cloud service docking system and the quantum computing operating system or cloud.
[0008] Upon receiving the first information, the cloud service docking system suspends all quantum computing tasks that require the use of the first qubit until the calibration task is completed.
[0009] Optionally, the cloud service docking system includes a core control module and multiple task compilation modules. The core control module is connected to the quantum computing operating system or the cloud for communication and is used to output the quantum computing task to the task compilation module when receiving a quantum computing task. Each task compilation module compiles a corresponding quantum computing task and outputs the compiled quantum computing task to the quantum computing measurement and control system.
[0010] When the core control module receives the first information, it acquires all target quantum computing tasks that are being queued in the core control module. The target quantum computing tasks are quantum computing tasks that require the participation of the first qubit.
[0011] The core control module pauses all the target quantum computing tasks until the calibration task is completed.
[0012] Optionally, the core control module has a compilation queue and a task queue; the compilation queue is used to store the quantum computing tasks in the task compilation module and their corresponding states, wherein each storage location in the compilation queue is assigned a first number that corresponds one-to-one with the task compilation module; the task queue is used to store the quantum computing tasks received by the core control module and their corresponding states, the states including task in queue, task being executed, task execution failed, task execution completed, task being compiled, and task compilation completed;
[0013] When the core control module receives the first information, it sets the status of all target quantum computing tasks to be queued until the calibration task is completed.
[0014] Optionally, when the core control module receives the first information, if there is a target quantum computing task in the compilation queue, the target quantum computing task corresponding to the task compilation module is returned to the core control module, and the target quantum computing task in the compilation queue is moved to the task queue. The status of the target quantum computing task is updated to "task in queue" until the calibration task is completed.
[0015] Optionally, the cloud service integration system further includes a data storage module;
[0016] When the core control module receives the first information, if there is a target quantum computing task in the quantum computing measurement and control system that has not yet been completed, the core control module updates the status of the corresponding target quantum computing task in the task queue to "task in queue" and outputs a clear command to the data storage module.
[0017] Upon receiving the clearing instruction, the data storage module clears the target quantum computing task stored internally and outputs the clearing instruction to the quantum computing measurement and control system to clear the target quantum computing task in the quantum computing measurement and control system.
[0018] Optionally, the method further includes:
[0019] After the calibration task is completed, the quantum computing measurement and control system outputs a second message containing the completion of the calibration task to the core control module;
[0020] When the core control module receives the second information, it assigns the target quantum computing task to the task compilation module for recompilation.
[0021] Optionally, the method further includes:
[0022] Before the core control module receives the second information, if the core control module receives a first quantum computing task from the quantum computing operating system or the cloud, it determines whether the first quantum computing task requires the first qubit to participate in the execution.
[0023] If so, the first quantum computing task will be paused until the core control module receives the second information.
[0024] Optionally, when the quantum computing measurement and control system determines that the first qubit has experienced parameter drift, it performs a calibration task on the first qubit.
[0025] Alternatively, the quantum computing measurement and control system receives a timing calibration task to perform a calibration task on the first qubit.
[0026] Based on the same inventive concept, the present invention also proposes a quantum computer that utilizes the execution method described in any of the above features.
[0027] Compared with the prior art, the present invention has the following beneficial effects:
[0028] The quantum computing execution method proposed in this invention involves a quantum computing measurement and control system outputting first information, including the requirement for calibration of the first qubit, to a cloud service interface system and a quantum computing operating system or cloud during the calibration process. Upon receiving this first information, the cloud service interface system suspends all quantum computing tasks utilizing the first qubit until the calibration task is completed. By suspending quantum computing tasks utilizing relevant resources during calibration, this method effectively avoids errors in the execution of related quantum computing tasks due to changes in qubit parameters during calibration, thus improving the accuracy of the quantum computer to a certain extent.
[0029] The quantum computer proposed in this invention belongs to the same inventive concept as the execution method of the quantum computer, and therefore has the same beneficial effects, which will not be elaborated here. Attached Figure Description
[0030] Figure 1 This is a flowchart illustrating the execution method of the quantum computer proposed in an embodiment of the present invention;
[0031] Figure 2 This is a simplified structural diagram of a quantum computer proposed in an embodiment of the present invention. Detailed Implementation
[0032] The specific embodiments of the present invention will now be described in more detail with reference to the accompanying drawings. The advantages and features of the present invention will become clearer from the following description and claims. It should be noted that the drawings are all in a very simplified form and use non-precise proportions, and are only used to facilitate and clarify the illustration of the embodiments of the present invention.
[0033] In the description of this invention, it should be understood that the terms "center", "upper", "lower", "left", "right", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this invention.
[0034] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means at least two, such as two, three, etc., unless otherwise explicitly specified.
[0035] Please refer to Figure 1 This invention proposes a method for executing quantum computer functions, comprising:
[0036] S100: When performing a calibration task on the first qubit in the quantum chip, the quantum computing measurement and control system will output the first information containing the first qubit that needs to perform a calibration task to the cloud service docking system and the quantum computing operating system or cloud.
[0037] S200: When the cloud service docking system receives the first information, it suspends all quantum computing tasks that require the use of the first quantum bit until the calibration task is completed.
[0038] Unlike existing technologies, the quantum computer execution method proposed in this invention, when performing a calibration task on the first qubit in a quantum chip, outputs first information containing the requirement for calibration of the first qubit to the cloud service interface system and the quantum computing operating system or cloud. Upon receiving this first information, the cloud service interface system suspends all quantum computing tasks requiring the first qubit until the calibration task is completed. By suspending quantum computing tasks utilizing relevant resources during calibration, this invention effectively avoids errors in the execution of related quantum computing tasks due to changes in qubit parameters during calibration, thus improving the accuracy of the quantum computer to a certain extent.
[0039] Those skilled in the art will understand that the parameters of qubits in a quantum chip fluctuate with the environment. Ignoring these fluctuations can lead to a decrease in the fidelity of quantum logic gate operations and affect readout efficiency. Therefore, the parameters of a quantum chip, especially the frequency parameters of the qubits, need to be calibrated periodically to ensure long-term stable performance and optimal execution of quantum algorithms. Thus, during the use of a quantum computer, it is inevitable to periodically or in real-time monitor the parameters of each qubit in the quantum chip for any abnormalities. Once an abnormality occurs, a calibration task must be initiated to restore the abnormal parameters to their normal values. This calibration task can be timed or real-time, without limitation. In summary, if the calibration task updates some parameters of the qubits, especially waveform parameters, and the quantum computing task is executed according to the original parameters without considering the calibration task, the final result will inevitably be incorrect. Therefore, the solution proposed in this application considers the possibility of calibration tasks. When the quantum computer performs a calibration task, the quantum computing tasks utilizing relevant resources are paused. This effectively avoids errors in the execution of related quantum computing tasks due to changes in qubit parameters during the calibration task, thus improving the accuracy of the quantum computer to a certain extent. According to the solution of this application, if a calibration task exists, then those related quantum computing tasks that have already been compiled should not be executed if they have not yet been executed. Instead, they should be recompiled using the parameters obtained after the calibration task is completed, and then executed.
[0040] It should be noted that in this embodiment, the first qubit refers to all qubits in the quantum chip that need to perform calibration tasks, and does not specifically refer to a single qubit, nor does it limit the number of qubits it contains. If two qubits need to perform calibration tasks, then the first qubit contains two qubits, which will not be elaborated here.
[0041] Please refer to Figure 2The quantum computer mentioned in this embodiment includes a quantum computer operating system or cloud platform, a cloud service docking system, and a quantum computing measurement and control system. The quantum computer operating system or cloud platform receives quantum computing tasks and / or query tasks and outputs these tasks to the cloud service docking system. The cloud service docking system, upon receiving a quantum computing task, compiles the task and outputs the compiled task to the quantum computing measurement and control system. It also feeds back corresponding information to the quantum computer operating system or cloud platform upon receiving a query task. The quantum computing measurement and control system, upon receiving a compiled quantum computing task, generates a corresponding task thread and performs control and measurement operations on the quantum chip according to the task thread to execute the corresponding quantum computing task. The quantum computer architecture including a cloud service docking system proposed in this embodiment can adapt to the simultaneous execution of multiple quantum computing tasks on a large scale of quantum chips, thereby effectively improving the efficiency of the quantum computer.
[0042] As those skilled in the art will understand, the importance of an operating system to a computer is self-evident, especially for classical computers and even more so for quantum computing technology, which is still in its early stages of development. The quantum computer's operating system determines its functionality, computational efficiency, and stability, thus determining its practicality. The quantum computer's operating system is the tool that connects the terminal and the core component of the quantum computer—the quantum chip. Users can input their desired quantum computing tasks or query tasks through the quantum computer's operating system or via the cloud (which may be a cloud platform).
[0043] In this embodiment, the query task includes, but is not limited to, data related to the quantum computing task and data from the quantum chip. For example, a user may want to query a certain experimental parameter during the execution of the current quantum computing task, or query the operating point of a certain qubit in the current quantum chip, through the quantum computer operating system or the cloud. These details will not be elaborated further. It is understood that the quantum computer operating system or cloud should be equipped with a corresponding query interface for user operation and a corresponding display interface to show the query results.
[0044] In this embodiment, when the cloud service docking system receives a query task or a quantum computing task, it can use a synchronous processing scheme. This synchronous scheme means that when the quantum computer faces two tasks, it can execute them sequentially according to a pre-defined order. For example, if the quantum computer is executing a quantum computing task that requires 10 experiments related to qubit manipulation, and a user sends a second quantum computing task during this process, the cloud service docking system will not receive feedback from the quantum computing monitoring and control system indicating that the current quantum computing task has been completed. The second quantum computing task will then queue in the cloud service docking system until it receives a feedback instruction from the quantum computing monitoring and control system confirming the completion of the current quantum computing task. Only then will the cloud service docking system compile the second quantum computing task and output it to the quantum computing monitoring and control system. Besides using a synchronous scheme, to further improve the execution efficiency of the quantum computer, the cloud service docking system can also use an asynchronous scheme. This asynchronous scheme means that when the quantum computer faces multiple tasks, each task's execution entity is relatively independent, and there is no need to wait for the previous task to complete before executing the next task.
[0045] Furthermore, to achieve an asynchronous solution, this embodiment provides a method for independently configuring each functional module in the cloud service integration system, ensuring that the modules do not interfere with each other and effectively enabling simultaneous task execution. Specifically, in this embodiment, the cloud service integration system includes:
[0046] The core control module, which communicates with the quantum computer's operating system or the cloud, is used to output the quantum computing task to the task compilation module when receiving the quantum computing task.
[0047] Multiple task compilation modules are provided, each of which compiles a corresponding quantum computing task and outputs the compiled quantum computing task to the quantum computing measurement and control system.
[0048] In this embodiment, the core control module of the cloud service docking system serves as the command center. All functional modules of the cloud service docking system are communicatively connected to the core control module. The core control module plays a coordinating role, controlling all functional modules to execute different tasks and continuously collecting feedback from each functional module before proceeding with the next step based on the feedback. In the accompanying drawings of this embodiment, only one task compilation module is shown. It can be understood that the connection method between other task compilation modules and the core control module is the same. By setting up multiple independent task compilation modules, an asynchronous scheme can be implemented. For example, if the cloud service docking system is currently compiling the first quantum computing task, and at this time, the quantum computer operating system or the cloud receives the second quantum computing task and outputs it to the cloud service docking system, since there are still idle task compilation modules, the core control module can directly assign the second quantum computing task to an idle task compilation module for compilation without waiting for the first quantum computing task to complete. It should be noted that each task compilation module can only compile one quantum computing task at a time. In this embodiment, the number of task compilation modules can be determined according to the function of the quantum computing measurement and control system. For example, if the quantum computing measurement and control system supports 5 task threads to be executed simultaneously, then the number of task compilation modules can also be set to 5. Of course, in order to improve the task execution efficiency, the number of task compilation modules can be set to more than 5, for example, 10. There is no limit here, and it can be selected according to actual needs.
[0049] Specifically, in this embodiment, to meet the user's query task, a dedicated functional module for storing and querying relevant information can be set in the cloud service docking system. The core control module is also used to receive the query task. The cloud service docking system further includes:
[0050] The data storage module is used to send back the corresponding information to the core control module when the query task is received.
[0051] In this embodiment, the data storage module is also a functional module, responsible for querying quantum chip data, including but not limited to obtaining configuration parameters of the quantum chip and experimental results of the RB experiment. Furthermore, the data storage module does not conflict with the quantum computing task and can operate independently without system blocking. In other words, by setting up the data storage module, the quantum computer can simultaneously perform quantum computing and query tasks.
[0052] Specifically, in this embodiment, the data storage module includes a storage unit and an information acquisition unit;
[0053] The storage unit stores several pieces of information about the quantum computer;
[0054] The information acquisition unit is used to request relevant information from the quantum computing measurement and control system when the storage unit does not contain the information that the query task needs to query.
[0055] Those skilled in the art will understand that the information stored in the storage unit includes, but is not limited to, various configuration parameters of the quantum chip and various experimental information that has been transmitted back by the quantum computing measurement and control system. The information acquisition unit is mainly used to acquire information that is not present in the storage unit, such as experimental results that have not yet been transmitted back by the quantum computing measurement and control system, etc., which will not be elaborated here.
[0056] Specifically, in this embodiment, the cloud service docking system further includes:
[0057] Multiple data processing modules are provided, each of which is used to acquire execution data of a corresponding quantum computing task during the execution of a quantum computing task by the quantum computing measurement and control system, and feed it back to the core control module.
[0058] It is important to note that each data processing module can only acquire execution data for one corresponding quantum computing task at a time. Those skilled in the art will understand that, in this embodiment, the number of data processing modules can be determined based on the functionality of the quantum computing measurement and control system. For example, if the quantum computing measurement and control system supports the simultaneous execution of five task threads, then to better coordinate with the quantum computing measurement and control system, the task compilation modules can also be set to five. When the core control module receives a feedback instruction indicating the start of execution for a quantum computing task, it outputs instructions to the corresponding data processing module, causing the corresponding data processing module to begin acquiring execution data for the corresponding quantum computing task and, upon completion of the corresponding quantum computing task, to feed back the results to the core control module.
[0059] Specifically, in this embodiment, the core control module has a compilation queue, a data processing queue, and a task queue with a configurable length.
[0060] The compilation queue is used to store the quantum computing tasks and their corresponding states in the task compilation module, wherein each storage location in the compilation queue is assigned a first number that corresponds one-to-one with the task compilation module;
[0061] The data processing queue is used to store the quantum computing tasks in the data processing module and their corresponding states. Each storage location in the data processing queue is assigned a second number that corresponds one-to-one with the data processing module.
[0062] The task queue is used to store the quantum computing tasks received by the core control module and their corresponding states. The states include: task in queue, task being executed, task execution failed, task execution completed, task being compiled, and task compilation completed.
[0063] In this embodiment, the length of the task queue can be set to prevent malicious attacks, such as the quantum computer being infected with a virus and having tasks submitted infinitely through the quantum computer's operating system or the cloud. By setting the length of the task queue, we can effectively improve the security of the quantum computer. Those skilled in the art will understand that the length of the task queue mentioned in this embodiment refers to the number of quantum computing tasks that the task queue can accommodate. For example, we can set the length of the task queue to 50, then the maximum number of quantum computing tasks that the task queue can accommodate is 50.
[0064] Specifically, in this embodiment, when the state of the first quantum computing task in the task queue is "task in queue" and there is an empty position in the compilation queue, the core control module sets the first quantum computing task in the compilation queue and places the first quantum computing task into the task compilation module corresponding to the first number in the compilation queue for compilation processing. At this time, the state of the first quantum computing task is updated to "task in compilation".
[0065] Specifically, in this embodiment, when the state of the first quantum computing task is that the task has been compiled, the core control module receives information from the quantum computing measurement and control system that the first quantum computing task has started execution, and there is an empty position in the data processing queue, the core control module sets the first quantum computing task in the data processing queue and starts working the second numbered data processing module corresponding to the first quantum computing task in the data processing queue. At this time, the state of the first quantum computing task is updated to that the task is being executed.
[0066] Specifically, in this embodiment, when the first quantum computing task has been completed, the data processing module feeds back the execution result of the first quantum computing task to the core control module, and the core control module feeds back the execution result of the first quantum computing task to the quantum computer operating system or the cloud. At this time, the status of the first quantum computing task is updated to task completion or task failure.
[0067] For details, please continue to refer to Figure 2 In this embodiment, the quantum computing measurement and control system includes:
[0068] The resource scheduler is used to generate corresponding task threads when a compiled quantum computing task is received, and then outputs the task threads to the server.
[0069] A server is used to output the received task threads to the quantum control device;
[0070] A quantum control device for performing control and measurement operations on a quantum chip according to the task thread to execute a corresponding quantum computing task.
[0071] Specifically, in this embodiment, as described above in the cloud service docking system, the cloud service docking system includes a core control module and multiple task compilation modules. The core control module is connected to the quantum computing operating system or the cloud for communication and is used to output the quantum computing task to the task compilation module when receiving a quantum computing task. Each task compilation module compiles a corresponding quantum computing task and outputs the compiled quantum computing task to the quantum computing measurement and control system.
[0072] When the core control module receives the first information, that is, when it obtains the feedback instruction from the quantum computing measurement and control system that the first quantum bit needs to perform a calibration task, it obtains all the target quantum computing tasks that are being queued in the core control module. The target quantum computing tasks are the quantum computing tasks that require the participation of the first quantum bit.
[0073] The core control module pauses all the target quantum computing tasks until the calibration task is completed.
[0074] Specifically, in this embodiment, the core control module has a compilation queue and a task queue; the compilation queue is used to store the quantum computing tasks in the task compilation module and their corresponding states, wherein each storage location in the compilation queue is assigned a first number that corresponds one-to-one with the task compilation module; the task queue is used to store the quantum computing tasks received by the core control module and their corresponding states, the states including task in queue, task being executed, task execution failed, task execution completed, task compilation in progress, and task compilation completed;
[0075] When the core control module receives the first information, it sets the status of all target quantum computing tasks to be queued until the calibration task is completed.
[0076] Specifically, in this embodiment, when the core control module receives the first information, if there is a target quantum computing task in the compilation queue, the target quantum computing task corresponding to the task compilation module is returned to the core control module, and the target quantum computing task in the compilation queue is moved to the task queue. The status of the target quantum computing task is updated to "task in queue" until the calibration task is completed.
[0077] Specifically, in this embodiment, the cloud service docking system further includes a data storage module;
[0078] When the core control module receives the first information, if there is a target quantum computing task in the quantum computing measurement and control system that has not yet been completed, the core control module updates the status of the corresponding target quantum computing task in the task queue to "task in queue" and outputs a clear command to the data storage module.
[0079] Upon receiving the clearing instruction, the data storage module clears the target quantum computing task stored internally and outputs the clearing instruction to the quantum computing measurement and control system to clear the target quantum computing task in the quantum computing measurement and control system.
[0080] Specifically, in this embodiment, the method further includes:
[0081] After the calibration task is completed, the quantum computing measurement and control system outputs a second message containing the completion of the calibration task to the core control module;
[0082] When the core control module receives the second information, it assigns the target quantum computing task to the task compilation module for recompilation.
[0083] Specifically, in this embodiment, the method further includes:
[0084] Before the core control module receives the second information, if the core control module receives a first quantum computing task from the quantum computing operating system or the cloud, it determines whether the first quantum computing task requires the first qubit to participate in the execution.
[0085] If so, the first quantum computing task will be paused until the core control module receives the second information.
[0086] Specifically, in this embodiment, when the quantum computing measurement and control system determines that the first quantum bit has experienced parameter drift, it performs a calibration task on the first quantum bit;
[0087] Alternatively, the quantum computing measurement and control system receives a timing calibration task to perform a calibration task on the first qubit.
[0088] Based on the same inventive concept, embodiments of the present invention also propose a quantum computer that utilizes the execution method described in any of the above features.
[0089] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," or "specific example," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments. In addition, those skilled in the art can combine and integrate the different embodiments or examples described in this specification.
[0090] The above are merely preferred embodiments of the present invention and do not constitute any limitation on the present invention. Any equivalent substitutions or modifications made by those skilled in the art to the technical solutions and content disclosed in the present invention without departing from the scope of the present invention shall be deemed to have remained within the protection scope of the present invention.
Claims
1. A method for executing quantum computer commands, characterized in that, include: When performing a calibration task on the first qubit in the quantum chip, the quantum computing measurement and control system will output the first information containing the first qubit that needs to perform a calibration task to the cloud service docking system and the quantum computing operating system or cloud. Upon receiving the first information, the cloud service docking system suspends all quantum computing tasks that require the use of the first quantum bit until the calibration task is completed. The cloud service docking system includes a core control module and a data storage module. The core control module has a task queue, which is used to store the quantum computing tasks received by the core control module and their corresponding states. The states include: task in queue, task being executed, task execution failed, task execution completed, task compilation in progress, and task compilation completed. When the core control module receives the first information, it acquires all target quantum computing tasks that are being queued in the core control module. The target quantum computing tasks are quantum computing tasks that require the participation of the first qubit. The core control module pauses all the target quantum computing tasks until the calibration task is completed; When the core control module receives the first information, if there is a target quantum computing task in the quantum computing measurement and control system that has not yet been completed, the core control module updates the status of the corresponding target quantum computing task in the task queue to "task in queue" and outputs a clear command to the data storage module. Upon receiving the clearing instruction, the data storage module clears the target quantum computing task stored internally and outputs the clearing instruction to the quantum computing measurement and control system to clear the target quantum computing task in the quantum computing measurement and control system.
2. The method as described in claim 1, characterized in that, The cloud service docking system also includes multiple task compilation modules. The core control module is connected to the quantum computing operating system or the cloud for communication and is used to output the quantum computing task to the task compilation module when receiving the quantum computing task. Each task compilation module compiles a corresponding quantum computing task and outputs the compiled quantum computing task to the quantum computing measurement and control system.
3. The method as described in claim 2, characterized in that, The core control module also has a compilation queue; the compilation queue is used to store the quantum computing tasks and their corresponding states in the task compilation module, wherein each storage location in the compilation queue is assigned a first number that corresponds one-to-one with the task compilation module; When the core control module receives the first information, it sets the status of all target quantum computing tasks to be queued until the calibration task is completed.
4. The method as described in claim 3, characterized in that, When the core control module receives the first information, if there is a target quantum computing task in the compilation queue, the target quantum computing task corresponding to the task compilation module is returned to the core control module, and the target quantum computing task in the compilation queue is moved to the task queue. The status of the target quantum computing task is updated to "task in queue" until the calibration task is completed.
5. The method as described in claim 2, characterized in that, The method further includes: After the calibration task is completed, the quantum computing measurement and control system outputs a second message containing the completion of the calibration task to the core control module; When the core control module receives the second information, it assigns the target quantum computing task to the task compilation module for recompilation.
6. The method as described in claim 5, characterized in that, The method further includes: Before the core control module receives the second information, if the core control module receives a first quantum computing task from the quantum computing operating system or the cloud, it determines whether the first quantum computing task requires the first qubit to participate in the execution. If so, the first quantum computing task will be paused until the core control module receives the second information.
7. The method as described in claim 1, characterized in that, When the quantum computing measurement and control system determines that the first qubit has experienced parameter drift, it performs a calibration task on the first qubit. Alternatively, the quantum computing measurement and control system receives a timing calibration task to perform a calibration task on the first qubit.
8. A quantum computer, characterized in that, The execution method according to any one of claims 1-7.
Citation Information
Patent Citations
Multi-task scheduling method and system under quantum-classical hybrid architecture and quantum computer system architecture
CN113010302A
Quantum computer system and task scheduling method
CN114970867A