Skip to main contentIBM Quantum Documentation

Nduv

class qiskit.providers.models.Nduv(date, name, unit, value)

GitHub(opens in a new tab)

Bases: object(opens in a new tab)

Class representing name-date-unit-value

date

date.

name

name.

unit

unit.

value

value.

Initialize a new name-date-unit-value object

Parameters


Methods

from_dict

classmethod from_dict(data)

GitHub(opens in a new tab)

Create a new Nduv object from a dictionary.

Parameters

data (dict(opens in a new tab)) – A dictionary representing the Nduv to create. It will be in the same format as output by to_dict().

Returns

The Nduv from the input dictionary.

Return type

Nduv

to_dict

to_dict()

GitHub(opens in a new tab)

Return a dictionary format representation of the object.

Returns

The dictionary form of the Nduv.

Return type

dict(opens in a new tab)

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