English
Languages
English
Japanese
German
Korean
Portuguese, Brazilian
French
Shortcuts

qiskit.providers.ibmq.job.QueueInfo

class QueueInfo(position=None, status=None, estimated_start_time=None, estimated_complete_time=None, hub_priority=None, group_priority=None, project_priority=None, job_id=None, **kwargs)[source]

Queue information for a job.

QueueInfo constructor.

Parameters
  • position (Optional[int]) – Position in the queue.

  • status (Optional[str]) – Job status.

  • estimated_start_time (Union[str, datetime, None]) – Estimated start time for the job, in UTC.

  • estimated_complete_time (Union[str, datetime, None]) – Estimated complete time for the job, in UTC.

  • hub_priority (Optional[float]) – Dynamic priority for the hub.

  • group_priority (Optional[float]) – Dynamic priority for the group.

  • project_priority (Optional[float]) – Dynamic priority for the project.

  • job_id (Optional[str]) – Job ID.

  • kwargs (Any) – Additional attributes.

__init__(position=None, status=None, estimated_start_time=None, estimated_complete_time=None, hub_priority=None, group_priority=None, project_priority=None, job_id=None, **kwargs)[source]

QueueInfo constructor.

Parameters
  • position (Optional[int]) – Position in the queue.

  • status (Optional[str]) – Job status.

  • estimated_start_time (Union[str, datetime, None]) – Estimated start time for the job, in UTC.

  • estimated_complete_time (Union[str, datetime, None]) – Estimated complete time for the job, in UTC.

  • hub_priority (Optional[float]) – Dynamic priority for the hub.

  • group_priority (Optional[float]) – Dynamic priority for the group.

  • project_priority (Optional[float]) – Dynamic priority for the project.

  • job_id (Optional[str]) – Job ID.

  • kwargs (Any) – Additional attributes.

Methods

__init__([position, status, …])

QueueInfo constructor.

format()

Build a user-friendly report for the job queue information.

Attributes

estimated_complete_time

Return estimated complete time in local time.

estimated_start_time

Return estimated start time in local time.

property estimated_complete_time

Return estimated complete time in local time.

Return type

Optional[datetime]

property estimated_start_time

Return estimated start time in local time.

Return type

Optional[datetime]

format()[source]

Build a user-friendly report for the job queue information.

Return type

str

Returns

The job queue information report.