-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 propagate_condition
argument in DAGCircuit
substitutions
#13700
Comments
On #13506 I already have it removed (I haven't pushed up the change locally yet but will soon). I was thinking we should deprecate it in 1.4, you were thinking we should keep it for all of 2.x? |
Once the I feel like the effects of all the warnings we get from Aer are more indication that deprecations should probably be staged a bit more: users need time to adjust to the deprecations, but libraries still need to support deprecated code and beyond, so to me there's an argument that the "consumption" methods should get deprecated only once they've become no-ops, where possible. |
Am I understanding this correctly and this issue to 2.1 milestone? Or do. we want to introduce this deprecation in 2.0? |
Depends what we decide to do with Matt's PR, but in my world, we'd issue the deprecation in 2.0. The alternative ("don't use |
Once #13506 merges, the
propagate_condition
argument tosubstitute_node_with_dag
will no longer have any effect. We will be able to remove the code, and to deprecate the argument.We could remove the argument directly in 2.0, but that would make it unnecessarily difficult to support 1.x and 2.y simultaneously, and it costs us near enough nothing to issue a Python-space deprecation on it.
The text was updated successfully, but these errors were encountered: