Tamil
மொழிகள்
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)[source]

Natural Gradient Function Implementation.

Parameters
  • x (tuple) -- Iterable consisting of Gradient, Quantum Fisher Information.

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

Returns

Natural Gradient.

Raises

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

Return type

ndarray