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 instruction_durations, timing_constraints and backend_properties #13338

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

1ucian0
Copy link
Member

@1ucian0 1ucian0 commented Oct 17, 2024

Summary

Fixes #13306

Details and comments

The function generate_preset_pass_manager and transpile have very complicated precedence rules on how the parameters are handled. We should move towards Target-define constrains instead of loose parameters.

@1ucian0 1ucian0 requested a review from a team as a code owner October 17, 2024 11:55
@qiskit-bot
Copy link
Collaborator

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

  • @Qiskit/terra-core

@raynelfss raynelfss added this to the 1.3.0 milestone Oct 17, 2024
@coveralls
Copy link

coveralls commented Oct 21, 2024

Pull Request Test Coverage Report for Build 11441285635

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

  • 11 of 11 (100.0%) changed or added relevant lines in 2 files are covered.
  • 313 unchanged lines in 5 files lost coverage.
  • Overall coverage decreased (-0.09%) to 88.577%

Files with Coverage Reduction New Missed Lines %
crates/circuit/src/imports.rs 3 77.78%
crates/qasm2/src/lex.rs 4 92.73%
crates/circuit/src/dag_circuit.rs 6 88.32%
crates/accelerate/src/two_qubit_decompose.rs 109 92.09%
qiskit/transpiler/passes/synthesis/unitary_synthesis.py 191 61.95%
Totals Coverage Status
Change from base Build 11383196578: -0.09%
Covered Lines: 73890
Relevant Lines: 83419

💛 - Coveralls

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.

Almost LGTM! I just caught a small typo and realized that we are missing a release note for the deprecation.

qiskit/compiler/transpiler.py Outdated Show resolved Hide resolved
@ElePT ElePT self-assigned this Oct 21, 2024
Co-authored-by: Elena Peña Tapia <[email protected]>
@ElePT
Copy link
Contributor

ElePT commented Oct 22, 2024

Would you like me to take care of the reno? I can do that.

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.

Deprecate instruction_durations, timing_constraints and backend_properties in generate_preset_pass_manager
5 participants