
    z	i:                     >    S r SSKrSSKJr  SSKJr   " S S\5      rg)z@This module implements the job class used by Basic Aer Provider.    N)	JobStatus)JobV1c                   L   ^  \ rS rSrSrSrU 4S jrS rS
S jrS r	S r
S	rU =r$ )BasicProviderJob   zBasicProviderJob class.Fc                 0   > [         TU ]  X5        X0l        g N)super__init___result)selfbackendjob_idresult	__class__s       l/home/james-whalen/.local/lib/python3.13/site-packages/qiskit/providers/basic_provider/basic_provider_job.pyr   BasicProviderJob.__init__   s    )    c                     g)zdSubmit the job to the backend for execution.

Raises:
    JobError: if trying to re-submit the job.
N r   s    r   submitBasicProviderJob.submit   s     	r   c                 V    Ub  [         R                  " S[        5        U R                  $ )zCGet job result .

Returns:
    qiskit.result.Result: Result object
zThe timeout kwarg doesn't have any meaning with BasicProvider because execution is synchronous and the result already exists when run() returns.)warningswarnUserWarningr   )r   timeouts     r   r   BasicProviderJob.result'   s,     MM< 	 ||r   c                 "    [         R                  $ )z{Gets the status of the job by querying the Python's future

Returns:
    qiskit.providers.JobStatus: The current JobStatus
)r   DONEr   s    r   statusBasicProviderJob.status7   s     ~~r   c                     U R                   $ )z5Return the instance of the backend used for this job.)_backendr   s    r   r   BasicProviderJob.backend?   s    }}r   )r   r	   )__name__
__module____qualname____firstlineno____doc___asyncr   r   r   r"   r   __static_attributes____classcell__)r   s   @r   r   r      s)    !F  r   r   )r+   r   qiskit.providersr   qiskit.providers.jobr   r   r   r   r   <module>r1      s     G  & &+u +r   