CN112862104A - Hybrid quantum computer architecture and method for executing calculation task - Google Patents

Hybrid quantum computer architecture and method for executing calculation task Download PDF

Info

Publication number
CN112862104A
CN112862104A CN202110359265.0A CN202110359265A CN112862104A CN 112862104 A CN112862104 A CN 112862104A CN 202110359265 A CN202110359265 A CN 202110359265A CN 112862104 A CN112862104 A CN 112862104A
Authority
CN
China
Prior art keywords
computer
quantum
quantum computer
interface
classical
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.)
Granted
Application number
CN202110359265.0A
Other languages
Chinese (zh)
Other versions
CN112862104B (en
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.)
University of Science and Technology of China USTC
Original Assignee
University of Science and Technology of China USTC
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 University of Science and Technology of China USTC filed Critical University of Science and Technology of China USTC
Priority to CN202110359265.0A priority Critical patent/CN112862104B/en
Publication of CN112862104A publication Critical patent/CN112862104A/en
Application granted granted Critical
Publication of CN112862104B publication Critical patent/CN112862104B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N10/00Quantum computing, i.e. information processing based on quantum-mechanical phenomena

Landscapes

  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Computing Systems (AREA)
  • Evolutionary Computation (AREA)
  • Condensed Matter Physics & Semiconductors (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • Optical Communication System (AREA)
  • Multi Processors (AREA)

Abstract

A hybrid quantum computer architecture and a method for performing a computational task thereof, the hybrid quantum computer architecture comprising: classical computer clusters, quantum computer clusters, and communication links. The classical computer cluster comprises at least one classical computer, wherein each classical computer is provided with a first interface used for being connected with a quantum computer. Quantum computer cluster, comprising at least one quantum computer, wherein each quantum computer is provided with a second interface for connecting with a classical computer. The classical computer cluster is used for calling a first interface according to the computing requirement so as to send the distributed computing task to the quantum computer cluster through the first interface; the second interface is used for receiving the calculation tasks distributed by the classical computer and feeding back the calculation results to the first interface. The communication link is arranged between the classical computer and the quantum computer and is used for transmitting data between the classical computer cluster and the quantum computer cluster.

Description

Hybrid quantum computer architecture and method for executing calculation task
Technical Field
The disclosure belongs to the technical field of computers, and relates to a hybrid quantum computer architecture and a method for executing a computing task by using the same.
Background
Nowadays, the quantum computer is the primary stage of the technical development, and how to realize quantum computation is the key point of the technical development. From the characteristic of quantum computation accelerated computation, a quantum computer does not have general computation capability or is difficult to implement in a short period, so whether the quantum computer is directly connected with the conventional classical computation or not or in what form, a stronger quantum computation capability is formed, and an explicit development route is not found. Moreover, because the quantum computer has harsh working conditions, the quantum computer cannot be integrated with a classical computer or be in the same working environment in most cases.
Disclosure of Invention
Technical problem to be solved
The present disclosure provides a hybrid quantum computer architecture and a method for performing a computational task thereof to at least partially solve the following technical problems: at present, a quantum computer is in an isolated state when in use, and the computing resources between a classical computer and the quantum computer cannot be integrated and used.
(II) technical scheme
One aspect of the present disclosure provides a hybrid quantum computer architecture. The hybrid quantum computer architecture comprises: classical computer clusters, quantum computer clusters, and communication links. The classical computer cluster comprises at least one classical computer, and each classical computer is provided with a first interface for connecting with a quantum computer. The quantum computer cluster comprises at least one quantum computer, wherein each quantum computer in the at least one quantum computer is provided with a second interface used for being connected with the classical computer. The classical computer cluster is used for calling the first interface according to the calculation requirement so as to send the distributed calculation task to the quantum computer cluster through the first interface; the second interface is used for receiving the calculation tasks distributed by the classical computer and feeding back the calculation results to the first interface. The communication link is arranged between the classical computer and the quantum computer and is used for transmitting data between the classical computer cluster and the quantum computer cluster.
According to an embodiment of the present disclosure, the above quantum computer includes: a quantum computing unit for implementing quantum computing; and the quantum computer servo is electrically connected with the quantum computer unit and used for receiving the calculation tasks distributed by the classical computer cluster through the second interface, converting the calculation tasks into input and control signals of the quantum computer unit and feeding back the calculation results of the quantum computer unit to the second interface.
According to the embodiment of the disclosure, the quantum computing unit and the quantum computer servo are in one-to-one, one-to-many or many-to-one connection relationship.
According to the embodiment of the disclosure, the classical computer is in a blocking state when the first interface is called, and when the classical computer is in the blocking state, the classical computer must wait for a result returned from the quantum computer cluster through the communication link, and the program executed by the classical computer can be executed continuously. Or, the classic computer is in a non-blocking state when calling the first interface, the classic computer calls the first interface based on a form of a parallel running process or thread, the quantum computer executes the distributed computing task, the main program of the classic computer continues to execute the set task without being influenced by the parallel running process or thread, and when receiving the computing result returned from the quantum computer cluster through the communication link, the parallel running process or thread notifies the main program to utilize the computing result.
According to the embodiment of the disclosure, the arrangement form of the first interface in the classic computer comprises one or more of the following forms: a dynamic/static link library, or a device file.
According to an embodiment of the present disclosure, the second interface is provided in a quantum computer in a form including one or more of the following forms: dynamic/static link libraries, device files, or dedicated hardware control logic.
According to an embodiment of the present disclosure, the communication link includes a physical communication line or includes a physical communication line and a line switch. The line exchanger is used for communication interconnection of physical communication lines. The physical communication line includes: ethernet, cable, optic fibre, wireless WIFI, USB directly link bus, RS232 directly link bus, RS485 directly link bus or GPIB directly links the bus. The above-mentioned line exchanger includes: a network switch or router.
A second aspect of the disclosure provides a method of performing a computational task by the above hybrid quantum computer. The method comprises the following steps: a classical computer cluster receives a complete task/program of target calculation; the classical computer cluster determines whether a first computing task/program which can be accelerated by the quantum computer cluster exists in the execution process of the complete task/program of the target computing; in the case that the first computing task/program is determined to exist, calling a first interface in the classical computer cluster to send the first computing task/program to the quantum computer cluster through a communication link for availability query; the above-mentioned quantum computer cluster or the above-mentioned classical computer cluster determining whether there are available quantum computing units and whether resource allocation in the available quantum computing units satisfies a condition for computational acceleration; in case it is determined that there is an available quantum computing unit and that the resource allocation in the available quantum computing unit satisfies the condition of computational acceleration, the available quantum computing unit executes the first computational task/program and feeds back the computational result to the classical computer cluster via the second interface.
According to an embodiment of the present disclosure, the method further includes: in the case that it is determined that there is no first computation task/program that can be accelerated by the quantum computer cluster, there is no available quantum computation unit, or the resource allocation in all available quantum computation units does not satisfy the condition of computation acceleration, the classical computer cluster executes the first computation task/program by using the computation resources of the classical computer, or gives a feedback result of refusing to execute the first computation task/program, so as to issue an instruction of re-operation or intervention by the task issuer.
According to an embodiment of the present disclosure, the method further includes: in the case that the first computing task/program is determined to exist, further determining whether the first computing task/program has a calling authority for the first interface and a use authority for a quantum computer in the quantum computer cluster; and under the condition that the first computing task/program has calling authority for the first interface and has using authority for the quantum computers in the quantum computer cluster, calling the first interface in the classical computer cluster, and sending the first computing task/program to the quantum computer cluster through a communication link for availability query.
(III) advantageous effects
It can be seen from the foregoing technical solutions that the hybrid quantum computer architecture and the method for executing a computation task thereof provided by the present disclosure have the following beneficial effects:
the method comprises the steps that interfaces are respectively arranged on a classical computer and a quantum computer, and a communication link is arranged between the classical computer and the quantum computer, the interfaces package a remote device into a local device, after a first interface on the classical computer is called, a first computing task/program assigned by the classical computer is subjected to data conversion according to the requirement of the remote quantum computer, is adjusted and transmitted according to the type of the communication link, and waits for receiving return data to report the return data to the classical computer; the second interface on the quantum computer converts the data transmitted by the remote classical computer through the communication link, converts the data into standard input which can be understood by the local quantum computer servo, packages the return value and transmits the return value to the remote classical computer through the communication link, thus realizing effective communication between the classical computer and the quantum computer, forming a hybrid computer architecture with stronger performance under the condition that the classical computer and the quantum computer are only changed a little, and being beneficial to improving the calculation power and the calculation efficiency.
Drawings
Fig. 1 is a schematic structural diagram of a hybrid quantum computer architecture according to an embodiment of the present disclosure.
Fig. 2 is a schematic structural diagram of a hybrid quantum computer architecture according to another embodiment of the present disclosure.
Fig. 3 is a schematic structural diagram of a hybrid quantum computer architecture according to yet another embodiment of the present disclosure.
Fig. 4 is a schematic structural diagram of a hybrid quantum computer architecture according to yet another embodiment of the present disclosure.
Fig. 5 is a flow chart illustrating a method of performing a computational task by a hybrid quantum computer according to an embodiment of the present disclosure.
Fig. 6 is a flow chart illustrating a method of performing a computational task by a hybrid quantum computer according to another embodiment of the present disclosure.
Fig. 7 is a flow chart illustrating a method of performing a computational task by a hybrid quantum computer according to yet another embodiment of the present disclosure.
Fig. 8 is a flow chart illustrating a method of performing a computational task by a hybrid quantum computer according to yet another embodiment of the present disclosure.
[ notation ] to show
100-hybrid quantum computer architecture;
110-classic computer clusters;
111-classic computer a; 112-first interface of classic computer a;
113-classic computer b; 114-first interface of classical computer b;
115-classical computer c; 116-a first interface of classical computer c;
117 — common interface of a, b, and c of classical computer;
120-quantum computer cluster;
121-Quantum computer A; 122-a second interface of quantum computer a;
123-Quantum computer B; 124-a second interface of quantum computer B;
130-a communication link;
131-physical communication lines; 132-line exchanger.
Detailed Description
The embodiment of the disclosure provides a hybrid quantum computer architecture and a method for executing a computation task by the hybrid quantum computer architecture, wherein the hybrid quantum computer architecture realizes interconnection between a classical computer cluster and a quantum computer cluster and integration of computation resources.
For the purpose of promoting a better understanding of the objects, aspects and advantages of the present disclosure, reference is made to the following detailed description taken in conjunction with the accompanying drawings.
A first exemplary embodiment of the present disclosure provides a hybrid quantum computer architecture.
Fig. 1 is a schematic structural diagram of a hybrid quantum computer architecture according to an embodiment of the present disclosure. Fig. 2 is a schematic structural diagram of a hybrid quantum computer architecture according to another embodiment of the present disclosure. Fig. 3 is a schematic structural diagram of a hybrid quantum computer architecture according to yet another embodiment of the present disclosure. Fig. 4 is a schematic structural diagram of a hybrid quantum computer architecture according to yet another embodiment of the present disclosure.
Referring to fig. 1 to 4, a hybrid quantum computer architecture 100 provided in an embodiment of the present disclosure includes: a classical computer cluster 110, a quantum computer cluster 120, and a communication link 130. The classical computer cluster 110 comprises at least one classical computer, each of which is provided with a first interface for connecting with a quantum computer. The quantum computer cluster 120 includes at least one quantum computer, and a second interface for connecting with the classical computer is provided on each of the at least one quantum computer. The classical computer cluster 110 is configured to invoke the first interface according to a computing requirement, so as to send the allocated computing task to the quantum computer cluster 120 through the first interface; the second interface is used for receiving the calculation tasks distributed by the classical computer and feeding back the calculation results to the first interface. The communication link 130 is disposed between the classical computer and the quantum computer for transmitting data between the classical computer cluster 110 and the quantum computer cluster 120.
In fig. 1 to 4, a classic computer cluster 110 includes three classic computers, which are respectively described as a classic computer a 111, a classic computer b 113, and a classic computer c 115, as an example, and first interfaces provided on the classic computer a 111, the classic computer b 113, and the classic computer c 115 are respectively denoted by reference numerals 112, 114, and 116. In fig. 1 and 2, the quantum computer cluster 120 includes one quantum computer a as an example, in fig. 3 and 4, the quantum computer cluster 120 includes two quantum computers, namely a quantum computer a 121 and a quantum computer B123, and second interfaces provided on the quantum computer a 121 and the quantum computer B123 are respectively represented by reference numerals 122 and 124.
According to an embodiment of the present disclosure, the above quantum computer includes: a quantum computing unit for implementing quantum computing; and the quantum computer servo is electrically connected with the quantum computer unit and used for receiving the calculation tasks distributed by the classical computer cluster through the second interface, converting the calculation tasks into input and control signals of the quantum computer unit and feeding back the calculation results of the quantum computer unit to the second interface.
In the present disclosure, the classic computer may be a mainframe computer center, such as a supercomputing center, or may be the computer of an individual user. A classical computer is an existing computer that contains both hardware and software.
In the present disclosure, a quantum computer may include a scalar quantum system (quantum computing unit) for implementing quantum computing, and a software and hardware system (quantum computer servo) for coordinating the operation of the scalar quantum system. In the following description, a pure quantum system is described as a quantum computing unit, and a software and hardware system is described as a quantum computer servo.
Physical implementations of quantum computing units include, but are not limited to: superconductors, semiconductor quantum dots, optics, etc., and the quantum computing elements may be programmable or non-programmable. In a given operating state, the quantum computing unit preferentially deals with a series of homogeneous problems, but does not exclude any type of handling, in which case additional state switching time may be required. In the present disclosure, the quantum computing unit may be a quantum computer using physical bits, or may be a computing unit in a quantum computer having logical bits. In addition, the physical places where the quantum computer cluster and the classical computer cluster are located are not limited, the quantum computer cluster and the classical computer cluster can be adjacent or dispersed far away, the spatial positions of quantum computers in the quantum computer cluster are not limited, and the quantum computers can be adjacent or far apart; the spatial locations between the various classical computers within a classical computer cluster are also not limiting and may be close together or widely spaced.
The quantum computer servo is a software and hardware aggregate of instruction input equipment and control equipment of a quantum computing unit, can be a classical computer for controlling local quantum computers, and can also be local special equipment. The quantum computer servo is used for receiving task data of classical calculation (the task data can be received from the first interface by the second interface or can be directly input by a local user), converting the task data into input and control signals of special quantum calculation, and feeding back a result given by the quantum calculation unit to the second interface or the local classical computer.
According to the embodiment of the disclosure, the quantum computing unit and the quantum computer servo are in one-to-one, one-to-many or many-to-one connection relationship.
According to the embodiment of the disclosure, the arrangement form of the first interface in the classic computer comprises one or more of the following forms: a dynamic/static link library, or a device file.
According to an embodiment of the present disclosure, the second interface is provided in a quantum computer in a form including one or more of the following forms: dynamic/static link libraries, device files, or dedicated hardware control logic.
According to an embodiment of the present disclosure, the communication link 130 includes a physical communication line 131, which is shown with reference to fig. 1 and 2; or the communication link 130 includes a physical communication line 131 and a line switch 132. The line switch may also be described as a switching center. The line switch 132 is used for communication interconnection of the physical communication line 131. The physical communication line 131 includes: ethernet, cable, optic fibre, wireless WIFI, USB directly link bus, RS232 directly link bus, RS485 directly link bus or GPIB directly links the bus. The above-mentioned line exchanger includes: a network switch or router. The connection of the communication links between the classical computer and the quantum computer is also illustrated in fig. 3 in different line types.
The classical computer can adopt a classical mode when used or programmed, and tasks/programs (such as function functions) which can be accelerated by the quantum computer are called and executed through an interface.
Each communication link at the end of the classical computer can have a separate interface corresponding to it, or a general interface can process all communication links from the quantum computer cluster. Namely, between the first interface in the classical computer cluster and the second interface in the quantum computer cluster: may be in many-to-one form, as shown in fig. 1 (where a quantum computer cluster may include multiple quantum computers, not limited to the one illustrated in fig. 1); may be in many-to-many form, as shown in fig. 3; it can also be in a one-to-many form, as shown in fig. 4, all classic computers in the classic computer cluster 110 employ a common first interface, illustrated in fig. 4 as common interface 117.
Each communication link is at the quantum computer end, and if a bus form similar to network communication is adopted, the connection form is generally one-to-many, namely, one quantum computer can respond to the connection requests of a plurality of classical computers.
According to the embodiment of the disclosure, the classical computer is in a blocking state when the first interface is called, and when the classical computer is in the blocking state, the classical computer must wait for a result returned from the quantum computer cluster through the communication link, and the program executed by the classical computer can be executed continuously. Or, the classic computer is in a non-blocking state when calling the first interface, the classic computer calls the first interface based on a form of a parallel running process or thread, the quantum computer executes the distributed computing task, the main program of the classic computer continues to execute the set task without being influenced by the parallel running process or thread, and when receiving the computing result returned from the quantum computer cluster through the communication link, the parallel running process or thread notifies the main program to utilize the computing result.
In the hybrid quantum computer architecture provided by this embodiment, interfaces are respectively set on a classical computer and a quantum computer, and a communication link is set between the classical computer and the quantum computer, where the interfaces package a remote device into a local device, and after a first interface on the classical computer is called, a first computing task/program assigned by the classical computer performs data conversion according to the requirement of the remote quantum computer, performs adjustment and transmission according to the type of the communication link, and waits for receiving return data to report the return data to the classical computer; the second interface on the quantum computer converts the data transmitted by the remote classical computer through the communication link, converts the data into standard input which can be understood by the local quantum computer servo, packages the return value and transmits the return value to the remote classical computer through the communication link, thus realizing effective communication between the classical computer and the quantum computer, forming a hybrid computer architecture with stronger performance under the condition that the classical computer and the quantum computer are only changed a little, and being beneficial to improving the calculation power and the calculation efficiency.
In one embodiment, the flow of the classic computer calling the first interface is as follows: when a classic computer executes a computing task or converts the computing task into a computing program for execution, when the program executes to a first computational task/program (e.g. a function) that can be accelerated by a quantum computer, calling a first interface, judging whether the quantum computers in the quantum computer cluster can provide services (such as whether available quantum computing units exist or not, whether classic user sides have calling authorities or whether the total time of computing by adopting the quantum computers is advantageous or not, and the like) by the first interface, if the quantum computers cannot provide the services, returning a calling failure result, or switching to the classic computer to continue executing the task, or giving a result of refusing to execute the first computing task/program because the classic computer takes too long to execute the first computing task/program or the current resources cannot be realized. If the quantum computer can serve, the first interface of the classical computer prepares data according to the requirements of the quantum computer and sends the data to the second interface of the quantum computer through a communication link. Meanwhile, after receiving the data, the second interface of the quantum computer prepares the data and provides the data for the quantum computer to serve, and the quantum computer serves to control the quantum computing unit to compute. After the calculation result is given, the quantum computer unit is handed to the second interface through the quantum computer servo, the second interface performs data preparation and sends the data to the first interface of the classic computer through the communication link, and the first interface of the classic computer returns the data to the program of the calling interface at that time.
When the classic computer calls the first interface, the classic computer can be in a blocking type, and if the classic computer needs to wait for the link to return to the structure, the classic program can continue to execute; or the non-blocking type, the classic program throws out the interface in the form of process or thread class, the main program continues to execute the subsequent content, and after the interface feeds back the result, the previous process/thread is responsible for informing the main program to utilize the subsequent data result.
The quantum computer is called through the form, actually, at the calling interface, links such as communication link communication, interface corresponding calling and data conversion, data return through the communication link and the like are time overhead, and only under the condition that the overhead and the actual computing time of the quantum computer are smaller than the computing total time of a classical computer, the quantum computer has a real acceleration advantage, and the interface in the disclosure needs to judge whether the quantum computer is called for service, and the judgment condition is that the quantum computer cluster can accelerate.
A second exemplary embodiment of the present disclosure provides a method of performing a computational task by the above hybrid quantum computer.
Fig. 5 is a flow chart illustrating a method of performing a computational task by a hybrid quantum computer according to an embodiment of the present disclosure.
Referring to fig. 5, a method for performing a computation task by a hybrid quantum computer according to an embodiment of the present disclosure includes the following operations: s201, S202, S203, S204, S205, and S206.
In operation S201, the classical computer cluster receives a complete task/program of the target computation.
In operation S202, the classical computer cluster determines whether there is a first computational task/program that can be accelerated by the quantum computer cluster during execution of the complete task/program of the above-described target computation.
In operation S203, in case that it is determined that the first computing task/program exists, a first interface in the classical computer cluster is called to send the first computing task/program to the quantum computer cluster via a communication link for availability query.
In operation S204, the above-described quantum computer cluster or the above-described classical computer cluster determines whether there is an available quantum computing unit.
In operation S205, the above-described quantum computer cluster or the above-described classical computer cluster determines whether resource allocation in available quantum computing units satisfies a condition for computational acceleration.
In an embodiment, the available state of the quantum computer and the resource allocation condition can be regularly fed back to the classical computer cluster by the quantum computer cluster, and in this case, whether an available quantum computing unit exists and whether the resource allocation in the available quantum computing unit meets the condition of computation acceleration can be determined by the classical computer cluster according to the information fed back by the quantum computer cluster.
In another embodiment, it may be determined by the quantum computer cluster whether there is an available quantum computing unit inside and whether resource allocation in the available quantum computing unit satisfies a condition of computational acceleration after operation S203.
In operation S206, in case it is determined that there is an available quantum computing unit and that the resource allocation in the available quantum computing unit satisfies the condition of computation acceleration, the available quantum computing unit executes the first computation task/program and feeds back the computation result to the classic computer cluster through the second interface.
Referring to fig. 5, the method for performing a computation task by a hybrid quantum computer according to an embodiment of the present disclosure includes, in addition to the above operations S201, S202, S203, S204, S205, and S206, the following operation S209: in the case that it is determined that there is no first computation task/program that can be accelerated by the quantum computer cluster, there is no available quantum computation unit, or the resource allocation in all available quantum computation units does not satisfy the condition of computation acceleration, the classical computer cluster executes the first computation task/program by using the computation resources of the classical computer, or gives a feedback result of refusing to execute the first computation task/program, so as to issue an instruction of re-operation or intervention by the task issuer.
In one embodiment, the classic computer is in a blocking state when the first interface is called, and the method further includes operations S207a and S208a as shown in fig. 5. The above-described operation S208a must be performed after the operation S206.
In operation S207a, in case the first interface in the classical computer cluster is called, the classical computer cluster is in a blocking state, waiting for a result to be returned from the quantum computer cluster over the communication link.
In operation S208a, upon receiving the result returned by the quantum computer cluster, the classical computer cluster continues to perform the intended task.
Fig. 6 is a flow chart illustrating a method of performing a computational task by a hybrid quantum computer according to another embodiment of the present disclosure.
In another embodiment, the classic computer is in a non-blocking state when the first interface is called, and the method further includes operations S207b and S208b as shown in fig. 6.
In this embodiment, in operation S203, the classic computer is in a non-blocking state when calling the first interface, and the classic computer calls the first interface based on a form of parallel running process or thread.
In operation S207b, the classic computer cluster is in a non-blocking state, and the main program of the classic computer continues to execute the intended task without being affected by the parallel running process or thread.
In operation S208b, when the result returned by the quantum computer cluster is received, the parallel running process or the thread notifies the main program of the use of the calculation result.
Fig. 7 is a flow chart illustrating a method of performing a computational task by a hybrid quantum computer according to yet another embodiment of the present disclosure. Fig. 8 is a flow chart illustrating a method of performing a computational task by a hybrid quantum computer according to yet another embodiment of the present disclosure.
According to an embodiment of the present disclosure, as shown with reference to fig. 7 and 8, the method includes, in addition to the operations S201 to S206, S207a, S208a, and S209 described above, or in addition to the operations S201 to S206, S207b, S208b, and S209 described above, operations of: s301 and S302.
In operation S301, in the case that it is determined that the first computing task/program exists, it is further determined whether the first computing task/program has a call authority for the first interface.
In operation S302, it is determined whether the first computing task/program has usage rights to the quantum computers in the quantum computer cluster.
Operation S203 is performed in the case where both the results of the above-described operations S301 and S302 are yes.
That is, in operation S203 of this embodiment, when the first computation task/program has a call authority for the first interface and a use authority for a quantum computer in the quantum computer cluster, the first computation task/program calls the first interface in the classical computer cluster and sends the first computation task/program to the quantum computer cluster via a communication link for availability query.
In summary, the embodiments of the present disclosure provide a hybrid quantum computer architecture and a method for executing a computing task thereof, where interfaces are respectively disposed on a classical computer and a quantum computer, and a communication link is disposed between the classical computer and the quantum computer, where the interfaces package a remote device into a local device, and after a first interface on the classical computer is called, a first computing task/program assigned by the classical computer is subjected to data conversion according to a requirement of the remote quantum computer, and is adjusted and transmitted according to a type of the communication link, and waits for receiving return data to report the return data to the classical computer; the second interface on the quantum computer converts the data transmitted by the remote classical computer through the communication link, converts the data into standard input which can be understood by the local quantum computer servo, packages the return value and transmits the return value to the remote classical computer through the communication link, thus realizing effective communication between the classical computer and the quantum computer, forming a hybrid computer architecture with stronger performance under the condition that the classical computer and the quantum computer are only changed a little, and being beneficial to improving the calculation power and the calculation efficiency. The hybrid quantum computer architecture realizes interconnection between a classical computer cluster and a quantum computer cluster and integration of computing resources. According to the method, whether the resource allocation in the available quantum computing unit meets the condition of computing acceleration is judged in advance, and under the condition that computing acceleration can be achieved by adopting the quantum computer cluster, a classical computer and a quantum computer are cooperatively adopted to complete a computing task, so that the computing power and the computing efficiency are improved.
The disclosure may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. Various component embodiments of the disclosure may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) or programmable gate array (FPGA) may be used in practice to implement some or all of the functionality of some or all of the components in the relevant apparatus according to embodiments of the present disclosure. The present disclosure may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present disclosure may be stored on a computer-readable medium or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
Unless a technical obstacle or contradiction exists, the above-described various embodiments of the present disclosure may be freely combined to form further embodiments, which are all within the scope of protection of the present disclosure.
The above-mentioned embodiments are intended to illustrate the objects, aspects and advantages of the present disclosure in further detail, and it should be understood that the above-mentioned embodiments are only illustrative of the present disclosure and are not intended to limit the present disclosure, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (10)

