Korean
언어
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