Gradients (qiskit_algorithms.gradients
)#
Algorithms to calculate the gradient of a quantum circuit.
Base Classes#
Base class for an |
|
Base class to computes the Quantum Geometric Tensor (QGT) given a pure, parameterized quantum state. |
|
Base class for a |
|
Result of EstimatorGradient. |
|
Result of SamplerGradient. |
|
Result of QGT. |
Finite Differences#
Compute the gradients of the expectation values by finite difference method [1]. |
|
Compute the gradients of the sampling probability by finite difference method [1]. |
Linear Combination of Unitaries#
Compute the gradients of the expectation values. |
|
Compute the gradients of the sampling probability. |
|
Computes the Quantum Geometric Tensor (QGT) given a pure, parameterized quantum state. |
Parameter Shift Rules#
Compute the gradients of the expectation values by the parameter shift rule [1]. |
|
Compute the gradients of the sampling probability by the parameter shift rule [1]. |
Quantum Fisher Information#
Classical Methods#
Estimator gradients with the classically efficient reverse mode. |
|
QGT calculation with the classically efficient reverse mode. |
Simultaneous Perturbation Stochastic Approximation#
Compute the gradients of the expectation value by the Simultaneous Perturbation Stochastic Approximation (SPSA) [1]. |
|
Compute the gradients of the sampling probability by the Simultaneous Perturbation Stochastic Approximation (SPSA) [1]. |