Virtual interface for accessing quantum computing resources

By presenting quantum processing units as local resources via a virtual interface, the latency and accuracy issues in quantum computing are addressed, enhancing the efficiency and cost-effectiveness of quantum algorithm execution.

US12818240B1Active Publication Date: 2026-12-01AMAZON TECH INC
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
US17/936991
Authority / Receiving Office
US · United States
Patent Type
Patents(United States)
Current Assignee / Owner
Filing Date
2022-09-30
Publication Date
2026-12-01
Estimated Expiration
2045-02-02

AI Technical Summary

Technical Problem

Quantum computing resources introduce latency and inaccuracies due to network connections and calibration drift, leading to delays and increased costs in executing quantum algorithms.

Method used

A virtual interface is established between classical computing devices and quantum processing units (QPUs) to present QPUs as local processing resources, reducing latency by routing quantum code portions through a PCIe connection and utilizing a quantum controller to manage execution transparently.

Benefits of technology

This approach minimizes latency and maintains accuracy by executing quantum code portions locally, reducing execution time and costs associated with quantum computing resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US12818240-D00000_ABST
    Figure US12818240-D00000_ABST
Patent Text Reader

Abstract

A system for executing an algorithm comprising a quantum code portion via a virtual interface for quantum resources is described. The system includes classical computing devices configured to orchestrate execution of a quantum code portion to be executed by the quantum processing unit. A virtual interface is presented to the classical processors that presents the quantum processing unit as a resource available to execute a portion of a processing thread in a classical execution environment. The virtual interface is configured to route the portion of the processing to the quantum processing unit. A quantum controller is configured to receive a quantum circuit to perform the quantum portion. The quantum controller configures the quantum processing unit according to the quantum circuit and route results of the quantum circuit from the quantum processing unit to the classical processors via the virtual interface.
Need to check novelty before this filing date? Find Prior Art

Description

BACKGROUND

[0001] Quantum computers utilize the laws of quantum physics to process information. Compared to classical (e.g., binary) computers, quantum computers work with quantum bits (or qubits). Qubits can experience the phenomena of “superposition” and “entanglement.” Superposition allows a qubit to be in multiple states at the same time. For example, whereas a classical computer is based on bits that are either zero or one, a qubit may be both zero and one at the same time, with different probabilities assigned to zero and one. Entanglement is a strong correlation between qubits, such that the qubits are inextricably linked in unison even if separated by great distances. By using superposition and entanglement, quantum computers have the potential to process information in new ways to solve computational problems that are beyond the reach of classical computers.

[0002] Some quantum hardware providers may offer access to quantum computing resources, such as quantum processing units (QPUs). For example, a quantum computing service provider may provide classical computing devices access to quantum computing resources through network connections. However, the network connections may introduce latency when a classical computing device attempts to establish a connection to the quantum computing resources. Also, the network connections may introduce latency with regard to providing instructions to execute quantum algorithms using the quantum computing resources and / or when receiving results of executing the quantum algorithms using the quantum computing resources. Latency may cause delays or inaccurate results based on changes to the quantum computing resources over periods of time. For example, calibration of a quantum computing resource may drift over time such that delays reduce accuracy of results as the quantum computing resource drifts away from an initial calibration. Also, delays may extend an amount of time required to execute an algorithm comprising a quantum portion and may cause a user of the quantum computing resources to incur additional costs associated with the extra amount of time required to execute the algorithm comprising the quantum portion.BRIEF DESCRIPTION OF THE DRAWINGS

[0003] FIG. 1 is a block diagram for a system for executing an algorithm comprising a quantum code portion, such as a hybrid algorithm that has a classical code portion and a quantum code portion, wherein the quantum code portion is executed using quantum computing resources that are presented to the classical computing resources, via a virtual interface, as a local processing component available to execute a quantum job processing thread provided to the virtual interface by the classical computing resources, according to some embodiments.

[0004] FIG. 2 is a logical block diagram for a system that implements a virtual interface for executing a quantum code portion using quantum computing resources, according to some embodiments.

[0005] FIG. 3 is a block diagram showing an example provider network including a quantum computing service and other cloud-based services, according to some embodiments.

[0006] FIG. 4 illustrates interactions between components of a system that executes an algorithm comprising a quantum code portion, such as a hybrid algorithm, using a virtual interface for accessing quantum computing resources, according to some embodiments.

[0007] FIG. 5 illustrates interactions between components of a system that executes an algorithm comprising a quantum code portion, wherein the interactions comprise generating a compiled quantum circuit for the quantum code portion provided to a virtual interface for accessing quantum computing resources, according to some embodiments.

[0008] FIG. 6 is a flowchart for a method of executing an algorithm comprising a quantum code portion, such as a hybrid algorithm, via a virtual interface for accessing quantum computing resources, according to some embodiments.

[0009] FIG. 7 is a flowchart for a method for configuring quantum computing resources (e.g., a quantum processing unit QPU)) to execute a quantum portion of an algorithm provided to a virtual interface, wherein a quantum controller implements at least a portion of the virtual interface, according to some embodiments.

[0010] FIG. 8 is a flowchart for a method for managing compilation of a quantum circuit, wherein the quantum circuit is provided to a virtual interface for execution on quantum computing resources, according to some embodiments.

[0011] FIG. 9 is a block diagram showing an example classical computing device to implement the various techniques described herein, according to some embodiments.

[0012] While embodiments are described herein by way of example for several embodiments and illustrative drawings, those skilled in the art will recognize that the embodiments are not limited to the embodiments or drawings described. It should be understood that the drawings and detailed description thereto are not intended to limit embodiments to the particular form disclosed, but on the contrary, the intention is to cover all modifications, equivalents and alternatives falling within the spirit and scope as defined by the appended claims. As used throughout this application, the word “may” is used in a permissive sense (i.e., meaning having the potential to), rather than the mandatory sense (i.e., meaning must). Similarly, the words “include”, “including”, and “includes” mean including, but not limited to.

[0013] “Based On.” As used herein, this term is used to describe one or more factors that affect a determination. This term does not foreclose additional factors that may affect a determination. That is, a determination may be solely based on those factors or based, at least in part, on those factors. Consider the phrase “determine A based on B.” While B may be a factor that affects the determination of A, such a phrase does not foreclose the determination of A from also being based on C. In other instances, A may be determined based solely on B.

[0014] This specification includes references to “one embodiment” or “an embodiment.” The appearances of the phrases “in one embodiment” or “in an embodiment” do not necessarily refer to the same embodiment. Particular features, structures, or characteristics may be combined in any suitable manner consistent with this disclosure.DETAILED DESCRIPTION

[0015] Various systems and methods are described herein for implementing quantum computing resources in a way such that the quantum computing resources are presented to classical computing devices as local processing resources available, via a virtual interface, to execute a quantum portion of an algorithm executing on the classical computing devices, such as may be included in a hybrid algorithm. For example, a hybrid execution environment may be referred to as hybrid based on having a classical computing component and a quantum computing component. For example, a hybrid algorithm may include a classical code portion and a quantum code portion. The classical code portion may be implemented or executed on or across classical computing devices, including one or more classical processors, such as x86, x64, or ARM-based central processing units (“CPUs”) and associated memory (e.g., classical computing resources). The quantum code portion may be implemented or executed on quantum computing resources, such as a quantum processing unit (“QPU”).

