Quantum classical computing cooperative scheduling system and quantum computer

Through the quantum classical computing collaborative scheduling system, priority strategies and combination optimization algorithms are used to manage resources, which solves the problem of low resource utilization efficiency in quantum computing and improves the efficiency and resource utilization of quantum classical hybrid computing.

CN118733203APending Publication Date: 2024-10-01ORIGIN QUANTUM COMPUTING TECH (HEFEI) CO LTD

Patent Information

Application Number
CN202310305152.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-24
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

In quantum computing, the lack of unified resource management and scheduling leads to the waiting problem of classical computing and quantum computing resources, resulting in low resource utilization efficiency and affecting the efficiency of quantum-classical hybrid computing.

Method used

A quantum classical computing collaborative scheduling system is proposed, including a task queue module, a collaborative scheduling module, a parallel compilation optimization module and a quantum dedicated communication module. It manages computing resources through priority calculation strategies and combinatorial optimization algorithms to achieve collaborative scheduling and parallel compilation of tasks. Optimize and improve resource utilization efficiency.

Benefits of technology

It effectively improves the utilization efficiency of computing resources, promotes the development of quantum computing technology, and improves the efficiency of quantum-classical hybrid computing and the overall task throughput of resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733203A_ABST
    Figure CN118733203A_ABST
Patent Text Reader

Abstract

The invention discloses a quantum classical computing collaborative scheduling system and a quantum computer, the system comprises a task queue module, a collaborative scheduling module, a parallel compilation optimization module and a quantum dedicated communication module which are in communication connection, the task queue module is used for receiving and managing computing tasks submitted by users, computing strategies based on priorities, and the collaborative scheduling module is used for scheduling the computing tasks submitted by the users. Querying and / or adjusting the task priority state of the calculation task; the collaborative scheduling module is used for determining a collaborative scheduling scheme of the calculation tasks according to the calculation tasks and the calculation resources; the parallel compilation optimization module is used for executing parallel compilation optimization on the calculation task; the quantum dedicated communication module is used for being in communication connection with the quantum computing rear-end module and the classical computing rear-end module and executing result transmission and feedback of a computing task, and the quantum classical computing collaborative scheduling system is provided, so that the utilization efficiency of computing resources is improved, and the development of the quantum computing technology is effectively promoted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of quantum computing technology, and in particular to a quantum classical computing collaborative scheduling system and a quantum computer. Background Art

[0002] Quantum computing simulation is a simulation that uses numerical calculations and computer science to simulate calculations that follow the laws of quantum mechanics. As a simulation program, it uses the basic laws of quantum bits in quantum mechanics and the high-speed computing power of computers to characterize the spatiotemporal evolution of quantum states.

[0003] The importance of operating systems to computers is self-evident, both for classical computers and even more so for quantum computer technology which is still in its early stages of development. Therefore, the concept of quantum computer operating systems came into being.

[0004] In the NISQ stage, quantum computing resources are in short supply, and the advantages of quantum computing have not been fully released. Most data is still stored in classical form, so the advantages of classical computing cannot be replaced in the short term. Quantum-classical collaborative computing is an important research direction for quantum computing at this stage. In quantum-classical hybrid applications, quantum and classical computing are iteratively interspersed. Due to the lack of unified resource management and scheduling, when performing classical computing, classical computing resources often have to wait. When performing quantum computing, quantum computing resources have to wait. This results in the inability of quantum-classical computing to collaborate closely, the overall computing resources are not fully utilized, and the efficiency of quantum-classical hybrid computing is low.

[0005] Therefore, in the quantum computer operating system, providing a quantum-classical computing collaborative scheduling system to effectively promote the rapid development of quantum computing technology has become an urgent problem to be solved. Summary of the invention

[0006] The purpose of the present invention is to provide a quantum classical computing collaborative scheduling system and a quantum computer to address the deficiencies in the prior art. By proposing a quantum classical computing collaborative scheduling system, the utilization efficiency of computing resources is improved, effectively promoting the development of quantum computing technology.

[0007] An embodiment of the present application provides a quantum classical computing collaborative scheduling system, the system comprising:

