Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.
Important

IBM Quantum Platform is moving and this version will be sunset on July 1. To get started on the new platform, read the migration guide.

qiskit.providers.models.JobStatus

class JobStatus(job_id, status, status_msg, **kwargs)

GitHub

Model for JobStatus.

job_id

backend job_id.

Type

str

status

status of the job.

Type

str

status_msg

status message.

Type

str

__init__

__init__(job_id, status, status_msg, **kwargs)

Initialize self. See help(type(self)) for accurate signature.


Methods

__init__(job_id, status, status_msg, **kwargs)Initialize self.
from_dict(data)Create a new JobStatus object from a dictionary.
to_dict()Return a dictionary format representation of the JobStatus.

from_dict

classmethod from_dict(data)

Create a new JobStatus object from a dictionary.

Parameters

data (dict) – 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

qiskit.providers.model.JobStatus

to_dict

to_dict()

Return a dictionary format representation of the JobStatus.

Returns

The dictionary form of the JobStatus.

Return type

dict

Was this page helpful?
Report a bug or request content on GitHub.