This repository was archived by the owner on Jul 28, 2023. It is now read-only.
Releases: Qiskit/qiskit-ibmq-provider
Releases · Qiskit/qiskit-ibmq-provider
Qiskit IBMQ Provider 0.5.0
Added
- Some of the visualization and Jupyter tools, including gate/error map and
backend information, have been moved
fromqiskit-terra
toqiskit-ibmq-provider
. In addition, you can now
use%iqx_dashboard
to get a dashboard that provides both job and
backend information. (#535) (#541)
Changed
- JSON schema validation is no longer run by default on Qobj objects passed
toIBMQBackend.run()
. This significantly speeds up the execution of the
run
method and the API server will return 400 if the Qobj is invalid. If
you would like to still run the validation you can set thevalidate_qobj
kwarg toTrue
which will enable the JSON schema validation. (#554)
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)
Qiskit IBMQ Provider 0.4.5
Qiskit IBMQ Provider 0.4.4
Added
IBMQJob.result()
now accepts an optionalrefresh
parameter. If
refresh=True
is specified, the function re-queries the api for the
results, rather than returning those cached. (#469)POST
network request are now retried if the status code is among specific
safe codes. In the case of the request failing during job submission, more
information is now displayed in theINFO
andDEBUG
log levels. (#475)
Qiskit IBMQ Provider 0.4.3
Fixed
- Fixed an issue where
IBMQJob.error_message()
may raise an exception
if the job fails before execution. (#458)
Qiskit IBMQ Provider 0.4.2
Fixed
- Fixed
IBMQBackendService.jobs()
to correctly return jobs when
bothstart_datetime
andend_datetime
are specified. Now, when the
two parameters are specified, the function will return the jobs after
(greater than or equal to) and before (less than or equal to) the
two given datetimes. (#452)
Qiskit IBMQ Provider 0.4.1
Fixed
- Fixed
job.creation_date()
return string format to be the same as that of
release 0.3. (#447)
Changed
IBMBackend.jobs()
andIBMQBackendService.jobs()
now accept the
optional parametersstart_datetime
andend_datetime
. If one is
specified, it is used to find jobs whose creation date is after
(greater than) or before (less than) the given the date/time,
respectively. If both are specified, they are used to find jobs
whose creation date is between the two dates. (#443)
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)
Removed
Qiskit IBMQ Provider 0.3.3
Fixed
- Fixed an issue where proxy parameters were not fully passed to the final
sessions, leading to incomplete proxy support. (#353)
Qiskit IBMQ Provider 0.3.2
Changed
- Pin version of nest_asyncio requirement