[go: up one dir, main page]

CN112596904A - Quantum service resource calling optimization method based on quantum cloud platform - Google Patents

Quantum service resource calling optimization method based on quantum cloud platform Download PDF

Info

Publication number
CN112596904A
CN112596904A CN202011567826.8A CN202011567826A CN112596904A CN 112596904 A CN112596904 A CN 112596904A CN 202011567826 A CN202011567826 A CN 202011567826A CN 112596904 A CN112596904 A CN 112596904A
Authority
CN
China
Prior art keywords
quantum
service
docker
quantum computing
task instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011567826.8A
Other languages
Chinese (zh)
Inventor
薛长青
刘强
于洪真
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jinan Inspur Hi Tech Investment and Development Co Ltd
Original Assignee
Jinan Inspur Hi Tech Investment and Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jinan Inspur Hi Tech Investment and Development Co Ltd filed Critical Jinan Inspur Hi Tech Investment and Development Co Ltd
Priority to CN202011567826.8A priority Critical patent/CN112596904A/en
Publication of CN112596904A publication Critical patent/CN112596904A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5077Logical partitioning of resources; Management or configuration of virtualized resources
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N10/00Quantum computing, i.e. information processing based on quantum-mechanical phenomena
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45575Starting, stopping, suspending or resuming virtual machine instances
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/508Monitor

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Condensed Matter Physics & Semiconductors (AREA)
  • Evolutionary Computation (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Mathematical Physics (AREA)
  • Computational Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the specification discloses a quantum service resource calling optimization method based on a quantum cloud platform. The method comprises the following steps: equally dividing the quantum computer resources, installing a Docker, installing and starting quantum computing service in the Docker, and providing the addresses of the quantum computing service to the outside through the Docker; setting a Docker service resource table and a Docker service queue table, and receiving a task instruction generated and submitted by user programming through an interface provided by the quantum computing service; and acquiring addresses of all currently idle quantum computing services by inquiring and monitoring the Docker service resource table and the Docker service queue table, and selecting one quantum computing service from all currently idle quantum computing services to execute the task instruction.

Description

Quantum service resource calling optimization method based on quantum cloud platform
Technical Field
The specification relates to the technical field of quantum computing, in particular to a quantum service resource calling optimization method based on a quantum cloud platform.
Background
The computer made with quantum bit as basic unit is the quantum computer. The classical bits are used to encode information by representing 1 and 0 by the high and low of the level, respectively. And what do qubits encode 0 and 1? We have mentioned before that in the quantum world energy is present in a share, a phenomenon known as quantization. We select a particle of a particular state whose energy is only two states, a low level (ground state), and a high level (excited state). By way of example, the particles are human and the different energy levels are steps. Standing below the step means in the ground state and standing above the step in the excited state. We encode the low level as 0 and the high level as 1, which is the qubit.
In the aspect of the problem of scheduling quantum computer resources, the resource utilization rate of the quantum computer is not high at present, and the resource scheduling cannot be well carried out.
In view of the above, there is a need for a method capable of improving resource utilization of a quantum computer so that the quantum computer can be fully utilized.
Disclosure of Invention
One or more embodiments of the present specification provide a method for quantum service resource call optimization based on a quantum cloud platform. To solve the following problems: the resource utilization rate of the quantum computer is not high, and the quantum computer can not be fully utilized.
To solve the above technical problem, one or more embodiments of the present specification are implemented as follows:
one or more embodiments of the present specification provide a quantum service resource invocation optimization method based on a quantum cloud platform, including:
equally dividing according to quantum computer resources, installing an application container engine Docker with an open source, installing and starting quantum computing service in the Docker, and providing an address of the quantum computing service to the outside through the Docker;
setting a Docker service resource table and a Docker service queue table, and receiving a task instruction generated and submitted by user programming through an interface provided by the quantum computing service;
and acquiring addresses of all currently idle quantum computing services by inquiring and monitoring the Docker service resource table and the Docker service queue table, and selecting one quantum computing service from all currently idle quantum computing services to execute the task instruction.
Docker starts fast, the resource occupies smallly, and dispose convenient and safe, can save hardware resource and provide more computational resources for users, through quantum cloud platform and quantum computational resource scheduling service and quantum computer's cooperation, the quantum computer resource utilization ratio has effectively been improved for quantum computer obtains make full use of, has practiced thrift infrastructure construction cost.
Optionally, the method includes obtaining addresses of all currently idle quantum computing services by querying and monitoring the Docker service resource table and the Docker service queue table, and selecting one quantum computing service from all currently idle quantum computing services to execute the task instruction, and specifically includes:
and inquiring the Docker service queue list, if a task instruction is queued in the Docker service queue list, inserting the task instruction into the Docker service queue list for queuing, and waiting for the quantum computing service to be allocated to execute the task instruction.
Optionally, if the Docker service queue table is empty, querying whether the Docker service resource table has an idle quantum computing service, and if the Docker service queue table has an idle quantum computing service, allocating the quantum computing service to execute the task instruction, and identifying the quantum computing service state in the Docker service resource table as an active state.
Optionally, if there is no idle quantum computing service, inserting the task instruction into the Docker service queue list to queue up, and waiting for allocating the quantum computing service to execute the task instruction.
Optionally, monitoring the use condition of the quantum computing service in the Docker service resource table, and after the task instruction is executed, updating the resource state of the quantum computing service to be idle.
Optionally, the Docker service queue table is queried, the task instruction which is arranged at the head is found, the idle quantum computing service is allocated to the task instruction, and the task instruction allocated with the quantum computing service is deleted in the Docker service queue table.
Optionally, the setting the Docker service resource table and the Docker service queue table specifically includes:
the Docker service resource table exposes the quantum computing service, and the quantum computing service is in an idle state by default;
the Docker service queue list defines users and the task instructions.
Optionally, the receiving, through an interface provided by the quantum computing service, a task instruction generated and submitted by a user program specifically includes:
and receiving the task instruction generated and submitted by a user logging in a quantum cloud platform through a quantum cloud programming framework through an interface provided by the quantum computing service, wherein the task instruction can be recognized by a quantum computer.
Optionally, the quantum cloud programming framework is provided by a quantum cloud platform, and the quantum cloud platform cooperates with a quantum computing resource scheduling service and a quantum computing device to optimize and call quantum service resources; wherein the quantum computing resource scheduling service comprises: quantum computing services and measurement and control systems.
Optionally, the interface provided by the quantum computing service includes: the system comprises an inquiry interface, a quantum command verification interface, a quantum task submitting interface and a quantum task state interface;
the query interface queries the quantum computer details;
the quantum command verification interface verifies whether the task instruction generated and submitted by a user logging in a quantum cloud platform through programming of a quantum cloud programming framework is legal or not;
the quantum task submitting interface executes the task instruction;
the quantum task state interface views the state of the quantum computing service.
At least one technical scheme adopted by one or more embodiments of the specification can achieve the following beneficial effects: the resource utilization rate of the quantum computer is effectively improved, the quantum computer is fully utilized, and the construction cost of infrastructure is saved.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a schematic flowchart of a method for quantum service resource call optimization based on a quantum cloud platform according to one or more embodiments of the present disclosure;
fig. 2 is a framework diagram for quantum service resource invocation optimization based on a quantum cloud platform according to one or more embodiments of the present specification.
Detailed Description
The embodiment of the specification provides a quantum service resource calling optimization method based on a quantum cloud platform.
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any inventive step based on the embodiments of the present disclosure, shall fall within the scope of protection of the present application.
One or more embodiments of the present disclosure provide a quantum cloud platform-based method for quantum service resource invocation optimization, which improves the resource utilization rate of a quantum computer through the synergistic effect of a quantum cloud platform, a quantum computer resource scheduling service, and the quantum computer, so that the quantum computer is fully utilized, and the infrastructure construction cost is saved.
The technical solutions provided by the embodiments of the present description are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a method for quantum service resource call optimization based on a quantum cloud platform according to one or more embodiments of the present disclosure;
s101: equally dividing the quantum computer resources, installing a Docker, installing and starting quantum computing service in the Docker, and providing the addresses of the quantum computing service to the outside through the Docker;
the method comprises the steps of carrying out average division according to actual quantum computer resources, dividing the actual quantum computer resources into a plurality of quantum service resources with the same resources, installing an open-source application container engine Docker on each quantum service resource, and installing quantum computing services in Docker. The quantum computing services can be installed in the Docker, the configuration of the same Docker can be used in different environments, and the coupling degree between hardware requirements and application environments is reduced. And starting each quantum computing service, and providing a service address to the outside through a Docker. Docker is a container, an operating system does not need to be started, the starting time is greatly shortened, the cost caused by restarting is not needed to be worried about, the utilization rate of resources can be improved by using Docker and carrying out effective resource allocation, and the construction cost of infrastructure is saved.
S102: setting a Docker service resource table and a Docker service queue table, and receiving a task instruction generated and submitted by user programming through an interface provided by the quantum computing service;
the Docker service resource table exposes the quantum computing service, and the default state of the quantum computing service is idle;
the Docker service queue table defines user and task instructions.
In one or more embodiments of the present specification, the set Docker service resource table and Docker service queue table record a current state of a quantum computing service address and a user and a task instruction to be executed, respectively. The Docker service resource table and the Docker service queue table are table names, and should not be taken as a specific limitation of the present application. In the Docker service resource table, the default state of the quantum computing service is idle, and the state of the quantum computing service becomes active when the quantum computing service executes a task instruction.
In one or more embodiments of the present description, the Docker service queue table defines users and task instructions that the users get through programming of quantum languages, quantum parameters, and the like. Wherein the task instructions include quantum gates, quantum operations, etc., and the quantum operations include various operations of the quantum gates. A quantum gate is a basic, quantum wire that operates on a small number of qubits. It is the basis of quantum wires, like the relationship between traditional logic gates and ordinary digital wires.
And receiving a task instruction which is generated and submitted by a user logging in a quantum cloud platform through programming of a quantum cloud programming framework through an interface provided by the quantum computing service, wherein the task instruction can be identified by a quantum computer.
In one or more embodiments of the present description, a quantum computing service provides an interface for receiving user-submitted task instructions. And a user logs in the quantum cloud platform to program through a quantum cloud programming framework or a quantum cloud visualization and language programming framework, so as to generate a task instruction which can be recognized by a quantum computer. The user can perform quantum programming and experimental programming on the quantum cloud platform to generate task instructions which can be recognized by the quantum computer.
The quantum cloud programming framework is provided by a quantum cloud platform, and the quantum cloud platform, the quantum computing resource scheduling service and the quantum computing equipment cooperate to optimize and call quantum service resources; wherein the quantum computing resource scheduling service comprises: quantum computing services and measurement and control systems.
The interface provided by the quantum computing service comprises: the system comprises an inquiry interface, a quantum command verification interface, a quantum task submitting interface and a quantum task state interface;
inquiring details of the quantum computer by the inquiry interface;
the quantum command verification interface verifies whether a task instruction generated and submitted by a user logging in a quantum cloud platform through programming of a quantum cloud programming framework is legal or not;
the quantum task submitting interface executes a task instruction;
the quantum task state interface looks at the state of the quantum computing service.
In one or more embodiments of the present description, the query interface provided by the quantum computing service may query the details of the quantum computer, including resource partitioning of the quantum computer, operating conditions of the quantum computer, and the like. The quantum command verification interface can verify whether a task instruction generated and submitted by a user logging in a quantum cloud platform through quantum programming or experimental programming through a quantum cloud programming framework is legal or not and can be identified by a quantum computer or not.
And the quantum task submitting interface is used for receiving a task instruction generated and submitted by a user logging in a quantum cloud platform through quantum programming or experimental programming through a quantum cloud programming framework and executing the task instruction verified through the quantum command verifying interface. The quantum computing service is exposed by the Docker service resource table, the quantum computing service has an idle state and an in-use state, the Docker service queue table has a user and a task instruction to be executed, the task instruction to be executed is generated by the user through quantum language and quantum parameter programming, the quantum task state interface can check whether the quantum computing service is in the idle state or in the in-use state, and can check the queuing state of the task instruction to be executed in the Docker service queue table.
S103: and acquiring addresses of all currently idle quantum computing services by inquiring and monitoring the Docker service resource table and the Docker service queue table, and selecting one quantum computing service from all currently idle quantum computing services to execute the task instruction.
In one or more embodiments of the present specification, the Docker service resource table and the Docker service queue table respectively indicate whether there is available quantum computing service and whether there is a task instruction currently queued, and the Docker service resource table and the Docker service queue table are queried and monitored to allocate available quantum computing service to a task instruction to be executed, so as to reasonably allocate service resources, improve resource utilization efficiency of a quantum computer, and enable a user to see usage of the quantum computing service.
And inquiring the Docker service queue list, if a task instruction is queued in the Docker service queue list, inserting the task instruction into the Docker service queue list for queuing, and waiting for the allocation of quantum computing service to execute the task instruction.
In one or more embodiments of the present description, after a user generates and submits a task instruction in a programming manner, whether the task instruction is legal is verified, a Docker service queue table is queried after verification is passed, if a task instruction is queued in the Docker service queue table, it is described that quantum computing services in the Docker service resource table are all in use and have no idle quantum computing service, the task instruction is inserted into the Docker service queue table and queued, at this time, the task instruction to be inserted is queued behind the existing queued task instruction, and quantum computing services are waited to be allocated to execute the task instruction in sequence.
And if the Docker service queue list is empty, inquiring whether idle quantum computing services exist in the Docker service resource list, if the idle quantum computing services exist, allocating quantum computing service execution task instructions, and identifying the quantum computing service state in the Docker service resource list as an active state.
In one or more embodiments of the present specification, after a user generates and submits a task instruction by programming, it is verified whether the task instruction is legal, after the verification is passed, a Docker service queue table is queried, if there is no task instruction to be executed in the Docker service queue table, it is queried whether there is a quantum computing service in the Docker service resource table in which a state is idle, if there are multiple idle quantum computing services, one of the quantum computing services is allocated to execute the task instruction, a state identifier of the quantum computing service allocated to execute the task instruction in the Docker service resource table is changed to an active state, if there is only one idle quantum computing service, the quantum computing service is allocated to execute the task instruction, and the state identifier of the quantum computing service is identified to be the active state.
And if no idle quantum computing service exists, inserting the task instruction into a Docker service queue list to queue, and waiting for the allocation of the quantum computing service to execute the task instruction.
In one or more embodiments of the present specification, when there is no task instruction to be executed in the Docker service queue table, and all quantum computing service identifier states in the Docker service resource table are in the active state, inserting a newly submitted task instruction as a first task instruction to be executed into the Docker service queue table, and waiting for allocation of a quantum computing service to execute the task instruction.
Monitoring the use condition of the quantum computing service in the Docker service resource table, and updating the resource state of the quantum computing service to be idle after the task instruction is executed.
In one or more embodiments of the present specification, monitoring usage of all quantum computing services in a Docker service resource table, determining status identifiers of all quantum computing services, monitoring the Docker service resource table if the status identifiers of all quantum computing services in the Docker service resource table in a certain time period are in an active status, releasing quantum computing service resources executing the task instruction if the task instruction is executed, and updating the status identifiers of the quantum computing services to be idle.
And inquiring the Docker service queue list, finding out the task instruction arranged at the top, allocating idle quantum computing service to the task instruction, and deleting the task instruction allocated with the quantum computing service in the Docker service queue list.
In one or more embodiments of the present specification, a Docker service queue list is queried, under no special condition, a task instruction to be executed that is arranged at the top in the Docker service queue list is found, an idle quantum computing service is allocated to the task instruction arranged at the top, and the task instruction that is allocated with the quantum computing service is deleted in the Docker service queue list. And if the state identifications of a plurality of quantum computing services in the Docker service resource table are updated to be idle from the use, and only one task instruction to be executed is in the Docker service queue table, allocating one idle quantum computing service to the task instruction to be executed. And if the state identifications of the quantum computing services in the Docker service resource table are updated to be idle from the use state, and a plurality of task instructions to be executed are in the Docker service queue table, and the quantum computing services are distributed to the task instructions to be executed in sequence.
In one or more embodiments of the present specification, an order of the to-be-executed task instructions queued in the Docker service queue table may be adjusted, for example, a task instruction to be executed that is queued second in the Docker service queue table may be adjusted to be first.
Fig. 2 is a framework diagram for quantum service resource invocation optimization based on a quantum cloud platform according to one or more embodiments of the present specification.
In one or more embodiments of the present description, a quantum service resource calling optimization framework based on a quantum cloud platform includes a quantum cloud platform, a quantum computer resource scheduling service, and a quantum computer, where the quantum computer is composed of a quantum upper computer and a measurement and control system. A user can program on the quantum cloud platform, including quantum programming and experiment programming, and task instructions capable of being recognized by a quantum computer can be generated through programming. The quantum computer resource scheduling service is a scheduling center (task scheduling framework) in fig. 2, the scheduling center connects a quantum cloud platform with a quantum computer, and can exchange data with a relational database management system Mysql, a plurality of quantum computing services can be installed in a Docker, the quantum computing services are also included in the scheduling center, an interface provided by the quantum computing services is connected with the quantum cloud platform and the quantum computer at the same time, and the quantum device can be a measurement and control computer. The scheduling center can receive the task instruction and allocate quantum computing service resources for the task instruction, and the Quartz of the scheduling center can be used for monitoring the Docker service resource table and the Docker service queue table. By receiving the task instruction, the quantum computing service resources are distributed, the task instruction is executed, and the quantum cloud platform, the quantum computer resource scheduling service and the quantum computer cooperate to improve the resource utilization rate of the quantum computer.
One or more embodiments of the specification provide a quantum cloud platform-based quantum service resource calling optimization method, which improves the resource utilization rate of a quantum computer through the synergistic effect of the quantum cloud platform, the quantum computer resource scheduling service and the quantum computer, so that the quantum computer is fully utilized, and the infrastructure construction cost is saved. The reasonable allocation and calling of the service are completed in the modes of resource division, service resource initialization and user queuing, state information, resource release conditions and the like of the quantum computing service are obtained, the scheduling task allocates resources reasonably in time, and the user can also see the using condition of the quantum computing service.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The above description is merely one or more embodiments of the present disclosure and is not intended to limit the present disclosure. Various modifications and alterations to one or more embodiments of the present description will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement or the like made within the spirit and principle of one or more embodiments of the present specification should be included in the scope of the claims of the present specification.

Claims (10)

1. A quantum service resource calling optimization method based on a quantum cloud platform is characterized by comprising the following steps:
equally dividing the quantum computer resources, installing a Docker, installing and starting quantum computing service in the Docker, and providing the addresses of the quantum computing service to the outside through the Docker;
setting a Docker service resource table and a Docker service queue table, and receiving a task instruction generated and submitted by user programming through an interface provided by the quantum computing service;
and acquiring addresses of all currently idle quantum computing services by inquiring and monitoring the Docker service resource table and the Docker service queue table, and selecting one quantum computing service from all currently idle quantum computing services to execute the task instruction.
2. The method according to claim 1, wherein addresses of all currently idle quantum computing services are obtained by querying and monitoring the Docker service resource table and the Docker service queue table, and one quantum computing service is selected from among all currently idle quantum computing services to execute the task instruction, specifically including:
and inquiring the Docker service queue list, if a task instruction is queued in the Docker service queue list, inserting the task instruction into the Docker service queue list for queuing, and waiting for the quantum computing service to be allocated to execute the task instruction.
3. The method of claim 2, further comprising:
if the Docker service queue list is empty, inquiring whether the Docker service resource list has the idle quantum computing service, if the Docker service queue list has the idle quantum computing service, allocating the quantum computing service to execute the task instruction, and identifying the quantum computing service state in the Docker service resource list as an active state.
4. The method of claim 3, further comprising:
and if the quantum computing service is not idle, inserting the task instruction into the Docker service queue list to queue, and waiting for the quantum computing service to be allocated to execute the task instruction.
5. The method of claim 4, further comprising:
monitoring the use condition of the quantum computing service in the Docker service resource table, and updating the resource state of the quantum computing service to be idle after the task instruction is executed.
6. The method of claim 5, further comprising:
and querying the Docker service queue list, finding out the task instruction arranged at the head, allocating the idle quantum computing service to the task instruction, and deleting the task instruction allocated with the quantum computing service in the Docker service queue list.
7. The method according to claim 1, wherein the setting of the Docker service resource table and the Docker service queue table specifically includes:
the Docker service resource table exposes the quantum computing service, and the quantum computing service is in an idle state by default;
the Docker service queue list defines users and the task instructions.
8. The method according to claim 1, wherein the receiving, through the interface provided by the quantum computing service, the task instruction generated and submitted by the user programming specifically comprises:
and receiving the task instruction generated and submitted by a user logging in a quantum cloud platform through a quantum cloud programming framework through an interface provided by the quantum computing service, wherein the task instruction can be recognized by the quantum computer.
9. The method of claim 8, wherein the quantum cloud programming framework is provided by a quantum cloud platform that optimizes invoking quantum service resources in cooperation with a quantum computing resource scheduling service, a quantum computing device; wherein the quantum computing resource scheduling service comprises: quantum computing services and measurement and control systems.
10. The method of claim 8, wherein the interface provided by the quantum computing service comprises: the system comprises an inquiry interface, a quantum command verification interface, a quantum task submitting interface and a quantum task state interface;
the query interface queries the quantum computer details;
the quantum command verification interface verifies whether the task instruction generated and submitted by a user logging in the quantum cloud platform through programming of the quantum cloud programming framework is legal or not;
the quantum task submitting interface executes the task instruction;
the quantum task state interface views the state of the quantum computing service.
CN202011567826.8A 2020-12-25 2020-12-25 Quantum service resource calling optimization method based on quantum cloud platform Pending CN112596904A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011567826.8A CN112596904A (en) 2020-12-25 2020-12-25 Quantum service resource calling optimization method based on quantum cloud platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011567826.8A CN112596904A (en) 2020-12-25 2020-12-25 Quantum service resource calling optimization method based on quantum cloud platform

Publications (1)

Publication Number Publication Date
CN112596904A true CN112596904A (en) 2021-04-02

Family

ID=75202213

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011567826.8A Pending CN112596904A (en) 2020-12-25 2020-12-25 Quantum service resource calling optimization method based on quantum cloud platform

Country Status (1)

Country Link
CN (1) CN112596904A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113420883A (en) * 2021-06-28 2021-09-21 山东浪潮科学研究院有限公司 Method and device for quantum programming frame to adapt to quantum computer
CN114330732A (en) * 2021-12-30 2022-04-12 山东浪潮科学研究院有限公司 Multi-task asynchronous scheduling method, equipment and medium based on quantum computing
CN115409183A (en) * 2021-05-28 2022-11-29 合肥本源量子计算科技有限责任公司 A quantum computer architecture system
CN115756890A (en) * 2022-11-18 2023-03-07 中国科学技术大学 Quantum computing cloud platform and quantum computing method
CN117236458A (en) * 2023-11-13 2023-12-15 国开启科量子技术(安徽)有限公司 Quantum computing task scheduling method, device, medium and equipment for quantum cloud platform

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365713A (en) * 2012-04-01 2013-10-23 华为技术有限公司 Resource dispatch and management method and device
CN106980463A (en) * 2016-01-18 2017-07-25 中兴通讯股份有限公司 The method for controlling quality of service and device of storage system
CN110069348A (en) * 2019-05-05 2019-07-30 济南浪潮高新科技投资发展有限公司 A kind of efficient method using cloud center quantum computer resource
CN111240830A (en) * 2019-12-31 2020-06-05 陕西医链区块链集团有限公司 Public link contract resource allocation method and device, electronic equipment and storage medium
CN111427665A (en) * 2020-03-27 2020-07-17 合肥本源量子计算科技有限责任公司 A quantum application cloud platform and processing method for quantum computing tasks
CN111694649A (en) * 2020-06-12 2020-09-22 北京字节跳动网络技术有限公司 Resource scheduling method and device, computer equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103365713A (en) * 2012-04-01 2013-10-23 华为技术有限公司 Resource dispatch and management method and device
CN106980463A (en) * 2016-01-18 2017-07-25 中兴通讯股份有限公司 The method for controlling quality of service and device of storage system
CN110069348A (en) * 2019-05-05 2019-07-30 济南浪潮高新科技投资发展有限公司 A kind of efficient method using cloud center quantum computer resource
CN111240830A (en) * 2019-12-31 2020-06-05 陕西医链区块链集团有限公司 Public link contract resource allocation method and device, electronic equipment and storage medium
CN111427665A (en) * 2020-03-27 2020-07-17 合肥本源量子计算科技有限责任公司 A quantum application cloud platform and processing method for quantum computing tasks
CN111694649A (en) * 2020-06-12 2020-09-22 北京字节跳动网络技术有限公司 Resource scheduling method and device, computer equipment and storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115409183A (en) * 2021-05-28 2022-11-29 合肥本源量子计算科技有限责任公司 A quantum computer architecture system
CN113420883A (en) * 2021-06-28 2021-09-21 山东浪潮科学研究院有限公司 Method and device for quantum programming frame to adapt to quantum computer
CN113420883B (en) * 2021-06-28 2022-11-22 山东浪潮科学研究院有限公司 Method and equipment for quantum programming frame to adapt to quantum computer
CN114330732A (en) * 2021-12-30 2022-04-12 山东浪潮科学研究院有限公司 Multi-task asynchronous scheduling method, equipment and medium based on quantum computing
CN114330732B (en) * 2021-12-30 2024-08-06 山东浪潮科学研究院有限公司 Quantum computation-based multitasking asynchronous scheduling method, device and medium
CN115756890A (en) * 2022-11-18 2023-03-07 中国科学技术大学 Quantum computing cloud platform and quantum computing method
CN117236458A (en) * 2023-11-13 2023-12-15 国开启科量子技术(安徽)有限公司 Quantum computing task scheduling method, device, medium and equipment for quantum cloud platform
CN117236458B (en) * 2023-11-13 2024-03-26 国开启科量子技术(安徽)有限公司 Quantum computing task scheduling method, device, medium and equipment for quantum cloud platform

Similar Documents

Publication Publication Date Title
CN112596904A (en) Quantum service resource calling optimization method based on quantum cloud platform
CN111796908B (en) System and method for automatic elastic expansion and contraction of resources and cloud platform
CN112328378B (en) Task scheduling method, computer device and storage medium
CN108431796B (en) Distributed resource management system and method
US9262210B2 (en) Light weight workload management server integration
CN103092698B (en) Cloud computing application automatic deployment system and method
CN113243005A (en) Performance-based hardware emulation in on-demand network code execution systems
CN113254179B (en) Job scheduling method, system, terminal and storage medium based on high response ratio
CN105159736B (en) A kind of construction method for the SaaS software deployment schemes for supporting performance evaluation
CN103023980B (en) A kind of method and system of cloud platform processes user service request
US12026536B2 (en) Rightsizing virtual machine deployments in a cloud computing environment
WO2024016596A1 (en) Container cluster scheduling method and apparatus, device, and storage medium
CN109815007A (en) Thread control method, device, electronic device and storage medium based on cloud monitoring
CN111338786A (en) Quota management method and device for cloud platform resources and computer equipment
CN110661842A (en) Resource scheduling management method, electronic equipment and storage medium
EP4109261A2 (en) Access processing method, device, storage medium and program product
CN114546587A (en) A method for expanding and shrinking capacity of online image recognition service and related device
CN111190719A (en) Method, device, medium and electronic equipment for optimizing cluster resource allocation
CN115827183A (en) Serverless service scheduling system in hybrid container cloud environment based on combinatorial optimization
CN104572275B (en) A kind of process loading method, apparatus and system
CN114443293A (en) A system and method for deploying a big data platform
CN112291320A (en) Distributed two-layer scheduling method and system for quantum computer cluster
CN117724831A (en) Cloud edge cooperative task allocation method in power distribution field
CN119536899A (en) An enterprise resource management platform based on cloud computing
CN118426937A (en) Port resource allocation method, device, equipment, storage medium and program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210402