[0008] The communication-connected task queue module, collaborative scheduling module, parallel compilation optimization module and quantum dedicated communication module, among which,

[0009] The task queue module is used to receive and manage computing tasks submitted by users, and query and / or adjust the task priority status of the computing tasks based on the priority computing strategy;

[0010] The collaborative scheduling module is used to determine the collaborative scheduling scheme of the computing task according to the computing task and the computing resources;

[0011] The parallel compilation optimization module is used to perform parallel compilation optimization on the computing task;

[0012] The quantum dedicated communication module is used to communicate and connect the quantum computing back-end module and the classical computing back-end module, and perform the result transmission and feedback of the computing task.

[0013] Optionally, the computing tasks include: quantum computing tasks, classical computing tasks, and quantum-classical hybrid computing tasks;

[0014] The priority calculation strategy includes: a highest response ratio priority scheduling strategy, a first-in-first-out scheduling strategy, and a task backfill task scheduling strategy or a combination thereof;

[0015] The computing resources include: classical computing resources and quantum computing resources;

[0016] The compilation optimization includes: one or a combination of: multi-controlled quantum logic gate decomposition, quantum logic gate conversion, quantum circuit optimization and mapping.

[0017] Optionally, the collaborative scheduling module includes:

[0018] Classical computing resource management unit, quantum computing resource management unit and scheduling algorithm unit, among which,

[0019] The classical computing resource management unit is used to perform unified scheduling and management of classical computing resources, and when responding to a scheduling request of the computing task, locks the classical computing resources used by the computing task; after the computing task is executed, releases the locked classical computing resources;

[0020] The quantum computing resource management unit is used to manage quantum computing resources using a combinatorial optimization algorithm and schedule quantum computing resources for computing tasks that meet preset conditions, wherein the preset conditions are determined according to the execution efficiency of the computing tasks, the task carrying capacity and fidelity of the quantum chip that executes the computing tasks;

[0021] The scheduling algorithm unit is used to execute a corresponding scheduling scheme according to the usage of computing resources and the task priority status of the computing task.

[0022] Optionally, the scheduling algorithm unit includes:

[0023] A first computing resource determination subunit, a first scheduling subunit, a second computing resource determination subunit, and a second scheduling subunit, wherein:

[0024] The first computing resource determination subunit is used to determine whether the current computing resources meet the requirements of the target computing resources of the computing task;

[0025] The first scheduling subunit is used to directly execute the computing task when the current computing resources meet the target computing resource requirements of the computing task;

[0026] The second computing resource judgment subunit is used to further judge whether the current classic computing resources meet the target computing resource requirements of the computing task when the current computing resources do not meet the target computing resource requirements of the computing task;

[0027] The second scheduling subunit is used to schedule and execute the quantum classical hybrid program in the computing task using a preset algorithm when the current classical computing resources meet the target computing resource requirements of the computing task, wherein the preset algorithm is used for the collaborative allocation of the target computing resources required for the computing task.

[0028] Optionally, the scheduling algorithm unit further includes:

[0029] The scheduling suspension subunit is used to suspend the execution process of the computing task when the current classical computing resources do not meet the computing resource requirements of the computing task.

[0030] Optionally, the quantum classical computing collaborative scheduling system further includes:

[0031] A quantum programming framework module is used to provide a quantum-classical hybrid programming language, a visual programming IDE, and generate computing tasks.

[0032] Optionally, the quantum classical computing collaborative scheduling system further includes:

[0033] A computing resource maintenance module, which is used to dynamically maintain and manage all computing resources through a data table, wherein the computing resources are stored in the data table in a preset data format, and the data table is optimized according to the execution results of the computing tasks and the detection results of the computing resource automatic detection program.

[0034] Another embodiment of the present application provides a quantum computer operating system, which includes the quantum classical computing collaborative scheduling system described in any one of the above.

[0035] Another embodiment of the present application provides a quantum computer, comprising:

[0036] A first quantum computing hardware device, wherein the quantum classical computing collaborative scheduling system according to any one of the above items is set on the first quantum computing hardware device; and

