Skip to main contentIBM Quantum Documentation

NeatPubResult

class NeatPubResult(vals)

GitHub

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[Any]], _NestedSequence[_SupportsArray[dtype[Any]]], bool, int, float, complex, str, bytes, _NestedSequence[Union[bool, int, float, complex, str, bytes]]]) – The values in this NeatPubResult.


Attributes

vals

The values in this result.

Return type

ndarray


Methods

__mul__

__mul__(other)

GitHub

Return type

NeatPubResult

Was this page helpful?
Report a bug or request content on GitHub.