148 lines
8.4 KiB
Plaintext
148 lines
8.4 KiB
Plaintext
---
|
||
title: Qiskit 0.29 release notes
|
||
description: Changes made in Qiskit 0.29
|
||
in_page_toc_max_heading_level: 4
|
||
---
|
||
|
||
# Qiskit 0.29 release notes
|
||
|
||
## 0.29.1
|
||
|
||
<span id="release-notes-0-18-2" />
|
||
|
||
<span id="id227" />
|
||
|
||
### Terra 0.18.2
|
||
|
||
<span id="release-notes-0-18-2-bug-fixes" />
|
||
|
||
<span id="id228" />
|
||
|
||
#### Bug Fixes
|
||
|
||
* Fixed an issue with the [`assemble()`](/api/qiskit/0.45/compiler#qiskit.compiler.assemble "qiskit.compiler.assemble") function when called with the `backend` kwarg set and the `parametric_pulses` kwarg was set to an empty list the output qobj would contain the `parametric_pulses` setting from the given backend’s [`BackendConfiguration`](/api/qiskit/0.45/qiskit.providers.models.BackendConfiguration "qiskit.providers.models.BackendConfiguration") instead of the expected empty list. Fixed [#6898](https://github.com/Qiskit/qiskit/issues/6898)
|
||
* The Matplotlib circuit drawer will no longer duplicate drawings when using `ipykernel>=6.0.0`. Fixes [#6889](https://github.com/Qiskit/qiskit/issues/6889).
|
||
|
||
<span id="aer-0-8-2" />
|
||
|
||
### Aer 0.8.2
|
||
|
||
No change
|
||
|
||
<span id="id229" />
|
||
|
||
### Ignis 0.6.0
|
||
|
||
No change
|
||
|
||
<span id="release-notes-aqua-0-9-5" />
|
||
|
||
<span id="id230" />
|
||
|
||
### Aqua 0.9.5
|
||
|
||
<span id="release-notes-aqua-0-9-5-bug-fixes" />
|
||
|
||
<span id="id231" />
|
||
|
||
#### Bug Fixes
|
||
|
||
* Fixed a handling error in the Yahoo provider when only one ticker is entered. Added exception error if no ticker is entered. Limit yfinance to >=0.1.62 as previous versions have a JSON decoder error.
|
||
|
||
<span id="id232" />
|
||
|
||
### IBM Q Provider 0.16.0
|
||
|
||
No change
|
||
|
||
<span id="qiskit-0-29-0" />
|
||
|
||
## 0.29.0
|
||
|
||
<span id="terra-0-18-1" />
|
||
|
||
<span id="release-notes-0-18-1" />
|
||
|
||
### Terra 0.18.1
|
||
|
||
<span id="release-notes-0-18-1-prelude" />
|
||
|
||
<span id="id233" />
|
||
|
||
#### Prelude
|
||
|
||
This bugfix release fixes a few minor issues and regressions in the 0.18.0 release. There is also a minor change to how `pip` handles the `[all]` extra when installing `qiskit-terra` directly, compared to 0.18.0.
|
||
|
||
<span id="release-notes-0-18-1-upgrade-notes" />
|
||
|
||
<span id="id234" />
|
||
|
||
#### Upgrade Notes
|
||
|
||
* `pip install qiskit-terra[all]` will no longer attempt to install the `bip-mapper` extra. This is because the dependency `cplex` is not well supported on the range of Python versions and OSes that Terra supports, and a failed extra dependency would fail the entire package resolution. If you are using Python 3.7 or 3.8 and are on Linux-x64 or -ppc64le, macOS-x64 or Windows-x64 you should be able to install `qiskit-terra[bip-mapper]` explicitly, if desired, while other combinations of OS, platform architectures and Python versions will likely fail.
|
||
|
||
<span id="release-notes-0-18-1-bug-fixes" />
|
||
|
||
<span id="id235" />
|
||
|
||
#### Bug Fixes
|
||
|
||
* Fixed an issue where the [`QuantumInstance`](/api/qiskit/0.45/qiskit.utils.QuantumInstance "qiskit.utils.QuantumInstance") class would potentially try to use the `CompleteMeasFitter` class before it was imported resulting in an error. Fixed [#6774](https://github.com/Qiskit/qiskit/issues/6774)
|
||
* Fixed the missing Linux aarch64 wheels which were not published for the 0.18.0 release. They should now continue to be built as expected for all future releases.
|
||
* Fixed an issue with the mock backends located in `qiskit.test.mock` where in some situations (mainly fake backends with stored [`BackendProperties`](/api/qiskit/0.45/qiskit.providers.models.BackendProperties "qiskit.providers.models.BackendProperties") running a [`QuantumCircuit`](/api/qiskit/0.45/qiskit.circuit.QuantumCircuit "qiskit.circuit.QuantumCircuit") with `qiskit-aer` installed) passing run time options to the `run()` method of a fake backend object would not actually be passed to the simulator underlying the `run()` method and not have any effect. Fixed [#6741](https://github.com/Qiskit/qiskit/issues/6741)
|
||
* Fix a bug in [`EvolvedOperatorAnsatz`](/api/qiskit/0.45/qiskit.circuit.library.EvolvedOperatorAnsatz "qiskit.circuit.library.EvolvedOperatorAnsatz") when the global phase is 0 (such as for [`QAOAAnsatz`](/api/qiskit/0.45/qiskit.circuit.library.QAOAAnsatz "qiskit.circuit.library.QAOAAnsatz")) but was still a [`ParameterExpression`](/api/qiskit/0.45/qiskit.circuit.ParameterExpression "qiskit.circuit.ParameterExpression").
|
||
* Fixed an issue with the [`settings`](/api/qiskit/0.45/qiskit.algorithms.optimizers.QNSPSA#settings "qiskit.algorithms.optimizers.QNSPSA.settings") attribute of [`QNSPSA`](/api/qiskit/0.45/qiskit.algorithms.optimizers.QNSPSA "qiskit.algorithms.optimizers.QNSPSA"), which was missing the `fidelity` argument from the output. This is now correctly included in the attribute’s output.
|
||
* Fixed an issue with the `subgraph()` method of the [`CouplingMap`](/api/qiskit/0.45/qiskit.transpiler.CouplingMap "qiskit.transpiler.CouplingMap") class where it would incorrectly add nodes to the output [`CouplingMap`](/api/qiskit/0.45/qiskit.transpiler.CouplingMap "qiskit.transpiler.CouplingMap") object when the `nodelist` argument contained a non-contiguous list of qubit indices. This has been fixed so regardless of the input indices in `nodelist` the output [`CouplingMap`](/api/qiskit/0.45/qiskit.transpiler.CouplingMap "qiskit.transpiler.CouplingMap") will only contained the specified nodes reindexed starting at 0. Fixes [#6736](https://github.com/Qiskit/qiskit/issues/6736)
|
||
* Previously, [`Optimize1qGatesDecomposition`](/api/qiskit/0.45/qiskit.transpiler.passes.Optimize1qGatesDecomposition "qiskit.transpiler.passes.Optimize1qGatesDecomposition") failed to properly optimize one qubit gates that are sufficiently close to the identity matrix. This was fixed so that any gates that differ from the identity by less than 1e-15 are removed.
|
||
* Fixed the generation and loading of QPY files with `qiskit.circuit.qpy_serialization.dump()` and `qiskit.circuit.qpy_serialization.load()` for [`QuantumCircuit`](/api/qiskit/0.45/qiskit.circuit.QuantumCircuit "qiskit.circuit.QuantumCircuit") objects that contain instructions with classical conditions on a single [`Clbit`](/api/qiskit/0.45/qiskit.circuit.Clbit "qiskit.circuit.Clbit") instead of a [`ClassicalRegister`](/api/qiskit/0.45/qiskit.circuit.ClassicalRegister "qiskit.circuit.ClassicalRegister"). While the use of single [`Clbit`](/api/qiskit/0.45/qiskit.circuit.Clbit "qiskit.circuit.Clbit") conditions is not yet fully supported, if you were using them in a circuit they are now correctly serialized by QPY.
|
||
|
||
<span id="id236" />
|
||
|
||
### Aer 0.8.2
|
||
|
||
No change
|
||
|
||
<span id="id237" />
|
||
|
||
### Ignis 0.6.0
|
||
|
||
No change
|
||
|
||
<span id="aqua-0-9-4" />
|
||
|
||
### Aqua 0.9.4
|
||
|
||
No change
|
||
|
||
<span id="release-notes-ibmq-0-16-0" />
|
||
|
||
<span id="id238" />
|
||
|
||
### IBM Q Provider 0.16.0
|
||
|
||
<span id="release-notes-ibmq-0-16-0-new-features" />
|
||
|
||
<span id="id239" />
|
||
|
||
#### New Features
|
||
|
||
* A user can now set and retrieve preferences for `qiskit.providers.ibmq.experiment.IBMExperimentService`. Preferences are saved on disk in the `$HOME/.qiskit/qiskitrc` file. Currently the only preference option is `auto_save`, which tells applications that use this service, such as qiskit-experiments, whether you want changes to be automatically saved. Usage examples:
|
||
|
||
```python
|
||
provider.experiment.save_preferences(auto_save=True) # set and save preferences
|
||
provider.experiment.preferences # return all saved preferences
|
||
```
|
||
|
||
* The methods `qiskit.providers.ibmq.experiment.IBMExperimentService.create_figure()` and `qiskit.providers.ibmq.experiment.IBMExperimentService.update_figure()` now accept the `sync_upload` keyword. This controls whether or not the figure will be uploaded asynchronously or synchronously to backend storage. By default `sync_upload` is `True` for synchronous upload.
|
||
|
||
<span id="release-notes-ibmq-0-16-0-upgrade-notes" />
|
||
|
||
<span id="id240" />
|
||
|
||
#### Upgrade Notes
|
||
|
||
* `IBMExperimentService` is updated to work with the new `qiskit-experiments`. As a result, the syntax of the experiment service is drastically changed. This change, however, takes the experiment service out of beta mode, and future changes will provide backward compatibility according to Qiskit deprecation policy.
|
||
* `qiskit.providers.ibmq.runtime.utils.RuntimeEncoder` now convert a callable object to `None`, since callables are not JSON serializable.
|
||
* `qiskit.providers.ibmq.IBMQBackend.run()` no longer accepts validate\_qobj as a parameter. If you were relying on this schema validation you should pull the schemas from the [Qiskit/ibm-quantum-schemas](https://github.com/Qiskit/ibm-quantum-schemas) and directly validate your payloads with that.
|
||
|
||
<span id="qiskit-0-28-0" /> |