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

Remove leftover algorithm/opflow utils #11324

Merged
merged 4 commits into from
Nov 28, 2023

Conversation

ElePT
Copy link
Contributor

@ElePT ElePT commented Nov 27, 2023

Summary

This PR removed the utils deprecated in #11323 .

Details and comments

Instead of adding a separate release note, I decided to edit the original algorithm utils removal one, as these should have been removed together in the first place, and I think it's less confusing to have all utils listed together instead of in two separate entries.

@ElePT ElePT requested review from woodsp-ibm and a team as code owners November 27, 2023 13:10
@qiskit-bot
Copy link
Collaborator

One or more of the the following people are requested to review this:

  • @Qiskit/terra-core

@ElePT ElePT added the Changelog: Removal Include in the Removed section of the changelog label Nov 27, 2023
@ElePT ElePT added this to the 1.0.0 milestone Nov 27, 2023
@coveralls
Copy link

coveralls commented Nov 27, 2023

Pull Request Test Coverage Report for Build 7016704061

Warning: This coverage report may be inaccurate.

We've detected an issue with your CI configuration that might affect the accuracy of this pull request's coverage report.
To ensure accuracy in future PRs, please see these guidelines.
A quick fix for this PR: rebase it; your next report should be accurate.

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 16 unchanged lines in 3 files lost coverage.
  • Overall coverage increased (+0.2%) to 87.245%

Files with Coverage Reduction New Missed Lines %
qiskit/circuit/instruction.py 2 94.83%
crates/qasm2/src/parse.rs 6 97.6%
crates/qasm2/src/lex.rs 8 90.91%
Totals Coverage Status
Change from base Build 7004497279: 0.2%
Covered Lines: 60775
Relevant Lines: 69660

💛 - Coveralls

Copy link
Member

@jakelishman jakelishman left a comment

Choose a reason for hiding this comment

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

I wouldn't profess to know everything that Aqua brought in, but these removals look fine to me and seem to match with #11323.

Comment on lines 6 to 18
* Utils in ``qiskit.utils.arithmetic.py``
* Utils in ``qiskit.utils.circuit_utils.py``
* Utils in ``qiskit.utils.entangler_map.py``
* Utils in ``qiskit.utils.name_unnamed_args.py``

These functions were used exclusively in the context of ``qiskit.algorithms`` and
``qiskit.opflow``, and were deprecated in Qiskit 0.46, following the deprecations of
``qiskit.algorithms`` and ``qiskit.opflow`` in Qiskit 0.45 and Qiskit Terra 0.24
respectively.

The following utilities have also been removed:

* Utils in ``qiskit.utils.validation.py``
Copy link
Member

Choose a reason for hiding this comment

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

These references are a slightly weird mix of package syntax and filename syntax. I think dropping the .py is what's meant?

@jakelishman jakelishman added this pull request to the merge queue Nov 28, 2023
Merged via the queue into Qiskit:main with commit 7f809a9 Nov 28, 2023
14 checks passed
mtreinish added a commit to mtreinish/qiskit-core that referenced this pull request Dec 3, 2023
With the removal of algorithms and opflow in Qiskit#11324, Qiskit#11111, and Qiskit#11086
several optional test dependencies are no longer used in the code base.
This commit removes them from requirements-optional.txt as several have
compatibility issues with Python 3.12 and are causing failures in the
nightly builds. Since they're no longer used we shouldn't bother
installing them anymore.
mtreinish added a commit to mtreinish/qiskit-core that referenced this pull request Dec 3, 2023
With the removal of algorithms and opflow in Qiskit#11324, Qiskit#11111, and Qiskit#11086
along with the removal of the BIPMapping transpiler pass in Qiskit#10526
several optional test dependencies are no longer used in the code base.
This commit removes them from requirements-optional.txt as several have
compatibility issues with Python 3.12 and are causing failures in the
nightly builds. Since they're no longer used we shouldn't bother
installing them anymore.
github-merge-queue bot pushed a commit that referenced this pull request Dec 3, 2023
With the removal of algorithms and opflow in #11324, #11111, and #11086
along with the removal of the BIPMapping transpiler pass in #10526
several optional test dependencies are no longer used in the code base.
This commit removes them from requirements-optional.txt as several have
compatibility issues with Python 3.12 and are causing failures in the
nightly builds. Since they're no longer used we shouldn't bother
installing them anymore.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: Removal Include in the Removed section of the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants