Tamil
மொழிகள்
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.gradients.NaturalGradient.convert

NaturalGradient.convert(operator, params=None)[source]
Parameters
Returns

An operator whose evaluation yields the NaturalGradient.

Raises
  • TypeError -- If operator does not represent an expectation value or the quantum state is not CircuitStateFn.

  • ValueError -- If params contains a parameter not present in operator.

  • ValueError -- If operator is not parameterized.

Return type

OperatorBase