34 lines
1.5 KiB
Plaintext
34 lines
1.5 KiB
Plaintext
---
|
||
title: AskData
|
||
description: API reference for qiskit.algorithms.optimizers.AskData
|
||
in_page_toc_min_heading_level: 1
|
||
python_api_type: class
|
||
python_api_name: qiskit.algorithms.optimizers.AskData
|
||
---
|
||
|
||
# AskData
|
||
|
||
<Class id="qiskit.algorithms.optimizers.AskData" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.25/qiskit/algorithms/optimizers/steppable_optimizer.py" signature="qiskit.algorithms.optimizers.AskData(x_fun=None, x_jac=None)" modifiers="class">
|
||
Bases: [`ABC`](https://docs.python.org/3/library/abc.html#abc.ABC "(in Python v3.12)")
|
||
|
||
Base class for return type of [`ask()`](qiskit.algorithms.optimizers.SteppableOptimizer#ask "qiskit.algorithms.optimizers.SteppableOptimizer.ask").
|
||
|
||
**Parameters**
|
||
|
||
* **x\_fun** (*POINT |* [*list*](https://docs.python.org/3/library/stdtypes.html#list "(in Python v3.12)")*\[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*](https://docs.python.org/3/library/stdtypes.html#list "(in Python v3.12)")*\[POINT] | None*) – Point or list of points where the gradient/jacobian needs to be evaluated to compute
|
||
* **optimizer.** –
|
||
|
||
## Attributes
|
||
|
||
### x\_fun
|
||
|
||
<Attribute id="qiskit.algorithms.optimizers.AskData.x_fun" attributeTypeHint="POINT | list[POINT] | None" attributeValue="None" />
|
||
|
||
### x\_jac
|
||
|
||
<Attribute id="qiskit.algorithms.optimizers.AskData.x_jac" attributeTypeHint="POINT | list[POINT] | None" attributeValue="None" />
|
||
</Class>
|
||
|