A quantum task scheduling method and related device

By driving quantum real machine scheduling based on the resource requirements of quantum tasks, and using resource support mapping tables and expectation relationship management, the problem of low resource scheduling efficiency in quantum computing platforms is solved and efficient quantum task execution is achieved.

CN116468124BActive Publication Date: 2024-10-29SHENZHEN SPINQ TECHNOLOGY CO LTD +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202310479426.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-27
Publication Date
2024-10-29
Estimated Expiration
2043-04-27

AI Technical Summary

Technical Problem

In quantum computing platforms, changing user needs and limited quantum resources lead to reduced quantum task execution efficiency and resource waste, making it difficult to effectively schedule quantum tasks with existing technology.

Method used

By receiving quantum tasks and performing quantum real machine scheduling based on its resource requirements, the target quantum real machine is determined, and resource support mapping tables and expected relationship management are used to ensure that the target quantum real machine selected for the quantum task can meet platform requirements and improve scheduling efficiency.

Benefits of technology

It improves the effectiveness of quantum resource scheduling and the execution efficiency of quantum tasks, avoids resource waste and task delays, and ensures efficient task execution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116468124B_ABST
    Figure CN116468124B_ABST
Patent Text Reader

Abstract

The present application discloses a method for scheduling a quantum task and a related device, which relate to the field of quantum technology. The method comprises: receiving a quantum task; scheduling a quantum real machine for the quantum task based on the resource requirements of a platform to which the quantum task belongs, and obtaining a target quantum real machine corresponding to the quantum task; wherein the resource requirements are any one or more combinations of bit number requirements, physical system requirements, topological structure requirements, and quantum gate requirements; sending the quantum task to the target quantum real machine; scheduling the quantum real machine according to the resource requirements of the platform to which the quantum task belongs, ensuring that the target quantum real machine selected for the quantum task can effectively meet the platform requirements, thereby improving the effectiveness of quantum resource scheduling and improving the execution efficiency of the quantum task.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of quantum technology, and in particular to a quantum task scheduling method, a scheduling device, a computing device, and a computer-readable storage medium. Background Art

[0002] With the continuous development of quantum technology, quantum computing is increasingly being used in different experimental scenarios. In related technologies, quantum computing platforms can provide users with quantum resource rental services. However, in the face of changing user needs and limited quantum resources, if the quantum tasks submitted by tenants cannot be effectively scheduled, it will easily lead to problems such as reduced execution efficiency of quantum tasks and waste of quantum resources.

[0003] Therefore, how to effectively schedule quantum tasks is a technical problem that technical personnel in this field urgently need to solve. Summary of the invention

[0004] The purpose of this application is to provide a quantum task scheduling method, scheduling device, computing equipment and computer-readable storage medium to improve the reliability of quantum task scheduling.

[0005] In order to solve the above technical problems, the present application provides a quantum task scheduling method, including:

[0006] Receive quantum tasks;

[0007] Performing quantum real machine scheduling on the quantum task based on the resource requirements of the platform to which the quantum task belongs, to obtain a target quantum real machine corresponding to the quantum task; wherein the resource requirements are any one or more combinations of bit number requirements, physical system requirements, topological structure requirements, and quantum gate requirements;

[0008] The quantum task is sent to the target quantum real machine.

[0009] Optionally, the performing quantum real machine scheduling on the quantum task based on the resource demand of the platform to which the quantum task belongs to obtain a target quantum real machine corresponding to the quantum task includes:

[0010] Based on the resource support mapping table and the platform to which the quantum task belongs, quantum real machines are screened to determine the expected relationship between the platform to which the quantum task belongs and the idle quantum real machines; the resource support mapping table contains the mapping relationship between the platform and the idle quantum real machines, and is set based on the resource requirements of the platform and the available resources of the idle quantum real machines;

[0011] Saving the expected relationship to the platform expected real machine cache area;

[0012] For the selected idle quantum real machine, a target platform with the highest priority is determined among the platforms that have established an expected relationship with the selected idle quantum real machine, and the selected idle quantum real machine is used as a target quantum real machine corresponding to the quantum task of the target platform.

[0013] Optionally, before determining the target platform with the highest priority among the platforms that establish the desired relationship with the selected idle quantum real machine, the method further includes:

[0014] The submission time of the quantum task is used as the priority information of the platform to which the quantum task belongs.

[0015] Optionally, the screening of quantum real machines based on the resource support mapping table and the platform to which the quantum task belongs, and determining the expected relationship between the platform to which the quantum task belongs and the idle quantum real machines includes:

[0016] Filtering optional idle quantum real machines corresponding to the platform to which the quantum task belongs from the resource support mapping table;

[0017] Scoring each of the optional idle quantum real machines based on the number of platforms mapped in the resource support mapping table, the execution efficiency, and the scoring function, to obtain a scoring value for each of the optional idle quantum real machines;

[0018] The expected relationship is established between the platform to which the quantum task belongs and the optional idle quantum real machine with the largest score value.

[0019] Optionally, it also includes:

[0020] When detecting that a quantum real machine is online, adding the quantum real machine to the resource support mapping table according to the resources that can be provided by the quantum real machine;

[0021] When it is determined that the quantum real machine is idle, an idle mark is added to the resource support mapping table for the quantum real machine, so that the idle quantum real machine is selected from the resource support mapping table according to the idle mark.

[0022] Optionally, the adding the quantum real machine to the resource support mapping table according to the available resources of the quantum real machine includes:

[0023] Obtaining the number of bits that can be provided by the quantum real machine;

[0024] A mapping relationship is established between a platform whose required number of bits is less than or equal to the number of bits that can be provided and the quantum real machine, and the mapping relationship corresponding to the quantum real machine is added to the resource support mapping table.

[0025] Optionally, the adding the quantum real machine to the resource support mapping table according to the available resources of the quantum real machine includes:

[0026] A physical system that can provide the quantum real machine;

[0027] A mapping relationship is established between the required physical system, the platform that can provide the same physical system, and the quantum real machine, and the mapping relationship corresponding to the quantum real machine is added to the resource support mapping table.

