Quantum computer and execution method thereof

By pausing tasks that require qubit participation in quantum computers until the calibration task is completed, the problem of low multi-task execution efficiency under large-scale quantum chips is solved, and the accuracy of quantum computers is improved.

CN120069104APending Publication Date: 2025-05-30ORIGIN QUANTUM COMPUTING TECH (HEFEI) CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202311632235.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-30
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

When a quantum computer is equipped with a large-scale quantum chip, and multiple quantum computing tasks are executed simultaneously, the execution efficiency of the existing architecture will be affected, making it difficult to ensure the accuracy of the task.

Method used

When the first qubit in the quantum chip performs a calibration task, the quantum computing measurement and control system outputs relevant information to the cloud service docking system, the quantum computing operating system or the cloud. The cloud service docking system suspends all tasks that require the qubit until the calibration task is completed.

Benefits of technology

By pausing the relevant tasks when the quantum computer performs calibration tasks, task execution errors caused by changes in qubit parameters in calibration tasks are effectively avoided, and the accuracy of the quantum computer is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120069104A_ABST
    Figure CN120069104A_ABST
Patent Text Reader

Abstract

The invention discloses a quantum computer and an execution method thereof, and when a calibration task is executed on a first quantum bit in a quantum chip, a quantum computing measurement and control system outputs first information containing the calibration task which needs to be executed by the first quantum bit to a cloud service docking system and a quantum computing operation system or cloud. And when the cloud service docking system receives the first information, suspending all quantum computing tasks needing to utilize the first quantum bit until the execution of a calibration task is completed. According to the scheme provided by the invention, when the quantum computer executes the calibration task, the quantum calculation task using the related resources is paused, so that the problem of execution errors of the related quantum calculation task caused by change of quantum bit related parameters in the calibration task can be effectively avoided; and the accuracy of the quantum computer is improved to a certain extent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of quantum computing, and more particularly to a quantum computer and an execution method thereof. Background Art

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

[0003] Most existing quantum computers adopt the architecture of a quantum computing operating system or cloud, a quantum computing measurement and control system, and a quantum chip to implement the function of quantum computing. When the quantum chip is small-scale, for example, when the number of qubits of the quantum chip is 2 or 4, the architecture of the existing quantum computer can implement the function of quantum computing. With the continuous research and advancement of quantum computing-related technologies, the number of qubits on the quantum chip is also increasing year by year. It can be foreseen that larger-scale quantum chips will appear in the future. At that time, the number of qubits in the quantum chip will be more, and larger-scale quantum chips will also be installed in quantum computers. When a quantum computer is equipped with a large-scale quantum chip, it will inevitably face the situation of multiple quantum computing tasks being executed simultaneously. If the architecture of directly communicating between this quantum computing operating system or cloud and the quantum computing measurement and control system is still used to execute quantum computing tasks, the execution efficiency of the quantum computing tasks will be seriously affected.

[0004] It should be noted that the information disclosed in the background art part of this application is only intended to deepen the understanding of the general background art of this application, and should not be regarded as an admission or any form of suggestion that this information constitutes the prior art known to those skilled in the art. Summary of the Invention

[0005] The purpose of the present invention is to provide a quantum computer and an execution method thereof, which are used to improve the accuracy of the quantum computer.

[0006] To solve the above technical problems, the present invention proposes an execution method for a quantum computer, including:

[0007] When performing a calibration task on a first qubit in a quantum chip, the quantum computing measurement and control system outputs first information including that the first qubit needs to perform the calibration task to a cloud service docking system and a quantum computing operating system or cloud;

[0008] When the cloud service docking system receives the first information, all quantum computing tasks that need to utilize the first qubit are paused 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 communicatively connected to the quantum computing operating system or the cloud, and is configured to output the quantum computing task to the task compilation module when receiving a quantum computing task; each task compilation module respectively compiles and processes 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 obtains all target quantum computing tasks queuing in the core control module, where the target quantum computing task is a quantum computing task that requires 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 and their corresponding states in the task compilation module, where each storage location in the compilation queue is set with a one-to-one corresponding first number with the task compilation module; the task queue is used to store the quantum computing tasks received by the core control module and the corresponding states, and the states include task queuing, task executing, task execution failed, task execution completed, task compiling, task compiled completed;

