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.

QFIBase

class QFIBase(qfi_method='lin_comb_full')

GitHub

Bases: qiskit.opflow.gradients.derivative_base.DerivativeBase

Base class for Quantum Fisher Information (QFI).

Compute the Quantum Fisher Information (QFI) given a pure, parameterized quantum state.

The QFI is:

[QFI]kl= Re[〈∂kψ|∂lψ〉−〈∂kψ|ψ〉〈ψ|∂lψ〉] * 4.

Parameters

qfi_method (Union[str, CircuitQFI]) – The method used to compute the state/probability gradient. Can be either a CircuitQFI instance or one of the following pre-defined strings 'lin_comb_full', 'overlap_diag'` or 'overlap_block_diag'`.

Raises

ValueError – if qfi_method is neither a CircuitQFI object nor one of the predefined strings.


Attributes

qfi_method

Returns CircuitQFI.

Return type

CircuitQFI

Returns

CircuitQFI.

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