[0037] The second quantum computing hardware device communicating with the first quantum computing hardware device comprises a quantum chip, wherein the communication module of the quantum classical computing collaborative scheduling system sends the computing task to the second quantum computing hardware device for performing quantum computing.

[0038] Another embodiment of the present application provides a quantum computer-readable storage medium, wherein one or more quantum computer-executable instructions are stored in the storage medium. When the quantum computer-executable instructions are executed by a quantum computer, the quantum classical computing collaborative scheduling system described in any one of the above items is implemented.

[0039] Compared with the prior art, the quantum classical computing collaborative scheduling system disclosed in the present invention includes a task queue module, a collaborative scheduling module, a parallel compilation optimization module and a quantum dedicated communication module connected in communication, wherein the task queue module is used to receive and manage computing tasks submitted by users, and query and / or adjust the task priority status of computing tasks based on priority computing strategies; the collaborative scheduling module is used to determine the collaborative scheduling scheme of computing tasks according to computing tasks and computing resources; the parallel compilation optimization module is used to perform parallel compilation optimization on computing tasks; the quantum dedicated communication module is used to communicate and connect the quantum computing back-end module and the classical computing back-end module, and perform the result transmission and feedback of computing tasks. It improves the utilization efficiency of computing resources and effectively promotes the development of quantum computing technology by proposing a quantum classical computing collaborative scheduling system. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 is a structural block diagram of a quantum computer provided by an embodiment of the present invention;

[0041] Figure 2 It is a schematic architecture block diagram of the first quantum classical computing collaborative scheduling system provided by an embodiment of the present invention;

[0042] Figure 3 is a schematic architecture block diagram of a second quantum classical computing collaborative scheduling system provided by an embodiment of the present invention;

[0043] Figure 4 It is a schematic architecture block diagram of the third quantum classical computing collaborative scheduling system provided by an embodiment of the present invention.

[0044] Description of reference numerals:

[0045] 10-The first quantum computing hardware device,

[0046] 11 – Processor,

[0047] 12 - Memory,

[0048] 100-Quantum Computer Operating System,

[0049] 20-Second quantum computing hardware device,

[0050] 21-Quantum chip,

[0051] 200-Quantum Classical Computing Collaborative Scheduling System,

[0052] 201 - Task Queue Module,

[0053] 202-Cooperative Scheduling Module,

[0054] 203 - Parallel compilation optimization module,

[0055] 204-Quantum Dedicated Communication Module,

[0056] 205-Quantum Programming Framework Module,

[0057] 206 - Computing resource maintenance module. DETAILED DESCRIPTION

[0058] The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, but should not be construed as limiting the present invention.

[0059] The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, but should not be construed as limiting the present invention.

[0060] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.

[0061] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.

[0062] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0063] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0064] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0065] Figure 1is a block diagram of a quantum computer provided by an embodiment of the present invention, such as Figure 1 As shown, the quantum computer includes a first quantum computing hardware device 10 and a second quantum computing hardware device 20. A quantum computer operating system 100 is set on the first quantum computing hardware device 10. The first quantum computing hardware device 10 may include a processor 11, and may also include a memory 12. The quantum computer operating system 100 may be implemented by the processor 11 and the memory 12. The second quantum computing hardware device 20 communicates with the first quantum computing hardware device 10. The second quantum computing hardware device 20 includes a quantum chip 21.

[0066] The quantum computer operating system 100 may include a quantum classical computing collaborative scheduling system. The quantum computer operating system 100 generates a quantum computing task. The communication module sends the quantum computing task to the second quantum computing hardware device 20 for performing quantum computing.

[0067] The quantum classical computing collaborative scheduling system 200 in the embodiment of the present application can be applied to the quantum computer operating system 100, which is a computer program that manages quantum computing software and hardware resources. Figure 2 , Figure 3 and Figure 4 Describe the relevant modules of each embodiment.