[0013] When the core control module receives the first information, the states of all target quantum computing tasks are set to task queuing 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 corresponding target quantum computing task in the task compilation module is returned to the core control module, and at the same time, the target quantum computing task in the compilation queue is moved to the task queue, and the state of the target quantum computing task is updated to task queuing until the calibration task is completed.

[0015] Optionally, the cloud service docking system further includes a data storage module;

[0016] When the core control module receives the first piece of information, if there is a target quantum computing task in the quantum computing measurement and control system that has not been completed, the core control module updates the status of the corresponding target quantum computing task in the task queue to "task queuing", and at the same time, the core control module outputs a clearing instruction to the data storage module;

[0017] After 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 piece of information indicating the completion of the calibration task to the core control module;

[0020] When the core control module receives the second piece of information, it allocates the target quantum computing task to the task compilation module for re-compilation processing.

[0021] Optionally, the method further includes:

[0022] Before the core control module receives the second piece of 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 participation of the first qubit in execution;

[0023] If so, the first quantum computing task is paused until the core control module receives the second piece of information.

[0024] Optionally, when the quantum computing measurement and control system determines that the first qubit has parameter drift, a calibration task is performed on the first qubit;

[0025] Or, the quantum computing measurement and control system receives a timed calibration task to perform a calibration task on the first qubit.

[0026] Based on the same inventive concept, the present invention also provides a quantum computer that utilizes the execution method described in any one of the above feature descriptions.

[0027] Compared with the prior art, the present invention has the following beneficial effects:

[0028] The execution method of the quantum computer proposed by the present invention, when performing a calibration task on the first qubit in the quantum chip, the quantum computing measurement and control system outputs the first information including that the first qubit needs to perform the calibration task to the cloud service docking system and the quantum computing operating system or the cloud. When the cloud service docking system receives the first information, it pauses all quantum computing tasks that need to utilize the first qubit until the calibration task is completed. Through the solution of the present application, by pausing the processing of quantum computing tasks that utilize relevant resources when the quantum computer performs the calibration task, it can effectively avoid the problem that the execution of relevant quantum computing tasks is incorrect due to the change of qubit-related parameters in the calibration task, and improve the accuracy of the quantum computer to a certain extent.

[0029] The quantum computer proposed by the present invention belongs to the same inventive concept as the execution method of the quantum computer, and thus has the same beneficial effects, which will not be elaborated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 It is a schematic flowchart of the execution method of the quantum computer proposed by the embodiment of the present invention;

[0031] Figure 2 It is a schematic structural diagram of a quantum computer proposed in the embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0032] The following will describe the specific embodiments of the present invention in more detail with reference to the schematic diagrams. According to the following description and the claims, the advantages and features of the present invention will be clearer. It should be noted that the drawings are all in very simplified forms and use non-precise scales, only for the purpose of facilitating and clearly assisting in explaining the objectives of the embodiments of the present invention.

[0033] In the description of the present invention, it should be understood that the orientation or positional relationship indicated by the terms "center", "upper", "lower", "left", "right", etc. is based on the orientation or positional relationship shown in the drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus cannot be understood as a limitation of the present invention.

[0034] In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include one or more of such features. In the description of the present invention, "a plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.

[0035] Please refer toFigure 1 , an embodiment of the present invention provides an execution method for a quantum computer, including:

[0036] S100: When performing a calibration task on the first qubit in the quantum chip, the quantum computing measurement and control system outputs the first information including that the first qubit needs to perform the calibration task to the cloud service docking system and the quantum computing operating system or the cloud;

[0037] S200: When receiving the first information, the cloud service docking system pauses all quantum computing tasks that need to utilize the first qubit until the calibration task is completed.

