Japanese
言語
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)[ソース]

Natural Gradient Function Implementation.

パラメータ
  • x (tuple) – Iterable consisting of Gradient, Quantum Fisher Information.

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

戻り値

Natural Gradient.

例外

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

戻り値の型

ndarray