diff --git a/Cargo.lock b/Cargo.lock index 71fbaf1b83d9..63cfda55a0cb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -131,9 +131,9 @@ dependencies = [ [[package]] name = "hermit-abi" -version = "0.1.19" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" +checksum = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7" dependencies = [ "libc", ] @@ -151,15 +151,15 @@ dependencies = [ [[package]] name = "indoc" -version = "1.0.7" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adab1eaa3408fb7f0c777a73e7465fd5656136fc93b670eb6df3c88c2c1344e3" +checksum = "da2d6f23ffea9d7e76c53eee25dfb67bcd8fde7f1198b0855350698c9f07c780" [[package]] name = "libc" -version = "0.2.137" +version = "0.2.139" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fc7fcc620a3bff7cdd7a365be3376c97191aeaccc2a603e600951e452615bf89" +checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79" [[package]] name = "libm" @@ -260,9 +260,9 @@ dependencies = [ [[package]] name = "num_cpus" -version = "1.14.0" +version = "1.15.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6058e64324c71e02bc2b150e4f3bc8286db6c83092132ffa3f6b1eab0f9def5" +checksum = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b" dependencies = [ "hermit-abi", "libc", @@ -285,9 +285,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.16.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860" +checksum = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66" [[package]] name = "parking_lot" @@ -301,9 +301,9 @@ dependencies = [ [[package]] name = "parking_lot_core" -version = "0.9.4" +version = "0.9.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dc9e0dc2adc1c69d09143aff38d3d30c5c3f0df0dad82e6d25547af174ebec0" +checksum = "ba1ef8814b5c993410bb3adfad7a5ed269563e4a2f90c41f5d85be7fb47133bf" dependencies = [ "cfg-if", "libc", @@ -330,9 +330,9 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" [[package]] name = "proc-macro2" -version = "1.0.47" +version = "1.0.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ea3d908b0e36316caf9e9e2c4625cdde190a7e6f440d794667ed17a1855e725" +checksum = "57a8eca9f9c4ffde41714334dee777596264c7825420f521abc92b5b5deb63a5" dependencies = [ "unicode-ident", ] @@ -402,7 +402,7 @@ dependencies = [ [[package]] name = "qiskit-terra" -version = "0.22.3" +version = "0.22.4" dependencies = [ "ahash 0.8.0", "hashbrown 0.12.3", @@ -421,9 +421,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.21" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179" +checksum = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b" dependencies = [ "proc-macro2", ] @@ -485,11 +485,10 @@ checksum = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" [[package]] name = "rayon" -version = "1.6.0" +version = "1.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e060280438193c554f654141c9ea9417886713b7acd75974c85b18a69a88e0b" +checksum = "6db3a213adf02b3bcfd2d3846bb41cb22857d131789e01df434fb7e7bc0759b7" dependencies = [ - "crossbeam-deque", "either", "rayon-core", ] @@ -542,9 +541,9 @@ checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" [[package]] name = "syn" -version = "1.0.103" +version = "1.0.107" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a864042229133ada95abf3b54fdc62ef5ccabe9515b64717bcb9a1919e59445d" +checksum = "1f4064b5b16e03ae50984a5a8ed5d4f8803e6bc1fd170a3cda91a1be4b18e3f5" dependencies = [ "proc-macro2", "quote", @@ -559,15 +558,15 @@ checksum = "9410d0f6853b1d94f0e519fb95df60f29d2c1eff2d921ffdf01a4c8a3b54f12d" [[package]] name = "unicode-ident" -version = "1.0.5" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ceab39d59e4c9499d4e5a8ee0e2735b891bb7308ac83dfb4e80cad195c9f6f3" +checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc" [[package]] name = "unindent" -version = "0.1.10" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58ee9362deb4a96cef4d437d1ad49cffc9b9e92d202b6995674e928ce684f112" +checksum = "e1766d682d402817b5ac4490b3c3002d91dfa0d22812f341609f97b08757359c" [[package]] name = "version_check" @@ -598,42 +597,42 @@ dependencies = [ [[package]] name = "windows_aarch64_gnullvm" -version = "0.42.0" +version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41d2aa71f6f0cbe00ae5167d90ef3cfe66527d6f613ca78ac8024c3ccab9a19e" +checksum = "8c9864e83243fdec7fc9c5444389dcbbfd258f745e7853198f365e3c4968a608" [[package]] name = "windows_aarch64_msvc" -version = "0.42.0" +version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd0f252f5a35cac83d6311b2e795981f5ee6e67eb1f9a7f64eb4500fbc4dcdb4" +checksum = "4c8b1b673ffc16c47a9ff48570a9d85e25d265735c503681332589af6253c6c7" [[package]] name = "windows_i686_gnu" -version = "0.42.0" +version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fbeae19f6716841636c28d695375df17562ca208b2b7d0dc47635a50ae6c5de7" +checksum = "de3887528ad530ba7bdbb1faa8275ec7a1155a45ffa57c37993960277145d640" [[package]] name = "windows_i686_msvc" -version = "0.42.0" +version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "84c12f65daa39dd2babe6e442988fc329d6243fdce47d7d2d155b8d874862246" +checksum = "bf4d1122317eddd6ff351aa852118a2418ad4214e6613a50e0191f7004372605" [[package]] name = "windows_x86_64_gnu" -version = "0.42.0" +version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf7b1b21b5362cbc318f686150e5bcea75ecedc74dd157d874d754a2ca44b0ed" +checksum = "c1040f221285e17ebccbc2591ffdc2d44ee1f9186324dd3e84e99ac68d699c45" [[package]] name = "windows_x86_64_gnullvm" -version = "0.42.0" +version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09d525d2ba30eeb3297665bd434a54297e4170c7f1a44cad4ef58095b4cd2028" +checksum = "628bfdf232daa22b0d64fdb62b09fcc36bb01f05a3939e20ab73aaf9470d0463" [[package]] name = "windows_x86_64_msvc" -version = "0.42.0" +version = "0.42.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f40009d85759725a34da6d89a94e63d7bdc50a862acf0dbc7c8e488f1edcb6f5" +checksum = "447660ad36a13288b1db4d4248e857b510e8c3a225c822ba4fb748c0aafecffd" diff --git a/Cargo.toml b/Cargo.toml index 8b4de0336e1f..7020391ff425 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "qiskit-terra" -version = "0.22.3" +version = "0.22.4" edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/docs/conf.py b/docs/conf.py index b8e104ff2497..d9e85de82af3 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -23,7 +23,7 @@ # The short X.Y version version = "0.22" # The full version, including alpha/beta/rc tags -release = "0.22.3" +release = "0.22.4" extensions = [ "sphinx.ext.napoleon", diff --git a/qiskit/VERSION.txt b/qiskit/VERSION.txt index d90746a79af3..4240544f330c 100644 --- a/qiskit/VERSION.txt +++ b/qiskit/VERSION.txt @@ -1 +1 @@ -0.22.3 +0.22.4 diff --git a/releasenotes/notes/fix-backend-sampler-890cbcf913667b08.yaml b/releasenotes/notes/fix-backend-sampler-890cbcf913667b08.yaml index 42637b41562f..d978ea2d2818 100644 --- a/releasenotes/notes/fix-backend-sampler-890cbcf913667b08.yaml +++ b/releasenotes/notes/fix-backend-sampler-890cbcf913667b08.yaml @@ -1,5 +1,5 @@ --- fixes: - | - Fixed a bug of :class:`~.BackendSampler` that raises an error - if :meth:`~.BackendSampler.run` method is called two times sequentially. + Fixed a bug in :class:`~.BackendSampler` that raised an error + if its :meth:`~.BackendSampler.run` method was called two times sequentially. diff --git a/releasenotes/notes/fix-composedop-08e14db184c637c8.yaml b/releasenotes/notes/fix-composedop-08e14db184c637c8.yaml index 99e9d99d8f1f..10c5c23ca407 100644 --- a/releasenotes/notes/fix-composedop-08e14db184c637c8.yaml +++ b/releasenotes/notes/fix-composedop-08e14db184c637c8.yaml @@ -3,5 +3,5 @@ fixes: - | Fixed two bugs in the :class:`.ComposedOp` where the :meth:`.ComposedOp.to_matrix` method did not provide the correct results for compositions with :class:`.StateFn` - and for compositions with a global coefficients. - See also `#9283 _`. + and for compositions with a global coefficient. + Fixed `#9283 `__. diff --git a/releasenotes/notes/fix-primitives-numpy-parameters-1589d997864dfb37.yaml b/releasenotes/notes/fix-primitives-numpy-parameters-1589d997864dfb37.yaml index dccfef915d64..02842b2c6d8d 100644 --- a/releasenotes/notes/fix-primitives-numpy-parameters-1589d997864dfb37.yaml +++ b/releasenotes/notes/fix-primitives-numpy-parameters-1589d997864dfb37.yaml @@ -1,5 +1,5 @@ --- fixes: - | - Fixed the problem in which primitives did not work when passing a circuit with ``numpy.ndarray`` - as a parameter. + Fixed the problem in which primitives, :class:`.Sampler` and :class:`.Estimator`, did not + work when passed a circuit with ``numpy.ndarray`` as a parameter. diff --git a/releasenotes/notes/fix-sampling-vqe-aggregation-107e3983147c57bc.yaml b/releasenotes/notes/fix-sampling-vqe-aggregation-107e3983147c57bc.yaml index dac8d90bf3d2..c2c4966f28e2 100644 --- a/releasenotes/notes/fix-sampling-vqe-aggregation-107e3983147c57bc.yaml +++ b/releasenotes/notes/fix-sampling-vqe-aggregation-107e3983147c57bc.yaml @@ -1,5 +1,5 @@ --- fixes: - | - Fixed a bug in :class:`.SamplingVQE` where the ``aggregation`` did not have an effect. - Now the aggregation function and CVaR expectation value can correctly be specified. + Fixed a bug in :class:`.SamplingVQE` where the ``aggregation`` argument did not have an effect. + Now the aggregation function and, with it, the CVaR expectation value can correctly be specified. diff --git a/releasenotes/notes/fix-sampling-vqe-performance-b5bfe92c2d3e10ab.yaml b/releasenotes/notes/fix-sampling-vqe-performance-b5bfe92c2d3e10ab.yaml index 33d353ec0407..7a1136f3f67c 100644 --- a/releasenotes/notes/fix-sampling-vqe-performance-b5bfe92c2d3e10ab.yaml +++ b/releasenotes/notes/fix-sampling-vqe-performance-b5bfe92c2d3e10ab.yaml @@ -1,5 +1,5 @@ --- fixes: - | - Fixed a performance bug that :class:`.SamplingVQE` evaluated the energies of eigenstates - in a slow way. + Fixed a performance bug where :class:`.SamplingVQE` evaluated the energies of eigenstates + in a slow manner. diff --git a/releasenotes/notes/fix-vqd-betas-async-df99ab6e26e9da1e.yaml b/releasenotes/notes/fix-vqd-betas-async-df99ab6e26e9da1e.yaml index feefb006a06b..bde1b5d0209b 100644 --- a/releasenotes/notes/fix-vqd-betas-async-df99ab6e26e9da1e.yaml +++ b/releasenotes/notes/fix-vqd-betas-async-df99ab6e26e9da1e.yaml @@ -1,10 +1,10 @@ --- fixes: - | - Fixed existing betas autoevaluation code on class + Fixed the autoevaluation of the beta parameters in :class:`~qiskit.algorithms.eigensolvers.VQD`, added support for :class:`~qiskit.quantum_info.SparsePauliOp` inputs, and fixed - the energy evaluation function to leverage the async execution + the energy evaluation function to leverage the asynchronous execution of primitives, by only retrieving the job results after both jobs have been submitted. diff --git a/releasenotes/notes/prepare-0.22.4-cddd573e87bffb9c.yaml b/releasenotes/notes/prepare-0.22.4-cddd573e87bffb9c.yaml new file mode 100644 index 000000000000..d31fbcae3ffd --- /dev/null +++ b/releasenotes/notes/prepare-0.22.4-cddd573e87bffb9c.yaml @@ -0,0 +1,3 @@ +--- +prelude: > + Qiskit Terra 0.22.4 is a minor bugfix release, fixing some bugs identified in the 0.22 series. \ No newline at end of file diff --git a/releasenotes/notes/probabilities_dict_bug_fix-aac3b3d3853828dc.yaml b/releasenotes/notes/probabilities_dict_bug_fix-aac3b3d3853828dc.yaml index e6c2590cfee7..0ff1f07deb57 100644 --- a/releasenotes/notes/probabilities_dict_bug_fix-aac3b3d3853828dc.yaml +++ b/releasenotes/notes/probabilities_dict_bug_fix-aac3b3d3853828dc.yaml @@ -2,6 +2,6 @@ fixes: - | Fixed an issue with the :meth:`.Statevector.probabilities_dict` and :meth:`.DensityMatrix.probabilities_dict` - method where it would return incorrect results for non-qubit systems when the ``qargs`` argument was + methods where they would return incorrect results for non-qubit systems when the ``qargs`` argument was specified. Fixed `#9210 `__ \ No newline at end of file diff --git a/releasenotes/notes/wrap-method-311-147d254d4b40e805.yaml b/releasenotes/notes/wrap-method-311-147d254d4b40e805.yaml index 146e01b903c5..2a4ca732771f 100644 --- a/releasenotes/notes/wrap-method-311-147d254d4b40e805.yaml +++ b/releasenotes/notes/wrap-method-311-147d254d4b40e805.yaml @@ -1,9 +1,9 @@ --- fixes: - | - Fixed handling of some ``classmethod``s by + Fixed handling of some ``classmethod``\ s by :func:`~qiskit.utils.wrap_method` in Python 3.11. Previously, in Python - 3.11, ``wrap_method`` would wrap the unbounded function associated with the + 3.11, ``wrap_method`` would wrap the unbound function associated with the ``classmethod`` and then fail when invoked because the class object usually bound to the ``classmethod`` was not passed to the function. Starting in Python 3.11.1, this issue affected :class:`~qiskit.test.QiskitTestCase`, diff --git a/setup.py b/setup.py index 21728bfa5122..a57d70359d83 100755 --- a/setup.py +++ b/setup.py @@ -51,7 +51,7 @@ setup( name="qiskit-terra", - version="0.22.3", + version="0.22.4", description="Software for developing quantum computing programs", long_description=README, long_description_content_type="text/markdown",