84 lines
2.7 KiB
Plaintext
84 lines
2.7 KiB
Plaintext
---
|
||
title: Nduv (v1.2)
|
||
description: API reference for qiskit.providers.models.Nduv in qiskit v1.2
|
||
in_page_toc_min_heading_level: 1
|
||
python_api_type: class
|
||
python_api_name: qiskit.providers.models.Nduv
|
||
---
|
||
|
||
# Nduv
|
||
|
||
<Class id="qiskit.providers.models.Nduv" isDedicatedPage={true} github="https://github.com/Qiskit/qiskit/tree/stable/1.2/qiskit/providers/models/backendproperties.py#L27-L86" signature="qiskit.providers.models.Nduv(date, name, unit, value)" modifiers="class">
|
||
Bases: [`object`](https://docs.python.org/3/library/functions.html#object "(in Python v3.13)")
|
||
|
||
Class representing name-date-unit-value
|
||
|
||
### date
|
||
|
||
<Attribute id="qiskit.providers.models.Nduv.date">
|
||
date.
|
||
</Attribute>
|
||
|
||
### name
|
||
|
||
<Attribute id="qiskit.providers.models.Nduv.name">
|
||
name.
|
||
</Attribute>
|
||
|
||
### unit
|
||
|
||
<Attribute id="qiskit.providers.models.Nduv.unit">
|
||
unit.
|
||
</Attribute>
|
||
|
||
### value
|
||
|
||
<Attribute id="qiskit.providers.models.Nduv.value">
|
||
value.
|
||
</Attribute>
|
||
|
||
Initialize a new name-date-unit-value object
|
||
|
||
**Parameters**
|
||
|
||
* **date** ([*datetime.datetime*](https://docs.python.org/3/library/datetime.html#datetime.datetime "(in Python v3.13)")) – Date field
|
||
* **name** ([*str*](https://docs.python.org/3/library/stdtypes.html#str "(in Python v3.13)")) – Name field
|
||
* **unit** ([*str*](https://docs.python.org/3/library/stdtypes.html#str "(in Python v3.13)")) – Nduv unit
|
||
* **value** ([*float*](https://docs.python.org/3/library/functions.html#float "(in Python v3.13)")) – The value of the Nduv
|
||
|
||
## Methods
|
||
|
||
### from\_dict
|
||
|
||
<Function id="qiskit.providers.models.Nduv.from_dict" github="https://github.com/Qiskit/qiskit/tree/stable/1.2/qiskit/providers/models/backendproperties.py#L51-L63" signature="from_dict(data)" modifiers="classmethod">
|
||
Create a new Nduv object from a dictionary.
|
||
|
||
**Parameters**
|
||
|
||
**data** ([*dict*](https://docs.python.org/3/library/stdtypes.html#dict "(in Python v3.13)")) – A dictionary representing the Nduv to create. It will be in the same format as output by [`to_dict()`](#qiskit.providers.models.Nduv.to_dict "qiskit.providers.models.Nduv.to_dict").
|
||
|
||
**Returns**
|
||
|
||
The Nduv from the input dictionary.
|
||
|
||
**Return type**
|
||
|
||
[Nduv](#qiskit.providers.models.Nduv "qiskit.providers.models.Nduv")
|
||
</Function>
|
||
|
||
### to\_dict
|
||
|
||
<Function id="qiskit.providers.models.Nduv.to_dict" github="https://github.com/Qiskit/qiskit/tree/stable/1.2/qiskit/providers/models/backendproperties.py#L65-L77" signature="to_dict()">
|
||
Return a dictionary format representation of the object.
|
||
|
||
**Returns**
|
||
|
||
The dictionary form of the Nduv.
|
||
|
||
**Return type**
|
||
|
||
[dict](https://docs.python.org/3/library/stdtypes.html#dict "(in Python v3.13)")
|
||
</Function>
|
||
</Class>
|
||
|