diff --git a/docs/api/qiskit-addon-aqc-tensor/objective.mdx b/docs/api/qiskit-addon-aqc-tensor/objective.mdx index fcee82f278..53fb55be80 100644 --- a/docs/api/qiskit-addon-aqc-tensor/objective.mdx +++ b/docs/api/qiskit-addon-aqc-tensor/objective.mdx @@ -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\_\_ + + + 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)")) + + #### target diff --git a/public/api/qiskit-addon-aqc-tensor/objects.inv b/public/api/qiskit-addon-aqc-tensor/objects.inv index 0982ec2d83..80761982e0 100644 Binary files a/public/api/qiskit-addon-aqc-tensor/objects.inv and b/public/api/qiskit-addon-aqc-tensor/objects.inv differ