qiskit-documentation/docs/api/qiskit/release-notes/0.32.mdx

117 lines
4.1 KiB
Plaintext

---
title: Qiskit 0.32 release notes
description: Changes made in Qiskit 0.32
in_page_toc_max_heading_level: 4
---
# Qiskit 0.32 release notes
## 0.32.1
<span id="terra-0-18-3" />
### Terra 0.18.3
No change
<span id="id193" />
### Aer 0.9.1
No change
<span id="ignis-0-6-0" />
### Ignis 0.6.0
No change
<span id="aqua-0-9-5" />
### Aqua 0.9.5
No change
<span id="ibm-q-provider-0-18-1" />
<span id="release-notes-0-18-1-ibmq" />
### IBM Q Provider 0.18.1
<span id="release-notes-0-18-1-ibmq-bug-fixes" />
<span id="id194" />
#### Bug Fixes
* Fixes [#209](https://github.com/Qiskit/qiskit-ibm-provider/issues/209) where the websocket connection kept timing out when streaming results for a runtime job, due to inactivity, when the job is in a pending state for a long time.
<span id="qiskit-0-32-0" />
## 0.32.0
<span id="id195" />
### Terra 0.18.3
No change
<span id="id196" />
### Aer 0.9.1
No change
<span id="id197" />
### Ignis 0.6.0
No change
<span id="id198" />
### Aqua 0.9.5
No change
<span id="ibm-q-provider-0-18-0" />
<span id="release-notes-0-18-0-ibmq" />
### IBM Q Provider 0.18.0
<span id="release-notes-0-18-0-ibmq-new-features" />
<span id="id199" />
#### New Features
* You can now pass `program_id` parameter to `qiskit.providers.ibmq.runtime.IBMRuntimeService.jobs()` method to filter jobs by Program ID.
* You can view the last updated date of a runtime program using `update_date` property.
* If you are the author of a runtime program, you can now use `qiskit.providers.ibmq.runtime.RuntimeProgram.data` property to retrieve the program data as a string.
* You can now use the `qiskit.providers.ibmq.runtime.IBMRuntimeService.update_program()` method to update the metadata for a Qiskit Runtime program. Program metadata can be specified using the `metadata` parameter or individual parameters, such as `name` and `description`. If the same metadata field is specified in both places, the individual parameter takes precedence.
* You can now use the `qiskit.providers.ibmq.runtime.IBMRuntimeService.update_program()` method to update the data of an existing runtime program.
<span id="release-notes-0-18-0-ibmq-upgrade-notes" />
<span id="id200" />
#### Upgrade Notes
* Runtime programs will no longer have a `version` field.
* By default, `qiskit.providers.ibmq.runtime.IBMRuntimeService.pprint_programs()` now only prints the summary of each runtime program instead of all of the details. There is a new parameter `detailed` that can be set to `True` to print all details.
* `limit` and `skip` parameters have been added to `qiskit.providers.ibmq.runtime.IBMRuntimeService.programs()` and `qiskit.providers.ibmq.runtime.IBMRuntimeService.pprint_programs()`. `limit` can be used to set the number of runtime programs returned and `skip` is the number of programs to skip when retrieving programs.
* The data parameter to `qiskit.providers.ibmq.runtime.IBMRuntimeService.upload_program()` can now only be of type string. It can be either the program data, or path to the file that contains program data.
* `qiskit.providers.ibmq.runtime.IBMRuntimeService.upload_program()` now takes only two parameters, `data`, which is the program passed as a string or the path to the program file and the `metadata`, which is passed as a dictionary or path to the metadata JSON file. In `metadata` the `backend_requirements`, `parameters`, `return_values` and `interim_results` are now grouped under a specifications `spec` section. `parameters`, `return_values` and `interim_results` should now be specified as JSON Schema.
* `qiskit.providers.ibmq.AccountProvider.run_circuits()` method now takes a backend\_name parameter, which is a string, instead of backend, which is a `Backend` object.
* The default number of `shots` (represents the number of repetitions of each circuit, for sampling) in `qiskit.providers.ibmq.IBMQBackend.run()`, has been increased from 1024 to 4000.
<span id="release-notes-0-18-0-ibmq-bug-fixes" />
<span id="id201" />
#### Bug Fixes
* Fixes the issue wherein a runtime job result cannot be retrieved multiple times if the result contains a numpy array.
<span id="qiskit-0-31-0" />