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

Deprecate EchoRZXWeylDecomposition (Pulse) #13366

Merged
merged 2 commits into from
Oct 29, 2024
Merged

Conversation

ElePT
Copy link
Contributor

@ElePT ElePT commented Oct 24, 2024

Summary

Follow-up to #pulse, closes #12759.
EchoRZXWeylDecomposition relies on the deprecated pulse functionality, so it should be deprecated with the rest of the package.

Details and comments

@ElePT ElePT requested a review from a team as a code owner October 24, 2024 14:40
@qiskit-bot
Copy link
Collaborator

One or more of the following people are relevant to this code:

  • @Qiskit/terra-core
  • @nkanazawa1989

@ElePT ElePT added this to the 1.3.0 milestone Oct 24, 2024
@ElePT ElePT added the Changelog: Deprecation Include in "Deprecated" section of changelog label Oct 24, 2024
Copy link
Contributor

@eliarbel eliarbel left a comment

Choose a reason for hiding this comment

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

LGTM. Just a minor line comment about uniformity but it's up to you, shouldn't be a blocker IMO.

@@ -74,8 +74,11 @@ def test_rzx_number_native_weyl_decomposition(self):
circuit.cx(qr[0], qr[1])

unitary_circuit = qi.Operator(circuit).data

after = EchoRZXWeylDecomposition(self.inst_map)(circuit)
with self.assertWarnsRegex(
Copy link
Contributor

Choose a reason for hiding this comment

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

In #13164 self.assertWarns was used almost everywhere in testing instead of self.assertWarnsRegex, in case you want uniformity in this aspect.

@coveralls
Copy link

coveralls commented Oct 24, 2024

Pull Request Test Coverage Report for Build 11576798654

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • 4 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.01%) to 88.695%

Files with Coverage Reduction New Missed Lines %
crates/qasm2/src/expr.rs 1 94.02%
crates/qasm2/src/lex.rs 3 92.73%
Totals Coverage Status
Change from base Build 11572090796: 0.01%
Covered Lines: 75008
Relevant Lines: 84568

💛 - Coveralls

@ElePT ElePT enabled auto-merge October 28, 2024 09:00
@ElePT ElePT added this pull request to the merge queue Oct 29, 2024
Merged via the queue into Qiskit:main with commit 5e39fc1 Oct 29, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: Deprecation Include in "Deprecated" section of changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EchoRZXWeylDecomposition incompatible with GenericBackendV2?
4 participants