[0028] Optionally, the adding the quantum real machine to the resource support mapping table according to the available resources of the quantum real machine includes:

[0029] Obtaining the quantum real machine that can provide quantum gates;

[0030] A mapping relationship is established between the platform whose required quantum gates are the subset of the quantum gates that can be provided and the quantum real machine, and the mapping relationship corresponding to the quantum real machine is added to the resource support mapping table.

[0031] Optionally, the adding the quantum real machine to the resource support mapping table according to the available resources of the quantum real machine includes:

[0032] Obtaining a topological structure that can be provided by the quantum real machine;

[0033] Determine through a backtracking algorithm that the required topological structure is the platform of the subgraph that can provide the topological structure, and establish a mapping relationship between the platform and the quantum real machine;

[0034] Add the mapping relationship corresponding to the quantum real machine to the resource support mapping table.

[0035] The present application also provides a quantum task scheduling device, including:

[0036] A task receiving module, used to receive quantum tasks;

[0037] A task scheduling module, used to schedule the quantum task on a quantum real machine based on the resource requirements of the platform to which the quantum task belongs, to obtain a target quantum real machine corresponding to the quantum task; wherein the resource requirements are any one or more combinations of bit number requirements, physical system requirements, topological structure requirements, and quantum gate requirements;

[0038] A task distribution module is used to send the quantum task to the target quantum real machine.

[0039] The present application also provides a computing device, including:

[0040] Memory for storing computer programs;

[0041] A processor is used to implement the steps of the scheduling method described above when executing the computer program.

[0042] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the scheduling method described above are implemented.

[0043] The present application provides a method for scheduling a quantum task, comprising: receiving a quantum task; scheduling the quantum task on a quantum real machine based on the resource requirements of a platform to which the quantum task belongs, to obtain a target quantum real machine corresponding to the quantum task; wherein the resource requirements are any one or more combinations of bit number requirements, physical system requirements, topological structure requirements, and quantum gate requirements; and sending the quantum task to the target quantum real machine.

[0044] It can be seen that the present application can perform quantum real machine scheduling according to the resource requirements of the platform to which the quantum task belongs, and obtain the target quantum real machine of the quantum task. For example, the quantum real machine scheduling can be performed according to one or more combinations of the bit number requirements, physical system requirements, topological structure requirements, and quantum gate requirements of the platform to which the quantum task belongs, thereby ensuring that the target quantum real machine selected for the quantum task can effectively meet the platform requirements, thereby improving the effectiveness of quantum resource scheduling and improving the execution efficiency of quantum tasks.

[0045] The present application also provides a quantum task scheduling device, a computing device, and a computer-readable storage medium, which have the above beneficial effects and are not described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0047] Figure 1 A flowchart of a quantum task scheduling method provided in an embodiment of the present application;

[0048] Figure 2 A schematic diagram of the structure of a quantum task scheduling method provided in an embodiment of the present application;

[0049] Figure 3 A schematic diagram of a resource support mapping table provided in an embodiment of the present application;

[0050] Figure 4A schematic diagram of the structure of a quantum task scheduling device provided in an embodiment of the present application;

[0051] Figure 5 A schematic diagram of the structure of a computing device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0052] The core of this application is to provide a quantum task scheduling method, scheduling device, computing equipment and computer-readable storage medium to improve the accuracy and effect of quantum task scheduling.

[0053] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0054] In the related technology, the quantum computing platform can provide users with quantum resource rental services. However, in the face of changing user needs and limited quantum resources, if the quantum tasks submitted by tenants cannot be effectively scheduled, it will easily lead to problems such as reduced execution efficiency of quantum tasks and waste of quantum resources. For example, multiple quantum real machines may be able to perform experiments on one platform (such as two existing quantum computers, both of which can perform experiments on a 2-bit nuclear magnetic platform); at the same time, the same quantum real machine may also be able to perform experiments on multiple platforms (such as an existing quantum computer that can perform experiments on both a 2-bit nuclear magnetic platform and a 3-bit nuclear magnetic platform). However, when a quantum real machine performs experiments on different platforms, the corresponding efficiency may be different. For example, a quantum real machine can take 3 minutes to complete a 2-bit experiment, but it takes 6 minutes to complete a 3-bit experiment. Furthermore, if quantum real machines are randomly allocated to each platform, the optimal execution efficiency will not be achieved. Even when a quantum real machine does not meet the resource requirements of the platform, it will not be able to perform the experiments issued by the platform at all, which will not only easily waste quantum real machine resources, but also cause the experiment to be unable to proceed. In view of this, the present application can provide a method for scheduling quantum tasks, which can schedule quantum real machines according to the resource requirements of the platform to which the quantum task belongs, and can ensure that the target quantum real machine selected for the quantum task can effectively meet the platform requirements, thereby improving the effectiveness of quantum resource scheduling and improving the execution efficiency of quantum tasks. It should be noted that the embodiments of the present application do not limit the specific hardware device for executing the method, for example, it can be a personal computer or a server, and can be set according to actual application requirements.

[0055] Please refer to Figure 1 , Figure 1 A flowchart of a quantum task scheduling method provided in an embodiment of the present application, the method may include:

[0056] S101, receiving quantum tasks.

[0057] It should be pointed out that quantum tasks refer to quantum experimental tasks that need to be performed by quantum real machines, such as quantum simulation, algorithm design, etc.; and quantum real machines refer to quantum computers, that is, hardware devices that perform quantum tasks. In the embodiment of the present application, quantum tasks can be specifically collected by the platform that interfaces with the user, and handed over to the scheduling device that executes this method for quantum real machine scheduling. It should be noted that the embodiment of the present application does not limit the number of platforms that the device that executes this method can interface with, and can be set according to actual application requirements.

[0058] S102, scheduling the quantum task on a quantum real machine based on the resource requirements of the platform to which the quantum task belongs, and obtaining a target quantum real machine corresponding to the quantum task; wherein the resource requirements are any one or more combinations of bit number requirements, physical system requirements, topological structure requirements, and quantum gate requirements.

