qiskit.opflow.gradients.QFI.convert¶
- QFI.convert(operator, params=None)[source]¶
- Paramètres
operator (CircuitStateFn) – The operator corresponding to the quantum state |ψ(ω)〉for which we compute the QFI
params (Optional[Union[ParameterVector, ParameterExpression, List[ParameterExpression]]]) – The parameters we are computing the QFI wrt: ω If not explicitly passed, they are inferred from the operator and sorted by name.
- Renvoie
ListOp[ListOp] where the operator at position k,l corresponds to QFI_kl
- Lève
ValueError – If operator is not parameterized.
- Type renvoyé