1. A hybrid quantum computer architecture, comprising:
the classical computer cluster comprises at least one classical computer, wherein each classical computer is provided with a first interface used for being connected with a quantum computer;
the quantum computer cluster comprises at least one quantum computer, and a second interface used for being connected with the classical computer is arranged on each quantum computer in the at least one quantum computer; the classical computer cluster is used for calling the first interface according to the computing requirement so as to send the distributed computing task to the quantum computer cluster through the first interface; the second interface is used for receiving the calculation tasks distributed by the classical computer and feeding back the calculation results to the first interface; and
and the communication link is arranged between the classical computer cluster and the quantum computer cluster and is used for transmitting data between the classical computer cluster and the quantum computer cluster.
2. The hybrid quantum computer architecture of claim 1, wherein the quantum computer comprises:
a quantum computing unit for implementing quantum computing; and
and the quantum computer servo is electrically connected with the quantum computer unit and is used for receiving a calculation task distributed by a classical computer cluster through the second interface, converting the calculation task into an input and control signal of the quantum computer unit and feeding back a calculation result of the quantum computer unit to the second interface.
3. The hybrid quantum computer architecture of claim 2, wherein there is a one-to-one, one-to-many or many-to-one connection relationship between the quantum computing unit and the quantum computer servo.
4. The hybrid quantum computer architecture of claim 1,
the classical computer is in a blocking state when the first interface is called, and when the classical computer is in the blocking state, the classical computer must wait for a result returned from the quantum computer cluster through the communication link, and a program executed by the classical computer can continue to execute; alternatively, the first and second electrodes may be,
the classical computer is in a non-blocking state when calling a first interface, the classical computer calls the first interface based on a form of parallel running process or thread, distributed computing tasks are executed by the quantum computer, a main program of the classical computer continues to execute established tasks without being influenced by the parallel running process or thread, and when receiving a computing result returned from the quantum computer cluster through the communication link, the parallel running process or thread informs the main program to utilize the computing result.
5. The hybrid quantum computer architecture of claim 1, wherein the first interface is provided in a classical computer in a form comprising one or more of the following forms: a dynamic/static link library, or a device file.
6. The hybrid quantum computer architecture of claim 1, wherein the second interface is provided in a quantum computer in a form comprising one or more of the following forms: dynamic/static link libraries, device files, or dedicated hardware control logic.
7. The hybrid quantum computer architecture of claim 1, wherein the communication link comprises a physical communication line, or comprises a physical communication line and a line switch for communicative interconnection of the physical communication line;
the physical communication line includes: ethernet, cable, fiber, wireless WIFI, USB direct connection bus, RS232 direct connection bus, RS485 direct connection bus, or GPIB direct connection bus;
the line exchanger includes: a network switch or router.
8. A method of performing computational tasks by the hybrid quantum computer of claim 2, comprising:
a classical computer cluster receives a complete task/program of target calculation;
the classical computer cluster determines whether a first computing task/program which can be accelerated by the quantum computer cluster exists in the execution process of the complete task/program of the target computing;
in the event that the first computing task/program is determined to exist, invoking a first interface in the classical computer cluster to send the first computing task/program to the quantum computer cluster via a communication link for availability query;
the quantum computer cluster or the classical computer cluster determining whether there are available quantum computing units and whether resource allocation in the available quantum computing units satisfies a condition for computational acceleration;
in the event that it is determined that there is an available quantum computing unit and that the allocation of resources in the available quantum computing unit satisfies the conditions for computational acceleration, the available quantum computing unit executes the first computational task/program and feeds back the computational results to the classical computer cluster via the second interface.
9. The method of claim 8, further comprising:
in the case that it is determined that there is no first computational task/program that can be accelerated by a quantum computer cluster, there is no available quantum computational unit, or the resource allocation in all available quantum computational units does not satisfy the condition of computational acceleration, the classical computer cluster executes the first computational task/program using the computational resources of the classical computer, or gives a feedback result that execution of the first computational task/program is rejected, so as to issue an instruction for re-operation or intervention by a task issuer.
10. The method of claim 8, further comprising:
in an instance in which it is determined that the first computing task/program is present, further determining whether the first computing task/program has call permissions for the first interface and usage permissions for quantum computers in the quantum computer cluster; and
and in the case that the first computing task/program has the calling authority for the first interface and the using authority for the quantum computer in the quantum computer cluster, calling the first interface in the classical computer cluster and sending the first computing task/program to the quantum computer cluster via a communication link for availability query.
CN202110359265.0A 2021-04-01 2021-04-01 Hybrid quantum computer architecture and method for executing computing tasks thereof Active CN112862104B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110359265.0A CN112862104B (en) 2021-04-01 2021-04-01 Hybrid quantum computer architecture and method for executing computing tasks thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110359265.0A CN112862104B (en) 2021-04-01 2021-04-01 Hybrid quantum computer architecture and method for executing computing tasks thereof

