Skip to main contentIBM Quantum Documentation

AskData

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

Bases: ABC (opens in a new tab)

Base class for return type of ask().

Parameters

  • x_fun (POINT | list (opens in a new tab)[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 (opens in a new tab)[POINT] | None) – Point or list of points where the gradient/jacobian needs to be evaluated to compute
  • optimizer.

Attributes

x_fun

POINT | list[POINT] | None

= None

x_jac

POINT | list[POINT] | None

= None

Was this page helpful?