[0068] Figure 2 is a schematic block diagram of the first quantum classical computing collaborative scheduling system provided by an embodiment of the present invention. Figure 2 As shown, the quantum classical computing collaborative scheduling system 200 may include: a task queue module 201, a collaborative scheduling module 202, a parallel compilation optimization module 203 and a quantum dedicated communication module 204 that are communicatively connected, wherein the task queue module 201 is used to receive and manage computing tasks submitted by users, and query and / or adjust the task priority status of the computing tasks based on the priority computing strategy; the collaborative scheduling module 202 is used to determine the collaborative scheduling scheme of the computing tasks according to the computing tasks and computing resources; the parallel compilation optimization module 203 is used to perform parallel compilation optimization on the computing tasks; the quantum dedicated communication module 204 is used to communicate and connect the quantum computing back-end module and the classical computing back-end module, and perform the result transmission and feedback of the computing tasks.

[0069] Specifically, the task queue module 201 can be used to receive various computing tasks submitted by upper-level users, including quantum computing tasks, classical computing tasks, and quantum-classical hybrid computing tasks, etc., which are all managed uniformly by the task queue module 201. The task queue module 201 can also support multiple priority computing strategies, including multiple mainstream priority computing strategies such as the highest response ratio priority scheduling strategy, the first-in-first-out scheduling strategy, and the task backfilling task scheduling strategy. For example, the user can select the highest response ratio priority scheduling strategy by default and manage the task queue in combination with the priority mode specified by the user according to the specific application scenario. The task queue module 201 can realize dynamic adjustment of the priority status of the computing tasks being queued and provide the computing task query interface being queued by providing a priority adjustment interface externally, so as to timely feedback the queuing situation of the current computing tasks to the upper-level users.

[0070] It should be noted that the computing resources may include: classical computing resources and quantum computing resources.

[0071] In an optional implementation, the collaborative scheduling module 202 may include: a classical computing resource management unit, a quantum computing resource management unit, and a scheduling algorithm unit, wherein the classical computing resource management unit is used to perform unified scheduling and management of classical computing resources, and when responding to the scheduling request of the computing task, locks the classical computing resources used by the computing task; after the computing task is executed, releases the locked classical computing resources; the quantum computing resource management unit is used to manage quantum computing resources using a combinatorial optimization algorithm, and schedules quantum computing resources for computing tasks that meet preset conditions, wherein the preset conditions are determined according to the execution efficiency of the computing task, the task carrying capacity and fidelity of the quantum chip that executes the computing task; the scheduling algorithm unit is used to execute a corresponding scheduling scheme according to the usage of computing resources and the task priority status of the computing task.

[0072] Specifically, the classical computing resource management unit can be configured to lock the classical computing resources used by the computing task when a computing task is scheduled, and the locked classical computing resources cannot be used for other computing tasks at present; when the computing task is completed, the locked classical computing resources are released and return to the idle state, and the computing resources in the idle state can be used for other computing tasks. The quantum computing resource management unit can be configured to select appropriate quantum computing resources according to the combinatorial optimization algorithm to ensure the correct and efficient execution of the computing task, while ensuring that other computing resources can carry more computing tasks, so as to improve the overall task execution volume of the quantum classical computing collaborative scheduling system. The scheduling algorithm unit is the core of the entire collaborative scheduling module. For simple quantum computing tasks or classical computing tasks, the scheduling algorithm unit mainly makes decisions based on the current idle situation of computing resources and the priority of computing tasks in the quantum classical computing collaborative scheduling system, and selects the target computing task to be executed from the task queue. For quantum classical hybrid tasks, the scheduling algorithm unit needs to make decisions by comprehensively considering the remaining situation of current quantum computing resources and classical computing resources.

[0073] Specifically, the scheduling algorithm unit may include: a first computing resource judgment subunit, a first scheduling subunit, a second computing resource judgment subunit, and a second scheduling subunit, wherein the first computing resource judgment subunit is used to judge whether the current computing resources meet the target computing resource requirements of the computing task; the first scheduling subunit is used to directly execute the computing task when the current computing resources meet the target computing resource requirements of the computing task; the second computing resource judgment subunit is used to further judge whether the current classical computing resources meet the target computing resource requirements of the computing task when the current computing resources do not meet the target computing resource requirements of the computing task; the second scheduling subunit is used to schedule and execute the quantum classical hybrid program in the computing task using a preset algorithm when the current classical computing resources meet the target computing resource requirements of the computing task, wherein the preset algorithm is used for the collaborative allocation of target computing resources required for the computing task.

