Skip to content

Commit

Permalink
Regenerate qiskit-addon-aqc-tensor to document __call__ (#2317)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Arellano authored Nov 14, 2024
1 parent c973ae9 commit 6c82872
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/api/qiskit-addon-aqc-tensor/objective.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,20 @@ $$
* **target** ([`TensorNetworkState`](simulation#qiskit_addon_aqc_tensor.simulation.TensorNetworkState "qiskit_addon_aqc_tensor.simulation.abstract.TensorNetworkState")) – Target state in tensor-network representation.
* **settings** ([`TensorNetworkSimulationSettings`](simulation#qiskit_addon_aqc_tensor.simulation.TensorNetworkSimulationSettings "qiskit_addon_aqc_tensor.simulation.abstract.TensorNetworkSimulationSettings")) – Tensor network simulation settings.

#### \_\_call\_\_

<Function id="qiskit_addon_aqc_tensor.objective.OneMinusFidelity.__call__" github="https://github.com/Qiskit/qiskit-addon-aqc-tensor/tree/stable/0.1/qiskit_addon_aqc_tensor/objective.py#L74-L80" signature="__call__(x)[source]">
Evaluate `(objective_value, gradient)` of function at point `x`.

**Return type**

[`tuple`](https://docs.python.org/3/library/stdtypes.html#tuple "(in Python v3.13)")\[[`float`](https://docs.python.org/3/library/functions.html#float "(in Python v3.13)"), [`ndarray`](https://numpy.org/doc/stable/reference/generated/numpy.ndarray.html#numpy.ndarray "(in NumPy v2.1)")]

**Parameters**

**x** ([*ndarray*](https://numpy.org/doc/stable/reference/generated/numpy.ndarray.html#numpy.ndarray "(in NumPy v2.1)"))
</Function>

#### target

<Attribute id="qiskit_addon_aqc_tensor.objective.OneMinusFidelity.target" attributeTypeHint="TensorNetworkState">
Expand Down
Binary file modified public/api/qiskit-addon-aqc-tensor/objects.inv
Binary file not shown.

0 comments on commit 6c82872

Please sign in to comment.