This repository has been archived by the owner on Jul 28, 2023. It is now read-only.
Qiskit IBMQ Provider 0.4.0
Added
- A new
IBMQJobManager
class that takes a list of circuits or pulse schedules
as input, splits them into one or more jobs, and submits the jobs.
(#389, #400, #407) - New features to
provider.backends
:- it contains the available backends as attributes. A user can now use
provider.backends.<tab>
to see a list of backend names, and make
use of the attributes as regularIBMQBackend
instances. (#303) - the methods
provider.backends.jobs()
and
provider.backends.retrieve_job()
can be used for retrieving
provider-wide jobs. (#354)
- it contains the available backends as attributes. A user can now use
Changed
IBMQBackend.run()
now accepts an optionaljob_name
parameter. If
specified, thejob_name
is assigned to the job, which can also be used
as a filter inIBMQBackend.jobs()
. (#300, #384)IBMQBackend.run()
now accepts an optionaljob_share_level
parameter. If specified, the job could be shared with other users at the
global, hub, group, project, or none level. (#414)- The signature of
IBMQBackend.jobs()
is changed.db_filter
, which was the
4th parameter, is now the 5th parameter. (#300) - The
backend.properties()
function now accepts an optionaldatetime
parameter. If specified, the function returns the backend properties closest
to, but older than, the specified datetime filter. (#277) - The
WebsocketClient.get_job_status()
method now accepts two optional
parameters:retries
andbackoff_factor
. (#341) - The
IBMQJob
class has been refactored:- The
IBMQJob
attributes are now automatically populated based on the
information contained in the remote API. As a result, theIBMQJob
constructor signature has changed. (#329) IBMQJob.submit()
can no longer be called directly, and jobs are expected
to be submitted viaIBMQBackend.run()
. (#329)IBMQJob.error_message()
now gives more information on why a job failed.
(#375)IBMQJob.queue_position()
now accepts an optionalrefresh
parameter that
indicates whether it should query the API for the latest queue position.
(#387)- The
IBMQJob.result()
function now accepts an optionalpartial
parameter.
If specified,IBMQJob.result()
will return partial results for jobs with
experiments that failed. (#399)
- The
- The Exception hierarchy has been refined with more specialized classes, and
exception chaining is used in some cases - please inspect the complete
traceback for more informative failures. (#395, #396) - Some
warnings
have been toned down tologger.warning
messages. (#379)