Algorithms (qiskit.algorithms
)¶
It contains a collection of quantum algorithms, for use with quantum computers, to carry out research and investigate how to solve problems in different domains on nearterm quantum devices with short depth circuits.
Algorithms configuration includes the use of optimizers
which
were designed to be swappable subparts of an algorithm. Any component and may be exchanged for
a different implementation of the same component type in order to potentially alter the behavior
and outcome of the algorithm.
Quantum algorithms are run via a QuantumInstance
which must be set with the
desired backend where the algorithm’s circuits will be executed and be configured with a number of
compile and runtime parameters controlling circuit compilation and execution. It ultimately uses
Terra for the actual compilation and execution of the quantum
circuits created by the algorithm and its components.
Algorithms¶
It contains a variety of quantum algorithms and these have been grouped by logical function such as minimum eigensolvers and amplitude amplifiers.
Amplitude Amplifiers¶
The amplification problem is the input to amplitude amplification algorithms, like Grover. 

Grover’s Search algorithm. 

Grover Result. 
Amplitude Estimators¶
The Amplitude Estimation interface. 

The results object for amplitude estimation algorithms. 

The Quantum Phase Estimationbased Amplitude Estimation algorithm. 

The 

The estimation problem is the input to amplitude estimation algorithm. 

The Faster Amplitude Estimation algorithm. 

The result object for the Faster Amplitude Estimation algorithm. 

The Iterative Amplitude Estimation algorithm. 

The 

The Maximum Likelihood Amplitude Estimation algorithm. 

The 
Eigensolvers¶
Algorithms to find eigenvalues of an operator. For chemistry these can be used to find excited states of a molecule and qiskit.chemistry has some algorithms that leverage chemistry specific knowledge to do this in that application domain.
The Eigensolver Interface. 

Eigensolver Result. 
The NumPy Eigensolver algorithm. 
Linear Solvers¶
Algorithms to solve linear systems of equations.
Systems of linear equations arise naturally in many reallife applications in a wide range of areas, such as in the solution of Partial Differential Equations, the calibration of financial models, fluid simulation or numerical field calculation. 

The Numpy Linear Solver algorithm (classical). 

An abstract class for linear system solvers in Qiskit. 

A base class for linear systems results. 
Minimum Eigensolvers¶
Algorithms that can find the minimum eigenvalue of an operator.
The Minimum Eigensolver Interface. 

Minimum Eigensolver Result. 
The Numpy Minimum Eigensolver algorithm. 

The Quantum Approximate Optimization Algorithm. 

The Variational Quantum Eigensolver algorithm. 
Phase Estimators¶
Algorithms that estimate the phases of eigenstates of a unitary.
Run the Quantum Phase Estimation algorithm to find the eigenvalues of a Hermitian operator. 

Store and manipulate results from running HamiltonianPhaseEstimation. 

Set and use a bound on eigenvalues of a Hermitian operator in order to ensure phases are in the desired range and to convert measured phases into eigenvectors. 

Run the Quantum Phase Estimation (QPE) algorithm. 

Store and manipulate results from running PhaseEstimation. 
Exceptions¶

For Algorithm specific errors. 