Skip to main content
IBM Quantum Platform
Esta página pertence a uma versão antiga do site Qiskit SDK e não existe na versão mais recente. Recomendamos que você migre para a versão mais recente. Consulte as notas sobre a liberação para obter mais informações.

QFI

class qiskit.opflow.gradients.QFI(qfi_method='lin_comb_full')

GitHub

Bases: QFIBase

Deprecated: Compute the Quantum Fisher Information (QFI).

Computes the QFI given a pure, parameterized quantum state, where QFI is:

QFIkl=4Re[kψlψkψψψlψ].\mathrm{QFI}_{kl}= 4 \mathrm{Re}[\langle \partial_k \psi | \partial_l \psi \rangle − \langle\partial_k \psi | \psi \rangle \langle\psi | \partial_l \psi \rangle].
Deprecated since version 0.24.0

The class qiskit.opflow.gradients.qfi.QFI is deprecated as of qiskit-terra 0.24.0. It will be removed in the Qiskit 1.0 release. For code migration guidelines, visit https://qisk.it/opflow_migration.


Attributes

qfi_method

Returns CircuitQFI.

Returns

CircuitQFI.


Methods

convert

convert(operator, params=None)

Parameters

Returns

ListOp[ListOp] where the operator at position k,l corresponds to QFI_kl

Raises

ValueError – If operator is not parameterized.

Return type

ListOp

Esta página foi útil?
Relate um bug, erro de digitação ou solicite conteúdo no GitHub.