Skip to content

Conversation

1ucian0
Copy link
Member

@1ucian0 1ucian0 commented Dec 24, 2024

Summary

Following up #12724, the PendingDeprecationWarning there are now moved to DeprecationWarning

Details and comments

The argument atomic_evolution in the constructor for the classes LieTrotter, ProductFormula, and SuzukiTrotter is a callable with a different signature now: fromCallable[[Pauli | SparsePauliOp, float], QuantumCircuit] to Callable[[QuantumCircuit, Pauli | SparsePauliOp, float], None].

@qiskit-bot
Copy link
Collaborator

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

  • @Qiskit/terra-core

@Cryoris
Copy link
Contributor

Cryoris commented Jan 6, 2025

The failing builds are no longer available, but maybe there's still a test using the deprecated signature, causing the CI to fail 🤔

@1ucian0 1ucian0 added this to the 1.4.0 milestone Jan 20, 2025
@1ucian0 1ucian0 linked an issue Feb 4, 2025 that may be closed by this pull request
40 tasks
@ElePT
Copy link
Contributor

ElePT commented Feb 13, 2025

Broken CI reminder! The button to update branch seems to have disappeared? But I would recommend doing so to assess the state of the PR :)

@1ucian0
Copy link
Member Author

1ucian0 commented Feb 17, 2025

test updated.

@1ucian0 1ucian0 added the Changelog: Deprecation Include in "Deprecated" section of changelog label Feb 17, 2025
Copy link
Contributor

@ElePT ElePT left a comment

Choose a reason for hiding this comment

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

LGTM! Is this a removal we'd like to apply in 2.0 or do we prefer to emit the warning throughout the 2.x series?

@Cryoris
Copy link
Contributor

Cryoris commented Feb 17, 2025

+1 for remove since I don't believe this is used much and it would simplify our lives 🙂

@ElePT
Copy link
Contributor

ElePT commented Feb 17, 2025

Alright. I added an issue to the 2.0 milestone to make sure we don't forget to do it.

@ElePT ElePT added this pull request to the merge queue Feb 17, 2025
Merged via the queue into Qiskit:stable/1.4 with commit 8d62f69 Feb 17, 2025
17 checks passed
@1ucian0 1ucian0 changed the title Deprecate atomic_evolution Deprecate 2-argument callable for atomic_evolution parameter Feb 24, 2025
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.

Deprecate in 1.4 the pending deprecations from the 1.* cycle
4 participants