Release Notes#
0.4.5#
Prelude#
Release 0.4.5 removes version pin qiskit<1.0 from setup.py. Otherwise there are no material changes.
0.4.4#
Bug Fixes#
Fixes a bug in
solve_lmde_perturbation()in which theperturbation_labelsargument was being unexpectedly re-ordered, leading to errors when retrieving results.
0.4.3#
Prelude#
Qiskit Dynamics 0.4.3 is a minor maintenance release.
Upgrade Notes#
The package now depends on
qiskitrather thanqiskit-terra.
Other Notes#
The documentation page has been moved to github pages.
0.4.2#
Prelude#
Qiskit Dynamics 0.4.2 is an incremental release with minor bug fixes and additional warnings to help guide users through issues.
Upgrade Notes#
The
subsystem_labelsoption has been removed from theDynamicsBackend. This removal impacts some technical aspects of the backend returned byDynamicsBackend.from_backend()when thesubsystem_listargument is used. Using thesubsystem_listargument withDynamicsBackend.from_backend()restricts the internally constructed model to the qubits insubsystem_list. When doing so previously, the optionsubsystem_labelswould be set tosubsystem_labels, andsubsystem_dimswould record only the dimensions for the systems insubsystem_labels. To account for the fact thatsubsystem_labelsno longer exists,DynamicsBackend.from_backend()now constructssubsystem_dimsto list a dimension for all of the qubits in the original backend, however now the dimensions of the removed systems are given as 1 (i.e. they are treated as trivial quantum systems with a single state). This change is made only for technical bookkeping purposes, and has no impact on the core simulation behaviour.
Bug Fixes#
In the case that
envelopeis a constant, theSignal.__init__()method has been updated to not attempt to evaluatecarrier_freq == 0.0ifcarrier_freqis a JAX tracer. In this case, it is not possible to determine if theSignalinstance is constant. This resolves an error that was being raised during JAX tracing ifcarrier_freqis abstract.
Fixes bug in
DynamicsBackend.run()that caused miscounting of the number of classical registers in aQuantumCircuit(issue #251).
DynamicsBackend.options.normalize_statesnow also controls whether or not the probability distribution over outcomes is normalized before sampling outcomes.
Other Notes#
For users that have JAX installed, a warning has been added upon import of Qiskit Dynamics to notify the user of issues with certain versions: JAX versions newer than
0.4.6break theperturbationmodule, and to useperturbationmodule with versions0.4.4,0.4.5, or0.4.6, it is necessary to setos.environ['JAX_JIT_PJIT_API_MERGE'] = '0'before importing JAX or Dynamics.
A warning has been added to
InstructionToSignalsclass when converting pulse schedules to signals to notify the user if the usage ofSetFrequencyorShiftFrequencycommands result in a digital carrier frequency larger than the Nyquist frequency of the envelope sample sizedt.
0.4.1#
Prelude#
Qiskit Dynamics 0.4.1 is an incremental release with minor bug fixes, documentation updates, and usability features.
New Features#
The
DynamicsBackend.from_backend()method has been updated to automatically populate thecontrol_channel_mapoption based on the supplied backend if the user does not supply one.
Known Issues#
Due to a bug in JAX, Dynamics can only be used with jax<=0.4.6. As they depend on newer versions of JAX, Dynamics is also now only compatible with diffrax<=0.3.1 and equinox<=0.10.3.
Bug Fixes#
A bug in
DynamicsBackend.__init__()causing existing measurement instructions for a user-suppliedTargetto be overwritten has been fixed.
Fixes a bug in the perturbation module with internal sorting of
Multisetinstances, which caused incorrect computation of perturbation theory terms when>10perturbations are present.
Other Notes#
The repository has been moved from [github.com/Qiskit/qiskit-dynamics](https://github.com/Qiskit/qiskit-dynamics) to [github.com/Qiskit-Extensions/qiskit-dynamics](https://github.com/Qiskit-Extensions/qiskit-dynamics), and the documentation has been moved from [qiskit.org/documentation/dynamics](https://qiskit.org/documentation/dynamics) to [qiskit.org/ecosystem/dynamics](https://qiskit.org/ecosystem/dynamics/).