qiskit.opflow.gradients.CircuitQFI.convert¶
- abstract CircuitQFI.convert(operator, params)[source]¶
- Paramètres
operator (
OperatorBase
) – The operator corresponding to the quantum state \(|\psi(\omega)\rangle\) for which we compute the QFI.params (
Union
[ParameterExpression
,ParameterVector
,List
[ParameterExpression
]]) – The parameters \(\omega\) with respect to which we are computing the QFI.
- Type renvoyé
- Renvoie
An operator whose evaluation yields the QFI metric tensor.
- Lève
ValueError – If
params
contains a parameter not present inoperator
.