Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

AskData

class qiskit.algorithms.optimizers.AskData(x_fun=None, x_jac=None)

GitHub

Bases: ABC

Base class for return type of ask().

Parameters

  • x_fun (POINT | list[POINT] | None) – Point or list of points where the function needs to be evaluated to compute the next
  • optimizer. (the next state of the) –
  • x_jac (POINT | list[POINT] | None) – Point or list of points where the gradient/jacobian needs to be evaluated to compute
  • optimizer.

Attributes

x_fun

Type: POINT | list[POINT] | None

Default value: None

x_jac

Type: POINT | list[POINT] | None

Default value: None

Was this page helpful?
Report a bug or request content on GitHub.