Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix qiskit_device to support Aer v2 conventions #343

Merged
merged 1 commit into from
Oct 27, 2023
Merged

Conversation

timmysilv
Copy link
Contributor

@timmysilv timmysilv commented Oct 27, 2023

Tests suddenly began to fail with the release of Aer 0.13.0 yesterday. The main change is that it got upgraded to a V2 backend. The consequence is that we depended on the device name to check its behaviours.

Some code to highlight the change:
Qiskit-Aer v0.12.2

>>> dev = qml.device("qiskit.aer", wires=2, backend="aer_simulator_unitary")
>>> dev.backend, dev.backend.options.method
(AerSimulator('aer_simulator_unitary'), 'unitary')

Qiskit-Aer v0.13.0

>>> dev = qml.device("qiskit.aer", wires=2, backend="aer_simulator_unitary")
>>> dev.backend, dev.backend.options.method
(AerSimulator('aer_simulator'), 'unitary')

We often check things like if some_method in dev.backend_name, so I had to update those checks to be more general and support the new (and undocumented!) V2 backend naming convention used with Aer.

Test change: for some reason, transpilation of the circuit in that one test turned a PauliZ into an RZ(-pi), and we were only applying the noise to Z gates. I just added RZ to the list of gates we apply noise on to fix it.

@codecov
Copy link

codecov bot commented Oct 27, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6010d88) 100.00% compared to head (e0a6264) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #343   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            7         7           
  Lines          309       320   +11     
=========================================
+ Hits           309       320   +11     
Files Coverage Δ
pennylane_qiskit/qiskit_device.py 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@mudit2812 mudit2812 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the quick fix!

@mudit2812 mudit2812 merged commit 6f566d4 into master Oct 27, 2023
9 of 10 checks passed
@mudit2812 mudit2812 deleted the fix-aer-v2 branch October 27, 2023 18:40
austingmhuang pushed a commit that referenced this pull request Jun 11, 2024
author github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 1693319182 -0400
committer Austin Huang <[email protected]> 1718116936 -0400

parent 4da9ab3f7924c2beb2a4512d1d3173fb6b026586
author github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 1693319182 -0400
committer Austin Huang <[email protected]> 1718116936 -0400

parent 4da9ab3f7924c2beb2a4512d1d3173fb6b026586
author github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 1693319182 -0400
committer Austin Huang <[email protected]> 1718116934 -0400

parent 4da9ab3f7924c2beb2a4512d1d3173fb6b026586
author github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 1693319182 -0400
committer Austin Huang <[email protected]> 1718116933 -0400

parent 4da9ab3f7924c2beb2a4512d1d3173fb6b026586
author github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 1693319182 -0400
committer Austin Huang <[email protected]> 1718116933 -0400

parent 4da9ab3f7924c2beb2a4512d1d3173fb6b026586
author github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 1693319182 -0400
committer Austin Huang <[email protected]> 1718116933 -0400

parent 4da9ab3f7924c2beb2a4512d1d3173fb6b026586
author github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 1693319182 -0400
committer Austin Huang <[email protected]> 1718116932 -0400

parent 4da9ab3f7924c2beb2a4512d1d3173fb6b026586
author github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 1693319182 -0400
committer Austin Huang <[email protected]> 1718116932 -0400

parent 4da9ab3f7924c2beb2a4512d1d3173fb6b026586
author github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 1693319182 -0400
committer Austin Huang <[email protected]> 1718116932 -0400

parent 4da9ab3f7924c2beb2a4512d1d3173fb6b026586
author github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 1693319182 -0400
committer Austin Huang <[email protected]> 1718116932 -0400

parent 4da9ab3f7924c2beb2a4512d1d3173fb6b026586
author github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 1693319182 -0400
committer Austin Huang <[email protected]> 1718116931 -0400

parent 4da9ab3f7924c2beb2a4512d1d3173fb6b026586
author github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 1693319182 -0400
committer Austin Huang <[email protected]> 1718116931 -0400

parent 4da9ab3f7924c2beb2a4512d1d3173fb6b026586
author github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 1693319182 -0400
committer Austin Huang <[email protected]> 1718116931 -0400

parent 4da9ab3f7924c2beb2a4512d1d3173fb6b026586
author github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 1693319182 -0400
committer Austin Huang <[email protected]> 1718116927 -0400

parent 4da9ab3f7924c2beb2a4512d1d3173fb6b026586
author github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 1693319182 -0400
committer Austin Huang <[email protected]> 1718116927 -0400

parent 4da9ab3f7924c2beb2a4512d1d3173fb6b026586
author github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 1693319182 -0400
committer Austin Huang <[email protected]> 1718116926 -0400

parent 4da9ab3f7924c2beb2a4512d1d3173fb6b026586
author github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 1693319182 -0400
committer Austin Huang <[email protected]> 1718116919 -0400

parent 4da9ab3f7924c2beb2a4512d1d3173fb6b026586
author github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> 1693319182 -0400
committer Austin Huang <[email protected]> 1718116873 -0400