[0059] It should be pointed out that the platform mentioned above is further provided with resource requirements. The supplier of quantum resources can set up multiple platforms according to the different resources used, and can mark the resource requirements for each platform. Furthermore, the platform can collect quantum tasks with the same or similar requirements from users according to this resource requirement, and can also request the target quantum real machine from the scheduling device according to this resource requirement. In other words, the embodiment of the present application can use the concept of platform to classify quantum tasks, so that quantum tasks under the same platform have the same or similar resource requirements. On this basis, the platform only needs to request the target quantum real machine from the scheduling device according to its own configured resource requirements, and the scheduling device only needs to schedule the quantum task based on the resource requirements of the platform to which the quantum task belongs. The target quantum real machine can ensure that the target quantum real machine corresponding to the quantum task can fully meet the needs of the quantum task, thereby not only improving the reliability of quantum task scheduling, but also improving the execution efficiency of quantum tasks.

[0060] It is understandable that the platform can easily collect a large number of quantum tasks submitted by users at the same time. In order to effectively manage quantum tasks, a task queue can be set up in the platform to request the target quantum machine for each quantum task in turn.

[0061] Further, as described in step S102, the resource requirements of the platform can be any one of the bit number requirements, physical system requirements, topological structure requirements and quantum gate requirements, or a combination of any of the above five requirements, which can be set according to actual application requirements. Among them, the physical system is the classification of the implementation principle of quantum real machine operation. Quantum real machines of different physical systems have differences in running time, supported operations, etc.; the number of bits is one of the important indicators for measuring the performance of quantum computers, which represents the number of bits that the quantum computer can process; for quantum experimental platforms with multi-bit quantum gates, quantum entanglement between bits is necessary, and the topological structure is a graphical representation of whether entanglement can be generated between bits; quantum gates are specific operation instructions for performing calculations on quantum real machines. Whether a quantum real machine can implement specific quantum gate operations is closely related to its manufacturing process. In other words, the basis for the quantum resource supplier to divide the platform may be related to the physical system, number of bits, performance, topological structure, quantum gates, etc. It should be noted that the embodiment of the present application does not limit how to schedule quantum real machines according to the above resource requirements, as long as it can ensure that the resources available for the target quantum real machine can meet the above resource requirements.

[0062] Furthermore, if the resource requirements of the platform need to be compared with the available resources of the quantum real machine every time the quantum real machine scheduling is performed, only suboptimal scheduling efficiency and scheduling effect can be achieved. In view of this, the embodiment of the present application can also set a resource support mapping table in advance based on the resource requirements of the platform and the available resources of the quantum real machine to record the mapping relationship between the platform and the quantum real machine. In other words, the embodiment of the present application can determine in advance whether the quantum real machine can serve the platform. Furthermore, when scheduling the real machine, it is only necessary to look up the table to quickly determine the quantum real machine that meets the platform requirements, thereby improving the efficiency of quantum real machine scheduling. It should be noted that the embodiment of the present application does not limit the specific mapping relationship. For example, the mapping relationship between the platform and the quantum real machine can be one-to-one, one-to-many, or many-to-one, which can be set according to actual application requirements. The embodiment of the present application also does not limit the setting method of the resource support mapping table. The setting method is specifically related to the resource requirements. For example, the setting method of the resource support mapping table corresponding to the physical system, number of bits, performance, topology, and quantum gate can be different, which can be set according to actual application requirements.

[0063] Furthermore, it is obvious that if an idle quantum real machine can be allocated to the platform, the platform can avoid waiting for the quantum real machine to complete the previous job, thereby reducing unnecessary waiting time and improving user experience, wherein the idle quantum real machine is a quantum real machine that is not currently working. Therefore, the mapping relationship between the platform and the idle quantum real machine recorded in the resource support mapping table is an important information to be referred to for quickly allocating available quantum real machines to the platform. Under this idea, the resource support mapping table can only set the mapping relationship between the platform and the idle quantum real machine, that is, the scheduling device will only record it in the resource support mapping table when it is determined that the quantum real machine is in an idle state; or, while the resource support mapping table records the mapping relationship between the platform and all online quantum real machines, it can also set an idle flag for each online quantum real machine, that is, the quantum real machine will be recorded in this mapping table when it goes online, but it will only be selected by the scheduling device when it is marked with an idle flag. In simple terms, when the scheduling device determines that a certain online quantum real machine is idle, it can mark it with an idle flag in the resource support mapping table; conversely, when the scheduling device determines that a certain online quantum real machine is in a working state, it can cancel its idle flag in the resource support mapping table. Furthermore, the scheduling device only needs to select an idle quantum real machine for the platform based on the idle identifier in the resource support mapping table. It should be noted that the embodiment of the present application does not limit how the scheduling device determines the idle state of the quantum real machine. For example, the quantum real machine can actively report the idle state to the scheduling device, or the scheduling device can ask the quantum real machine whether it is in an idle state, which can be set according to actual application requirements.

[0064] Furthermore, it should be pointed out that when scheduling quantum tasks, multiple platforms may compete for the same quantum real machine. In this regard, the present application may adopt the method of "real machine selection platform" for scheduling. Specifically, after the scheduling device determines the corresponding idle quantum real machine according to the resource requirements of the platform, it will not directly use the idle quantum real machine as the target quantum real machine, but will establish an expected relationship between the platform and the idle quantum real machine, and save this expected relationship to the platform expected real machine cache. Subsequently, for a selected idle quantum real machine, multiple platforms with which an expected relationship is established can be determined in the platform expected real machine cache, and the platform with the highest priority can be selected from these multiple platforms as the target platform corresponding to the selected idle quantum real machine. Furthermore, the selected idle quantum real machine can be used as the target quantum real machine corresponding to the quantum task of the target platform. In other words, the present application involves two processes of "platform selection real machine" and "real machine selection platform". The platform first selects the idle quantum real machine required by itself, and the same idle quantum real machine then selects the target platform with the highest priority from the multiple platforms expected by itself. In this way, it can be ensured that the target quantum real machine meets the needs of the platform, and it can also be ensured that the target quantum real machine gives priority to executing tasks for high-level platforms, thereby effectively improving the scheduling effect.

