Qiskit 0.29 release notes
0.29.1
Terra 0.18.2
Bug Fixes
- Fixed an issue with the
assemble()
function when called with thebackend
kwarg set and theparametric_pulses
kwarg was set to an empty list the output qobj would contain theparametric_pulses
setting from the given backend’sBackendConfiguration
instead of the expected empty list. Fixed #6898 - The Matplotlib circuit drawer will no longer duplicate drawings when using
ipykernel>=6.0.0
. Fixes #6889.
Aer 0.8.2
No change
Ignis 0.6.0
No change
Aqua 0.9.5
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.
IBM Q Provider 0.16.0
No change
0.29.0
Terra 0.18.1
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.
Upgrade Notes
pip install qiskit-terra[all]
will no longer attempt to install thebip-mapper
extra. This is because the dependencycplex
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 installqiskit-terra[bip-mapper]
explicitly, if desired, while other combinations of OS, platform architectures and Python versions will likely fail.
Bug Fixes
- Fixed an issue where the
QuantumInstance
class would potentially try to use theCompleteMeasFitter
class before it was imported resulting in an error. Fixed #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 storedBackendProperties
running aQuantumCircuit
withqiskit-aer
installed) passing run time options to therun()
method of a fake backend object would not actually be passed to the simulator underlying therun()
method and not have any effect. Fixed #6741 - Fix a bug in
EvolvedOperatorAnsatz
when the global phase is 0 (such as forQAOAAnsatz
) but was still aParameterExpression
. - Fixed an issue with the
settings
attribute ofQNSPSA
, which was missing thefidelity
argument from the output. This is now correctly included in the attribute’s output. - Fixed an issue with the
subgraph()
method of theCouplingMap
class where it would incorrectly add nodes to the outputCouplingMap
object when thenodelist
argument contained a non-contiguous list of qubit indices. This has been fixed so regardless of the input indices innodelist
the outputCouplingMap
will only contained the specified nodes reindexed starting at 0. Fixes #6736 - Previously,
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()
andqiskit.circuit.qpy_serialization.load()
forQuantumCircuit
objects that contain instructions with classical conditions on a singleClbit
instead of aClassicalRegister
. While the use of singleClbit
conditions is not yet fully supported, if you were using them in a circuit they are now correctly serialized by QPY.
Aer 0.8.2
No change
Ignis 0.6.0
No change
Aqua 0.9.4
No change
IBM Q Provider 0.16.0
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 isauto_save
, which tells applications that use this service, such as qiskit-experiments, whether you want changes to be automatically saved. Usage examples: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()
andqiskit.providers.ibmq.experiment.IBMExperimentService.update_figure()
now accept thesync_upload
keyword. This controls whether or not the figure will be uploaded asynchronously or synchronously to backend storage. By defaultsync_upload
isTrue
for synchronous upload.
Upgrade Notes
IBMExperimentService
is updated to work with the newqiskit-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 toNone
, 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 and directly validate your payloads with that.