Bengali
Languages
English
Bengali
French
German
Japanese
Korean
Portuguese
Spanish
Tamil

Result

class Result(backend_name, backend_version, qobj_id, job_id, success, results, date=None, status=None, header=None, **kwargs)[source]

Bases: object

Model for Results.

backend_name

backend name.

Type

str

backend_version

backend version, in the form X.Y.Z.

Type

str

qobj_id

user-generated Qobj id.

Type

str

job_id

unique execution id from the backend.

Type

str

success

True if complete input qobj executed correctly. (Implies each experiment success)

Type

bool

results

corresponding results for array of experiments of the input qobj

Type

list[ExperimentResult]

Methods

data

Get the raw data for an experiment.

from_dict

Create a new ExperimentResultData object from a dictionary.

get_counts

Get the histogram data of an experiment.

get_memory

Get the sequence of memory states (readouts) for each shot The data from the experiment is a list of format ['00000', '01000', '10100', '10100', '11101', '11100', '00101', ..., '01010']

get_statevector

Get the final statevector of an experiment.

get_unitary

Get the final unitary of an experiment.

to_dict

Return a dictionary format representation of the Result