Version Bump (#330)

* post release version bump

* Trigger CI

---------

Co-authored-by: mudit2812 <[email protected]>
Co-authored-by: Mudit Pandey <[email protected]>

Removed old return type (#331)

* Removed old return

* Fixed tests; changelog

* Added link to changelog

* Trigger CI

* Codefactor

* Additional changes

remove mthree since it is not needed (#334)

Bump urllib3 from 1.26.9 to 2.0.6 (#338)

Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.9 to 2.0.6.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.9...2.0.6)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

fix qiskit_device to support Aer v2 conventions (#343)

Update workflow badge URL (#341)

* Update workflow badge URL

* Retrigger CI checks

* Retrigger CI checks

changelog (#344)

Version Bump (#345)

* pre release version bump

* Trigger CI

---------

Co-authored-by: mudit2812 <[email protected]>
Co-authored-by: Mudit Pandey <[email protected]>

Version Bump (#346)

* post release version bump

* Trigger CI

---------

Co-authored-by: mudit2812 <[email protected]>
Co-authored-by: Mudit Pandey <[email protected]>

Small fixes for compatibility with most recent Qiskit version (#347)

* don't convert everything into QubitUnitary

* remove irrelevant test

* typo

* still use op.__class__ for versions with no op.base_class

* Update pennylane_qiskit/converter.py

Co-authored-by: Matthew Silverman <[email protected]>

* Update pennylane_qiskit/converter.py

Co-authored-by: Tom Bromley <[email protected]>

---------

Co-authored-by: Matthew Silverman <[email protected]>
Co-authored-by: Tom Bromley <[email protected]>

avoid deprecated pl features (#348)

* avoid deprecated pl features

* Update CHANGELOG.md

update for release (#351)

Version Bump (#352)

* post release version bump

* trigger ci

---------

Co-authored-by: lillian542 <[email protected]>
Co-authored-by: lillian542 <[email protected]>

Bump pygments from 2.7.4 to 2.17.2 (#354)

Bumps [pygments](https://github.com/pygments/pygments) from 2.7.4 to 2.17.2.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.7.4...2.17.2)

---
updated-dependencies:
- dependency-name: pygments
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump cryptography from 39.0.1 to 41.0.5 (#342)

Bumps [cryptography](https://github.com/pyca/cryptography) from 39.0.1 to 41.0.5.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/39.0.1...41.0.5)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump cryptography from 41.0.5 to 41.0.7 (#356)

Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.5 to 41.0.7.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/41.0.5...41.0.7)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bug fixes for Sampler device generate_samples #337

* solved issue #337 (this fix also #267)

* removed unused variable

Co-authored-by: lillian542 <[email protected]>

* removed white spaces, Pennylane bit convention

* New contributions and author

* solved qiskit2pennylane convention

* additional comment

* pennylane ocnvention comment

* final blank line, black formatted

---------

Co-authored-by: lillian542 <[email protected]>

pass job_tags and session_id kwargs correctly (#358)

* pass job_tags and session_id kwargs correctly

* update changelog

* black formatting

Bump dill from 0.3.4 to 0.3.6 (#274)

Bumps [dill](https://github.com/uqfoundation/dill) from 0.3.4 to 0.3.6.
- [Release notes](https://github.com/uqfoundation/dill/releases)
- [Commits](https://github.com/uqfoundation/dill/compare/dill-0.3.4...dill-0.3.6)

---
updated-dependencies:
- dependency-name: dill
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christina Lee <[email protected]>
Co-authored-by: lillian542 <[email protected]>

Bump mpmath from 1.2.1 to 1.3.0 (#291)

Bumps [mpmath](https://github.com/fredrik-johansson/mpmath) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/fredrik-johansson/mpmath/releases)
- [Changelog](https://github.com/mpmath/mpmath/blob/master/CHANGES)
- [Commits](https://github.com/fredrik-johansson/mpmath/compare/1.2.1...1.3.0)

---
updated-dependencies:
- dependency-name: mpmath
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christina Lee <[email protected]>
Co-authored-by: lillian542 <[email protected]>

Bump requests from 2.27.1 to 2.31.0 (#303)

Bumps [requests](https://github.com/psf/requests) from 2.27.1 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.27.1...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lillian542 <[email protected]>

Bump urllib3 from 2.0.6 to 2.0.7 (#340)

Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.0.6...2.0.7)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Preciado <[email protected]>
Co-authored-by: lillian542 <[email protected]>

Bump qiskit-ibm-runtime from 0.9.3 to 0.17.0 (#359)

* Bump qiskit-ibm-runtime from 0.9.3 to 0.17.0

Bumps [qiskit-ibm-runtime](https://github.com/Qiskit/qiskit-ibm-runtime) from 0.9.3 to 0.17.0.
- [Release notes](https://github.com/Qiskit/qiskit-ibm-runtime/releases)
- [Commits](https://github.com/Qiskit/qiskit-ibm-runtime/compare/0.9.3...0.17.0)

---
updated-dependencies:
- dependency-name: qiskit-ibm-runtime
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* pin qiskit to 0.44.1

* pin qiskit-ibm-provider to 0.7.2

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lillian542 <[email protected]>

Bump charset-normalizer from 2.0.12 to 3.1.0 (#286)

Bumps [charset-normalizer](https://github.com/Ousret/charset_normalizer) from 2.0.12 to 3.1.0.
- [Release notes](https://github.com/Ousret/charset_normalizer/releases)
- [Changelog](https://github.com/Ousret/charset_normalizer/blob/master/CHANGELOG.md)
- [Upgrade guide](https://github.com/Ousret/charset_normalizer/blob/master/UPGRADE.md)
- [Commits](https://github.com/Ousret/charset_normalizer/compare/2.0.12...3.1.0)

---
updated-dependencies:
- dependency-name: charset-normalizer
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christina Lee <[email protected]>
Co-authored-by: lillian542 <[email protected]>

Bump websocket-client from 1.3.2 to 1.7.0 (#360)

Bumps [websocket-client](https://github.com/websocket-client/websocket-client) from 1.3.2 to 1.7.0.
- [Release notes](https://github.com/websocket-client/websocket-client/releases)
- [Changelog](https://github.com/websocket-client/websocket-client/blob/master/ChangeLog)
- [Commits](https://github.com/websocket-client/websocket-client/compare/v1.3.2...v1.7.0)

---
updated-dependencies:
- dependency-name: websocket-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lillian542 <[email protected]>

Bump requests-ntlm from 1.1.0 to 1.2.0 (#361)

Bumps [requests-ntlm](https://github.com/requests/requests-ntlm) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/requests/requests-ntlm/releases)
- [Commits](https://github.com/requests/requests-ntlm/compare/v1.1.0...v1.2.0)

---
updated-dependencies:
- dependency-name: requests-ntlm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lillian542 <[email protected]>

Dependabot updates (#367)

* Bump nbsphinx from 0.9.1 to 0.9.3 (#362)

Bumps [nbsphinx](https://github.com/spatialaudio/nbsphinx) from 0.9.1 to 0.9.3.
- [Release notes](https://github.com/spatialaudio/nbsphinx/releases)
- [Changelog](https://github.com/spatialaudio/nbsphinx/blob/master/NEWS.rst)
- [Commits](https://github.com/spatialaudio/nbsphinx/compare/0.9.1...0.9.3)

---
updated-dependencies:
- dependency-name: nbsphinx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump sympy from 1.10.1 to 1.12 (#363)

Bumps [sympy](https://github.com/sympy/sympy) from 1.10.1 to 1.12.
- [Release notes](https://github.com/sympy/sympy/releases)
- [Commits](https://github.com/sympy/sympy/compare/sympy-1.10.1...sympy-1.12)

---
updated-dependencies:
- dependency-name: sympy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump certifi from 2023.7.22 to 2023.11.17 (#364)

Bumps [certifi](https://github.com/certifi/python-certifi) from 2023.7.22 to 2023.11.17.
- [Commits](https://github.com/certifi/python-certifi/compare/2023.07.22...2023.11.17)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump psutil from 5.9.4 to 5.9.6 (#365)

Bumps [psutil](https://github.com/giampaolo/psutil) from 5.9.4 to 5.9.6.
- [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst)
- [Commits](https://github.com/giampaolo/psutil/compare/release-5.9.4...release-5.9.6)

---
updated-dependencies:
- dependency-name: psutil
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump qiskit-terra from 0.23.3 to 0.45.1 (#366)

Bumps [qiskit-terra](https://github.com/Qiskit/qiskit) from 0.23.3 to 0.45.1.
- [Release notes](https://github.com/Qiskit/qiskit/releases)
- [Changelog](https://github.com/Qiskit/qiskit/blob/main/docs/release_notes.rst)
- [Commits](https://github.com/Qiskit/qiskit/compare/0.23.3...0.45.1)

---
updated-dependencies:
- dependency-name: qiskit-terra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Update ibm_tutorial image (#373)

* Update ibm_tutorial image

* Update images for other tutorials as well

Bump cython from 0.29.28 to 3.0.7 (#374)

* Bump cython from 0.29.28 to 3.0.7

Bumps [cython](https://github.com/cython/cython) from 0.29.28 to 3.0.7.
- [Release notes](https://github.com/cython/cython/releases)
- [Changelog](https://github.com/cython/cython/blob/master/CHANGES.rst)
- [Commits](https://github.com/cython/cython/compare/0.29.28...3.0.7)

---
updated-dependencies:
- dependency-name: cython
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump pybind11 from 2.9.2 to 2.11.1 (#368)

Bumps [pybind11](https://github.com/pybind/pybind11) from 2.9.2 to 2.11.1.
- [Release notes](https://github.com/pybind/pybind11/releases)
- [Changelog](https://github.com/pybind/pybind11/blob/master/docs/changelog.rst)
- [Commits](https://github.com/pybind/pybind11/compare/v2.9.2...v2.11.1)

---
updated-dependencies:
- dependency-name: pybind11
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump symengine from 0.9.2 to 0.11.0 (#369)

Bumps [symengine](https://github.com/symengine/symengine.py) from 0.9.2 to 0.11.0.
- [Release notes](https://github.com/symengine/symengine.py/releases)
- [Commits](https://github.com/symengine/symengine.py/compare/v0.9.2...v0.11.0)

---
updated-dependencies:
- dependency-name: symengine
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump psutil from 5.9.6 to 5.9.7 (#370)

Bumps [psutil](https://github.com/giampaolo/psutil) from 5.9.6 to 5.9.7.
- [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst)
- [Commits](https://github.com/giampaolo/psutil/compare/release-5.9.6...release-5.9.7)

---
updated-dependencies:
- dependency-name: psutil
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump pbr from 5.8.1 to 6.0.0 (#372)

Bumps [pbr](https://docs.openstack.org/pbr/latest/) from 5.8.1 to 6.0.0.

---
updated-dependencies:
- dependency-name: pbr
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Version Bump (#380)

* pre release version bump

* trigger ci

* tidy changelog

---------

Co-authored-by: lillian542 <[email protected]>
Co-authored-by: lillian542 <[email protected]>

Bump qiskit-ibm-provider from 0.7.2 to 0.7.3 (#383)

* Bump qiskit-ibm-provider from 0.7.2 to 0.7.3

Bumps [qiskit-ibm-provider](https://github.com/Qiskit/qiskit-ibm-provider) from 0.7.2 to 0.7.3.
- [Release notes](https://github.com/Qiskit/qiskit-ibm-provider/releases)
- [Changelog](https://github.com/Qiskit/qiskit-ibm-provider/blob/main/docs/release_notes.rst)
- [Commits](https://github.com/Qiskit/qiskit-ibm-provider/compare/0.7.2...0.7.3)

---
updated-dependencies:
- dependency-name: qiskit-ibm-provider
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump autograd from 1.4 to 1.6.2 (#381)

Bumps [autograd](https://github.com/HIPS/autograd) from 1.4 to 1.6.2.
- [Release notes](https://github.com/HIPS/autograd/releases)
- [Commits](https://github.com/HIPS/autograd/commits)

---
updated-dependencies:
- dependency-name: autograd
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ipykernel from 6.22.0 to 6.28.0 (#382)

Bumps [ipykernel](https://github.com/ipython/ipykernel) from 6.22.0 to 6.28.0.
- [Release notes](https://github.com/ipython/ipykernel/releases)
- [Changelog](https://github.com/ipython/ipykernel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ipython/ipykernel/compare/v6.22.0...v6.28.0)

---
updated-dependencies:
- dependency-name: ipykernel
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump charset-normalizer from 3.1.0 to 3.3.2 (#384)

Bumps [charset-normalizer](https://github.com/Ousret/charset_normalizer) from 3.1.0 to 3.3.2.
- [Release notes](https://github.com/Ousret/charset_normalizer/releases)
- [Changelog](https://github.com/Ousret/charset_normalizer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Ousret/charset_normalizer/compare/3.1.0...3.3.2)

---
updated-dependencies:
- dependency-name: charset-normalizer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Version Bump (#389)

* post release version bump

* trigger ci

* add pytest-benchmark to test workflow

* also for integration tests

* adding pytest_benchmark the correct place

---------

Co-authored-by: lillian542 <[email protected]>
Co-authored-by: lillian542 <[email protected]>

Bump pennylane from 0.30.0 to 0.34 (#379)

* Bump pennylane from 0.30.0 to 0.33.1

Bumps [pennylane](https://github.com/PennyLaneAI/pennylane) from 0.30.0 to 0.33.1.
- [Release notes](https://github.com/PennyLaneAI/pennylane/releases)
- [Commits](https://github.com/PennyLaneAI/pennylane/compare/v0.30.0...v0.33.1)

---
updated-dependencies:
- dependency-name: pennylane
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump idna from 3.3 to 3.6 (#375)

Bumps [idna](https://github.com/kjd/idna) from 3.3 to 3.6.
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.rst)
- [Commits](https://github.com/kjd/idna/compare/v3.3...v3.6)

---
updated-dependencies:
- dependency-name: idna
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump docutils from 0.19 to 0.20.1 (#376)

Bumps [docutils](https://docutils.sourceforge.io/) from 0.19 to 0.20.1.

---
updated-dependencies:
- dependency-name: docutils
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ipykernel from 6.22.0 to 6.28.0 (#377)

Bumps [ipykernel](https://github.com/ipython/ipykernel) from 6.22.0 to 6.28.0.
- [Release notes](https://github.com/ipython/ipykernel/releases)
- [Changelog](https://github.com/ipython/ipykernel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ipython/ipykernel/compare/v6.22.0...v6.28.0)

---
updated-dependencies:
- dependency-name: ipykernel
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lillian542 <[email protected]>

* Bump urllib3 from 2.0.7 to 2.1.0 (#378)

Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.0.7 to 2.1.0.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.0.7...2.1.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* bump PennyLane and PennyLane-Lightning to 0.34 in requirements.txt

Co-authored-by: Christina Lee <[email protected]>

* Update doc/requirements.txt

* trigger ci

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lillian542 <[email protected]>
Co-authored-by: Christina Lee <[email protected]>
Co-authored-by: lillian542 <[email protected]>

remove support for Adjoint so it decomposes (#397)

* remove support for Adjoint so it decomposes

* add test

* simplify _operation_map creation

* add missing comma

Bump qiskit from 0.44.1 to 0.46.0 (#400)

* Bump qiskit from 0.44.1 to 0.45.3

Bumps [qiskit](https://github.com/Qiskit/qiskit) from 0.44.1 to 0.45.3.
- [Release notes](https://github.com/Qiskit/qiskit/releases)
- [Changelog](https://github.com/Qiskit/qiskit/blob/main/docs/release_notes.rst)
- [Commits](https://github.com/Qiskit/qiskit/commits/0.45.3)

---
updated-dependencies:
- dependency-name: qiskit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Try bumping to 0.46 instead of 0.45.3

* update Aer to more recent Provider

* this should work

* black formatting

* remove test that just tests qiskit warning anyway

* mark tests counting warnings as xfail

* black formatting

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lillian542 <[email protected]>
Co-authored-by: lillian542 <[email protected]>

Bump qiskit-aer from 0.12.0 to 0.13.2 (#394)

Bumps [qiskit-aer](https://github.com/Qiskit/qiskit-aer) from 0.12.0 to 0.13.2.
- [Release notes](https://github.com/Qiskit/qiskit-aer/releases)
- [Commits](https://github.com/Qiskit/qiskit-aer/compare/0.12.0...0.13.2)

---
updated-dependencies:
- dependency-name: qiskit-aer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Bump cryptography from 41.0.7 to 42.0.2 (#404)

* Bump cryptography from 41.0.7 to 42.0.2

Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.7 to 42.0.2.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/41.0.7...42.0.2)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump jinja2 from 3.0.3 to 3.1.3 in /doc (#391)

Bumps [jinja2](https://github.com/pallets/jinja) from 3.0.3 to 3.1.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.0.3...3.1.3)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump cython from 3.0.7 to 3.0.8 (#395)

Bumps [cython](https://github.com/cython/cython) from 3.0.7 to 3.0.8.
- [Release notes](https://github.com/cython/cython/releases)
- [Changelog](https://github.com/cython/cython/blob/master/CHANGES.rst)
- [Commits](https://github.com/cython/cython/compare/3.0.7...3.0.8)

---
updated-dependencies:
- dependency-name: cython
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lillian542 <[email protected]>

* Bump stevedore from 5.0.0 to 5.1.0 (#403)

Bumps [stevedore](https://docs.openstack.org/stevedore/latest/) from 5.0.0 to 5.1.0.

---
updated-dependencies:
- dependency-name: stevedore
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lillian542 <[email protected]>

Revert changes for 0.46 and pin to <0.46 (#407)

* Revert "Bump qiskit from 0.44.1 to 0.46.0 (#400)"

This reverts commit 505ebd7a548d1a260da1669ac7b53d668e6556dd.

* pin to less than 0.46

* black formatting

Bump networkx from 3.1 to 3.2.1 (#410)

* Bump networkx from 3.1 to 3.2.1

Bumps [networkx](https://github.com/networkx/networkx) from 3.1 to 3.2.1.
- [Release notes](https://github.com/networkx/networkx/releases)
- [Commits](https://github.com/networkx/networkx/compare/networkx-3.1...networkx-3.2.1)

---
updated-dependencies:
- dependency-name: networkx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump autoray from 0.3.2 to 0.6.7 (#387)

* Bump autoray from 0.3.2 to 0.6.7

Bumps [autoray](https://github.com/jcmgray/autoray) from 0.3.2 to 0.6.7.
- [Release notes](https://github.com/jcmgray/autoray/releases)
- [Commits](https://github.com/jcmgray/autoray/compare/0.3.2...v0.6.7)

---
updated-dependencies:
- dependency-name: autoray
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump networkx from 3.1 to 3.2.1 (#386)

Bumps [networkx](https://github.com/networkx/networkx) from 3.1 to 3.2.1.
- [Release notes](https://github.com/networkx/networkx/releases)
- [Commits](https://github.com/networkx/networkx/compare/networkx-3.1...networkx-3.2.1)

---
updated-dependencies:
- dependency-name: networkx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump urllib3 from 2.0.7 to 2.1.0 (#385)

Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.0.7 to 2.1.0.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.0.7...2.1.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* black formatting

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lillian542 <[email protected]>
Co-authored-by: Christina Lee <[email protected]>
Co-authored-by: lillian542 <[email protected]>

* Bump sphinxcontrib-bibtex from 2.5.0 to 2.6.2 (#390)

* Bump sphinxcontrib-bibtex from 2.5.0 to 2.6.2

Bumps [sphinxcontrib-bibtex](https://github.com/mcmtroffaes/sphinxcontrib-bibtex) from 2.5.0 to 2.6.2.
- [Changelog](https://github.com/mcmtroffaes/sphinxcontrib-bibtex/blob/develop/CHANGELOG.rst)
- [Commits](https://github.com/mcmtroffaes/sphinxcontrib-bibtex/compare/2.5.0...2.6.2)

---
updated-dependencies:
- dependency-name: sphinxcontrib-bibtex
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* black formatting:

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christina Lee <[email protected]>
Co-authored-by: lillian542 <[email protected]>

* Bump numpy from 1.22.3 to 1.26.4 (#408)

Bumps [numpy](https://github.com/numpy/numpy) from 1.22.3 to 1.26.4.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](https://github.com/numpy/numpy/compare/v1.22.3...v1.26.4)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump qiskit-aer from 0.13.2 to 0.13.3 (#409)

Bumps [qiskit-aer](https://github.com/Qiskit/qiskit-aer) from 0.13.2 to 0.13.3.
- [Release notes](https://github.com/Qiskit/qiskit-aer/releases)
- [Commits](https://github.com/Qiskit/qiskit-aer/compare/0.13.2...0.13.3)

---
updated-dependencies:
- dependency-name: qiskit-aer
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lillian542 <[email protected]>
Co-authored-by: Christina Lee <[email protected]>
Co-authored-by: lillian542 <[email protected]>

Support for measurements operations (#405)

* init support

* happy `black`

* happy `codefactor`

* fix fails

* remove extra gates

* apply suggestions

* fix missing coverage?

* remove distinction b/w mid-circ and terminal meas

* revert distinction

* add `changelog` and suggestion

---------

Co-authored-by: Christina Lee <[email protected]>

New UI for passing Parameter values (#406)

* initial implementation

* add quantum_circuit arg to _format_params_dict

* docstrings and error messages

* tests

* black formatting

* remove print statements

* add tests for errors raised

* add errors akin to standard TypeErrors for incorrect input

* remove the 'not bound correctly' error in favor of the new errors

* jk, keep check as backup

* clearer error if no params are passed and fix up tests

* update error message

* Apply suggestions from code review

Co-authored-by: Utkarsh <[email protected]>

* apply code review suggestions

* update tests

* fix mistake from fixing merge conflict

* update changelog

* add test for missing arg warning with old UI

* update documentation

* black formatting

* more formatting

* update error messages

* update template_not_supported test with params

* Apply suggestions from code review

Co-authored-by: Utkarsh <[email protected]>

* Apply suggestions from code review

Co-authored-by: Thomas R. Bromley <[email protected]>
Co-authored-by: Christina Lee <[email protected]>

* rename trainable_params to unbound_params

* reorganize logic to reduce indentation

* pylint

---------

Co-authored-by: Utkarsh <[email protected]>
Co-authored-by: Thomas R. Bromley <[email protected]>
Co-authored-by: Christina Lee <[email protected]>

Bump certifi from 2023.11.17 to 2024.2.2 (#421)

* Bump certifi from 2023.11.17 to 2024.2.2

Bumps [certifi](https://github.com/certifi/python-certifi) from 2023.11.17 to 2024.2.2.
- [Commits](https://github.com/certifi/python-certifi/compare/2023.11.17...2024.02.02)

---
updated-dependencies:
- dependency-name: certifi
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump qiskit-ibm-provider from 0.7.3 to 0.9.0 (#419)

Bumps [qiskit-ibm-provider](https://github.com/Qiskit/qiskit-ibm-provider) from 0.7.3 to 0.9.0.
- [Release notes](https://github.com/Qiskit/qiskit-ibm-provider/releases)
- [Changelog](https://github.com/Qiskit/qiskit-ibm-provider/blob/main/docs/release_notes.rst)
- [Commits](https://github.com/Qiskit/qiskit-ibm-provider/compare/0.7.3...0.9.0)

---
updated-dependencies:
- dependency-name: qiskit-ibm-provider
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump sphinx-automodapi from 0.14.1 to 0.16.0 (#420)

Bumps [sphinx-automodapi](https://github.com/astropy/sphinx-automodapi) from 0.14.1 to 0.16.0.
- [Release notes](https://github.com/astropy/sphinx-automodapi/releases)
- [Changelog](https://github.com/astropy/sphinx-automodapi/blob/main/CHANGES.rst)
- [Commits](https://github.com/astropy/sphinx-automodapi/compare/v0.14.1...v0.16.0)

---
updated-dependencies:
- dependency-name: sphinx-automodapi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump orjson from 3.6.8 to 3.9.14 (#422)

Bumps [orjson](https://github.com/ijl/orjson) from 3.6.8 to 3.9.14.
- [Release notes](https://github.com/ijl/orjson/releases)
- [Changelog](https://github.com/ijl/orjson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ijl/orjson/compare/3.6.8...3.9.14)

---
updated-dependencies:
- dependency-name: orjson
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump retworkx from 0.11.0 to 0.14.0 (#416)

* Bump retworkx from 0.11.0 to 0.14.0

Bumps [retworkx](https://github.com/Qiskit/rustworkx) from 0.11.0 to 0.14.0.
- [Release notes](https://github.com/Qiskit/rustworkx/releases)
- [Commits](https://github.com/Qiskit/rustworkx/compare/0.11.0...0.14.0)

---
updated-dependencies:
- dependency-name: retworkx
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump cffi from 1.15.1 to 1.16.0 (#415)

Bumps [cffi](https://github.com/python-cffi/cffi) from 1.15.1 to 1.16.0.
- [Release notes](https://github.com/python-cffi/cffi/releases)
- [Commits](https://github.com/python-cffi/cffi/compare/v1.15.1...v1.16.0)

---
updated-dependencies:
- dependency-name: cffi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump dill from 0.3.6 to 0.3.8 (#412)

Bumps [dill](https://github.com/uqfoundation/dill) from 0.3.6 to 0.3.8.
- [Release notes](https://github.com/uqfoundation/dill/releases)
- [Commits](https://github.com/uqfoundation/dill/compare/dill-0.3.6...0.3.8)

---
updated-dependencies:
- dependency-name: dill
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump orjson from 3.6.8 to 3.9.13 (#413)

Bumps [orjson](https://github.com/ijl/orjson) from 3.6.8 to 3.9.13.
- [Release notes](https://github.com/ijl/orjson/releases)
- [Changelog](https://github.com/ijl/orjson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ijl/orjson/compare/3.6.8...3.9.13)

---
updated-dependencies:
- dependency-name: orjson
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump qiskit-terra from 0.45.1 to 0.46.0 (#414)

Bumps [qiskit-terra](https://github.com/Qiskit/qiskit) from 0.45.1 to 0.46.0.
- [Release notes](https://github.com/Qiskit/qiskit/releases)
- [Changelog](https://github.com/Qiskit/qiskit/blob/main/docs/release_notes.rst)
- [Commits](https://github.com/Qiskit/qiskit/compare/0.45.1...0.46.0)

---
updated-dependencies:
- dependency-name: qiskit-terra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lillian542 <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lillian542 <[email protected]>

pin qiskit to less than 1.0 (#430)

Param vector support (#418)

* initial implementation

* add quantum_circuit arg to _format_params_dict

* docstrings and error messages

* tests

* black formatting

* remove print statements

* add tests for errors raised

* add errors akin to standard TypeErrors for incorrect input

* remove the 'not bound correctly' error in favor of the new errors

* jk, keep check as backup

* clearer error if no params are passed and fix up tests

* update error message

* get working with assing_params fn (old UI only)

* Apply suggestions from code review

Co-authored-by: Utkarsh <[email protected]>

* apply code review suggestions

* update tests

* fix mistake from fixing merge conflict

* update changelog

* add test for missing arg warning with old UI

* update documentation

* black formatting

* more formatting

* update error messages

* update template_not_supported test with params

* Apply suggestions from code review

Co-authored-by: Utkarsh <[email protected]>

* reorganize for ParameterVector

* update tests

* Apply suggestions from code review

Co-authored-by: Thomas R. Bromley <[email protected]>
Co-authored-by: Christina Lee <[email protected]>

* rename trainable_params to unbound_params

* reorganize logic to reduce indentation

* pylint

* black formatting

* move tests

* reorganize

* clean up

* put barrier change back

* apply suggestion from code review

* small tweak

---------

Co-authored-by: Utkarsh <[email protected]>
Co-authored-by: Thomas R. Bromley <[email protected]>
Co-authored-by: Christina Lee <[email protected]>

Add referral to forum in error messages (#428)

* add referral to forum in error messages

* add spacing

* fix spelling mistake

* update changelog

* Update pennylane_qiskit/converter.py

Co-authored-by: Utkarsh <[email protected]>

* black formatting

* formatting

---------

Co-authored-by: Utkarsh <[email protected]>

Add test for direct QNode UI (#429)

* add test

* pin qiskit version for integration tests

* use load instead

Qiskit 1.0 compatibility for 0.35 (#431)

* unpin in setup.py

* extensions module is removed

* remove extensions module from converter tests

* device raises error if qiskit>=0.46

* try to add workflow that tests conversion vs 1.0

* update workflow name

* normal tests pin to 0.45.3 instead of 0.46

* formatting

* mock for codecov

* Apply suggestions from code review

Co-authored-by: Thomas R. Bromley <[email protected]>

* use Version

* test error on all devices

* black formatting

* remove call to remote service

* fix codefactor import order complaint

* just remove the devices from the test

* remove tokens from 1.0 test

* update install instructions

* fix mistake

* Update README.rst

Co-authored-by: Thomas R. Bromley <[email protected]>

---------

Co-authored-by: Thomas R. Bromley <[email protected]>
Co-authored-by: Utkarsh <[email protected]>

Bump autoray from 0.6.7 to 0.6.8 (#434)

* Bump autoray from 0.6.7 to 0.6.8

Bumps [autoray](https://github.com/jcmgray/autoray) from 0.6.7 to 0.6.8.
- [Release notes](https://github.com/jcmgray/autoray/releases)
- [Commits](https://github.com/jcmgray/autoray/compare/v0.6.7...v0.6.8)

---
updated-dependencies:
- dependency-name: autoray
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump psutil from 5.9.7 to 5.9.8 (#433)

Bumps [psutil](https://github.com/giampaolo/psutil) from 5.9.7 to 5.9.8.
- [Changelog](https://github.com/giampaolo/psutil/blob/master/HISTORY.rst)
- [Commits](https://github.com/giampaolo/psutil/compare/release-5.9.7...release-5.9.8)

---
updated-dependencies:
- dependency-name: psutil
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump qiskit-ibm-runtime from 0.17.0 to 0.19.1 (#435)

Bumps [qiskit-ibm-runtime](https://github.com/Qiskit/qiskit-ibm-runtime) from 0.17.0 to 0.19.1.
- [Release notes](https://github.com/Qiskit/qiskit-ibm-runtime/releases)
- [Commits](https://github.com/Qiskit/qiskit-ibm-runtime/compare/0.17.0...0.19.1)

---
updated-dependencies:
- dependency-name: qiskit-ibm-runtime
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump urllib3 from 2.1.0 to 2.2.1 (#437)

Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.1.0 to 2.2.1.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.1.0...2.2.1)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump cryptography from 42.0.2 to 42.0.3 (#438)

Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.2 to 42.0.3.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.2...42.0.3)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump urllib3 from 2.1.0 to 2.2.1 (#439)

Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.1.0 to 2.2.1.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.1.0...2.2.1)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump scipy from 1.10.1 to 1.12.0 (#440)

Bumps [scipy](https://github.com/scipy/scipy) from 1.10.1 to 1.12.0.
- [Release notes](https://github.com/scipy/scipy/releases)
- [Commits](https://github.com/scipy/scipy/compare/v1.10.1...v1.12.0)

---
updated-dependencies:
- dependency-name: scipy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ipykernel from 6.28.0 to 6.29.2 (#423)

Bumps [ipykernel](https://github.com/ipython/ipykernel) from 6.28.0 to 6.29.2.
- [Release notes](https://github.com/ipython/ipykernel/releases)
- [Changelog](https://github.com/ipython/ipykernel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ipython/ipykernel/compare/v6.28.0...v6.29.2)

---
updated-dependencies:
- dependency-name: ipykernel
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lillian542 <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lillian542 <[email protected]>

Improve mid-circuit measurement conversion abilities (#417)

* add support for conditional ops

* happy `codefactor`

* add logic for `IfElseOp`

* add support of `SwitchCaseOp`

* happy `codefactor`

* fix `control_values`

* minor tweaks

* codefactor?

* codefactor?

* `changelog`

* minor tweaks

* address comments

* minor tweaks

* readying master merging

* apply suggestions

* happy `black`

* minor tweak

* happy `black`

* address comments

* fix tests?

* minor tweak

Bump cachetools from 5.0.0 to 5.3.2 (#446)

* Bump cachetools from 5.0.0 to 5.3.2

Bumps [cachetools](https://github.com/tkem/cachetools) from 5.0.0 to 5.3.2.
- [Changelog](https://github.com/tkem/cachetools/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/tkem/cachetools/compare/v5.0.0...v5.3.2)

---
updated-dependencies:
- dependency-name: cachetools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump cryptography from 42.0.3 to 42.0.4 (#447)

Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.3 to 42.0.4.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.3...42.0.4)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump future from 0.18.3 to 1.0.0 (#445)

Bumps [future](https://github.com/PythonCharmers/python-future) from 0.18.3 to 1.0.0.
- [Release notes](https://github.com/PythonCharmers/python-future/releases)
- [Changelog](https://github.com/PythonCharmers/python-future/blob/master/docs/changelog.rst)
- [Commits](https://github.com/PythonCharmers/python-future/compare/v0.18.3...v1.0.0)

---
updated-dependencies:
- dependency-name: future
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump qiskit-ibm-runtime from 0.19.1 to 0.20.0 (#444)

Bumps [qiskit-ibm-runtime](https://github.com/Qiskit/qiskit-ibm-runtime) from 0.19.1 to 0.20.0.
- [Release notes](https://github.com/Qiskit/qiskit-ibm-runtime/releases)
- [Commits](https://github.com/Qiskit/qiskit-ibm-runtime/compare/0.19.1...0.20.0)

---
updated-dependencies:
- dependency-name: qiskit-ibm-runtime
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump qiskit-ibm-provider from 0.9.0 to 0.10.0 (#443)

Bumps [qiskit-ibm-provider](https://github.com/Qiskit/qiskit-ibm-provider) from 0.9.0 to 0.10.0.
- [Release notes](https://github.com/Qiskit/qiskit-ibm-provider/releases)
- [Changelog](https://github.com/Qiskit/qiskit-ibm-provider/blob/main/docs/release_notes.rst)
- [Commits](https://github.com/Qiskit/qiskit-ibm-provider/compare/0.9.0...0.10.0)

---
updated-dependencies:
- dependency-name: qiskit-ibm-provider
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lillian542 <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lillian542 <[email protected]>

Add the Missing Gates for Conversion (#449)

* add more gates

* fix tests?

* get more info?

* fix integration tests

* fix missing coverage

* add `changelog`

* add test

Add support for `expr` expressions and related warning (#432)

* add support for conditional ops

* happy `codefactor`

* add logic for `IfElseOp`

* add support of `SwitchCaseOp`

* happy `codefactor`

* fix `control_values`

* minor tweaks

* codefactor?

* codefactor?

* `changelog`

* minor tweaks

* address comments

* skeletons for expr evaluation

* add `_process_condition` method

* `black`

* add `_expr_evaluation` method

* minor tweaks

* minor tweaks

* decomplexify `_expr_evaluation`

* decomplifxy `_process_condition`

* Add changelog

* add comments

* minor tweaks

* readying master merging

* minor tweak for `SwitchOp`'s `default_case`

* add `newlines`

* apply suggestions

* happy `black`

* improve `warning` readability

* fix missing `inst`?

* add `docs` for readability

* tiny tweaks

Add SparsePauliOp converter (#401)

* save draft of SparsePauliOp conversion

* Add docstring to `convert_sparse_pauli_op_to_pl()`

* Add tests for `convert_sparse_pauli_op_to_pl()`

* Synchronize `qiskit` and `qiskit-terra` requirements

* Remove unused requirement `tweedledum`

* Add `wires` argument to `convert_sparse_pauli_op_to_pl()`

* Swap order of `params` and `wires` arguments

* Pass `coeffs` by keyword argument in docstring example

Co-authored-by: lillian542 <[email protected]>

* Pass `params` by keyword argument in example

Co-authored-by: lillian542 <[email protected]>

* Add comment about wire ordering to Qiskit term `for` loop

Co-authored-by: lillian542 <[email protected]>

* Rename function to `convert_sparse_pauli_op()`

* Reword note according to PR suggestion

* Add 'Usage Details' section to docstring

* Rename function to `load_pauli_op()`

* Rename `sparse_op` to `pauli_op`

* Fix import ordering

* Use output from latest version of PennyLane

* Add missing comma to docstring note

* Replace 'Converts' with 'Loads' in docstring

---------

Co-authored-by: Mikhail Andrenkov <[email protected]>

Ignore unused parameters on `load()` (#454)

* Disable strict parameter assignment for `QuantumCircuit`s

* Update tests to reflect new parameter behaviour

* Ensure `qiskit-terra` version is consistent with `qiskit`

* Add note to changelog

Add PennyLane IO entry point for loading Qiskit operators (#453)

* Add PennyLane entry point for loading Qiskit operators

* Add `SparsePauliOp` notes to changelog

* Add missing check for `pauli_op` type

* Synchronize docstrings between PennyLane and plugin

Add support for differentiable parameter vectors (#458)

* Allow parameter vectors to be differentiable

* Fix unintended `if` statement fall-through

* Add note to changelog

* Add missing tests for `_check_parameter_bound()`

* Add tests for parameter vector gradients

* Add missing edge case to parameter expression test

* Update note in changelog

* Replace "take" with "compute" in changelog

Co-authored-by: Utkarsh <[email protected]>

---------

Co-authored-by: Utkarsh <[email protected]>

Support loading Qiskit circuits with a single measurement (#466)

* Add support for loading templates with single measurement

* Adjust docstring of `load()` function

* Add PR reference to changelog

* Refactor to reduce indentation

* Adjust docstring type hint for consistency

* Remove trailing period from docstring argument description

Supporting disguised mid-circuit measurements (#465)

* fix for disguised measurements

* minor tweak

* `changelog` entry

* minor tweak

* use `&` operator

Gracefully handle batch execution of no circuits (#459)

* Gracefully handle batch execution of empty circuit list

* Add note to 'Bug Fixes' section in changelog

* Replace double backticks with single backtick in changelog

Add condition for treating all measurements as equal (#467)

* add `condition`

* fix `test`

* add `changelog`

Cleaned docs (#468)

Bump cryptography from 42.0.4 to 42.0.5 (#460)

* Bump cryptography from 42.0.4 to 42.0.5

Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.4 to 42.0.5.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.4...42.0.5)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump ninja from 1.11.1 to 1.11.1.1 (#452)

* Bump ninja from 1.11.1 to 1.11.1.1

Bumps [ninja](https://github.com/ninja-build/ninja) from 1.11.1 to 1.11.1.1.
- [Release notes](https://github.com/ninja-build/ninja/releases)
- [Commits](https://github.com/ninja-build/ninja/commits)

---
updated-dependencies:
- dependency-name: ninja
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump sphinx-automodapi from 0.16.0 to 0.17.0 (#450)

Bumps [sphinx-automodapi](https://github.com/astropy/sphinx-automodapi) from 0.16.0 to 0.17.0.
- [Release notes](https://github.com/astropy/sphinx-automodapi/releases)
- [Changelog](https://github.com/astropy/sphinx-automodapi/blob/main/CHANGES.rst)
- [Commits](https://github.com/astropy/sphinx-automodapi/compare/v0.16.0...v0.17.0)

---
updated-dependencies:
- dependency-name: sphinx-automodapi
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump retworkx from 0.14.0 to 0.14.1 (#456)

Bumps [retworkx](https://github.com/Qiskit/rustworkx) from 0.14.0 to 0.14.1.
- [Release notes](https://github.com/Qiskit/rustworkx/releases)
- [Commits](https://github.com/Qiskit/rustworkx/compare/0.14.0...0.14.1)

---
updated-dependencies:
- dependency-name: retworkx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump stevedore from 5.1.0 to 5.2.0 (#457)

Bumps [stevedore](https://docs.openstack.org/stevedore/latest/) from 5.1.0 to 5.2.0.

---
updated-dependencies:
- dependency-name: stevedore
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lillian542 <[email protected]>

* Bump retworkx from 0.14.0 to 0.14.1 (#461)

Bumps [retworkx](https://github.com/Qiskit/rustworkx) from 0.14.0 to 0.14.1.
- [Release notes](https://github.com/Qiskit/rustworkx/releases)
- [Commits](https://github.com/Qiskit/rustworkx/compare/0.14.0...0.14.1)

---
updated-dependencies:
- dependency-name: retworkx
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump stevedore from 5.1.0 to 5.2.0 (#463)

Bumps [stevedore](https://docs.openstack.org/stevedore/latest/) from 5.1.0 to 5.2.0.

---
updated-dependencies:
- dependency-name: stevedore
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump orjson from 3.9.14 to 3.9.15 (#464)

* Add support for differentiable parameter vectors (#458)

* Allow parameter vectors to be differentiable

* Fix unintended `if` statement fall-through

* Add note to changelog

* Add missing tests for `_check_parameter_bound()`

* Add tests for parameter vector gradients

* Add missing edge case to parameter expression test

* Update note in changelog

* Replace "take" with "compute" in changelog

Co-authored-by: Utkarsh <[email protected]>

---------

Co-authored-by: Utkarsh <[email protected]>

* Bump orjson from 3.9.14 to 3.9.15

Bumps [orjson](https://github.com/ijl/orjson) from 3.9.14 to 3.9.15.
- [Release notes](https://github.com/ijl/orjson/releases)
- [Changelog](https://github.com/ijl/orjson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ijl/orjson/compare/3.9.14...3.9.15)

---
updated-dependencies:
- dependency-name: orjson
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Mikhail Andrenkov <[email protected]>
Co-authored-by: Utkarsh <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump qiskit-terra from 0.45.3 to 0.46.0 (#462)

Bumps [qiskit-terra](https://github.com/Qiskit/qiskit) from 0.45.3 to 0.46.0.
- [Release notes](https://github.com/Qiskit/qiskit/releases)
- [Changelog](https://github.com/Qiskit/qiskit/blob/main/docs/release_notes.rst)
- [Commits](https://github.com/Qiskit/qiskit/compare/0.45.3...0.46.0)

---
updated-dependencies:
- dependency-name: qiskit-terra
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: lillian542 <[email protected]>
Co-authored-by: Mikhail Andrenkov <[email protected]>
Co-authored-by: Utkarsh <[email protected]>

Passing an empty list [] of measurements overrides terminal measurements (#469)

* treat an empty list as no measurements

* update tagline

Bump cachetools from 5.3.2 to 5.3.3 (#471)

Bumps [cachetools](https://github.com/tkem/cachetools) from 5.3.2 to 5.3.3.
- [Changelog](https://github.com/tkem/cachetools/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/tkem/cachetools/compare/v5.3.2...v5.3.3)

---
updated-dependencies:
- dependency-name: cachetools…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants