qcs_api_client.models.characteristic#

Module Contents#

Classes#

Characteristic

A measured characteristic of an operation.

Attributes#

T

qcs_api_client.models.characteristic.T#
class qcs_api_client.models.characteristic.Characteristic#

A measured characteristic of an operation.

name#

The name of the characteristic.

Type

str

timestamp#

The date and time at which the characteristic was measured.

Type

datetime.datetime

value#

The characteristic value measured.

Type

float

error#

The error in the characteristic value, or None otherwise.

Type

Union[Unset, float]

node_ids#

The list of architecture node ids for the site where the characteristic is measured, if that is different from the site of the enclosing operation. None if it is the same. The order of this or the enclosing node ids obey the definition of node symmetry from the enclosing operation.

Type

Union[Unset, List[int]]

parameter_values#

The optional ordered list of parameter values used to generate the characteristic. The order matches the parameters in the enclosing operation, and so the lengths of these two lists must match.

Type

Union[Unset, List[float]]

name :str#
timestamp :datetime.datetime#
value :float#
error :Union[qcs_api_client.types.Unset, float]#
node_ids :Union[qcs_api_client.types.Unset, List[int]]#
parameter_values :Union[qcs_api_client.types.Unset, List[float]]#
to_dict(pick_by_predicate: Optional[Callable[[Any], bool]] = is_not_none) Dict[str, Any]#
classmethod from_dict(src_dict: Dict[str, Any]) T#