BACKGROUND

The subject disclosure relates to quantum computing using quantum circuits. Quantum computing employs quantum physics to encode and process information rather than binary digital techniques based on transistors. A quantum computing device can employ quantum bits (also referred to as qubits) that operate according to the laws of quantum physics and can exhibit phenomena such as superposition and entanglement. The superposition principle of quantum physics allows qubits to be in a state that partially represent both a value of “1” and a value of “0” at the same time. The entanglement principle of quantum physics allows qubits to be correlated with each other such that the combined states of the qubits cannot be factored individual qubit states. For instance, a state of a first qubit can depend on a state of a second qubit. As such, a quantum circuit can employ qubits to encode and process information in a manner that can be significantly different from binary digital techniques based on transistors.

Quantum computing can be utilized to perform quantum programming. Quantum programming can involve the process of assembling sequences of instructions, which can be called quantum programs, that can be capable of running on a quantum computer. Each quantum program can be associated with a collection of quantum circuits. When a quantum program is executed, a result can be produced by the quantum computer. This data result often can comprise a relatively large amount of data that has to go through various post-processing, with the post-processing data results being provided to the user or service (e.g., user or service requesting the data results) and/or being stored in a data store. It can take an undesirably long time to post-process the data results and them to the desired destination (e.g., user, service, or data store).

One approach for quantum computing and processing data involves a quantum processor unit that can be used to process a stream of input data. The quantum processor unit may operate as a quantum streaming kernel, which can preprocess data for a variety of classical or quantum data processing applications. The quantum processor unit can process the input data stream over time while producing an output data stream and maintaining a coherent quantum state that depends on the history of input data. In some cases, the output from the quantum processor unit can be combined with classical post-processing (e.g., a linear transformation), and the measured output bits in each time step may then be used to predict features about the streaming input signal. However, while this traditional approach describes preprocessing data for classical or quantum data processing applications, and combining the output from the quantum processor unit with classical post-processing e.g., a linear transformation) where measured output bits in each time step may be used to predict features about the streaming input signal, this traditional approach does not address the issue of post-processing data results, such as data results having a relatively large amount of data, produced as an output from a quantum computer to return post-processed data in a desirably fast manner to users or services desiring such data results.

Another approach for quantum computing and processing data relates to using a quantum autoencoder algorithm as a paradigm for compressing quantum data, that is, expressing a data set comprised of quantum states using a fewer number of qubits. However, this approach relates to implementing a quantum encoder algorithm for generic quantum circuits and does not address the issue of post-processing data results, such as data results having a relatively large amount of data, produced as an output from a quantum computer to return post-processed data in a desirably fast manner to users or services desiring such data results.

These and other deficiencies of traditional approaches for processing data associated with quantum computing can result in inefficient and/or ineffective data processing associated with quantum computing.

SUMMARY

The following presents a summary to provide a basic understanding of one or more embodiments of the disclosed subject matter. This summary is not intended to identify key or critical elements, or delineate any scope of the particular embodiments or any scope of the claims. Its sole purpose is to present concepts in a simplified form as a prelude to the more detailed description that is presented later. In one or more embodiments described herein, systems, devices, structures, computer-implemented methods, apparatuses, and/or computer program products that can facilitate post-processing and compressing quantum output data are provided.

According to an embodiment, a system comprising a memory that stores computer-executable components; and a processor, operatively coupled to the memory, that executes computer-executable components. The computer-executable components can comprise a compressor component that, in response to receiving quantum output data, generates first compressed quantum output data based on compression of the quantum output data at a first compression level, wherein the first compressed quantum output data is provided to quantum logic. The computer-executable components also can include a compression management component that determines whether the first compressed quantum output data includes sufficient data to be processed by the quantum logic, based on a defined quantum logic processing criterion, to determine whether the quantum logic is to process second compressed quantum output data that is a less compressed version of the quantum output data than the first compressed quantum output data. Such embodiments of the system can provide a number of advantages, including that the system can more quickly and efficiently provide post-processing data results, which can be produced by the quantum logic from the quantum output data (as compressed or non-compressed), to a desired intended recipient (e.g., user, a service, a data store) of such data results.