[0038] Different from the prior art, in the execution method of the quantum computer proposed by the embodiment of the present invention, when performing a calibration task on the first qubit in the quantum chip, the quantum computing measurement and control system outputs the first information including that the first qubit needs to perform the calibration task to the cloud service docking system and the quantum computing operating system or the cloud. When receiving the first information, the cloud service docking system pauses all quantum computing tasks that need to utilize the first qubit until the calibration task is completed. Through the solution of the present application, by pausing the quantum computing tasks that utilize relevant resources when the quantum computer performs the calibration task, it can effectively avoid the problem that the execution of relevant quantum computing tasks goes wrong due to the change of the qubit-related parameters in the calibration task, and improves the accuracy of the quantum computer to a certain extent.

[0039] Those skilled in the art can understand that the parameters of qubits in a quantum chip will fluctuate with the environment. If this kind of fluctuation is ignored, it will lead to a decrease in the fidelity of quantum logic gate operations and also affect the reading efficiency. Therefore, the parameters of the quantum chip, especially the frequency parameters of qubits, need to be calibrated regularly to ensure that the best performance, that is, the best execution effect of quantum algorithms, can be stably exerted in the long term. Therefore, during the use of a quantum computer, it is inevitable to regularly or real-time monitor the parameter anomalies of each qubit in the quantum chip. Once a parameter anomaly occurs, it is necessary to intervene in the calibration task and calibrate the abnormal parameters back to normal values. This calibration task can be timed or real-time intervention, and there is no limitation here. In summary, if the calibration task updates some parameters in the qubit, especially the waveform parameters, and the quantum computing task is executed according to the original parameters without considering the existence of the calibration task, then it will inevitably lead to an incorrect result in the end. Therefore, the solution proposed in the embodiment of this application considers the possible situation of the calibration task. When the quantum computer executes the calibration task, the quantum computing task using relevant resources is suspended, which can effectively avoid the problem that the execution of the relevant quantum computing task is incorrect due to the change of the qubit-related parameters in the calibration task, and improves the accuracy of the quantum computer to a certain extent. According to the solution of this application, if there is a calibration task, then those quantum computing tasks that have been compiled and completed and have not been executed should not be executed, but should be recompiled using the parameters 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 execute the calibration task, not specifically referring to a certain qubit, nor limiting the number of qubits it contains. Suppose there are two qubits that need to execute the calibration task, then the first qubit includes two qubits, and details are not elaborated here one by one.

[0041] Please refer to Figure 2, the quantum computer mentioned in the embodiments of the present application includes a quantum computer operating system or cloud, a cloud service docking system, and a quantum computing measurement and control system. The quantum computer operating system or cloud is used to receive quantum computing tasks and / or query tasks, and output the quantum computing tasks and / or query tasks to the cloud service docking system. The cloud service docking system is used to compile the quantum computing task when receiving the quantum computing task, and output the compiled quantum computing task to the quantum computing measurement and control system. The cloud service docking system is also used to feedback the corresponding information to the quantum computer operating system or the cloud when receiving a query task. The quantum computing measurement and control system is used to generate a corresponding task thread when receiving the compiled quantum computing task, and execute control and measurement operations on the quantum chip according to the task thread to execute the corresponding quantum computing task. Through the quantum computer architecture including a cloud service docking system proposed in this embodiment, it can adapt to the situation where multiple quantum computing tasks are executed simultaneously when there are a large number of quantum chips, thereby effectively improving the efficiency of the quantum computer.

[0042] Those skilled in the art can understand that the importance of the operating system to a computer is self-evident, which is true for classical computers and even more so for the still-in-initial-development quantum computer technology. The quantum computer operating system determines the functions, computing efficiency, and stability of the quantum computer, and thus determines the practicality of the quantum computer. The quantum computer operating system is a tool for connecting the terminal and the core component of the quantum computer, the quantum chip. Users can input the quantum computing tasks or query tasks they want to execute through the quantum computer operating system or the cloud (which can be a cloud platform).

[0043] In this embodiment, the query task includes but is not limited to the relevant data of the quantum computing task and the data of the quantum chip. For example, a user wants to query a certain experimental parameter during the execution of the current quantum computing task or the working point of a certain qubit in the current quantum chip through the quantum computer operating system or the cloud, which will not be elaborated here one by one. It can be understood that a corresponding query interface should be equipped in the quantum computer operating system or the cloud for users to operate and a corresponding display interface to display the query results.

