Note

This is the documentation for the current state of the development branch of Qiskit Experiments. The documentation or APIs here can change prior to being released.

ResultQuality

class ResultQuality(*values)[source]

Possible values for analysis result quality.

Attributes

BAD = 'bad'
GOOD = 'good'
UNKNOWN = 'unknown'

Methods

static from_str(quality)[source]

Convert quality to a ResultQuality, defaulting to UNKNOWN

Return type:

ResultQuality

static to_str(quality)[source]

Convert quality to string, defaulting to “unknown”

Return type:

str

classmethod __getitem__(name)

Return the member matching name.

classmethod __len__()

Return the number of members (no aliases)