Publications (2)

Publication Number Publication Date
CN112862104A true CN112862104A (en) 2021-05-28
CN112862104B CN112862104B (en) 2024-02-27

Family

ID=75992166

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110359265.0A Active CN112862104B (en) 2021-04-01 2021-04-01 Hybrid quantum computer architecture and method for executing computing tasks thereof

Country Status (1)

Country Link
CN (1) CN112862104B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114048857A (en) * 2021-10-22 2022-02-15 天工量信(苏州)科技发展有限公司 Calculation capacity distribution method and device and calculation capacity server

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1870015A (en) * 2006-06-28 2006-11-29 中山大学 Cooperative quantum computer architecture structural conceptual
US20080313430A1 (en) * 2007-06-12 2008-12-18 Bunyk Paul I Method and system for increasing quantum computer processing speed using digital co-processor
US7875876B1 (en) * 2006-06-15 2011-01-25 Hrl Laboratories, Llc Scalable quantum computer
WO2020018752A1 (en) * 2018-07-18 2020-01-23 IonQ, Inc. Quantum hybrid computation
WO2020047426A1 (en) * 2018-08-30 2020-03-05 Rigetti & Co, Inc. Low-latency, high-performance hybrid computing
CN112368722A (en) * 2018-05-16 2021-02-12 河道研究有限公司 Estimating energy levels of a physical system
CN112465146A (en) * 2020-11-19 2021-03-09 苏州浪潮智能科技有限公司 Quantum and classical hybrid cloud platform and task execution method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7875876B1 (en) * 2006-06-15 2011-01-25 Hrl Laboratories, Llc Scalable quantum computer
CN1870015A (en) * 2006-06-28 2006-11-29 中山大学 Cooperative quantum computer architecture structural conceptual
US20080313430A1 (en) * 2007-06-12 2008-12-18 Bunyk Paul I Method and system for increasing quantum computer processing speed using digital co-processor
CN112368722A (en) * 2018-05-16 2021-02-12 河道研究有限公司 Estimating energy levels of a physical system
WO2020018752A1 (en) * 2018-07-18 2020-01-23 IonQ, Inc. Quantum hybrid computation
WO2020047426A1 (en) * 2018-08-30 2020-03-05 Rigetti & Co, Inc. Low-latency, high-performance hybrid computing
CN112465146A (en) * 2020-11-19 2021-03-09 苏州浪潮智能科技有限公司 Quantum and classical hybrid cloud platform and task execution method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王勇等: "量子计算机与经典计算机", 《创新科技》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114048857A (en) * 2021-10-22 2022-02-15 天工量信(苏州)科技发展有限公司 Calculation capacity distribution method and device and calculation capacity server
WO2023066084A1 (en) * 2021-10-22 2023-04-27 量子科技长三角产业创新中心 Computing power distribution method and apparatus, and computing power server
CN114048857B (en) * 2021-10-22 2024-04-09 天工量信(苏州)科技发展有限公司 Calculation force distribution method and device and calculation force server

