Skip to main contentIBM Quantum Documentation

JobStatus

qiskit.providers.models.JobStatus(job_id, status, status_msg, **kwargs)GitHub(opens in a new tab)

Bases: object(opens in a new tab)

Model for JobStatus.

job_id

backend job_id.

Type

str(opens in a new tab)

status

status of the job.

Type

str(opens in a new tab)

status_msg

status message.

Type

str(opens in a new tab)


Methods

from_dict

classmethod from_dict(data)

Create a new JobStatus object from a dictionary.

Parameters

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

Returns

The JobStatus from the input dictionary.

Return type

JobStatus

to_dict

to_dict()

Return a dictionary format representation of the JobStatus.

Returns

The dictionary form of the JobStatus.

Return type

dict(opens in a new tab)

Was this page helpful?