[0074] In an optional implementation, the scheduling algorithm unit may further include: a scheduling abort subunit, the scheduling abort subunit being used to abort the execution process of the computing task when the current classical computing resources do not meet the computing resource requirements of the computing task.

[0075] Therefore, the application scenarios of the scheduling algorithm unit can be summarized as follows:

[0076] Application scenario 1: When the remaining quantum computing resources and classical computing resources are sufficient, quantum computing tasks, classical computing tasks, or quantum-classical hybrid computing tasks can be directly executed.

[0077] Application scenario 2: When one of the quantum computing resources or the classical computing resources does not meet the requirements of the target computing resources of the computing task, if the current classical computing resources are insufficient, the scheduling algorithm unit will call the preset algorithm to block and wait for sufficient classical computing resources, because the main logic of the quantum classical hybrid program is classical computing, and sufficient classical computing resources are a necessary condition for the execution of the quantum classical hybrid program. At this time, the pure quantum computing task will also be blocked to avoid the situation where the classical computing resources are sufficient and waiting for quantum computing resources. If only the quantum computing resources are insufficient at present, the quantum classical hybrid program can still be scheduled, because the main logic of the quantum classical hybrid program is classical computing, and most quantum classical hybrid programs must first perform certain classical computing before generating quantum computing tasks, so in this case, the quantum classical hybrid program can be scheduled and complete the calculation. At this time, the scheduling algorithm unit will reserve quantum computing resources for the quantum classical hybrid program, that is, when new quantum computing resources are released, the scheduling algorithm unit will give priority to reserving certain resources for the currently executing quantum classical hybrid program. If there are still some remaining, resources will be allocated to other computing tasks to ensure the efficient execution of the current quantum classical hybrid program.

[0078] Application scenario three: When neither quantum computing resources nor classical computing resources meet the computing resource requirements of the computing task, the abort scheduling subunit is configured to abort the execution process of the current computing task.

[0079] It should be noted that for temporarily added computing tasks, the scheduling algorithm unit assigns them the highest priority computing strategy to ensure the rapid calculation of the newly added computing tasks, reduce waiting time, and improve overall computing efficiency. For the heuristic algorithm applied during the execution of the newly added computing tasks, the scheduling algorithm unit can realize automatic learning iteration cycles and intelligently decide the time to reserve quantum computing resources to ensure that quantum computing resources can be fully utilized during the classical computing process, so as to improve the overall task throughput of the quantum classical computing collaborative scheduling system.

[0080] Specifically, the parallel compilation optimization module 203 is mainly used to perform parallel compilation optimization on the scheduled computing tasks to ensure that the quantum circuit can run efficiently and correctly on the target quantum chip. The compilation of the quantum circuit mainly includes one or a combination of multi-controlled quantum logic gate decomposition, quantum logic gate conversion, quantum circuit optimization and mapping. In the scenario of multiple quantum bits, it often takes a long time to obtain good optimization and mapping effects. Parallel compilation can effectively solve the compilation queuing problem caused by time-consuming compilation.

[0081] Specifically, the quantum dedicated communication module 204 can be used to send the quantum computing results to the classical computing back-end module in a timely manner. In the prior art, the calculation results of the quantum circuit are usually returned directly to the classical computing module, so the transmission data is large, which affects the transmission efficiency. Especially in the scenario of multiple quantum bits, the transmission of redundant data directly affects the overall operating efficiency of quantum classical hybrid computing. In the quantum classical computing collaborative scheduling system, the transmission protocol of the quantum dedicated communication module 204 can be optimized. For example, when submitting a computing task, for a quantum classical hybrid program carrying part of the classical logic, the classical logic part pre-processes the original calculation results of the quantum circuit, and removes unnecessary redundant information from it, simplifies the transmitted data, greatly improves the transmission efficiency, and can effectively improve the execution efficiency of the quantum classical hybrid program.