[0065] It should be noted that the embodiments of the present application do not limit the specific form of priority. For example, the supplier of quantum resources can mark the level of each platform in advance; for another example, the priority can be set according to the time when the user submits the quantum task, that is, the submission time of the quantum task is used as the priority information of the platform that sends the quantum task. In the embodiments of the present application, in order to ensure that the tasks submitted first are executed first, the priority of the platform can be set according to the submission time of the quantum task.

[0066] Based on this, in order to improve the efficiency and effect of quantum task scheduling, this step may include:

[0067] S1021, screening quantum real machines based on the resource support mapping table and the platform to which the quantum task belongs, and determining the expected relationship between the platform to which the quantum task belongs and the idle quantum real machines; the resource support mapping table includes the mapping relationship between the platform and the idle quantum real machines, and is set based on the resource requirements of the platform and the available resources of the idle quantum real machines;

[0068] S1022, saving the expected relationship to the platform expected real machine cache area;

[0069] S1023, for the selected idle quantum real machine, determine the target platform with the highest priority among the platforms that have established an expected relationship with the selected idle quantum real machine, and use the selected idle quantum real machine as the target quantum real machine corresponding to the quantum task of the target platform.

[0070] It should be noted that although step S1021 and step S1023 are described in a sequential order, in actual application scenarios, these two steps can be performed simultaneously. At the same time, the embodiment of the present application can also set two independent threads to execute step S1021 and step S1023 respectively.

[0071] Further, it should be noted that the embodiments of the present application do not limit the way of establishing the expected relationship. For example, one or more idle quantum real machines that establish a mapping relationship with the platform in the resource support mapping table can be used as the idle quantum real machines expected by the platform. Of course, it is also possible to screen among these multiple idle quantum real machines to select the idle quantum real machine that best suits the platform. In order to reduce the information complexity in the platform's expected real machine cache, the multiple idle quantum real machines mapped by the platform can be optimized to select only one expected idle quantum real machine for the platform. The embodiments of the present application also do not limit the preferred method of idle quantum real machines. For example, it can be optimized based on the execution efficiency of the idle quantum real machines, or it can be optimized based on the number of platforms mapped by the idle quantum real machines and the execution efficiency, and can be set according to actual application requirements.

[0072] Based on this, in order to improve the accuracy of determining the expected quantum real machine and select a more accurate quantum real machine from the resource support mapping table, the step S1021 may include:

[0073] Step 1: Filter the available idle quantum real machines corresponding to the platform to which the quantum task belongs from the resource support mapping table;

[0074] Step 2, based on the number of platforms mapped by each optional idle quantum real machine in the resource support mapping table, the execution efficiency and the scoring function, a score calculation is performed on each optional idle quantum real machine to obtain a score value of each optional idle quantum real machine;

[0075] Step 3: Establish an expected relationship between the platform to which the quantum task belongs and the optional idle quantum real machine with the largest score value.

[0076] It should be noted that the embodiment of the present application does not limit the specific form of the scoring function. In one possible case, the scoring function may be: w1(1 / pnum)+w2*system_score.

[0077] Among them, pnum is the number of platforms mapped by the optional idle quantum real machine in the resource support mapping table, system_score represents the execution efficiency of the optional idle quantum real machine, w1 and w2 both represent weights, among which weight w1 is the highest. The purpose of using the number of platforms as the denominator is to avoid machines that support a single platform always failing in the competition with machines that support multiple platforms and causing starvation.

[0078] Furthermore, the maintenance method of the resource support mapping table will be described in detail below. As described above, when the scheduling device determines that the quantum real machine is online, it can add it to the resource support mapping table according to its corresponding available resources, and can mark it with an idle mark when it is determined to be idle. It should be noted that the embodiment of the present application does not limit the detection method of the online status of the quantum real machine. For example, it can be actively reported by the quantum real machine, or it can be periodically detected by the scheduling device, which can be set according to actual application requirements.

[0079] Based on this, the method may further include:

[0080] Step 11: When the quantum real machine is detected to be online, the quantum real machine is added to the resource support mapping table according to the available resources of the quantum real machine;

[0081] Step 12: When it is determined that the quantum real machine is idle, an idle mark is added to the resource support mapping table for the quantum real machine, so that an idle quantum real machine is selected from the resource support mapping table according to the idle mark.

[0082] The following will introduce the specific methods of adding quantum real machines to the resource support mapping table based on the five resource requirements of physical system, number of bits, performance, topology, and quantum gates. Of course, it is understandable that these five methods can also be combined with each other to improve the reliability of the resource support mapping table, which can be set according to actual application requirements. In one possible case, step 11 may include:

[0083] Step 21, obtaining the number of bits that can be provided by the quantum real machine;

[0084] Step 22, establish a mapping relationship between the platform whose required number of bits is less than or equal to the number of bits that can be provided and the quantum real machine, and add the mapping relationship corresponding to the quantum real machine to the resource support mapping table.

[0085] For example, the number of bits of platform A (resource type A) is 2, the number of bits of platform B is 4, the number of bits of platform C is 4, the number of bits of quantum real machine 1 is 2, the number of bits of quantum real machine 2 is 4, and the number of bits of quantum real machine 3 is 6. It can be seen that except for the bit number of quantum real machine 1, which cannot execute experiments on platforms B and C, other quantum real machines can execute experiments on other platforms.

[0086] In one possible scenario, step 11 may include:

[0087] Step 31, obtaining a physical system that can be provided by a quantum real machine;

[0088] Step 32, establish a mapping relationship between the required physical system and the platform that can provide the same physical system and the quantum real machine, and add the mapping relationship corresponding to the quantum real machine to the resource support mapping table.

[0089] This embodiment can establish a mapping relationship between the platform (resource type) of the same physical system and the quantum real machine. Among them, the physical system includes nuclear magnetic, superconducting and unrestricted. When the physical system of the resource type is unrestricted, it means that the physical system of the quantum real machine can perform the corresponding task without restriction.

[0090] In one possible scenario, step 11 may include:

[0091] Step 41, obtaining the quantum gates available from the quantum real machine;

