qiskit-documentation/docs/api/qiskit-ibm-runtime/qiskit_ibm_runtime.debug_to...

43 lines
1.9 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: NeatPubResult (latest version)
description: API reference for qiskit_ibm_runtime.debug_tools.NeatPubResult in the latest version of qiskit-ibm-runtime
in_page_toc_min_heading_level: 1
python_api_type: class
python_api_name: qiskit_ibm_runtime.debug_tools.NeatPubResult
---
# NeatPubResult
<Class id="qiskit_ibm_runtime.debug_tools.NeatPubResult" isDedicatedPage={true} github="https://github.com/Qiskit/qiskit-ibm-runtime/tree/stable/0.33/qiskit_ibm_runtime/debug_tools/neat_results.py#L28-L115" signature="NeatPubResult(vals)" modifiers="class">
A class to store the PUB results of `Neat`.
It allows performing mathematical operations (`+`, `-`, `*`, `/`, `abs`, and `**`) with other objects of type `NeatPubResultLike` and with scalars.
**Parameters**
**vals** (`Union`\[`_SupportsArray`\[[`dtype`](https://numpy.org/doc/stable/reference/generated/numpy.dtype.html#numpy.dtype "(in NumPy v2.1)")\[`Any`]], `_NestedSequence`\[`_SupportsArray`\[[`dtype`](https://numpy.org/doc/stable/reference/generated/numpy.dtype.html#numpy.dtype "(in NumPy v2.1)")\[`Any`]]], `bool`, `int`, `float`, `complex`, `str`, `bytes`, `_NestedSequence`\[`Union`\[`bool`, `int`, `float`, `complex`, `str`, `bytes`]]]) The values in this `NeatPubResult`.
## Attributes
### vals
<Attribute id="qiskit_ibm_runtime.debug_tools.NeatPubResult.vals">
The values in this result.
**Return type**
[`ndarray`](https://numpy.org/doc/stable/reference/generated/numpy.ndarray.html#numpy.ndarray "(in NumPy v2.1)")
</Attribute>
## Methods
### \_\_mul\_\_
<Function id="qiskit_ibm_runtime.debug_tools.NeatPubResult.__mul__" github="https://github.com/Qiskit/qiskit-ibm-runtime/tree/stable/0.33/qiskit_ibm_runtime/debug_tools/neat_results.py#L90-L91" signature="__mul__(other)">
**Return type**
[`NeatPubResult`](#qiskit_ibm_runtime.debug_tools.NeatPubResult "qiskit_ibm_runtime.debug_tools.neat_results.NeatPubResult")
</Function>
</Class>