[0044] In this embodiment, when the cloud service docking system receives a query task or a quantum computing task, it can adopt a synchronous scheme for processing. The synchronous scheme mentioned here means that when the quantum computer faces two tasks, it can execute them in sequence according to the set order. Suppose the quantum computer is executing a certain quantum computing task, and this task requires 10 experiments related to quantum bit control. During the execution of this quantum computing task, the user sends a second quantum computing task. At this time, since the cloud service docking system has not received the information feedback from the quantum computing measurement and control system that the current quantum computing task has been completed, the second quantum computing task sent by the user needs to queue up in the cloud service docking system until the cloud service docking system receives the feedback instruction from the quantum computing measurement and control system that the current quantum computing task has been completed. Only then will the cloud service docking system compile the second quantum computing task and then output it to the quantum computing measurement and control system. In addition to being able to process using the synchronous scheme, in order to further improve the execution efficiency of the quantum computer, the cloud service docking system can also use an asynchronous scheme for processing. The asynchronous scheme mentioned here means that when the quantum computer faces multiple tasks, the execution subject of each task is relatively independent, and there is no need to wait for the previous task to be completed before the next task can be executed.

[0045] Furthermore, in order to implement the asynchronous scheme, this embodiment provides a method of independently setting each functional module in the cloud service docking system. The several functional modules do not interfere with each other and can effectively achieve the simultaneous execution of tasks. Specifically, in this embodiment, the cloud service docking system includes:

[0046] A core control module, which is communicatively connected to the quantum computer operating system or the cloud, and is used for outputting the quantum computing task to the task compilation module when receiving the quantum computing task.

[0047] Multiple task compilation modules, each of which respectively compiles and processes 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 role in overall coordination. It can control all functional modules to perform different tasks, continuously collect feedback from each functional module, and then arrange the next operation according to the feedback situation. In the drawings of this embodiment, only one task compilation module is shown. It can be understood that the connection method of other task compilation modules to the core control module is the same. By setting multiple independent task compilation modules, an asynchronous scheme can be achieved. For example, when the cloud service docking system is currently compiling and processing the first quantum computing task, 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, at this time, the core control module directly assigns the second quantum computing task to the idle task compilation module for compilation and processing without waiting for the first quantum computing task to be completed. It should be noted that each task compilation module can only compile one quantum computing task at the same time. In this embodiment, the number of task compilation modules can be determined according to the functions of the quantum computing measurement and control system. For example, if the quantum computing measurement and control system supports 5 task threads to execute simultaneously, then the task compilation modules can also be set to 5. Of course, in order to improve the task execution efficiency, the task compilation modules can be set to more than 5, such as 10. There is no limitation here, and it can be selected according to actual needs.

[0049] Specifically, in this embodiment, in order to meet the user's query task, a functional module dedicated to storing and querying relevant information can also 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] A data storage module, which is used to feedback corresponding information to the core control module when receiving the query task.

[0051] In this embodiment, the data storage module also belongs to the functional module and can be responsible for querying, including but not limited to, quantum chip data. For example: obtaining the configuration parameters of the quantum chip, obtaining the experimental results of the RB experiment, etc. And the data storage module has no conflict with the quantum computing task and can run independently without system blocking. That is, by setting the data storage module, the quantum computer can execute the quantum computing task and the query task simultaneously.

[0052] Specifically, in this embodiment, the data storage module has a storage unit and an information acquisition unit;

[0053] Several items of information of the quantum computer are stored in the storage unit;

[0054] The information acquisition unit is configured to, when the storage unit does not include the information required to be queried by the query task, apply to the quantum computing measurement and control system to obtain the corresponding information.

[0055] Those skilled in the art can 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 obtain the information that does not exist in the storage unit. For example, experimental results that have not been transmitted back by the quantum computing measurement and control system, etc., which will not be elaborated here one by one.

[0056] Specifically, in this embodiment, the cloud service docking system further includes:

[0057] A plurality of data processing modules, each of which is configured to obtain the execution data of a corresponding quantum computing task during the execution of the quantum computing task by the quantum computing measurement and control system and feedback it to the core control module.