[0092] Step 42, establish a mapping relationship between the platform that can provide a subset of the required quantum gates and the quantum real machine, and add the mapping relationship corresponding to the quantum real machine to the resource support mapping table.

[0093] In this embodiment, the quantum real machine must support the quantum gate operations that a certain platform (resource type) needs to include in order to execute the quantum tasks on the platform. For example, the quantum gates of platform A (resource type A) include H, X, Y, Z, CX, CZ, the quantum gates of platform B include H, X, Y, Z, CX, CZ, the quantum gates of platform C include H, X, Y, Z, CZ, the quantum gates of quantum real machine 1 include H, X, Y, Z, CX, CY, CZ, the quantum gates of quantum real machine 2 include H, X, Y, Z, CZ, T, and the quantum gates of quantum real machine 3 include H, X, Y, Z, CX, CZ, T. It can be seen that because quantum real machine 2 does not support CX operations, it cannot be used to execute the tasks of platform B.

[0094] In one possible scenario, step 11 may include:

[0095] Step 51, obtaining the available topological structure of the quantum real machine;

[0096] Step 52, determining through a backtracking algorithm that the required topological structure is a platform that can provide a subgraph of the topological structure, and establishing a mapping relationship between the platform and the quantum real machine;

[0097] Step 53, adding the mapping relationship corresponding to the quantum real machine to the resource support mapping table.

[0098] In this embodiment, the mapping of nodes in the permutation and combination topology graph B to nodes in the topology graph A can be realized through a backtracking algorithm to find out whether there is a solution that satisfies the connection relationship of all nodes in the topology graph A. If all solutions that satisfy the connection relationship of nodes in the topology graph A can be found, it means that the topology graph A is a subgraph of the topology graph B. At the same time, the corresponding quantum real machine can adapt to the corresponding resource type.

[0099] S103, sending the quantum task to the target quantum machine.

[0100] Based on S102, this step aims to send the quantum task to the target quantum real machine. Further, the quantum task can be sent to the real machine client of the target quantum real machine. Among them, the real machine client is Windows desktop software, which communicates with the quantum computer through USB and communicates with the cloud platform server through the websocket network protocol. It is an important bridge in the quantum computing process. The client and the quantum computer real machine are one-to-one. Clients of multiple machines can communicate with the cloud platform server at the same time.

[0101] In summary, the present application can perform quantum real machine scheduling according to the resource requirements of the platform to which the quantum task belongs, and obtain the target quantum real machine for the quantum task. For example, the quantum real machine scheduling can be performed according to one or more combinations of the bit number requirements, physical system requirements, topological structure requirements, and quantum gate requirements of the platform to which the quantum task belongs, thereby ensuring that the target quantum real machine selected for the quantum task can effectively meet the platform requirements, thereby improving the effectiveness of quantum resource scheduling and improving the execution efficiency of quantum tasks.

[0102] Based on the above embodiments, an embodiment of a task scheduling process using an experimental platform is provided below to further illustrate a quantum task scheduling method provided in the present application.

[0103] Please refer to Figure 2 , Figure 2 A schematic diagram of the structure of a quantum task scheduling method provided in an embodiment of the present application.

[0104] Among them, the task queue 100 represents the experimental queue of each platform in the server, that is, the producer of this system.

[0105] The quantum physics real machine client 300 represents the quantum real machine that performs tasks, that is, the consumer of this system.

[0106] The registration center 200 (ie, the scheduling device) includes two important data storage structures and two important decision functions.

[0107] The resource support mapping table 201 includes a many-to-many mapping diagram between platforms and idle quantum machines, which represents which quantum machines support running experiments on which platforms. The mapping relationship is determined by the bit number, physical system, supported quantum gate operations and topological structure of both parties.

[0108] Table 1. Resource parameters of the platform and quantum real machine

[0109]

[0110] Please refer to the quantum resource parameters shown in Table 1. Among them, for the number of bits, the quantum real machine can only execute experiments sent by quantum experimental platforms with a bit number less than or equal to its own bit number, so the real machine 1 cannot be used to execute experiments on platform B and platform C.

[0111] Among them, the physical system is a classification of the implementation principles of quantum real machine operations. Quantum real machines of different physical systems differ in terms of running time and supported operations. The supplier can specify or not limit the physical system of the experimental platform, but the physical system of the quantum real machine is determined during production, so it must exist. A real machine of a certain physical system should not be used to perform tasks of an experimental platform that does not belong to the quantum system. Therefore, real machine 2 cannot be used to perform tasks of platform A.

[0112] Among them, quantum gates are specific operation instructions for performing calculations on a quantum real machine. Whether a quantum real machine can implement specific quantum gate operations is closely related to its manufacturing process. A quantum real machine must support all quantum gate operations that a certain experimental platform wants to include in order to perform experimental tasks on that platform. Therefore, because real machine 2 does not support CX operations, it cannot be used to perform tasks on platform B.

[0113] For quantum experimental platforms with multi-bit quantum gates, quantum entanglement between bits is necessary, and the topological graph (topological structure) is a graphical representation of whether entanglement can be generated between bits. In the topological graph, nodes represent individual bits. If there is an edge between two nodes, it means that they can be entangled. The quantum real machine must satisfy the topology of all quantum experimental platforms before the experiment of this quantum platform can be performed. From an algorithmic point of view, that is, only when the topological graph A of the quantum experimental platform is a subgraph of the topological graph B of the quantum real machine, this real machine is allowed to be associated with this quantum experimental platform. Therefore, the backtracking algorithm can be used to realize the mapping of nodes in the permutation and combination topological graph B to nodes in the topological graph A, and find out whether there is a solution that satisfies the connection relationship of all nodes in the topological graph A.

[0114] For example, determine whether quantum real machine 3 can support platform B.

[0115] 1. Assuming that platform B-node 1 = quantum real machine 3-node 1, platform B-node 2 = quantum real machine 3-node 2, platform B-node 3 = quantum real machine 3-node 3, platform B-node 4 = quantum real machine 3-node 4, it is found that the interconnection relationship between platform B-node 1 and platform B-node 3 is not satisfied.

