This repository has been archived by the owner on Jul 28, 2023. It is now read-only.
Qiskit IBMQ Provider 0.4.6
Added
IBMQJob
now has a new methodwait_for_final_state()
that blocks
until the job finishes. One of its parameters is a callback function
that it will invoke after every query to provide feedback. (#529)IBMQBackend
now has a new methodactive_jobs()
. The method returns the
jobs submitted to a backend that are currently in an unfinished status.
Note the unfinished jobs returned for the backend are given for a specific
provider (i.e. a specific backend with a specific provider). (#521)QueueInfo
(returned byIBMQJob.queue_info()
) now has a new method:
format()
. The method returns a formatted string of the queue information.
(#515)IBMQJob
now has three new methods:done()
,running()
, and
cancelled()
. The methods are used to indicate the job status. (#494)backend.run()
now accepts an optionaljob_tags
parameter. If
specified, thejob_tags
are assigned to the job, which can also be used
as a filter inbackend.jobs()
. (#511)IBMQBackend
now has two new methods:job_limit()
and
remaining_job_counts()
.job_limit()
returns the job limit for a
backend, which includes the current number of active jobs you have on
the backend and the the maximum number of active jobs you can have on
it.remaining_job_counts()
returns the number of remaining jobs that
could be submitted to the backend before the maximum limit on active
jobs is reached. Note the job limit for a backend is given for a specific
provider (i.e. a specific backend with a specific provider). (#513)IBMQJobManager
now has a new methodretrieve_job_set()
that allows
you to retrieve a previously submitted job set using the job set ID.
A job set ID can be retrieved using the newjob_set.job_set_id()
method. (#514)
Changed
- The Exception hierarchy has been refined with more specialized classes.
You can, however, continue to catch their parent exceptions (such
asIBMQAccountError
). Also, the exception classIBMQApiUrlError
has been replaced byIBMQAccountCredentialsInvalidUrl
and
IBMQAccountCredentialsInvalidToken
. (#480)
Deprecated
- The use of proxy urls without a protocol (e.g.
http://
) is deprecated
due to recent Python changes. (#538)