[0082] It should be noted that the classical computing backend module can include high-performance classical computing clusters, mainly classical distributed computing clusters. Classical distributed computing clusters can include two solutions: high-performance classical computing clusters and third-party clusters. Among them, high-performance classical computing clusters have more refined management granularity, support a variety of classical computing resource scheduling strategies, and can achieve efficient integration of quantum computing and classical computing; third-party clusters mainly interact with the system itself through the cluster service program of the quantum computer operating system for quantum simulation computing.

[0083] Figure 3 is a schematic block diagram of the second quantum classical computing collaborative scheduling system provided by an embodiment of the present invention. Figure 3 As shown, the quantum classical computing collaborative scheduling system 200 may further include: a quantum programming framework module 205, which is used to provide a quantum classical hybrid programming language, a visual programming IDE, and generate computing tasks.

[0084] Exemplarily, the quantum programming framework module 205 may include a quantum programming framework unit and a quantum classical hybrid compilation framework unit, wherein the quantum programming framework unit may be used to provide programming languages ​​and simulation computing interfaces, and users may write quantum programs based on the programming languages ​​provided by the programming framework, and perform simulation computing of quantum algorithms according to the simulation computing interfaces provided by the programming framework. At the same time, the quantum programming framework unit may also provide a variety of quantum circuit operation interfaces, such as quantum circuit printing, equivalent quantum circuit comparison, quantum circuit flipping, and conversion to other quantum programming languages. The quantum classical hybrid compilation framework unit is used to compile and optimize the quantum classical hybrid program written by the user, and adjust the timing relationship between quantum computing and classical computing, etc., to improve the execution efficiency of the quantum classical hybrid algorithm.

[0085] Figure 4is a schematic block diagram of the third quantum classical computing collaborative scheduling system provided by an embodiment of the present invention. Figure 4 As shown, the quantum classical computing collaborative scheduling system 200 may further include: a computing resource maintenance module 206, which is used to dynamically maintain and manage all computing resources through a data table, wherein the computing resources are stored in the data table in a preset data format, and the data table is optimized according to the execution results of the computing tasks and the detection results of the computing resource automatic detection program.

[0086] Exemplarily, the computing resource maintenance module 206 can maintain the overall computing resource information through a data table, and the computing resource information corresponding to each computing backend is stored in the data table in a certain data format. When the computing resource management system is started, the quantum computer operating system can obtain relevant computing resource information from the computing backend through an internal protocol and complete the initialization of the data table data. After the computing resource management system is started, the data in the data table will change dynamically with the execution of various computing tasks, the execution of various upper-level system management commands, and the detection results of the computing resource automatic detection program. Users can obtain the computing resource information of the current quantum classical computing collaborative scheduling system through the programming interface and make reasonable computing task arrangement planning.

[0087] It can be seen that the quantum classical computing collaborative scheduling system disclosed in the present invention includes a task queue module, a collaborative scheduling module, a parallel compilation optimization module and a quantum dedicated communication module connected in communication, wherein the task queue module is used to receive and manage computing tasks submitted by users, and query and / or adjust the task priority status of computing tasks based on priority computing strategies; the collaborative scheduling module is used to determine the collaborative scheduling scheme of computing tasks according to computing tasks and computing resources; the parallel compilation optimization module is used to perform parallel compilation optimization on computing tasks; the quantum dedicated communication module is used to communicate and connect the quantum computing back-end module and the classical computing back-end module, and perform the result transmission and feedback of computing tasks. It improves the utilization efficiency of computing resources and effectively promotes the development of quantum computing technology by proposing a quantum classical computing collaborative scheduling system.

[0088] In another optional embodiment, the quantum classical computing collaborative scheduling system shown above can be installed in Figure 1 A quantum computer operating system on a quantum computer shown.

[0089] An embodiment of the present application further provides a quantum computer-readable storage medium, wherein one or more quantum computer-executable instructions are stored in the storage medium. When the quantum computer-executable instructions are executed by a quantum computer, the above-mentioned quantum classical computing collaborative scheduling system is implemented.

[0090] Therefore, the embodiments disclosed herein may include a quantum computer operating system, a quantum computer, and / or a quantum computer program product. The quantum computer program product may include a computer-readable storage medium having executable instructions of a quantum computer operating system stored thereon.

[0091] A quantum computer readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A quantum computer readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of quantum computer readable storage media include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing.

