qiskit.algorithms.gradients¶
Gradients (qiskit.algorithms.gradients
)¶
Estimator Gradients¶
|
Base class for an |
|
Types of derivative. |
|
Compute the gradients of the expectation values by finite difference method [1]. |
|
Compute the gradients of the expectation values. |
|
Compute the gradients of the expectation values by the parameter shift rule [1]. |
|
Compute the gradients of the expectation value by the Simultaneous Perturbation Stochastic Approximation (SPSA) [1]. |
|
Estimator gradients with the classically efficient reverse mode. |
Sampler Gradients¶
|
Base class for a |
|
Compute the gradients of the sampling probability by finite difference method [1]. |
|
Compute the gradients of the sampling probability. |
|
Compute the gradients of the sampling probability by the parameter shift rule [1]. |
|
Compute the gradients of the sampling probability by the Simultaneous Perturbation Stochastic Approximation (SPSA) [1]. |
Quantum Geometric Tensor¶
|
Base class to computes the Quantum Geometric Tensor (QGT) given a pure, parameterized quantum state. |
|
Computes the Quantum Geometric Tensor (QGT) given a pure, parameterized quantum state. |
|
Computes the Quantum Fisher Information (QFI) given a pure, parameterized quantum state. |
|
QGT calculation with the classically efficient reverse mode. |
Results¶
|
Result of EstimatorGradient. |
|
Result of QFI. |
|
Result of QGT. |
|
Result of SamplerGradient. |