Also Published As

Publication number Publication date
CN112862104B (en) 2024-02-27

Similar Documents

Publication Publication Date Title
US5025369A (en) Computer system
RU2597556C2 (en) Computer cluster arrangement for executing computation tasks and method for operation thereof
EP0362108B1 (en) Method for establishing current terminal addresses for system users processing distributed application programs in an SNA LU 6.2 network environment
CN101211277B (en) Method of selecting one of execution schedules of guest OS and virtual machine monitor employing the method
CN101242392B (en) Method, device and system for processing series service message
CN105518620A (en) Network card configuration method and resource management center
JPH06195290A (en) Method and system for access of processing procedure from remote node
JPH0563821B2 (en)
KR102036731B1 (en) System and method for cluster placement of virtualization network functions
EP0954918B1 (en) System and method for communications and process management in a distributed telecommunications switch
CN112862104A (en) Hybrid quantum computer architecture and method for executing calculation task
CN109995875A (en) Virtualization data distributes elastomeric network system
US20030088661A1 (en) Method for constructing distributed software components
US11513858B2 (en) System for operating and method for arranging nodes thereof
US20040044822A1 (en) Computer I/O switching means based on network links
US4321669A (en) Microcomputer network having several microcomputer modules which are coupled onto at least one system bus
CN1430144A (en) Method of multiplexing peripheral PCI equipment by multiprocessor
KR100350315B1 (en) Apparatus And Method For Remote Input/Output Control In Real-time System
KR0175534B1 (en) Data distribution and communication methods on a shared distributed memory system
Praphamontripong et al. An analytical approach to performance analysis of an asynchronous web server
KR100442599B1 (en) Message handling apparatus and method in exchange system using distributed objects of workstation
KR100258632B1 (en) Data transfer device of client/server system
KR100318342B1 (en) Multiple Remote Command Processing Structure and Method
JP2000242609A (en) Distributed object dynamic arrangement control method and device
JP4668367B2 (en) Computer, parallel distributed system, and function call method

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
GR01 Patent grant
GR01 Patent grant