[0016] The QPU may be made accessible to the classical computing devices such that the classical computing devices may cause the QPU to execute the quantum code portion during execution of the hybrid algorithm. For example, the classical computing devices may detect that the hybrid algorithm includes the quantum code portion and that the quantum code portion is to be implemented at the QPU. As opposed to routing the quantum code portion through an application stack and / or network stack to communicate with a quantum computing resource over a network connection, the classical computing devices may instead route the quantum code portion to a virtual interface presented to the classical computing resources as a locally attached device, such as a PCIe connected component. The virtual interface may automatically coordinate execution of the quantum code portion and provide results back to the classical computing device via the virtual interface. In some embodiments, the steps of reserving quantum computing resource time slots, compiling a quantum circuit corresponding to the quantum code portion, executing the compiled quantum circuit, collecting results, etc. may be automatically performed via components of the virtual interface in a manner that is transparent to the classical computing device.

[0017] In some embodiments, a classical computing device may be a separate computing hardware component from a quantum computing device. However, classical computing devices and one or more QPUs may be coupled to one another via a connection that may include a wired or wireless connection. For execution of an algorithm comprising a quantum code portion, such as a hybrid algorithm, latency may be reduced by establishing a virtual interface between the classical computing devices and the one or more QPUs to present quantum computing resources of the QPU as a local device accessible by the classical computing devices as a system attached resource, such as a resource coupled to a local PCIe bus of the classical computing devices.

[0018] A virtual interface may present the QPU as a logical device that is accessible to the classical computing devices, such as in a classical execution environment. In some implementations, a quantum controller (e.g., quantum control stack) may establish the virtual interface. In some implementations, a quantum resource virtualization module of the virtual interface may include a field programmable gate array (“FPGA”), application specific integrated circuit (“ASIC”), or other specialized processor configured to establish a connection to the QPU. In some implementations, the virtual interface may facilitate communications between a classical computing device and the quantum processing unit (QPU) using the FPGA, ASIC, or other specialized processor, such that the classical computing device sends the quantum code portion to the FPGA, ASIC, etc. via the virtual interface. The classical computing device may detect that the virtual interface is a logical device that is local or within the same system as the classical computing device, where the QPU is not actually directly accessible by the classical computing device during runtime (though appears this way as perceived by the classical computing device when interacting with the virtual interface).

[0019] The QPU may be configured to execute a quantum code portion of an algorithm according to a quantum circuit that defines quantum logic to be used for the quantum code portion. The quantum circuit may be a representation of a configuration for the QPU to use to execute a given quantum code portion of an algorithm. The quantum circuit may be provided to a quantum controller, wherein a hypervisor manages access to the quantum controller among one or more classical computing devices each configured with a virtual interface for accessing the quantum controller. The quantum controller may configure a QPU based on the quantum circuit. After the QPU is configured according to the quantum circuit, the QPU may generate outputs based on inputs provided by the classical computing devices. The results may be provided back to a quantum resource virtualization component (e.g., the FPGA, ASIC, etc.) of the virtual interface. The quantum resource virtualization component (e.g., the FPGA, ASIC, etc.) of the virtual interface may provide the results to the hypervisor, which in turn provides the results to the classical computing resources or the clients. For example, in some embodiments, the hypervisor may provide the results to an operating system of a virtual machine implemented on the classical computing device (and controlled by the hypervisor) and the operating system of the virtual machine may provide the results up to an application executing in a runtime environment of the operating system of the virtual machine (or an application executing in a containerized runtime environment).

[0020] FIG. 1 is a block diagram for a system 100 for executing an algorithm comprising a quantum portion, such as a hybrid algorithm that has a classical code portion and a quantum code portion, according to some embodiments. The system 100 may include various types of classical computing devices, including one or more processors and a memory storing program instructions. For example, classical computing host 110 includes the classical computing resource 112, which may include one or more central processing units (“CPUs”) and memory configured to implement a virtual machine or an operating system implemented on classical computing host 110.

