Portuguese
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.gradients.NaturalGradient.convert

NaturalGradient.convert(operator, params=None)[código fonte]
Parâmetros
Retorno

An operator whose evaluation yields the NaturalGradient.

Levanta
  • 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.

Tipo de retorno

OperatorBase