qiskit.opflow.gradients.NaturalGradient.nat_grad_combo_fn¶
- static NaturalGradient.nat_grad_combo_fn(x, regularization=None)[Quellcode]¶
Natural Gradient Function Implementation.
- Parameter
x (tuple) – Iterable consisting of Gradient, Quantum Fisher Information.
regularization (Optional[str]) – Regularization method.
- Rückgabe
Natural Gradient.
- Verursacht
ValueError – If the gradient has imaginary components that are non-negligible.
- Rückgabetyp
ndarray