[0092] The executable instructions of the quantum computer described herein can be downloaded from the quantum computer readable storage medium to each quantum computing / processing device, or downloaded to an external quantum computer or external storage device through a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each quantum computing / processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0093] The executable instructions for implementing the quantum computer operating system may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code, intermediate code, or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as C or similar programming languages. The executable instructions may be executed entirely on the quantum computer, partially on the quantum computer, as a separate software package, partially on the local quantum computer and partially on the remote quantum computer, or entirely on the remote quantum computer or server. In the case of a remote quantum computer, the remote quantum computer may be connected to the local quantum computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external quantum computer (e.g., via the Internet using an Internet service provider). In some embodiments, the various embodiments herein are implemented by utilizing state information of executable instructions of a quantum computer to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), which can execute the executable instructions of a quantum computer.

[0094] Various aspects of the present invention are described herein with reference to block diagrams of quantum computer operating systems, quantum computers, and computer program products according to embodiments herein. It should be understood that each block of the block diagram and the combination of blocks can be implemented by executable instructions of a quantum computer.

[0095] These quantum computer executable instructions can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device, thereby producing a quantum computing machine, so that when these instructions are executed by the processor of the quantum computer or other programmable data processing device, a device that implements the functions / actions specified in one or more blocks in the block diagram is generated. These executable instructions can also be stored in a quantum computer readable storage medium, and these instructions make the quantum computer, programmable data processing device and / or other equipment work in a specific way, so that the quantum computer readable medium storing the instructions includes a product, which includes instructions for implementing various aspects of the functions / processing specified in one or more blocks in the block diagram.

[0096] Quantum computer-readable program instructions may also be loaded onto a quantum computer, other programmable quantum data processing apparatus, or other quantum device, so that a series of processing is performed on the quantum computer, other programmable quantum data processing apparatus, or other quantum device to produce a process implemented by the quantum computer, thereby causing the instructions executed on the quantum computer, other programmable quantum data processing apparatus, or other quantum device to implement the functions / processing specified in one or more blocks in the block diagram.

[0097] The block diagram in the accompanying drawings shows the possible architecture, functions and processing of the quantum classical computing collaborative scheduling system, quantum computer operating system, quantum computer and computer program product according to multiple embodiments of the present invention. In this regard, each box in the block diagram can represent a module, a program segment or a part of an instruction, and the module, a program segment or a part of an instruction contains one or more quantum computer executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and the combination of boxes can be implemented with a dedicated hardware-based quantum system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and quantum computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are all equivalent.

[0098] The above describes in detail the structure, features and effects of the present invention based on the embodiments shown in the drawings. The above is only a preferred embodiment of the present invention, but the present invention is not limited to the scope of implementation shown in the drawings. Any changes made according to the concept of the present invention, or modifications to equivalent embodiments with equivalent changes, which still do not exceed the spirit covered by the description and drawings, should be within the protection scope of the present invention.

Claims

1. A quantum classical computing collaborative scheduling system, characterized in that: The system comprises: The communication-connected task queue module, collaborative scheduling module, parallel compilation optimization module and quantum dedicated communication module, among which, The task queue module is used to receive and manage computing tasks submitted by users, and query and / or adjust the task priority status of the computing tasks based on the priority computing strategy; The collaborative scheduling module is used to determine the collaborative scheduling scheme of the computing task according to the computing task and the computing resources; The parallel compilation optimization module is used to perform parallel compilation optimization on the computing task; The quantum dedicated communication module is used to communicate and connect the quantum computing back-end module and the classical computing back-end module, and perform the result transmission and feedback of the computing task.

2. The system according to claim 1, characterized in that The computing tasks include: quantum computing tasks, classical computing tasks, and quantum-classical hybrid computing tasks; The priority calculation strategy includes: a highest response ratio priority scheduling strategy, a first-in-first-out scheduling strategy, and a task backfill task scheduling strategy or a combination thereof; The computing resources include: classical computing resources and quantum computing resources; The compilation optimization includes: one or a combination of: multi-controlled quantum logic gate decomposition, quantum logic gate conversion, quantum circuit optimization and mapping.

