Spanish
Idiomas
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

qiskit.opflow.gradients.NaturalGradient.nat_grad_combo_fn

static NaturalGradient.nat_grad_combo_fn(x, regularization=None)[fuente]

Natural Gradient Function Implementation.

Parámetros
  • x (tuple) – Iterable consisting of Gradient, Quantum Fisher Information.

  • regularization (Optional[str]) – Regularization method.

Devuelve

Natural Gradient.

Muestra

ValueError – If the gradient has imaginary components that are non-negligible.

Tipo del valor devuelto

ndarray