[0116] 2. Assuming that platform B-node 1 = quantum real machine 3-node 1, platform B-node 2 = quantum real machine 3-node 2, platform B-node 3 = quantum real machine 3-node 5, platform B-node 4 = quantum real machine 3-node 6, it is found that the connection relationship of all nodes of platform B is satisfied, so quantum real machine 3 can support platform B.

[0117] By analogy, we can find that Quantum Real Machine 2 cannot support platform C, but can support platform B. Quantum Real Machine 3 can support both platform B and platform C.

[0118] Please refer to Figure 3 , Figure 3 A schematic diagram of a resource support mapping table provided in an embodiment of the present application.

[0119] Taking all the above conditions into consideration, the platforms and machines shown in Table 1 ultimately support each other as follows: Figure 3 shown.

[0120] Furthermore, the data structure storing the mapping relationship is composed of two key-value maps, one with the platform ID as the key and the machine list as the value, and the other with the machine ID as the key and the platform list as the value. At the same time, the present embodiment implements the add, delete, modify and query function with thread lock to maintain the consistency of the data in the two maps.

[0121] The data structure is as follows:

[0122] platformToMachineMap:{

[0123] platformA:[machine1,machine3],

[0124] platformB:[machine3],

[0125] platformC:[machine3]

[0126] };

[0127] machineToPlatformMap:{

[0128] machine1:[platformA],

[0129] machine2:[],

[0130] machine3:[platformA,platformB,platformC]

[0131] }.

[0132] The decision function 203 from the platform perspective represents the decision function for selecting the most suitable real machine for the platform, whose input is a platform and whose output is a real machine, or null (indicating that there is no real machine that can perform the current task). If there is a machine in the output, the task is recorded in the platform's expected real machine buffer.

[0133] The platform expects the real machine cache area 202 to temporarily store the real machine clients that each platform currently expects to obtain in the format of a key-value map. The reason for using the platform ID as the key is that with the development of the quantum industry, the number of available quantum real machines may increase rapidly, but the number of platform categories provided by a cloud platform is generally very limited (no more than 20). In a one-to-one relationship mapping table, using a smaller number of keys can reduce storage space and traversal time consumption.

[0134] The decision function 204 from the perspective of the physical real machine represents the decision function for selecting the most suitable task for the real machine. It selects a platform with the highest priority from all platforms that want this machine in the platform's expected real machine cache to execute the corresponding quantum task.

[0135] Based on the above structural diagram, the following task scheduling method can be implemented.

[0136] In this embodiment, the method may include:

[0137] Step 301, receiving a quantum task from the platform;

[0138] Step 302, scheduling the quantum task on a quantum real machine based on the resource requirements of the platform to which the quantum task belongs, and obtaining a target quantum real machine corresponding to the quantum task; wherein the resource requirements are any one or more combinations of bit number requirements, physical system requirements, topological structure requirements, and quantum gate requirements;

[0139] Step 303: Send the quantum task to the client of the target quantum machine so as to carry out the corresponding quantum experiment.

[0140] Furthermore, in this embodiment, when a quantum experiment task is pushed into the task queue on a platform:

[0141] If this is the first experiment of the task queue: it will ask the registry whether there is an available machine. If it is found, it will execute step 2. If it is found that there is no available machine, it will stop pushing the execution task request to the registry.

[0142] If this is not the first experiment with this task queue, it means that there were no machines available before this.

[0143] Furthermore, the steps of the scheduling method in this embodiment may include:

[0144] Step 1: When a machine (quantum real machine) comes online, it will be added to the many-to-many mapping diagram between the platform and the real machine client, and step 4 will be executed. The registration center will also notify all platforms related to this machine that they can start pushing tasks.

[0145] Step 2: If a platform receives a prompt that a task can be pushed, it will start a thread for the platform to select a real machine. Repeat the process of selecting an optimal solution from the idle machines corresponding to the platform until there are no tasks to be executed or no idle machines.

[0146] The scoring function model for obtaining the optimal solution is w1(1 / pnum)+w2*system_score.

[0147] Among them, pnum is the number of platforms supported by the machine, and w1 has the highest weight. This is to avoid the machine that supports a single platform always losing in the competition with the machine that supports multiple platforms and causing starvation.

[0148] Assume that there are platform A and platform B, and correspondingly there are quantum real machine 1 (only supports platform A) and quantum real machine 2 (supports platforms A and B). If task 1 of platform A arrives first, if there is no pnum weight, the probability of selecting machine 1 and machine 2 is 50% each. If machine 2 is selected, and platform B receives task 2 at this time, task 2 has to wait for task 1 to be executed before it can start, and the resources of real machine 1 are wasted. If pnum weight is used, the score of real machine 1 will be higher than that of real machine 2, task 1 will select real machine 1, and task 2 that arrives later can successfully obtain real machine 2. The two tasks can be carried out in parallel, which improves resource utilization.

[0149] Among them, system_score is the speed advantage brought by the machine's physical system, and the weight w2 depends on the number and performance of machines of different systems in the system. Machines of a specific system are much more efficient in completing experiments than others. For example, a superconducting system only takes 1-2 seconds to perform a 2-bit experiment, while a nuclear magnetic system takes 3 minutes. Therefore, for experimental tasks that do not specify a physical system, try to choose more efficient machines.

[0150] Step 3: If the platform selects an idle machine, it will be stored in the platform's expected real machine cache.

[0151] Step 4: After the machine status changes to idle, a thread for selecting tasks for the real machine will be started, which will repeatedly check the real machine cache area where the platform expects its platform to be. If multiple platforms compete for this machine, the first task in the task queue of these platforms will be selected for execution with the highest priority.

[0152] Priority mainly refers to the fact that experiments submitted earlier are given priority, maintaining the order of first in first out. You can also add logic to give priority to experiments of high-priority customers as needed.

[0153] Step 5: If an experimental task is selected for execution in step 4, the registration center will pass the experiment to the client.

[0154] If there are multiple platforms competing in step 4, the decision function of the real machine selection task needs to start the decision function of the platform selection real machine to find new available machines for the unselected platforms. Return to step 2.

