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 AskData(x_fun=None, x_jac=None)

GitHub

Bases: abc.ABC

Base class for return type of ask().

Parameters

  • x_fun (Union[float, ndarray, List[Union[float, ndarray]], 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 (Union[float, ndarray, List[Union[float, ndarray]], None]) – Point or list of points where the gradient/jacobian needs to be evaluated to compute
  • optimizer.

Attributes

x_fun

Type: Optional[Union[float, numpy.ndarray, List[Union[float, numpy.ndarray]]]]

Default value: None

x_jac

Type: Optional[Union[float, numpy.ndarray, List[Union[float, numpy.ndarray]]]]

Default value: None

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