[0058] It should be noted that each data processing module can only obtain the execution data of a corresponding quantum computing task at the same moment. Those skilled in the art can understand that in this embodiment, the number of data processing 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 execute simultaneously, in order to better cooperate with the quantum computing measurement and control system, then the task compilation module can also be set to 5. When the core control module receives the feedback instruction that a certain quantum computing task starts to execute, it will output an instruction to the corresponding data processing module, so that the corresponding data processing module starts to collect the execution data of the corresponding quantum computing task and feedback the result to the core control module after the corresponding quantum computing task is completed.

[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 in the task compilation module and their corresponding states. Among them, each storage position in the compilation queue is set with a one-to-one corresponding first number 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 position in the data processing queue is set with a one-to-one corresponding second number 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 statuses, where the statuses include that the task is queuing, the task is being executed, the task execution fails, the task execution is completed, the task is being compiled, and the task has been compiled and completed.

[0063] In this embodiment, the length of the task queue can be set to avoid being maliciously attacked. For example, if a quantum computer is infected with a virus and submits tasks infinitely through the quantum computer operating system or the cloud, we can effectively improve the security of the quantum computer by setting the length of the task queue. Those skilled in the art can understand that the length of the task queue mentioned in this embodiment refers to the number of quantum computing tasks that can be accommodated in the task queue. For example, we can set the length of the task queue to 50, then the maximum number of quantum computing tasks that can be accommodated in the task queue is 50.

[0064] Specifically, in this embodiment, when the status of the first quantum computing task in the task queue is that the task is queuing and there is an idle 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 status of the first quantum computing task is updated to that the task is being compiled.

[0065] Specifically, in this embodiment, when the status of the first quantum computing task is that the task has been compiled and completed, the core control module receives the information that the first quantum computing task starts to be executed fed back from the quantum computing measurement and control system, and there is an idle position in the data processing queue, the core control module sets the first quantum computing task in the data processing queue and makes the data processing module corresponding to the second number corresponding to the first quantum computing task in the data processing queue start to work. At this time, the status of the first quantum computing task is updated to that the task is being executed.

[0066] Specifically, in this embodiment, when the execution of the first quantum computing task has ended, 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 that the task execution is completed or the task execution fails.

[0067] Specifically, please continue to refer to Figure 2 In this embodiment, the quantum computing measurement and control system includes:

[0068] A resource scheduler, which is configured to generate corresponding task threads when receiving a compiled quantum computing task, and output the task threads to a server.

[0069] A server, which is configured to output the received task threads to a quantum control device.

[0070] A quantum control device, which is configured to perform control and measurement operations on a quantum chip according to the task threads to execute corresponding quantum computing tasks.

[0071] Specifically, in this embodiment, from the description of the cloud service docking system above, it can be known that the cloud service docking system includes a core control module and multiple task compilation modules. The core control module is communicatively connected to the quantum computing operating system or the cloud, and is configured to output the quantum computing task to the task compilation module when receiving a quantum computing task; each task compilation module respectively compiles a corresponding quantum computing task and outputs the compiled quantum computing task to the quantum computing measurement and control system.

[0072] Then when the core control module receives the first information, that is, when obtaining the feedback instruction for the first qubit to perform a calibration task from the quantum computing measurement and control system, it obtains all target quantum computing tasks queuing in the core control module. The target quantum computing tasks are quantum computing tasks that require the participation of the first qubit.

[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. Among them, each storage location in the compilation queue is set with a one-to-one corresponding first number 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 include that the task is queuing, the task is being executed, the task execution fails, the task execution is completed, the task is being compiled, and the task has been compiled and completed.

[0075] When the core control module receives the first information, it sets the states of all target quantum computing tasks to queuing 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 corresponding target quantum computing task in the task compilation module is returned to the core control module. At the same time, the target quantum computing task in the compilation queue is moved to the task queue, and 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 an unfinished target quantum computing task in the quantum computing measurement and control system, the core control module updates the status of the corresponding target quantum computing task in the task queue to "task in queue". At the same time, the core control module outputs a clear instruction to the data storage module;

[0079] After receiving the clear instruction, the data storage module clears the target quantum computing task stored internally and outputs the clear 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 second information indicating the completion of the calibration task to the core control module;

[0082] When receiving the second information, the core control module allocates the target quantum computing task to the task compilation module for re-compilation processing.

[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 participation of the first qubit in execution;

[0085] If so, the first quantum computing task is 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 qubit has parameter drift, a calibration task is performed on the first qubit;

[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, an embodiment of the present invention further provides a quantum computer, which uses the execution method described in any one of the above feature descriptions.

[0089] In the description of this specification, the description with reference to terms such as "one embodiment", "some embodiments", "example" or "specific example" means that the specific features, structures, materials or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in a suitable manner in any one or more embodiments. In addition, those skilled in the art can combine and combine the different embodiments or examples described in this specification.

[0090] The above are only the preferred embodiments of the present invention and do not impose any limitation on the present invention. Any person skilled in the art, without departing from the scope of the technical solution of the present invention, makes any form of equivalent replacement or modification and other changes to the technical solution and technical content disclosed in the present invention, all of which belong to the content of the technical solution of the present invention and are still within the protection scope of the present invention.

Claims

1. An execution method of a quantum computer, characterized in that, it includes: When performing a calibration task on the first qubit in the quantum chip, the quantum computing measurement and control system outputs the first information including the calibration task that the first qubit needs to perform to the cloud service docking system and the quantum computing operating system or the cloud; When receiving the first information, the cloud service docking system pauses all quantum computing tasks that need to utilize the first qubit until the calibration task is completed.

2. The method according to claim 1, characterized in that, the cloud service docking system includes a core control module and multiple task compilation modules. The core control module is communicatively connected to the quantum computing operating system or the cloud and is used to output the quantum computing task to the task compilation module when receiving a quantum computing task; each task compilation module respectively compiles and processes a corresponding quantum computing task and outputs the compiled quantum computing task to the quantum computing measurement and control system; When the core control module receives the first information, it acquires all target quantum computing tasks queuing in the core control module. The target quantum computing task is a quantum computing task that requires the participation of the first qubit; The core control module pauses all the target quantum computing tasks until the calibration task is completed.

3. The method according to claim 2, characterized in that, 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. Among them, each storage location in the compilation queue and the task compilation module are provided with a corresponding first number; the task queue is used to store the quantum computing tasks received by the core control module and their corresponding states. The states include the task is queuing, the task is being executed, the task execution fails, the task execution is completed, the task is being compiled, and the task has been compiled and completed; When the core control module receives the first information, it sets the states of all target quantum computing tasks to the task is queuing until the calibration task is completed.

4. The method according to claim 3, characterized in that, When the core control module receives the first information, if there are target quantum computing tasks in the compilation queue, the corresponding target quantum computing tasks in the task compilation module are returned to the core control module, and at the same time, the target quantum computing tasks in the compilation queue are moved to the task queue, and the state of the target quantum computing task is updated to the task is queuing until the calibration task is completed.

5. The method according to claim 3, characterized in that, the cloud service docking system further includes a data storage module; When the core control module receives the first information, if there are target quantum computing tasks in the quantum computing measurement and control system that have not been completed, the core control module updates the state of the corresponding target quantum computing tasks in the task queue to the task is queuing, and at the same time, the core control module outputs a clear instruction to the data storage module; After 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.

6. The method according to claim 2, wherein, the method further includes: after the calibration task is completed, the quantum computing measurement and control system outputs second information indicating the completion of the calibration task to the core control module; when receiving the second information, the core control module allocates the target quantum computing task to the task compilation module for re-compilation processing.

7. The method according to claim 6, wherein, 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 participation of the first qubit in execution; if so, the first quantum computing task is paused until the core control module receives the second information.

8. The method according to claim 1, wherein, when the quantum computing measurement and control system determines that parameter drift has occurred in the first qubit, a calibration task is performed on the first qubit; or, the quantum computing measurement and control system receives a timing calibration task to perform a calibration task on the first qubit.

9. A quantum computer, wherein, the execution method according to any one of claims 1-8 is utilized.

Citation Information

Patent Citations

  • Parallel processing system

    CA2370207A1

  • Private cloud task management system and method and storage medium

    CN111654534A

  • Quantum cloud platform-based quantum computer resource scheduling system and method

    CN112214327A

  • 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