[0155] It can be seen that the present application can perform quantum real machine scheduling according to the resource requirements of the platform to which the quantum task belongs, and obtain the target quantum real machine of the quantum task. For example, the quantum real machine scheduling can be performed according to one or more combinations of the bit number requirements, physical system requirements, topological structure requirements, and quantum gate requirements of the platform to which the quantum task belongs, thereby ensuring that the target quantum real machine selected for the quantum task can effectively meet the platform requirements, thereby improving the effectiveness of quantum resource scheduling and improving the execution efficiency of quantum tasks.

[0156] The following is an introduction to a quantum task scheduling device provided in an embodiment of the present application. The quantum task scheduling device described below and the quantum task scheduling method described above can be referred to in correspondence with each other.

[0157] Please refer to Figure 4 , Figure 4 A schematic diagram of the structure of a quantum task scheduling device provided in an embodiment of the present application.

[0158] In this embodiment, the device may include:

[0159] A task receiving module 51, used for receiving a quantum task;

[0160] The task scheduling module 52 is used to schedule the quantum task on a quantum real machine based on the resource requirements of the platform to which the quantum task belongs, and obtain a target quantum real machine corresponding to the quantum task; wherein the resource requirements are any one or more combinations of bit number requirements, physical system requirements, topological structure requirements, and quantum gate requirements;

[0161] The task distribution module 53 is used to send the quantum task to the target quantum real machine.

[0162] Optionally, the task scheduling module 52 may include:

[0163] The real machine screening submodule is used to screen quantum real machines based on the resource support mapping table and the platform to which the quantum task belongs, and determine the expected relationship between the platform to which the quantum task belongs and the idle quantum real machines; the resource support mapping table contains the mapping relationship between the platform and the idle quantum real machines, and is set based on the resource requirements of the platform and the available resources of the idle quantum real machines;

[0164] The cache submodule is used to save the expected relationship to the platform's expected real machine cache area;

[0165] The platform selection submodule is used to determine the target platform with the highest priority among the platforms that have established an expected relationship with the selected idle quantum real machine, and use the selected idle quantum real machine as the target quantum real machine corresponding to the quantum task of the target platform.

[0166] Optionally, the task scheduling module 52 may further include:

[0167] The priority setting unit is used to use the submission time of the quantum task as the priority information of the platform to which the quantum task belongs.

[0168] Optionally, the real machine screening submodule may include:

[0169] A screening unit, used to screen optional idle quantum real machines corresponding to the platform to which the quantum task belongs from the resource support mapping table;

[0170] A scoring unit is used to score and calculate each optional idle quantum real machine based on the number of platforms mapped by each optional idle quantum real machine in the resource support mapping table, the execution efficiency, and the scoring function, to obtain a scoring value for each optional idle quantum real machine;

[0171] The expected relationship establishing unit is used to establish an expected relationship between the platform to which the quantum task belongs and the optional idle quantum real machine with the largest score value.

[0172] Optionally, the device may further include:

[0173] Add a module to add the quantum machine to the resource support mapping table according to the available resources of the quantum machine when the quantum machine is detected to be online;

[0174] The marking module is used to add an idle mark for the quantum real machine in the resource support mapping table when it is determined that the quantum real machine is idle, so as to select an idle quantum real machine from the resource support mapping table according to the idle mark.

[0175] Optionally, add modules, which can include:

[0176] A submodule for determining the number of bits available is used to obtain the number of bits available for a quantum real machine;

[0177] The first adding submodule is used to establish a mapping relationship between a platform whose required number of bits is less than or equal to the number of bits that can be provided and a quantum real machine, and add the mapping relationship corresponding to the quantum real machine to the resource support mapping table.

[0178] Optionally, add modules, which can include:

[0179] A physical system determination submodule can be provided to obtain the physical system of a quantum real machine;

[0180] The second adding submodule is used to establish a mapping relationship between the required physical system and the platform that can provide the same physical system and the quantum real machine, and add the mapping relationship corresponding to the quantum real machine to the resource support mapping table.

[0181] Optionally, add modules, which can include:

[0182] A quantum gate determination submodule can be provided to obtain the quantum gates that can be provided by the quantum real machine;

[0183] The third adding submodule is used to establish a mapping relationship between the platform whose required quantum gate is a subset of the quantum gate that can be provided and the quantum real machine, and add the mapping relationship corresponding to the quantum real machine to the resource support mapping table.

[0184] Optionally, add modules, which can include:

[0185] A topology determination submodule can be provided to obtain the topology of a quantum real machine;

[0186] A mapping relationship establishment submodule is used to determine, through a backtracking algorithm, that the required topological structure is a platform that can provide a subgraph of the topological structure, and to establish a mapping relationship between the platform and the quantum real machine;

[0187] The fourth adding submodule is used to add the mapping relationship corresponding to the quantum real machine to the resource support mapping table.

[0188] This application also provides a computing device, please refer to Figure 5 , Figure 5 A schematic diagram of a computing device provided in an embodiment of the present application, the computing device may include:

[0189] Memory for storing computer programs;

[0190] A processor, which is used to implement the steps of any of the above-mentioned quantum task scheduling methods when executing a computer program.

[0191] like Figure 5 , which is a schematic diagram of the structure of a computing device, the computing device may include: a processor 10, a memory 11, a communication interface 12 and a communication bus 13. The processor 10, the memory 11 and the communication interface 12 communicate with each other through the communication bus 13.

[0192] In the embodiment of the present application, the processor 10 may be a central processing unit (CPU), an application specific integrated circuit, a digital signal processor, a field programmable gate array or other programmable logic devices, etc.

[0193] The processor 10 may call a program stored in the memory 11. Specifically, the processor 10 may execute operations in an embodiment of the abnormal IP identification method.

[0194] The memory 11 is used to store one or more programs, which may include program codes, and the program codes include computer operation instructions. In the embodiment of the present application, the memory 11 at least stores programs for implementing the following functions:

[0195] Received quantum mission;

