Classical computing resource management system and quantum computer

By designing a classical computing resource management system in the quantum computer operating system, the problem of insufficient classical computing resource management in quantum computers is solved, the efficient collaborative work of quantum and classical resources is realized, the hybrid computing efficiency is improved, and the development of quantum computing technology is promoted. develop.

CN118656197APending Publication Date: 2024-09-17ORIGIN QUANTUM COMPUTING TECH (HEFEI) CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202310251015.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-10
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

In quantum computer operating systems, the lack of an efficient classical computing resource management system results in low efficiency of quantum and classical hybrid computing, limiting the development of quantum computing technology.

Method used

A classical computing resource management system is designed, including a quantum computing task scheduling unit, a classical computing resource management unit and a classical computing back-end unit. It optimizes quantum computing task scheduling, manages classical computing resources, and realizes distributed simulation calculations and calculation results. feedback to ensure efficient collaboration between quantum and classical resources.

Benefits of technology

Effective management and scheduling of classical computing resources improves the efficiency of quantum and classical hybrid computing and promotes the rapid development of quantum computing technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656197A
    Figure CN118656197A
Patent Text Reader

Abstract

The invention discloses a classical computing resource management system and a quantum computer, and the classical computing resource management system comprises a quantum computing task scheduling unit, a classical computing resource management unit and a classical computing back-end unit which are in communication connection, the quantum computing task scheduling unit is used for managing quantum computing resources and scheduling and optimizing quantum computing tasks; the classic computing resource management unit is used for providing a classic computing resource operation interface, managing classic computing resources and uniformly scheduling the classic computing resources and quantum computing resources; the classic computing rear-end unit is used for executing instruction transmission of a quantum computing task, distributed analog computing of the quantum computing task, computing result feedback and control of a computing rear-end running state, and classic computing resources are effectively managed and scheduled by providing a classic computing resource management system; and efficient execution of quantum and classical hybrid calculation is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of quantum computing, and in particular to a classical computing resource management 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, the advantages of quantum computing have not been fully released, and quantum-classical hybrid computing is still the main research direction. Therefore, in the quantum computer operating system, in addition to managing quantum computing resources, it is also necessary to manage and schedule classical computing resources to ensure the efficient implementation of quantum-classical hybrid computing. For example, complex classical calculations in quantum-classical hybrid programs, the compilation process of quantum circuits, etc., if there is no efficient management system for classical computing resources in the quantum computer operating system, the overall computing efficiency will be low.

[0005] Therefore, in the quantum computer operating system, providing a classical computing resource management 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 classical computing resource management system and a quantum computer to address the deficiencies in the prior art. By proposing a classical computing resource management system, it realizes effective management and scheduling of classical computing resources and ensures efficient execution of quantum and classical hybrid computing.

[0007] An embodiment of the present application provides a classical computing resource management system, which is applied to a quantum computer, and the system includes:

[0008] The quantum computing task scheduling unit, the classical computing resource management unit, and the classical computing backend unit are connected in communication, wherein:

[0009] The quantum computing task scheduling unit is used to manage quantum computing resources, schedule and optimize quantum computing tasks;

[0010] The classical computing resource management unit is used to provide a classical computing resource operation interface, manage classical computing resources, and uniformly schedule classical computing resources and quantum computing resources;

[0011] The classical computing back-end unit is used to perform instruction transmission of quantum computing tasks, distributed simulation calculations of quantum computing tasks, feedback of calculation results, and control of the computing back-end operating status.

[0012] Optionally, the quantum computing task scheduling unit includes: a quantum computing task queue subunit and a scheduling subunit, wherein:

[0013] The quantum computing task queue subunit is used to receive and store the quantum computing task, query the current quantum computing task and adjust the priority of other unexecuted quantum computing tasks based on the priority computing strategy;

[0014] The scheduling subunit is used to determine a quantum computing task that meets a preset condition according to a current computing resource state and a task priority state of a quantum computing task queue, and schedule computing resources for the quantum computing task that meets the preset condition, wherein the preset condition is determined according to the execution efficiency of the current quantum computing task, the task carrying capacity and fidelity of a quantum chip that executes the quantum computing task.

[0015] Optionally, the priority calculation strategy includes:

[0016] One or a combination of the highest response ratio priority scheduling strategy, the first-in-first-out scheduling strategy and the task backfilling task scheduling strategy.

