Portuguese
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)[código fonte]

Natural Gradient Function Implementation.

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

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

Retorno

Natural Gradient.

Levanta

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

Tipo de retorno

ndarray