Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

qiskit.aqua.operators.gradients.CircuitQFI

class CircuitQFI

GitHub

Circuit to Quantum Fisher Information operator converter.

Converter for changing parameterized circuits into operators whose evaluation yields Quantum Fisher Information metric tensor with respect to the given circuit parameters

This is distinct from DerivativeBase converters which take gradients of composite operators and handle things like differentiating combo_fn’s and enforcing product rules when operator coefficients are parameterized.

CircuitQFI - uses quantum techniques to get the QFI of circuits DerivativeBase - uses classical techniques to differentiate opflow data structures

__init__

__init__()

Initialize self. See help(type(self)) for accurate signature.


Methods

__init__()Initialize self.
convert(operator[, params])type operatorOperatorBase

convert

abstract convert(operator, params=None)

Parameters

  • operator (OperatorBase) – The operator corresponding to the quantum state ψ(ω)|\psi(\omega)\rangle for which we compute the QFI.
  • params (Union[ParameterVector, ParameterExpression, List[ParameterExpression], None]) – The parameters ω\omega with respect to which we are computing the QFI.

Return type

OperatorBase

Returns

An operator whose evaluation yields the QFI metric tensor.

Raises

ValueError – If params contains a parameter not present in operator.

Was this page helpful?
Report a bug or request content on GitHub.