3. The system according to claim 2, characterized in that The collaborative scheduling module includes: Classical computing resource management unit, quantum computing resource management unit and scheduling algorithm unit, among which, The classical computing resource management unit is used to perform unified scheduling and management of classical computing resources, and when responding to a scheduling request of the computing task, locks the classical computing resources used by the computing task; after the computing task is executed, releases the locked classical computing resources; The quantum computing resource management unit is used to manage quantum computing resources using a combinatorial optimization algorithm and schedule quantum computing resources for computing tasks that meet preset conditions, wherein the preset conditions are determined according to the execution efficiency of the computing tasks, the task carrying capacity and fidelity of the quantum chip that executes the computing tasks; The scheduling algorithm unit is used to execute a corresponding scheduling scheme according to the usage of computing resources and the task priority status of the computing task.

4. The system according to claim 3, characterized in that The scheduling algorithm unit comprises: A first computing resource determination subunit, a first scheduling subunit, a second computing resource determination subunit, and a second scheduling subunit, wherein: The first computing resource determination subunit is used to determine whether the current computing resources meet the requirements of the target computing resources of the computing task; The first scheduling subunit is used to directly execute the computing task when the current computing resources meet the target computing resource requirements of the computing task; The second computing resource judgment subunit is used to further judge whether the current classic computing resources meet the target computing resource requirements of the computing task when the current computing resources do not meet the target computing resource requirements of the computing task; The second scheduling subunit is used to schedule and execute the quantum classical hybrid program in the computing task using a preset algorithm when the current classical computing resources meet the target computing resource requirements of the computing task, wherein the preset algorithm is used for the collaborative allocation of the target computing resources required for the computing task.

5. The system according to claim 4, characterized in that The scheduling algorithm unit also includes: The scheduling suspension subunit is used to suspend the execution process of the computing task when the current classical computing resources do not meet the computing resource requirements of the computing task.

6. The system according to claim 1 or 5, characterized in that: The quantum classical computing collaborative scheduling system also includes: A quantum programming framework module is used to provide a quantum-classical hybrid programming language, a visual programming IDE, and generate computing tasks.

7. The system according to claim 6, characterized in that The quantum classical computing collaborative scheduling system also includes: A computing resource maintenance module, which is used to dynamically maintain and manage all computing resources through a data table, wherein the computing resources are stored in the data table in a preset data format, and the data table is optimized according to the execution results of the computing tasks and the detection results of the computing resource automatic detection program.

8. A quantum computer operating system, characterized in that: The quantum computer operating system includes the quantum classical computing collaborative scheduling system according to any one of claims 1 to 7.

9. A quantum computer, characterized in that: include: A first quantum computing hardware device, wherein the quantum classical computing collaborative scheduling system according to any one of claims 1 to 7 is provided on the first quantum computing hardware device; and The second quantum computing hardware device communicating with the first quantum computing hardware device comprises a quantum chip, wherein the communication module of the quantum classical computing collaborative scheduling system sends the computing task to the second quantum computing hardware device for performing quantum computing.

10. A quantum computer readable storage medium, characterized in that: The storage medium stores one or more quantum computer executable instructions. When the quantum computer executable instructions are executed by a quantum computer, the quantum classical computing collaborative scheduling system according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Quantum and classic hybrid cloud platform and task execution method

    CN112465146A

  • Multi-task scheduling method and system under quantum-classical hybrid architecture and quantum computer system architecture

    CN113010302A

  • Quantum computer operating system and quantum computer

    CN113240122A

  • Method and system for dynamically and adaptively dividing and scheduling hybrid computing tasks of heterogeneous cloud computing platform

    CN113902120A

  • Label identification segmentation method and device for quantum-classical hybrid algorithm, and storage medium

    CN114004361A

Cited By

  • Feedback iteration type optical network resource allocation method fusing quantum and classical calculation

    CN120110544A

  • Intelligent computing power scheduling system and method for mRNA (messenger ribonucleic acid) coding protein structure prediction

    CN121789756A

  • Intelligent computing power scheduling system and method for mRNA encoded protein structure prediction

    CN121789756B