qiskit-documentation/docs/api/qiskit/0.45/qiskit.algorithms.gradients...

43 lines
1.3 KiB
Plaintext

---
title: QGTResult
description: API reference for qiskit.algorithms.gradients.QGTResult
in_page_toc_min_heading_level: 1
python_api_type: class
python_api_name: qiskit.algorithms.gradients.QGTResult
---
# QGTResult
<Class id="qiskit.algorithms.gradients.QGTResult" isDedicatedPage={true} github="https://github.com/qiskit/qiskit/tree/stable/0.45/qiskit/algorithms/gradients/base/qgt_result.py" signature="qiskit.algorithms.gradients.QGTResult(qgts, derivative_type, metadata, options)" modifiers="class">
Bases: [`object`](https://docs.python.org/3/library/functions.html#object "(in Python v3.12)")
Result of QGT.
## Attributes
### qgts
<Attribute id="qiskit.algorithms.gradients.QGTResult.qgts" attributeTypeHint="list[numpy.ndarray]">
The QGT.
</Attribute>
### derivative\_type
<Attribute id="qiskit.algorithms.gradients.QGTResult.derivative_type" attributeTypeHint="DerivativeType">
The type of derivative.
</Attribute>
### metadata
<Attribute id="qiskit.algorithms.gradients.QGTResult.metadata" attributeTypeHint="list[dict[str, Any]]">
Additional information about the job.
</Attribute>
### options
<Attribute id="qiskit.algorithms.gradients.QGTResult.options" attributeTypeHint="Options">
Primitive runtime options for the execution of the job.
</Attribute>
</Class>