[0021] Classical computing host 110 may also include one or more virtualization offloading components, such a virtualization offloading components 120, configured to perform virtualization tasks, such as virtualizing the classical computing resources 112 into a plurality of virtual machines and presenting quantum computing resources 134 as virtualized resources available to the classical computing resources 112 via a virtual interface (such as virtual interface 202 further described in FIG. 2), according to some embodiments. For example, classical computing host 110 may include virtualization offloading components 120, which are configured to offload at least a portion of an execution thread to an external device, such as quantum computing resources 134. For example, virtualization offloading components 120 may coordinate execution of a hybrid algorithm that may include classical code portion 116 and quantum code portion 118. Classical code portion 116 may be executed on or across the classical computing resources 112, and quantum code portion 118 may be executed on or across quantum computing resources 134, according to various embodiments. In some implementations, quantum computing resources 134 may include a quantum processing unit (“QPU”). In some embodiments, the execution of the classical code portion 116 may be performed in an application execution container 114 and / or a virtual machine (which may implement one or more containerized execution environments (e.g., containers 114). In some embodiments, the classical code 116 may be executed in a virtual machine environment without using a container, such as container 114. In such cases, execution libraries, etc. for the classical code portion 116 and the quantum code portion 118 may be stored in a manner that makes them accessible from the virtual machine environment.

[0022] Virtualization offloading components 120 may be included as part of classical computing host 110, according to various embodiments. In some implementations, virtualization offloading components 120 may include computing hardware coupled to a Peripheral Component Interconnect Express (PCI Express or PCIe) bus of classical computing host 110. In some embodiments, virtualization offloading components 120 may include management 122, hypervisor 124, client network interface 126, quantum controller 128, quantum resource virtualization 130, and communications channel 132. In some embodiments, the virtualization offloading components may be mounted on a separate card, e.g., a virtualization offloading card that is coupled to the classical computing resources 112, e.g., via a PCIe connection. Also, in some embodiments, the various components 122, 124, 126, 128, 130, and 132 may be connected to the classical computing resources 112 as separate components (e.g., cards) connected to a PCIe bus of the classical computing host 110. For example, in some embodiments, management 122, hypervisor 124, and quantum controller 128 may be implemented using one or more systems on a chip (SoCs). In some embodiments, client network interface card 126 may be a separate network card. In some embodiments, (as mentioned above) quantum resource virtualization 130 may be implemented using a FPGA, ASIC, etc. In some embodiments, communications channel 132 may be implemented using a digital to analog (and vice versa) converter. In some embodiments, communications channel 132 may output (or cause to be outputted) radio wave pulses, microwave pulses, optical signals (e.g., laser pulses), etc.

[0023] Management 122 may interact with quantum circuit compilation 140 and resource management 144 via network 170, according to some embodiments. For example, management 122 may include a network interface configured to access network 170. In some embodiments, network 170 may not be publicly accessible for unauthorized users. For example, access may be limited to hosts that host virtual machines with virtual interfaces to quantum computing resources as well as auxiliary services used by such hosts, such as quantum circuit compilation 140 and resource management 144. In some implementations, quantum circuit compilation 140 and resource management 144 may be services configured to perform various tasks for hosts, such as classical computing host 110. In some embodiments, resource management 114 may additionally provide other services, such as providing QPU performance and / or calibration information to other quantum hardware service provider customers for use in selecting and configuring QPUs and / or quantum circuits to be executed on the quantum hardware service provider's QPUs. In some embodiments, quantum circuit compilation 140 may be a compiler managed by a quantum hardware provider that is providing quantum computing resources 134. In some embodiments, quantum circuit compilation 140 may be a compiler managed by a service provider network that also manages classical computing host 110.

[0024] Quantum circuit compilation 140 may compile machine binary code to be used to implement a quantum circuit, wherein the machine binary code is compiled on behalf of clients or hosts, such as classical computing host 110, according to some embodiments. For example, quantum circuit compilation 140 may receive a quantum code portion comprising one or more quantum circuits to be compiled as a machine binary executable by quantum resource virtualization 130 to implement a given quantum circuit included in the quantum code portion on quantum computing resources 134. In some embodiments, the quantum code portion may be a quantum code portion of a hybrid algorithm. For example, the hybrid algorithm may include classical code portion 116 and quantum code portion 118. For example, quantum code portion 118 may be compiled as a machine binary for us in implementing a quantum circuit by quantum circuit compilation 140. In some embodiments, classical computing resources 112 may send quantum code portion 118 directly to quantum circuit compilation 140, or the quantum code portion may be provided to hypervisor 124 for transmission to quantum circuit compilation 140 for compilation as a quantum circuit. In some embodiments, the quantum code portion 118 may be provided to hypervisor 124 which in turn provides the quantum code portion 118 to quantum controller 128. In such embodiments, quantum controller 128 may route the quantum code portion 118 to quantum circuit compilation 140 via management 122. For example, quantum circuit compilation 140 may compile quantum code portion 118 as a machine binary for implementing a quantum circuit for container 114. Quantum circuit compilation 140 may send compiled quantum circuit 142 to management 122 via network 170 for deployment to quantum computing resources 134 via quantum controller 128, quantum virtualization resource 130 and communications channel 132.

[0025] For example, quantum controls stack 128 may acquire access to a quantum processing unit (QPU) of quantum computing resources 134, quantum controller 128 may also establish a virtual interface accessible via hypervisor 124. The quantum controller 128 may receive, via the established virtual interface, a quantum code portion 118 from the containerized execution environment 114 (or a virtual machine execution environment, or even a bare-metal execution environment) of classical computing host 110. The quantum controller may then determine if a compiled version of a given quantum circuit included in the quantum code portion 118 has already been compiled and has been cached. If so, and if the staleness of the cached compiled quantum circuit is less than a threshold level of staleness (e.g., an amount of elapsed time or performance difference of a current calibration state of the quantum computing resources 134 as compared to a state corresponding to calibration information 146 used in compilation of the cached compiled quantum circuit is less than a threshold amount), then the cached compiled quantum circuit may be used. If not, the quantum controller 128 may coordinate via management 122 to cause quantum circuit compilation 140 to generate an up-to-date compiled version of the quantum circuit using up-to-date calibration information 146.

[0026] The quantum controller may then instruct quantum resource virtualization 130 (which may be an FPGA, ASIC, etc.) to execute the compiled machine binary for the quantum circuit that is to be executed for the quantum code portion received from the containerized execution environment 114 via the virtual interface (e.g., virtual interface 202) and hypervisor 124. The quantum resource virtualization 130 may output digital signals that are converted into analog signals, such as radio waves, microwave pulses, laser or other optical signals etc. via communications channel 132. The resulting radio waves, microwave pulses, laser or other optical signals etc. may cause qubits of the quantum computing resources 134 to be initialized and / or entangled in a way that implements the quantum circuit included in the quantum code portion 118.

[0027] System 100 may also include resource management 144 for managing classical computing resources and quantum computing resources, according to some embodiments. For example, resource management 144 may deploy virtual machines and / or containers as virtualized computing resources, such as container 114 implemented on classical computing host 110. In some embodiments, classical computing host 110 may be multi-tenant and used to provide multiple compute instances and / or containerized code execution environments for providing virtualized computing services. In some embodiments, resource management 144 may collect the calibration parameters for quantum computing resources 134 and provide the collected calibration information 146 to quantum circuit compilation 140 for compilation of a given quantum circuit. For example, resource management 144 may receive calibration information for quantum computing resources 134 describing a current state or calibration of quantum computing resources 134. Resource management 144 may provide the calibration information to quantum circuit compilation 140 for determining configuration parameters to compile the quantum circuit. For example, the calibration information 146 may be used to determine configuration parameters, as part of the compilation, wherein the configuration parameters cause specified configurations to be implemented on quantum computing resources 134, such as identifying which qubits of quantum computing resources 134 are to be entangled and placement of gates based on the calibration information.

[0028] Quantum controller 128 may cause quantum computing resources 134 to entangle qubits in a particular way to implement compiled quantum circuit 142, according to some embodiments. For example, compiled quantum circuit 142 may include machine binary code that quantum controller 128 may use to cause (via quantum resource virtualization 130 and communications channel 132) instruments to emit pulses, perform measurements, etc. to entangle the qubits according to instructions included in compiled quantum circuit 142. In some embodiments, quantum controller 128 may establish a virtual interface for accessing quantum computing resources 134. In some embodiments, the virtual interface may be exposed to classical computing resources 112 as a logical device that appears as a component of classical computing host 110. For example, the virtual interface may be exposed to classical computing resources 112 as a local device analogous to a local graphics processing unit (“GPU”) capable of executing quantum code portion 118. In some embodiments, quantum resource virtualization 130 may be implemented using a field programmable gate array (“FPGA”), application specific integrated circuit (“ASIC”), etc. device.

[0029] Quantum resource virtualization 130 may use communications channel 132 to facilitate communications with quantum computing resources 134, according to some embodiments. For example, communications channel 132 may include one or more of a digital-to-analog converter, an analog-to-digital converter, or radio frequency channeling. Quantum resource virtualization 130 may configure quantum computing resources 134 according to quantum circuit 142, according to some embodiments. For example, quantum resource virtualization 130 may apply configurations via communications channel 132 according to quantum circuit 142 and the configuration parameters based on the calibration information for quantum computing resources 134. Communications channel 132 may convert instructions or signals from quantum resource virtualization 130 into instructions for quantum computing resources 134, according to some embodiments.

[0030] Quantum resource virtualization 130 may send signals to quantum computing resources 134 via communications channel 132 to cause execution of quantum circuit 142, according to some embodiments. For example, quantum resource virtualization 130 may receive instructions from quantum controller 128 to execute binary code of quantum circuit 142 to entangle qubits of quantum computing resources 134. Communications channel 132 may convert signals generated according to the executed binary code to a format or protocol that can be transmitted to quantum computing resources 134.

[0031] Quantum computing resources 134 may generate quantum results according to execution of quantum circuit 142, according to some embodiments. Quantum computing resources 134 may return the quantum results to quantum resource virtualization 130 via communications channel 132. In some embodiments, quantum resource virtualization 130 may provide the quantum results to quantum controller 128 to be returned to classical computing resources 112 (e.g., via virtual interface 202 and hypervisor 124). In other embodiments, quantum resource virtualization 130 may provide the quantum results to hypervisor 124 to be returned to classical computing resources 112. In yet other embodiments, quantum resource virtualization 130 and / or quantum controls stack 128 may store the results in a storage accessible by classical computing resources 112, such as a local storage drive, attached storage drive, accessible storage service, etc. In such embodiments, quantum controls stack 128 may provide, via virtual interface 202, an indication to the classical computing resources 112 of a storage location from which the returned results can be accessed.

[0032] In some embodiments, classical computing resources 112 may use the quantum computing results in combination with classical computing results from executing the classical code portion 116, according to some embodiments. For example, classical computing resources 112 may use both the quantum results and the classical results to determine a response to provide to clients 150 via client network interface 126.

[0033] Virtualization offloading components 120 may also include client network interface 126, according to some embodiments. Client network interface 126 may establish communications with a network 172. For example, client network interface 126 may connect to the Internet as network 172. or may connect to a private direct connection network 172. Client network interface 126 may connect to clients 150 to communicate information pertaining to execution of algorithms in container 114, according to some embodiments. For example, client network interface 126 may include a user interface to receive requests to process hybrid algorithms and to return results of the hybrid algorithms to clients 150.

[0034] In some embodiments, client network interface 126 may be implemented as a standard network interface card of classical computing host 110, that is separate from virtualization offloading components 120. For example, client network interface 126 may be omitted from virtualization offloading components 120, in some embodiments.

[0035] In some embodiments, management 122, hypervisor, 124, quantum controller 128, quantum resource virtualization 130 and / or communications channel 132 could be implemented using a central processing unit (CPU) and memory of a separate virtualization offloading card (as opposed to each being implemented using a separate card). Also, in some embodiments, one or more of management 122, hypervisor, 124, quantum controller 128, quantum resource virtualization 130 and / or communications channel 132 could be implemented using a CPU and memory of classical computing resources 112.

[0036] FIG. 2 is a logical block diagram for a system 200 that implements a virtual interface for executing a quantum code portion using quantum computing resources, according to some embodiments. System 200 may include classical computing resources 212 and quantum computing resources 234, according to some embodiments. Classical computing resources 212 may be the same or similar to classical computing resources 112 discussed with regard to FIG. 1 and quantum computing resources 234 may be the same or similar to quantum computing resources 234 discussed with regard to FIG. 1.

[0037] Classical computing resources 212 may store container 214 for executing an algorithm comprising a quantum computing portion, such as a hybrid algorithm, according to some embodiments. For example, a hybrid algorithm may include classical code portion 216 and quantum code portion 218. In various embodiments, classical code portion 216 may be executed on or across classical computing resources 212. Additionally, quantum code portion 218 may be compiled to be executed on or across quantum computing resources 234. In some embodiments, quantum computing resources234 may be on a separate set of computing hardware from classical computing resources 212. In some implementations, classical computing resources 212 may be communicatively coupled to quantum computing resources 234 via communications channels 234 to transmit a compiled version of quantum code portion 218 for execution by quantum computing resources 234 as part of an execution thread of classical computing resources 212.

[0038] In some implementations, attaching quantum computing resources 234 directly to a bus of classical computing resources 212 via hypervisor 224 and virtual interface 202 may reduce latency when executing a processing thread for quantum code 218 as compared to treating quantum computing resources 234 as an external network-connectable device. For example, establishing a connection between hypervisor 224 and quantum computing resources 234 via virtual interface 202 may reduce latency when executing quantum code 218 as a processing thread from classical computing resources 212.

[0039] Quantum controller 228 may establish virtual interface 202 having communications channel 232 to reduce latency between classical computing resources 212 and quantum computing resources 234. Virtual interface 202 may be exposed to classical computing resources 212 and hypervisor 224 as a component accessible by classical computing resources 212. For example, virtual interface 202 may appear as a device similar to a graphics processing unit (“GPU”) to classical computing resources 212 such that hypervisor 224 may interact with virtual interface 202 without necessarily being aware that quantum computing resources 234 are down line from virtual interface 202. In some implementations, virtual interface 202 may be implemented, in part, by dedicated hardware configured to establish communications channel 232 and act as an intermediary between classical computing resources 212 and quantum computing resources 234. For example, quantum resource virtualization 230 may receive instructions from hypervisor 224 to deploy quantum circuit 242 to quantum computing resources 234.

[0040] Hypervisor 224 may communicate with virtual interface 202 as if virtual interface 202 is a logical device accessible by classic computing resources 212, according to some embodiments. For example, virtual interface 202 may be configured to appear as a logical device to classical computing resources 212.

[0041] Classical computing resources 212 may send quantum code portion 218 to quantum circuit compilation 240 to compile the quantum code portion 218 according to calibration parameters for quantum computing resources 234, according to some embodiments. For example, quantum circuit compilation 240 may receive calibration parameters that may affect at least a portion of compiled quantum circuit 242, such as qubit selection or gate configurations. Quantum circuit compilation 240 may provide compiled quantum circuit 242 to quantum controller 228, according to some embodiments. In some embodiments, compilation may be initiated in various ways. For example, compilation may be initiated by the classical computing resources 212 as just described, for example based on code stored in container 214. Also, in some embodiments, hypervisor 224 may initiate compilation in response to receiving a request to execute quantum code portion 218. Also, in some embodiments, quantum code portion 218 may be passed down to quantum controller 228, and the quantum controller 228 may initiate compilation. In the various embodiments, the compiled quantum circuit 242 may be provided from the quantum circuit compilation 240 to the quantum controller 228.

[0042] Hypervisor 224 may provide complied quantum circuit 242 (or a yet-to-be compiled version of quantum circuit 242) to virtual interface 202, according to some embodiments. For example, hypervisor 224 may view virtual interface 202 as a logical device configured to execute quantum code portion 218. Hypervisor 224 may deploy quantum circuit 242 to virtual interface 202 such that the hypervisor 224 considers that the virtual interface 202 is configured according to quantum circuit 242 for executing the quantum circuit using qubits arranged and entangled according to the quantum circuit 242.

[0043] Virtual interface 202 may receive quantum circuit 242 from quantum circuit compilation 240 or may receive an indication from hypervisor 224 to use a cached quantum circuit 242 (that was previously compiled). Quantum resource virtualization 230 may manage deployment of quantum circuit 242 as part of virtual interface 202, according to some embodiments. Quantum resource virtualization 230 may establish communications channel 232 to communicate with quantum computing resources 234, according to some embodiments. For example, communications channel 232 may include one or more of a digital-to-analog converter, an analog-to-digital converter, or radio frequency channeling. Quantum resource virtualization 230 may configure quantum computing resources 234 via communications channel 232, according to some embodiments.

[0044] Quantum computing resources 234 may execute quantum circuit 242 to generate results. The results of executing quantum code portion 218 may be sent back to quantum resource virtualization 230 via communications channel 232, according to some embodiments. Quantum resource virtualization 230 may provide the results to hypervisor 224 as part of virtual interface 202. Hypervisor 224 may return the results to classical computing resources 212, such as to an application executing in the containerized execution environment 214.

[0045] FIG. 3 is a block diagram showing an example provider network including a quantum computing service and other cloud-based services, according to some embodiments. In some embodiments, the provider network may be a private or closed system or may be set up by an entity such as a company or a public sector organization to provide one or more services (such as various types of cloud-based storage) accessible via network 370 to one or more clients 302. Provider network 300 may be implemented in a single location or may include numerous data centers hosting various resource pools, such as collections of physical and / or virtualized computer servers (e.g., hosts), storage devices, networking equipment and the like, needed to implement and distribute the infrastructure and storage services offered by provider network 300. In some embodiments, provider network 300 may implement various network-accessible services, such as quantum computing service 304, data storage service 330, and one or more other services 332, as indicated in FIG. 3.

[0046] In some embodiments, data storage service 330 may implement different types of data stores for storing, accessing, and managing data on behalf of clients 302, as a network-based service that enables one or more clients 302 to operate a data storage system in a cloud or network computing environment. For example, data storage service 330 may include various types of database storage services (both relational and non-relational) or data warehouses for storing, querying, and updating data. Such services may be enterprise-class database systems that are scalable and extensible. Queries may be directed to a database or data warehouse in data storage service 330 that is distributed across multiple physical resources, and the database system may be scaled up or down on an as needed basis. The database system may work effectively with database schemas of various types and / or organizations, in different embodiments. In some embodiments, users / subscribers may submit queries in a number of ways, e.g., interactively via an SQL interface to the database system. In other embodiments, external applications and programs may submit queries using Open Database Connectivity (ODBC) and / or Java Database Connectivity (JDBC) driver interfaces to the database system.

[0047] In some embodiments, data storage service 330 may also include various kinds of object or file data stores for putting, updating, and getting data objects or files, which may include data files of unknown file type. Such data storage service 330 may be accessed via programmatic interfaces (e.g., APIs) or graphical user interfaces. Data storage service 330 may provide virtual block-based storage for maintaining data as part of data volumes that can be mounted or accessed similar to local block-based storage devices (e.g., hard disk drives, solid state drives, etc.) and may be accessed utilizing block-based data storage protocols or interfaces, such as internet small computer interface (iSCSI).

[0048] As described above, in some embodiments, provider network 300 may provide clients 302 access to different types of computing resources, such as classical computing resources 310 and quantum computing resources 320. In some embodiments, provider network 300 may use an algorithm execution management system to automate and streamline execution of an algorithm for clients 302 using different types of computing resources. For example, in some embodiments, an algorithm execution management system may receive a request from client 302 for executing an algorithm, such as a hybrid algorithm, using different types of computing resources, such as classical computing resources and quantum computing resources. In some embodiments, the request may indicate a container that includes algorithm code and libraries for executing the algorithm at classical computing resources 310. In some embodiments, the container may be created by client 302 without using a container provided by provider network 300. Alternatively, in some embodiments, the container may be created using a container provided by provider network 300. In some embodiments, in response to receiving a request, the algorithm execution management system may determine whether quantum computing resources 320 are available to execute the algorithm. In response to determining that quantum computing resources 320 are available, algorithm execution management system 306 may cause classical computing resources 310 to be provisioned, and instructed at least one portion of the algorithm to be executed at classical computing resources 310 using a compute environment provided by the container and at least another portion of the algorithm to be executed at quantum computing resources 320, for example vi a virtual interface 202 as described with regard to FIGS. 1 and 2. In some embodiments, the quantum task of the algorithm may be provided a priority over quantum tasks of other algorithms for using quantum computing resources 320 during execution of the algorithm.

[0049] In some embodiments, other service(s) 332 may include various types of computing services. In some embodiments, the computing resources may include classical computing resources 310, and / or quantum computing resources 320. In some embodiments, the computing services may include an elastic compute cloud service that may offer virtual compute instances (also referred to as virtual machines, or simply “instances”) with varying computational and / or memory resources, which are managed by a compute virtualization service (referred to in various implementations as an elastic compute service, a virtual machines service, a computing cloud service, a compute engine, or a cloud compute service). In some embodiments, other service(s) 332 may include data processing services to perform different functions (e.g., anomaly detection, machine learning, querying, or any other type of data processing operation). For example, in some embodiments, the data processing services may include a map reduce service that creates clusters of processing nodes that implement map reduce functionality over data stored in data storage service 330. Various other distributed processing architectures and techniques may be implemented by data processing services (e.g., grid computing, sharding, distributed hashing, etc.). Note that in some embodiments, data processing operations may be implemented as part of data storage service 330 (e.g., query engines processing requests for specified data).

[0050] Generally speaking, clients 302 may encompass any type of client configured to submit network-based requests to provider network 300 via network 370, including requests for executing algorithms using different types of computing resources, such as algorithms comprising a quantum computing portion. For example, a given client 302 may include a suitable version of a web browser, or may include a plug-in module or other type of code module configured to execute as an extension to or within an execution environment provided by a web browser. Alternatively, clients 302 may encompass an application, such as a quantum computing application with an integrated development environment. In some embodiments, clients 302 may include sufficient protocol support (e.g., for a suitable version of Hypertext Transfer Protocol (HTTP)) for generating and processing network-based services requests without necessarily implementing full browser support for all types of network-based data. That is, clients 302 may include an application configured to interact directly with provider network 300. In some embodiments, clients 302 may be configured to generate network-based services requests according to a Representational State Transfer (REST)-style network-based services architecture, a document- or message-based network-based services architecture, or another suitable network-based services architecture.

[0051] In some embodiments, network 370 may encompass any suitable combination of networking hardware and protocols necessary to establish network-based-based communications between clients 302 and provider network 300. For example, network 370 may generally encompass the various telecommunications networks and service providers that collectively implement the Internet. Network 370 may also include private networks such as local area networks (LANs) or wide area networks (WANs) as well as public or private wireless networks. For example, both a given client 302 and provider network 300 may be respectively provisioned within enterprises having their own internal networks. In such an embodiment, network 370 may include the hardware (e.g., modems, routers, switches, load balancers, proxy servers, etc.) and software (e.g., protocol stacks, accounting software, firewall / security software, etc.) necessary to establish a networking link between given clients 302 and the Internet as well as between the Internet and provider network 300. It is noted that in some embodiments, clients 302 may communicate with provider network 300 using a private network rather than the public Internet. In some embodiments, networks 170 and 172 described in FIG. 1 may include at least some of the functionality described for network 370.

[0052] FIG. 4 illustrates interactions 400 between components of a system that executes an algorithm comprising a quantum code portion, wherein the interactions comprise generating a compiled quantum circuit for the quantum code portion provided to a virtual interface for accessing quantum computing resources. Interactions 400 may represent a data flow implemented across one or across multiple computing devices, according to various embodiments. The computing devices may execute client application 402 using a virtual machine operating system implemented on classical computing resources 404, hypervisor 406, quantum control stack 408, quantum resource virtualization 410, communications channel 412, and quantum computing resources 414, according to various embodiments.

[0053] Client application 402 may request execution of a hybrid algorithm 420, which causes the operating system within which the application 402 is executing to send a quantum portion of the hybrid algorithm to a virtual interface 409 via hypervisor 406. For example, hypervisor 406 may control the operating system 404's access to virtual interface 409 (and consequently the quantum computing resources 414) by providing the operating system 404 an access slot for interacting with virtual interface 409. For example, in a similar manner as which a hypervisor may time slice access to an underlying processor being virtualized, the hypervisor may also time slice access to the virtual interface 409 (and consequently the quantum computing resources 414).

[0054] Also, quantum controller 408 may have already established the virtual interface 409 at 420, or may establish the virtual interface (e.g., at 420) in response to the hypervisor 406 receiving a quantum code portion for execution, according to some embodiments. For example, quantum control stack 408 may present virtual interface 409 as a logical device presented to classical computing resources 404. In some embodiments, quantum resource virtualization (e.g., a FPGA, ASIC, etc.) 410 may establish 428 communications using communication channel 412 for communications between the virtual interface 409 and quantum computing resources 414. For example, communications channel 412 may include one or more of a digital-to-analog converter, an analog-to-digital converter, or radio frequency channeling configured to convert or adapt data from quantum resource virtualization 410.

[0055] In some embodiments, a hybrid algorithm may include a classical code portion to be executed by classical computing resources 404 and a hybrid code portion to be executed by quantum computing resources 414. For example, the hybrid algorithm may be executed in part of a container deployed to classical computing resources 404 and be executed across classical computing resources 404 and quantum computing resources 414.

[0056] Classical computing resources 404 may initiate execution of the classical code portion, according to some embodiments. For example, the classical code portion may be executed by classical computing resources 404 as part of an execution thread of one or more computing devices of classical computing resources 404. Classical computing resources 404 may send 424 the quantum code portion to hypervisor 406 for downstream transmission to quantum computing resources 414, according to some embodiments.

[0057] In some implementations, hypervisor 406 may facilitate compilation of the quantum code portion as a quantum circuit having a quantum circuit definition. Hypervisor 406 may send 430 a compiled quantum circuit to virtual interface 409 for execution of the quantum code portion, according to some embodiments. For example, virtual interface 409 may be exposed to classical computing resources 404 and hypervisor 406 as a logical device for executing the quantum code portion. In some embodiments, an upstream component, such as client application 402 or classical computing resources 404 may initiate compilation. Also, in some embodiments, a downstream component, such as quantum controller 408 may initiate compilation.

[0058] Quantum control stack 408 may send 430 the complied quantum circuit compiled from the quantum code portion to communications channel 412 for signal processing or conversion 434 to a format which may configure quantum computing resources 414 to execute the quantum code portion. In some embodiments, hypervisor 406 may provide parameters for calibrating quantum computing resources 414.

[0059] Quantum controls stack 408 may cause execution 436 of the quantum circuit via quantum resource virtualization 410 and communications channel 412, according to some embodiments. For example, quantum resource virtualization 410 may send the compiled quantum circuit to quantum computing resources 414 via communications channel 412 including an instruction to execute the quantum circuit. Quantum computing resources 414 may execute 436 the quantum code portion and generate results from the execution. Quantum computing resources 414 may return 438 the quantum results to communications channel 412, according to some embodiments. The communications channel 412 may then convert 440 the results, for example from an analog format to a digital format. Communications channel 412 may forward the converted results to quantum resource virtualization 410 and / or the quantum controller 408. Additionally, or alternatively the converted results may further be returned to hypervisor 406. Hypervisor 406 may provide 442 the quantum results to classical computing resources 404 and classical computing resources 404 may return 444 the results to client application 402. For example, the results may include the classical results and the quantum results and be returned as a response to the request 420.

[0060] FIG. 5 illustrates a time sequence 500 that includes steps for compiling a quantum circuit as part of executing a quantum code portion. For example, quantum code portion 520 may be provided to quantum circuit compiler 507 from a hypervisor, operating system, application, container etc. In some embodiments, (while not shown in FIG. 5) the quantum controller 508 may initiate compilation. Also, quantum resource calibration information 522 is provided to quantum circuit compiler 507. The quantum code portion 520 and the quantum resource calibration information 522 are used by quantum circuit compiler 507 to compile the quantum circuit 524. The compiled quantum circuit may be forwarded at 526 to the quantum controller 508, when sends the compiled quantum circuit 528 to quantum resource virtualization 510 (e.g., an FPGA, ASIC, etc.). The quantum resource virtualization may execute the compiled binary and request that communications channel 512 convert 530 the instructions generated from executing the compiled binary into analog signals, such as radio wave pulses, microwave pulses, laser / optical pulses, etc. that are further carried out 532 on quantum computing resources 514 to execute 534 the quantum circuit. The quantum computing resources 514 may return quantum results 536, which may be converted back into a digital format 538 via communications channel 512 and / or quantum resource virtualization 510. The converted results may further be forwarded to the hypervisor for routing back to the hypervisor, operating system, application, container etc. that sent the quantum code portion 520.

[0061] FIG. 6 is a flowchart diagram of a method 600 for executing a hybrid algorithm via a virtual interface for quantum computing resources, according to some embodiments. The method 600 may be performed by one or more classical and quantum computing devices. In some embodiments, the method 600 may be performed by classical computing resources, such as classical computing resources 112 of classical computing host 110 of FIG. 1, classical computing resources 212 of FIG. 2, classical computing resources 320 of FIG. 3, classical computing resources 404 of FIG. 4, and the container / hypervisor of FIG. 5.

[0062] The method 600 may include orchestrating execution of a hybrid algorithm having a classical code portion to be implemented on or across one or more classical processors of the one or more classical computing devices and a quantum code portion to be implemented by a quantum processing unit, at 602. The method 600 may also include routing the quantum code portion to a virtual interface that presents quantum computing resources of the quantum processing unit as a resource available to execute a portion of a processing thread being executed using the one or more classical processors, at 604. The method 600 may further include receiving results of the quantum code portion from the virtual interface, at 606.

[0063] FIG. 7 is a flowchart diagram of a method 700 for a quantum controller configuring a quantum processing unit, according to some embodiments. The method 700 may be performed by one or more computing devices. In some embodiments, the method 700 may be performed by quantum controller 128 of FIG. 1, quantum controller 228 of FIG. 2, quantum controller 408 of FIG. 4, and / or quantum control stack 508 of FIG. 5.

[0064] The method 700 may include receiving, at a quantum controller, a quantum circuit to be used to perform the quantum portion of the hybrid algorithm, at 702. The method 700 may include configuring a quantum processing unit (e.g., quantum computing resources) according to the quantum circuit, at 704. The method may also include causing execution of the quantum circuit at the quantum computing resources, at 706. The method 700 may further include routing results of the quantum circuit from the quantum computing resources to the classical computing resources via a virtual interface that presents the quantum computing resources as a resource available to execute a portion of a processing thread being executed using the classical computing resources, at 708.

[0065] FIG. 8 illustrates a flowchart diagram for a method 800 for managing execution of a quantum circuit via a virtual interface to quantum computing resources, according to some embodiments.

[0066] The method 800 may include receiving, at a virtual interface, a quantum code portion of a hybrid algorithm from a classical computing resource executing at least a portion of the hybrid algorithm, at 802. The method 800 also includes sending, the quantum code portion to a quantum circuit compiler, at 804. The method 800 also includes receiving, from the quantum circuit compiler, a quantum circuit based on compiling the quantum code portion according to calibrations for quantum computing resources, at 806. The method 800 further includes causing the compiled quantum circuit to be executed by the quantum computing resources, at 808. The method 800 further includes providing, from the virtual interface, results from executing the quantum circuit, at 810.

[0067] FIG. 9 shows an example computing device to implement the various techniques described herein, according to some embodiments. For example, in one embodiment, the algorithm execution management system described above may be implemented by a computer device, for instance, a computer device as in FIG. 9 that includes one or more processors executing program instructions stored on a computer-readable storage medium coupled to the processors. In the illustrated embodiment, computer system 900 includes one or more processors 910 coupled to a system memory 920 via an input / output (I / O) interface 930. Computer system 900 further includes a network interface 940 coupled to I / O interface 930. While FIG. 9 shows computer system 900 as a single computing device, in various embodiments a computer system 900 may include one computing device or any number of computing devices configured to work together as a single computer system 900.

[0068] In various embodiments, computer system 900 may be a uniprocessor system including one processor 910, or a multiprocessor system including several processors 910 (e.g., two, four, eight, or another suitable number). Processors 910 may be any suitable processors capable of executing instructions. For example, in various embodiments, processors 910 may be general-purpose or embedded processors implementing any of a variety of instruction set architectures (ISAs), such as the x86, PowerPC, SPARC, or MIPS ISAs, or any other suitable ISA. In multiprocessor systems, each of processors 910 may commonly, but not necessarily, implement the same ISA.

[0069] System memory 920 may be one embodiment of a computer-accessible medium configured to store instructions and data accessible by processor(s) 910. In various embodiments, system memory 920 may be implemented using any non-transitory storage media or memory media, such as magnetic or optical media, e.g., disk or DVD / CD coupled to computer system 900 via I / O interface 930. A non-transitory computer-accessible storage medium may also include any volatile or non-volatile media such as RAM (e.g. SDRAM, DDR SDRAM, RDRAM, SRAM, etc.), ROM, etc., that may be included in some embodiments of computer system 900 as system memory 920 or another type of memory. Further, a computer-accessible medium may include transmission media or signals such as electrical, electromagnetic, or digital signals, conveyed via a communication medium such as a network and / or a wireless link, such as may be implemented via network interface 940. In the illustrated embodiment, program instructions (e.g., code) and data implementing one or more desired functions, such as the algorithm execution management system described above in FIGS. 1-8, are shown stored within system memory 930 as code925 and data 926.

[0070] In one embodiment, I / O interface 930 may be configured to coordinate I / O traffic between processor 910, system memory 920, and any peripheral devices in the device, including network interface 940 or other peripheral interfaces. In some embodiments, I / O interface 930 may perform any necessary protocol, timing or other data transformations to convert data signals from one component (e.g., system memory 920) into a format suitable for use by another component (e.g., processor 910). In some embodiments, I / O interface 930 may include support for devices attached through various types of peripheral buses, such as a variant of the Peripheral Component Interconnect (PCI) bus standard or the Universal Serial Bus (USB) standard, for example. In some embodiments, the function of I / O interface 930 may be split into two or more separate components, such as a north bridge and a south bridge, for example. Also, in some embodiments some or all of the functionality of I / O interface 930, such as an interface to system memory 920, may be incorporated directly into processor 910.

[0071] Network interface 940 may be configured to allow data to be exchanged between computer system 900 and other devices 960 attached to a network or networks 950. In various embodiments, network interface 940 may support communication via any suitable wired or wireless general data networks, such as types of Ethernet network, for example. Additionally, network interface 940 may support communication via telecommunications / telephony networks such as analog voice networks or digital fiber communications networks, via storage area networks such as Fiber Channel SANs, or via any other suitable type of network and / or protocol.

[0072] In some embodiments, system memory 920 may be one embodiment of a computer-accessible medium configured to store program instructions and data as described above for FIG. 1-8. Generally speaking, a computer-accessible medium may include non-transitory storage media or memory media such as magnetic or optical media, e.g., disk or DVD / CD coupled to computer system 900 via I / O interface 930. A non-transitory computer-accessible storage medium may also include any volatile or non-volatile media such as RAM (e.g. SDRAM, DDR SDRAM, RDRAM, SRAM, etc.), ROM, etc., that may be included in some embodiments of computer system 900 as system memory 920 or another type of memory. Further, a computer-accessible medium may include transmission media or signals such as electrical, electromagnetic, or digital signals, conveyed via a communication medium such as a network and / or a wireless link, such as may be implemented via network interface 940.

[0073] Various embodiments may further include receiving, sending or storing instructions and / or data implemented in accordance with the foregoing description upon a computer-accessible medium. Generally speaking, a computer-accessible medium may include storage media or memory media such as magnetic or optical media, e.g., disk or DVD / CD-ROM, volatile or non-volatile media such as RAM (e.g. SDRAM, DDR, RDRAM, SRAM, etc.), ROM, etc., as well as transmission media or signals such as electrical, electromagnetic, or digital signals, conveyed via a communication medium such as network and / or a wireless link.

[0074] The various systems and methods as illustrated in the figures and described herein represent example embodiments of methods. The systems and methods may be implemented manually, in software, in hardware, or in a combination thereof. The order of any method may be changed, and various elements may be added, reordered, combined, omitted, modified, etc.

[0075] Various modifications and changes may be made as would be obvious to a person skilled in the art having the benefit of this disclosure. It is intended that the embodiments embrace all such modifications and changes and, accordingly, the above description to be regarded in an illustrative rather than a restrictive sense.

Claims

1. A system, comprising:a quantum processing unit;one or more classical computing devices configured to:orchestrate execution of a hybrid algorithm comprising a classical code portion to be implemented on or across one or more classical processors of the one or more classical computing devices and a quantum code portion to be implemented by the quantum processing unit;wherein to orchestrate the quantum code portion, a virtual interface is presented to the one or more classical processors, wherein the virtual interface presents quantum computing resources of the quantum processing unit, to the one or more classical processors, as a resource available to execute a quantum portion of a processing thread being executed using the one or more classical processors, wherein the virtual interface is presented as a local logical device, and wherein the virtual interface is configured to route the quantum code portion of the processing thread to the quantum computing resources of the quantum processing unit and provide, to the one or more processors, results of execution of the quantum code portion using the quantum computing resources of the quantum processing unit;a quantum controller configured to:receive a quantum circuit to be used to perform the quantum code portion of the hybrid algorithm;configure the quantum processing unit according to the quantum circuit; androute results of execution of the quantum code portion of the hybrid algorithm, executed using the quantum circuit, from the quantum processing unit to the one or more classical processors via the virtual interface; anda hypervisor configured to:establish the virtual interface; andexpose the virtual interface to the one or more classical processors as the local logical device hosted in a classical execution environment of the one or more classical computing devices.

2. The system of claim 1, wherein the quantum controller is further configured to:establish a communications channel between the quantum controller and the quantum processing unit, wherein the communications channel is configured to transmit signals from the quantum controller to the quantum processing unit; andsend the quantum circuit to the quantum processing unit via the communications channel.

3. The system of claim 1, further comprising:a compilation coordinator configured to:receive, from the one or more classical computing devices, the quantum code portion;send, to a quantum code compiler, the quantum code portion; andreceive from the quantum controller an indication that the quantum circuit to be used to perform the quantum code portion of the hybrid algorithm has been implemented,wherein the quantum code compiler provides a compiled version of the quantum circuit that has been generated based on calibration parameters for the quantum processing unit to the quantum controller for use in implementing the quantum circuit to be used to perform the quantum code portion of the hybrid algorithm.

4. The system of claim 3, wherein the compilation coordinator is implemented at:the hypervisor, a virtual machine, or a container implemented on the one or more classical computing devices; orthe quantum controller.

5. The system of claim 1, wherein the quantum controller comprises a field-programmable gate array (FPGA) or an application specific integrated circuit (ASIC).

6. A method, comprising:establishing, using a hypervisor, a virtual interface, wherein the virtual interface presents, to a processor of a classical computing device, a quantum computing device as a local logical device, wherein the virtual interface is configured to route a quantum portion of a processing job received from the processor to the quantum computing device and provide, to the processor, results of execution of the quantum portion;exposing, using the hypervisor, the virtual interface to the processor as the local logical device hosted in a classical execution environment of the classical computing device;sending a quantum circuit, corresponding to the quantum portion, to the virtual interface to configure the quantum computing device according to the quantum circuit; androuting results of executing the quantum portion using the quantum circuit from the quantum computing device to the processor of the classical computing device via the virtual interface.

7. The method of claim 6, further comprising:establishing a communications channel from the virtual interface to the quantum computing device, wherein the communications channel is configured to transmit signals from the virtual interface to the quantum computing device;sending the quantum circuit to the quantum computing device via the communications channel.

8. The method of claim 6, further comprising:sending, to a quantum code compiler, the quantum circuit corresponding to the quantum portion; andreceiving, from the quantum code compiler, a compiled version of the quantum circuit, wherein the compiled version of the quantum circuit is generated based on calibration parameters for the quantum computing device.

9. The method of claim 8, further comprising:receiving from the quantum computing device calibration information for the quantum computing device;generating the calibration parameters based on the calibration information; andsending the calibration parameters to the quantum code compiler.

10. The method of claim 9, further comprising:detecting that a calibration period has elapsed;determining updated calibration information for the quantum computing device;generating updated calibration parameters based on the updated calibration information; andsending, to the quantum code compiler, a recompilation request to generate an updated compiled version of the quantum circuit, wherein the recompilation request indicates the quantum circuit corresponding to the quantum code portion and the updated calibration parameters.

11. The method of claim 10, further comprising:receiving, from the quantum code compiler, the updated compiled version of the quantum circuit; andsending the updated compiled version of the quantum circuit to a quantum controller to reconfigure the quantum computing device according to the updated compiled version of the quantum circuit.

12. The method of claim 6, further comprising:using the results of executing the quantum circuit to execute a hybrid algorithm and using results of executing a classical portion to execute the hybrid algorithm; andproviding results of the hybrid algorithm to a client.

13. The method of claim 6, further comprising:establishing the virtual interface as a target of a processing thread of the processor of the classical computing device.

14. One or more non-transitory computer-readable storage media storing instructions that, when executed on or across one or more processors, cause the one or more processors to:initiate execution of an algorithm comprising a quantum portion to be executed on a quantum computing device;establish, using a hypervisor, a virtual interface, wherein the virtual interface presents, to a processor of a classical computing device, a quantum computing device as a local logical device, wherein the virtual interface is configured to route a quantum portion of a processing job received from the processor to the quantum computing device and provide, to the processor, results of execution of the quantum portion;expose, using the hypervisor, the virtual interface to the processor as the local logical device hosted in a classical execution environment of the classical computing device;obtain a quantum circuit based on the quantum portion of the algorithm;configure the quantum computing device according to the quantum circuit to perform the quantum portion of the algorithm; androute results of executing the quantum portion of the algorithm using the quantum circuit from the quantum computing device to the processor of the classical computing device via the virtual interface.

15. The one or more non-transitory computer-readable storage media of claim 14, further comprising instructions that, when executed on or across the one or more processors, cause the one or more processors to:establish a communications channel from the virtual interface to the quantum computing device, wherein the communications channel is configured to transmit signals from the virtual interface to the quantum computing device;send the quantum circuit to the quantum computing device via the communications channel.

16. The one or more non-transitory computer-readable storage media of claim 14, further comprising instructions that, when executed on or across the one or more processors, cause the one or more processors to:send, to a quantum code compiler, a quantum circuit corresponding to the quantum portion of the algorithm; andreceive, from the quantum code compiler, a compiled version of the quantum circuit, wherein the compiled version of the quantum circuit is generated based on calibration parameters for the quantum computing device.

17. The one or more non-transitory computer-readable storage media of claim 16, further comprising instructions that, when executed on or across the one or more processors, cause the one or more processors to:monitor the quantum computing device to determine calibration information for the quantum computing device;generate the calibration parameters based on the calibration information; andsend the calibration parameters to the quantum code compiler.

18. The one or more non-transitory computer-readable storage media of claim 17, further comprising instructions that, when executed on or across the one or more processors, cause the one or more processors to:detect that a calibration period has elapsed;determine updated calibration information for the quantum computing device;generate updated calibration parameters based on the updated calibration information; andsend, to the quantum code compiler, a recompilation request to generate an updated compiled version of the quantum circuit, wherein the recompilation request indicates the quantum circuit corresponding to the quantum code portion and the updated calibration parameters.

19. The one or more non-transitory computer-readable storage media of claim 18, further comprising instructions that, when executed on or across the one or more processors, cause the one or more processors to:receive, from the quantum code compiler, the updated compiled version of the quantum circuit; andsend the updated compiled version of the quantum circuit to a quantum controller to reconfigure the quantum computing device according to the updated compiled version of the quantum circuit.

Citation Information

Patent Citations

  • Data transformation delegation for a graphical processing unit (‘GPU’) server

    US11210140B1

  • Quantum compute estimator and intelligent infrastructure

    US20210406151A1

  • Parcelled Quantum Resources

    US20220084085A1

  • Systems and methods for problem solving, useful for example in quantum computing

    US9881256B2

  • Operating a quantum processor in a heterogeneous computing architecture

    US10127499B1