[0017] Optionally, the classical computing resource management system further includes:

[0018] A first programming interface unit is used to execute or cancel the quantum computing task, query the queue status of the quantum computing task and the usage of the classical computing resources and / or the quantum computing resources;

[0019] A second programming interface unit is used to perform distributed quantum simulation computing of the quantum computing task in a unified scheduling state of classical computing resources and quantum computing resources;

[0020] The third programming interface unit is used to receive and process the execution result of the quantum computing task, wherein the execution result of the quantum computing task includes the correct processing result and the error feedback under abnormal circumstances.

[0021] Optionally, the classical computing resource management unit includes:

[0022] A computing resource management subunit, a computing resource determination subunit, and a computing resource locking and releasing subunit, wherein:

[0023] The computing resource management subunit 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 result of the quantum computing task and the detection result of the preset detection program of the computing resources;

[0024] The computing resource determination subunit is used to determine the target computing resources required for the quantum computing task;

[0025] The computing resource locking and releasing subunit is used to respond to the scheduling request of the quantum computing task, lock the target computing resource used by the quantum computing task; and release the locked target computing resource when the quantum computing task is completed.

[0026] Optionally, the classical computing resource management system further includes:

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

[0028] Optionally, the classical computing resource management system further includes:

[0029] A machine learning unit is used to record and identify performance differences between computing nodes, and when allocating computing resources, give priority to allocating computing nodes with high computing efficiency rankings.

[0030] Another embodiment of the present application provides a quantum computer operating system, which includes the classical computing resource management system described above.

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

[0032] A first quantum computing hardware device, wherein the classical computing resource management system according to any one of the above items is arranged on the first quantum computing hardware device; and

[0033] The second quantum computing hardware device in communication with the first quantum computing hardware device comprises a quantum chip, wherein the communication module of the classical computing resource management system sends the quantum computing task to the second quantum computing hardware device for performing quantum computing.

[0034] Another embodiment of the present application provides a quantum computer-readable storage medium, wherein the storage medium stores one or more quantum computer-executable instructions. When the quantum computer-executable instructions are executed by a quantum computer, the classical computing resource management system described above is implemented.

[0035] Compared with the prior art, the classical computing resource management system disclosed in the present invention includes a quantum computing task scheduling unit, a classical computing resource management unit, and a classical computing back-end unit that are communicatively connected, wherein the quantum computing task scheduling unit is used to manage quantum computing resources, schedule and optimize quantum computing tasks; the classical computing resource management unit is used to provide a classical computing resource operation interface, manage classical computing resources, and uniformly schedule classical computing resources and quantum computing resources; the classical computing back-end unit is used to perform instruction transmission of quantum computing tasks, distributed simulation calculation of quantum computing tasks, calculation result feedback, and control of the computing back-end running state. It proposes a classical computing resource management system to achieve effective management and scheduling of classical computing resources and ensure efficient execution of quantum and classical hybrid computing. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0037] Figure 2 It is a schematic architecture block diagram of a first classic computing resource management system provided by an embodiment of the present invention;

[0038] Figure 3 is a schematic architecture block diagram of a second classic computing resource management system provided by an embodiment of the present invention;

[0039] Figure 4 is a schematic architecture block diagram of a third classic computing resource management system provided by an embodiment of the present invention;

[0040] Figure 5 It is a schematic architecture block diagram of the fourth classic computing resource management system provided by an embodiment of the present invention.

[0041] Description of reference numerals:

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

[0043] 11 – Processor,

[0044] 12 - Memory,

[0045] 100-Quantum Computer Operating System,

[0046] 20-Second quantum computing hardware device,

[0047] 21-Quantum chip,

[0048] 200-Classic Computing Resource Management System,

[0049] 201-Quantum computing task scheduling unit,

[0050] 202-Classic Computing Resource Management Unit,

[0051] 203-Classical Computing Backend Unit,

[0052] 204 - first programming interface unit,

[0053] 205-Second programming interface unit,

[0054] 206 - the third programming interface unit,

[0055] 207-Quantum Programming Framework Unit,

[0056] 208 – Machine Learning Unit. DETAILED DESCRIPTION

[0057] 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.

[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] 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.

[0060] 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.

[0061] 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.

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

[0063] 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.

[0064] Figure 1 is a block diagram of a quantum computer provided by an embodiment of the present invention, such as Figure 1As 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.

[0065] The quantum computer operating system 100 may include a communication module for implementing a classical computing resource management 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.