[0196] Based on the resource requirements of the platform to which the quantum task belongs, the quantum real machine is scheduled for the quantum task to obtain the target quantum real machine corresponding to the quantum task; wherein the resource requirements are any one or more combinations of bit number requirements, physical system requirements, topological structure requirements, and quantum gate requirements;

[0197] Send the quantum task to the target quantum machine.

[0198] In a possible implementation, the memory 11 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and at least one application required for a function, etc.; the data storage area may store data created during use, such as storage task information, quantum real machine information, resource support mapping table, and platform expected real machine cache area, etc.

[0199] In addition, the memory 11 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device or other volatile solid-state storage device.

[0200] The communication interface 12 may be an interface of a communication module, and is used to connect to other devices or systems.

[0201] Of course, it should be noted that Figure 5 The structure shown does not constitute a limitation on the computing device in the embodiment of the present application. In actual applications, the computing device may include Figure 5 More or fewer components than shown, or combinations of certain components.

[0202] The present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned quantum task scheduling methods can be implemented.

[0203] The computer-readable storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0204] For an introduction to the computer-readable storage medium provided in this application, please refer to the above method embodiment, and this application will not go into details here.

[0205] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0206] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0207] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0208] The above is a detailed introduction to a quantum task scheduling method, scheduling device, computing device and computer-readable storage medium provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.

Claims

1. A method for scheduling quantum tasks, characterized in that: include: Receive quantum tasks; Based on the resource requirements of the platform to which the quantum task belongs, the quantum task is scheduled on a quantum real machine to obtain a target quantum real machine corresponding to the quantum task; wherein the resource requirements are any one or more of bit number requirements, physical system requirements, topological structure requirements, and quantum gate requirements. The platform collects quantum tasks according to its own marked resource requirements, so that quantum tasks under the same platform have the same or similar resource requirements; The quantum task is sent to the target quantum real machine.

2. The scheduling method according to claim 1, characterized in that: The step of performing quantum real machine scheduling on the quantum task based on the resource demand of the platform to which the quantum task belongs, and obtaining a target quantum real machine corresponding to the quantum task, includes: Based on the resource support mapping table and the platform to which the quantum task belongs, quantum real machines are screened to determine the expected relationship between the platform to which the quantum task belongs and the idle quantum real machines; the resource support mapping table contains the mapping relationship between the platform and the idle quantum real machines, and is set based on the resource requirements of the platform and the available resources of the idle quantum real machines; Saving the expected relationship to the platform expected real machine cache area; For the selected idle quantum real machine, a target platform with the highest priority is determined among the platforms that have established an expected relationship with the selected idle quantum real machine, and the selected idle quantum real machine is used as a target quantum real machine corresponding to the quantum task of the target platform.

3. The scheduling method according to claim 2, characterized in that: Before determining the target platform with the highest priority among the platforms that establish the desired relationship with the selected idle quantum real machine, the process further includes: The submission time of the quantum task is used as the priority information of the platform to which the quantum task belongs.

4. The scheduling method according to claim 2, characterized in that: The screening of quantum real machines based on the resource support mapping table and the platform to which the quantum task belongs, and determining the expected relationship between the platform to which the quantum task belongs and the idle quantum real machines, includes: Filtering optional idle quantum real machines corresponding to the platform to which the quantum task belongs from the resource support mapping table; Based on the number of platforms mapped by each optional idle quantum real machine in the resource support mapping table, the execution efficiency and the scoring function, a score calculation is performed on each optional idle quantum real machine to obtain a score value of each optional idle quantum real machine; The expected relationship is established between the platform to which the quantum task belongs and the optional idle quantum real machine with the largest score value.

5. The scheduling method according to claim 2, characterized in that: Also includes: When detecting that a quantum real machine is online, adding the quantum real machine to the resource support mapping table according to the resources that can be provided by the quantum real machine; When it is determined that the quantum real machine is idle, an idle mark is added to the resource support mapping table for the quantum real machine, so that the idle quantum real machine is selected from the resource support mapping table according to the idle mark.

6. The scheduling method according to claim 5, characterized in that: The adding the quantum real machine to the resource support mapping table according to the available resources of the quantum real machine includes: Obtaining the number of bits that can be provided by the quantum real machine; A mapping relationship is established between a platform whose required number of bits is less than or equal to the number of bits that can be provided and the quantum real machine, and the mapping relationship corresponding to the quantum real machine is added to the resource support mapping table.

7. The scheduling method according to claim 5, characterized in that: The adding the quantum real machine to the resource support mapping table according to the available resources of the quantum real machine includes: A physical system that can provide the quantum real machine; A mapping relationship is established between the required physical system, the platform that can provide the same physical system, and the quantum real machine, and the mapping relationship corresponding to the quantum real machine is added to the resource support mapping table.

8. The scheduling method according to claim 5, characterized in that: The adding the quantum real machine to the resource support mapping table according to the available resources of the quantum real machine includes: Obtaining the quantum real machine that can provide quantum gates; A mapping relationship is established between the platform whose required quantum gates are the subset of the quantum gates that can be provided and the quantum real machine, and the mapping relationship corresponding to the quantum real machine is added to the resource support mapping table.

9. The scheduling method according to claim 5, characterized in that: The adding the quantum real machine to the resource support mapping table according to the available resources of the quantum real machine includes: Obtaining a topological structure that can be provided by the quantum real machine; Determine through a backtracking algorithm that the required topological structure is the platform of the subgraph that can provide the topological structure, and establish a mapping relationship between the platform and the quantum real machine; Add the mapping relationship corresponding to the quantum real machine to the resource support mapping table.

10. A computing device, characterized in that include: Memory for storing computer programs; A processor, configured to implement the steps of the scheduling method according to any one of claims 1 to 9 when executing the computer program.

Citation Information

Patent Citations

  • Scheduling server for scheduling quantum computers as well as scheduling method and application thereof

    CN108874538A

  • Task scheduling method and related equipment

    CN113568721A

  • Scheduling method, system and device of quantum operating system and computer medium

    CN114186693A

  • Multi-target cloud workflow scheduling method based on collaborative fruit fly algorithm

    CN114461368A

  • Method for Allocating Processor Resources and Terminal Device

    US20180365068A1