QFI#

class qiskit.opflow.gradients.QFI(qfi_method='lin_comb_full')[소스]#

기반 클래스: QFIBase

Deprecated: Compute the Quantum Fisher Information (QFI).

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

\[\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].\]

버전 0.24.0부터 폐지됨: The class qiskit.opflow.gradients.qfi.QFI is deprecated as of qiskit-terra 0.24.0. It will be removed no earlier than 3 months after the release date. For code migration guidelines, visit https://qisk.it/opflow_migration.

Attributes

qfi_method#

Returns CircuitQFI.

반환:

CircuitQFI.

Methods

convert(operator, params=None)[소스]#
매개변수:
반환:

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

예외 발생:

ValueError – If operator is not parameterized.

반환 형식:

ListOp