[0066] The classical computing resource management system in the embodiment of the present application can be applied to the quantum computer operating system 100, which is a computer program for managing quantum computing software and hardware resources. Figure 2 , Figure 3 , Figure 4 and Figure 5 Describe the relevant modules of each embodiment.

[0067] Figure 2 is a schematic block diagram of the first classical computing resource management system provided by an embodiment of the present invention. Figure 2 As shown, the classical computing resource management system 200 may include: a quantum computing task scheduling unit 201, a classical computing resource management unit 202, and a classical computing back-end unit 203 that are communicatively connected, wherein the quantum computing task scheduling unit 201 is used to manage quantum computing resources, schedule and optimize quantum computing tasks; the classical computing resource management unit 202 is used to provide a classical computing resource operation interface, manage classical computing resources, and uniformly schedule classical computing resources and quantum computing resources; the classical computing back-end unit 203 is used to perform instruction transmission of quantum computing tasks, distributed simulation calculations of quantum computing tasks, feedback of calculation results, and control of the computing back-end operating status.

[0068] Specifically, the quantum computing task scheduling unit 201 may include a quantum computing task queue subunit and a scheduling subunit, wherein the quantum computing task queue subunit is used to receive and store the quantum computing task, query the current quantum computing task based on the priority computing strategy, and adjust the priority of other unexecuted quantum computing tasks; the scheduling subunit is used to determine the quantum computing task that meets the preset conditions according to the current computing resource state and the task priority state of the quantum computing task queue, and schedule computing resources for the quantum computing task that meets the preset conditions, wherein the preset conditions are determined according to the execution efficiency of the current quantum computing task, the task carrying capacity of the quantum chip that executes the quantum computing task, and the fidelity.

[0069] It should be noted that the priority calculation strategy may include one or a combination of a highest response ratio priority scheduling strategy, a first-in-first-out scheduling strategy, and a task backfilling task scheduling strategy.

[0070] The classical computing resource management unit 202 may include a computing resource management subunit, a computing resource determination subunit, and a computing resource locking and releasing subunit, wherein the computing resource management subunit is used to dynamically maintain and manage all computing resources through a data table, the computing resources are stored in the data table in a preset data format, and the data table is optimized according to the execution result of the quantum computing task and the detection result of the preset detection program of the computing resources; the computing resource determination subunit is used to determine the target computing resources required for the quantum computing task; the computing resource locking and releasing subunit is used to respond to the scheduling request of the quantum computing task, and lock the target computing resources used by the quantum computing task; when the execution of the quantum computing task is completed, the locked target computing resources are released.

[0071] Exemplarily, the computing resource management subunit can maintain the overall quantum computing resource information through a data table, and the computing resource information corresponding to each quantum 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 quantum 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 computer operating system through the following programming interface unit and make reasonable quantum computing task arrangement plans.

[0072] The computing resource locking and releasing subunit is mainly used to realize the exclusive and releasing functions of computing resources. In the computing resource information data table, the computing resource information of the computing backend of each quantum computing task is stored independently. Among them, the quantum bit is the smallest unit of quantum computing resource management. When a quantum computing task is scheduled, the computing resource locking and releasing subunit locks the target computing resources used by the quantum computing task. The locked computing resources cannot be used for other quantum computing tasks at present; when the quantum computing task is completed, the locked computing resources are released and return to the idle state. The computing resources in the idle state can be used for other quantum computing tasks.

[0073] It should be noted that based on the fixed topological relationship of quantum bits, when allocating quantum computing resources, the quantum computer operating system can select appropriate computing resources according to the combinatorial optimization algorithm of the graph to ensure the correct and efficient execution of quantum computing tasks, while ensuring that other computing resources can carry more quantum computing tasks to improve the overall task execution volume of the quantum computer operating system.

[0074] The classical computing backend unit 203 may include a high-performance classical computing cluster, mainly a classical distributed computing cluster. The classical distributed computing cluster may include two solutions: a high-performance classical computing cluster and a third-party cluster. Among them, the high-performance classical computing cluster has a finer management granularity, supports a variety of classical computing resource scheduling strategies, and can achieve efficient integration of quantum computing and classical computing; the third-party cluster mainly interacts with the system itself through the cluster service program of the quantum computer operating system for quantum simulation computing.