In some embodiments, in response to determining that the first compressed quantum output data does not include the sufficient data to be processed by the quantum logic, the compression management component can determine that the second compressed quantum output data is to be processed by the quantum logic and can facilitate providing the second compressed quantum output data to the quantum logic for quantum logic processing. In certain embodiments, a machine learning component can adaptively determine or infer a second compression level and a compression algorithm to be used by a second compressor sub-component based on a result of performing a machine learning analysis on the first compressed quantum output data, previous data associated with previous quantum operations or a previous quantum program, or information relating to quantum circuits utilized by a quantum program to facilitate generation of the quantum output data or utilized by the previous quantum program to facilitate generation of previous quantum output data. These embodiments of the system can provide a number of advantages, including that the system can have the advantage of quickly and efficiently speeding up the post-processing of quantum output data and providing post-processed data results to an intended recipient, and/or can have the advantage of reducing the amount of data (e.g., amount of data of the data results) communicated to or stored by the intended recipient.

Another embodiment relates to a computer-implemented method that comprises, in response to receiving quantum output information, generating, by a system operatively coupled to a processor, first compressed quantum output information based on compressing the quantum output information at a first compression level, wherein the first compressed quantum output information is communicated to quantum logic. The computer-implemented method also comprises determining, by the system, whether the first compressed quantum output information has sufficient information to be processed by the quantum logic, in accordance with a defined quantum logic processing criterion, to determine whether the quantum logic is to process second compressed quantum output information that is a less compressed version of the quantum output information than the first compressed quantum output information. Such embodiment of the method can provide a number of advantages, including that the method can more quickly and efficiently provide post-processing information results, which can be produced by the quantum logic from the quantum output information (as compressed or non-compressed), to a desired intended recipient (e.g., user, a service, a data store) of such information results.

In certain embodiments, the method can further comprise, in response to determining that the first compressed quantum output information does not have the sufficient information to be processed by the quantum logic, determining, by the system, that the second compressed quantum output information is to be processed by the quantum logic, and communicating, by the system, the second compressed quantum output information to the quantum logic for quantum logic processing. Such embodiments of the method can provide a number of advantages, including that the method can have the advantage of quickly and efficiently speeding up the post-processing of quantum output information and providing post-processed information results to an intended recipient, and/or can have the advantage of reducing the amount of information (e.g., amount of information of the information results) provided to or stored by the intended recipient.

A further embodiment relates to a computer program product that facilitates compressing quantum output data generated by a quantum computing circuit, the computer program product comprising a computer readable storage medium having program instructions embodied therewith. The program instructions are executable by a processor to cause the processor to, in response to receiving the quantum output data, generate first compressed quantum output data, based on compression of the quantum output data at a first compression level, wherein the first compressed quantum output data can be provided to quantum logic. The program instructions also are executable by the processor to determine whether the first compressed quantum output data includes an amount of data points, associated with the quantum output data, that is sufficient to be processed by the quantum logic, in accordance with a defined quantum logic processing criterion, to determine whether the quantum logic is to process second compressed quantum output data, which can be a less compressed version of the quantum output data than the first compressed quantum output data.

In some embodiments, the program instructions also can be executable by the processor to, in response to determining that the first compressed quantum output data does not include the amount of the data points that is sufficient to be processed by the quantum logic, determine that the second compressed quantum output data is to be processed by the quantum logic, wherein the second compressed quantum output data can have a second data resolution that can be higher than a first data resolution of the first compressed quantum output data, and can transmit the second compressed quantum output data to the quantum logic for quantum logic processing. These embodiments of the computer program product can provide a number of advantages, including that the computer program product can have the advantage of quickly and efficiently increasing the speed of the post-processing of quantum output data and providing post-processed data results to an intended recipient, and/or can have the advantage of reducing the amount of data (e.g., amount of data of the data results) communicated to or stored by the intended recipient.

These and other features will become apparent from the following detailed description of illustrative embodiments thereof, which is to be read in connection with the accompanying drawings.

