author | description | ms.date | ms.author | ms.service | ms.subservice | ms.topic | no-loc | title | uid | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bradben |
Learn about classical and quantum registers, mid-circuit measurement, qubit reuse, error mitigation, error correction, and fault tolerance. |
09/16/2024 |
brbenefield |
azure-quantum |
qdk |
concept-article |
|
Hybrid Quantum Computing Concepts |
microsoft.quantum.concepts.hybrid |
All quantum computing is hybrid in some sense. The earliest quantum systems used classical processes to send instructions to the quantum computer, and receive and process the resulting data. The most advanced hybrid architectures bring a tighter and richer integration between classical and quantum computation, speeding up the execution time and opening the door to new generation of algorithms. For example, classical computing is often faster and more efficient than quantum computing for certain tasks, such as data processing and analysis. However, quantum computing performs better for certain types of optimization and simulation problems.
In quantum computing, even though the classical and quantum processors are tightly integrated, they are still separate physical entities, and hybrid quantum computing programs can take advantage of each of their capabilities.
A classical register uses the familiar silicon chip-based architecture and is best suited for operations such as sending instructions to the quantum processor, capturing measurement results, and using those results to determine the next set of instructions.
A quantum register is a system comprised of multiple qubits. Quantum computers excel at performing complex calculations by manipulating their qubits within a quantum register.
Mid-circuit measurement is the process of performing quantum state measurements at various points during the execution of the program, rather than only at the end. These measurements are used to obtain information about the intermediate states of the system and are used by the classical code to make real-time decisions about the flow of the program. Mid-circuit measurements also act as error correction "sanity checks" by verifying the state of the circuit at a certain point before moving on, and are closely related to qubit reuse.
Today's quantum computers are able to support an increasing number of qubits. However, we're still far from being able to support the millions of qubits needed to run fully fault-tolerant computations. For more information about the scale of quantum computers needed, see the Introduction to resource estimation. Additionally, it's desirable to use as few qubits as possible.
Qubit reuse is the practice of designing circuits to use the same qubit multiple times in a quantum computation to minimize the total qubits needed to run your program. For example, after performing a mid-circuit measurement and processing the result, that qubit can be reset and reused for another computation instead of allocating a new qubit. There are various techniques for re-using qubits in quantum computing, such as quantum teleportation, quantum error correction, and measurement-based quantum computing.
To make current quantum hardware more robust against error and noise, logical qubits can be used. Logical qubits are created using multiple physical qubits to encode and protect quantum information. However, because multiple qubits must be used to create one logical qubit, the overall number of qubits that can be used for computations is reduced. As the ability of hardware to support more physical qubits increases, so will the fault tolerance capabilities.
In addition to using logical qubits, errors in quantum computations can be mitigated by using techniques such as multiple measurements, designing algorithms that reduce the number of operations needed, or adjusting parameters on quantum gates to reduce the impact of noise.
Error correction and fault tolerance are critical aspects of quantum computing, as qubits are more prone to errors than classical bits due to the delicate nature of quantum states, and highly fault tolerant systems are needed to achieve the full benefits of distributed hybrid quantum computing. In classical computing, errors can be corrected by adding redundancy to the computation and using error-correction codes. However, traditional error-correction techniques aren't directly applicable to quantum computing, as they rely on being able to repeat the computation multiple times, which isn't possible in quantum computing due to the no-cloning theorem.
Floquet codes are a new class of error correction codes that respond to noise and errors dynamically, instead of traditional correction codes that protect against static errors. For more information, see Error correction with Floquet codes.
- :::no-loc text="Variational Quantum Eigensolver"::: (VQE) - a quantum algorithm for quantum chemistry, quantum simulations and optimization problems and is used to find the ground state of a given physical system. The classical computer is used to define quantum circuits with certain parameters. After the quantum state is measured, the classical computer evaluates how to improve the parameters and then resubmits the circuits. VQEs are usually long-running programs that can benefit from the tighter integration of hybrid quantum computing.
- :::no-loc text="Quantum Approximate Optimization Algorithm"::: (QAOA) - also a variational quantum algorithm, it is used for finding approximate solutions to combinatorial optimization problems - problems where the number of possible solutions grows extremely large with the size of the problem. It is an active field of research to identify its applicability for applications such as air traffic control, shipping or delivery routes, or financial optimizations.
- Iterative phase estimation - is another method of performing quantum phase estimation, which estimates the phase of a unitary operator, and is used in many other quantum algorithms. Both methods use a series of rotation gates to determine the phase, however iterative phase estimation utilizes the classical register to store information and calculations about gate measurements. This reduces the number of qubits required and minimizes noise and errors.
For more information about quantum algorithms, visit the Quantum Algorithm Zoo.