Skip to main contentIBM Quantum Documentation Mirror

NeatPubResult

class NeatPubResult(vals)

GitHub

Bases: object

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 (ArrayLike) – The values in this NeatPubResult.


Attributes

vals

The values in this result.


Methods

__mul__

__mul__(other)

GitHub

Parameters

other (int | float | NeatPubResult |PubResult |DataBin)

Return type

NeatPubResult