[0075] Figure 3 is a schematic block diagram of the architecture of the second classical computing resource management system provided by an embodiment of the present invention. Figure 3 As shown, the classical computing resource management system 200 may also include: a first programming interface unit 204, used to execute or cancel the quantum computing task, query the queue status of the quantum computing task and the usage of the classical computing resources and / or the quantum computing resources; a second programming interface unit 205, used to execute the distributed quantum simulation calculation of the quantum computing task under the unified scheduling state of classical computing resources and quantum computing resources; a third programming interface unit 206, used to receive and process the running result of the quantum computing task, wherein the running result of the quantum computing task includes the correct processing result and the error feedback under abnormal circumstances.

[0076] Exemplarily, the first programming interface unit 204 may include interfaces for classical computing task operations such as submitting quantum computing tasks, canceling quantum computing tasks, and querying the status of quantum computing task queues and computing resource status. The second programming interface unit 205 may include a quantum simulation computing interface to realize the submission of quantum simulation computing tasks to the classical computing module through the quantum simulation computing interface, thereby alleviating the pressure of insufficient quantum computing resources; in the quantum-classical hybrid program, by calling the quantum simulation computing interface, distributed quantum simulation computing is directly performed on the pre-allocated computing nodes, simplifying the traditional quantum simulation computing process, and effectively improving the execution efficiency of the quantum-classical hybrid program. The third programming interface unit 206 may include a quantum computing result processing interface, which can realize the automatic return of the running results of the quantum computing task. For example, the running results of the quantum computing task can be returned to the quantum computer operating system through this interface, and then further processing can be continued according to the status of the running results. The third programming interface unit 206 improves efficiency and user experience by actively returning the running results, compared with the method of users querying the calculation results regularly.

[0077] Figure 4 is a schematic block diagram of the architecture of the third classical computing resource management system provided by an embodiment of the present invention. Figure 4 As shown, the classical computing resource management system 200 may further include: a quantum programming framework unit 207, wherein the quantum programming framework unit 207 is used to provide a quantum-classical hybrid programming language and a visual programming IDE to generate quantum computing tasks.

[0078] Exemplarily, the quantum programming framework unit 207 may include a quantum programming framework subunit and a quantum classical hybrid compilation framework subunit, wherein the quantum programming framework subunit 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 subunit 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 subunit 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.

[0079] Figure 5 is a schematic block diagram of the fourth classical computing resource management system provided by an embodiment of the present invention. Figure 5As shown, the classic computing resource management system 200 may also include: a machine learning unit 208, wherein the machine learning unit 208 is used to record and identify performance differences between computing nodes, and when allocating computing resources, give priority to allocating computing nodes with high computing efficiency rankings.

[0080] Exemplarily, the machine learning unit 208 may include a computing node sorting subunit and a machine learning framework subunit, wherein the computing node sorting subunit is used to identify the performance differences between computing nodes in the historical computing records of the classical computing resource management system, so as to facilitate the subsequent allocation of computing resources. Priority is given to allocating computing nodes with higher computing efficiency to ensure the computing efficiency of quantum computing tasks, and computing nodes with similar performance are intelligently selected for joint computing to reduce mutual waiting between computing nodes and ensure maximum utilization of computing resources.

[0081] The machine learning framework subunit is used to provide users with quantum machine learning programming interfaces and development kits, and can also be used to build and train quantum machine learning and classical machine learning models, supporting simulation runs on a variety of hardware such as quantum computers and classical computers. The machine learning framework subunit can use programming languages ​​such as Python as the front-end language to facilitate user use. The machine learning framework subunit can also support automatic differentiation and dynamic computational graphs, and it integrates a variety of efficient computing libraries to effectively ensure machine learning efficiency, and is compatible with other machine learning frameworks, making it convenient for users to continue developing machine learning related applications.

[0082] It can be seen that the classical computing resource management system disclosed in the present invention includes a quantum computing task scheduling unit, a classical computing resource management unit, and a classical computing back-end unit that are communicatively connected, wherein the quantum computing task scheduling unit is used to manage quantum computing resources, schedule and optimize quantum computing tasks; the classical computing resource management unit is used to provide a classical computing resource operation interface, manage classical computing resources, and uniformly schedule classical computing resources and quantum computing resources; the classical computing back-end unit is used to perform instruction transmission of quantum computing tasks, distributed simulation calculations of quantum computing tasks, feedback of calculation results, and control of the computing back-end operating status. It proposes a classical computing resource management system to achieve effective management and scheduling of classical computing resources and ensure efficient execution of quantum and classical hybrid computing.

