qiskit.opflow.gradients.NaturalGradient.nat_grad_combo_fn¶
- static NaturalGradient.nat_grad_combo_fn(x, regularization=None)[source]¶
Natural Gradient Function Implementation.
- Paramètres
x (tuple) – Iterable consisting of Gradient, Quantum Fisher Information.
regularization (Optional[str]) – Regularization method.
- Renvoie
Natural Gradient.
- Lève
ValueError – If the gradient has imaginary components that are non-negligible.
- Type renvoyé
ndarray