[0083] In another optional embodiment, the above-mentioned classic computing resource management systems can be installed in Figure 1 A quantum computer operating system on a quantum computer shown.

[0084] An embodiment of the present invention 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 classical computing resource management system is implemented.

[0085] Therefore, the embodiments disclosed herein may include a classical computing resource management system, 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.

[0086] 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.

[0087] 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.

[0088] 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.

[0089] 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.

[0090] 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.

[0091] 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.

[0092] The block diagram in the accompanying drawings shows the possible architecture, functions and processing of the classical computing resource management 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.

[0093] 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 classical computing resource management system applied to quantum computers, It is characterized in that The system comprises: The quantum computing task scheduling unit, the classical computing resource management unit, and the classical computing backend unit are connected in communication, wherein: The quantum computing task scheduling unit is used to manage quantum computing resources, schedule and optimize quantum computing tasks; The classical computing resource management unit is used to provide a classical computing resource operation interface, manage classical computing resources, and uniformly schedule classical computing resources and quantum computing resources; The classical computing back-end unit is used to perform instruction transmission of quantum computing tasks, distributed simulation calculations of quantum computing tasks, feedback of calculation results, and control of the running status of the computing back-end.

2. The system according to claim 1, It is characterized in that The quantum computing task scheduling unit includes: a quantum computing task queue subunit and a scheduling subunit, wherein: The quantum computing task queue subunit is used to receive and store the quantum computing task, query the current quantum computing task and adjust the priority of other unexecuted quantum computing tasks based on the priority computing strategy; The scheduling subunit is used to determine a quantum computing task that meets a preset condition according to a current computing resource state and a task priority state of a quantum computing task queue, and schedule computing resources for the quantum computing task that meets the preset condition, wherein the preset condition is determined according to the execution efficiency of the current quantum computing task, the task carrying capacity and fidelity of a quantum chip that executes the quantum computing task.

3. The system according to claim 2, It is characterized in that The priority calculation strategy includes: One or a combination of the highest response ratio priority scheduling strategy, the first-in-first-out scheduling strategy and the task backfilling task scheduling strategy.

4. The system according to claim 3, It is characterized in that The classical computing resource management system also includes: A first programming interface unit is used to execute or cancel the quantum computing task, query the queue status of the quantum computing task and the usage of the classical computing resources and / or the quantum computing resources; A second programming interface unit is used to perform distributed quantum simulation computing of the quantum computing task in a unified scheduling state of classical computing resources and quantum computing resources; The third programming interface unit is used to receive and process the execution result of the quantum computing task, wherein the execution result of the quantum computing task includes the correct processing result and the error feedback under abnormal circumstances.

5. The system according to claim 1, It is characterized in that The classical computing resource management unit comprises: A computing resource management subunit, a computing resource determination subunit, and a computing resource locking and releasing subunit, wherein: The computing resource management subunit 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 result of the quantum computing task and the detection result of the preset detection program of the computing resources; The computing resource determination subunit is used to determine the target computing resources required for the quantum computing task; The computing resource locking and releasing subunit is used to respond to the scheduling request of the quantum computing task, lock the target computing resource used by the quantum computing task; and release the locked target computing resource when the quantum computing task is completed.

6. The system according to claim 1 or 4, It is characterized in that The classical computing resource management system also includes: A quantum programming framework unit is used to provide a quantum-classical hybrid programming language and a visual programming IDE to generate quantum computing tasks.

7. The system according to claim 6, It is characterized in that The classical computing resource management system also includes: A machine learning unit is used to record and identify performance differences between computing nodes, and when allocating computing resources, give priority to computing nodes with high computing efficiency rankings.

8. A quantum computer operating system, It is characterized in that The quantum computer operating system comprises a classical computing resource management system according to any one of claims 1 to 7.

9. A quantum computer, It is characterized in that include: A first quantum computing hardware device, wherein the classical computing resource management 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 in communication with the first quantum computing hardware device comprises a quantum chip, wherein the communication module of the classical computing resource management system sends the quantum computing task to the second quantum computing hardware device for performing quantum computing.

10. A quantum computer readable storage medium, It is 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 classical computing resource management system according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Fusion computing system and task processing method

    CN119578565A

  • Classic and quantum combined database system and database operation method

    CN121681605A