Skip to content

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented May 7, 2025

Summary

The VF2 passes include a fall-back error heuristic if the Target specifies no error rates: a number proportional to the node degree is used. This was a proxy metric, used historically becasue IBM bowtie devices (amongst others) were unreliable at reporting error rates but had significantly degraded performance on higher-degree nodes.

The calculation of the node degree, however, could double count qubits in a directional backend, and since the scaling factor is the total number of qubits, this could cause error rates greater than one, which then cause unpredictable behaviour on the scoring.

Details and comments


This is an automatic backport of pull request #14218 done by [Mergify](https://mergify.com).

The VF2 passes include a fall-back error heuristic if the `Target`
specifies no error rates: a number proportional to the node degree is
used.  This was a proxy metric, used historically becasue IBM bowtie
devices (amongst others) were unreliable at reporting error rates but
had significantly degraded performance on higher-degree nodes.

The calculation of the node degree, however, could double count qubits
in a directional backend, and since the scaling factor is the total
number of qubits, this could cause error rates greater than one, which
then cause unpredictable behaviour on the scoring.

(cherry picked from commit 45778dd)
@mergify mergify bot requested a review from a team as a code owner May 7, 2025 21:57
@qiskit-bot
Copy link
Collaborator

Thank you for opening a new pull request.

Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient.

While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone.

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

  • @Qiskit/terra-core

@github-actions github-actions bot added this to the 2.0.1 milestone May 7, 2025
@github-actions github-actions bot added Changelog: Bugfix Include in the "Fixed" section of the changelog mod: transpiler Issues and PRs related to Transpiler labels May 7, 2025
@ElePT ElePT modified the milestones: 2.0.1, 1.4.3 May 8, 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

@ElePT ElePT enabled auto-merge May 8, 2025 11:38
@ElePT ElePT added this pull request to the merge queue May 8, 2025
Merged via the queue into stable/1.4 with commit 75c9717 May 8, 2025
18 of 19 checks passed
@jakelishman jakelishman deleted the mergify/bp/stable/1.4/pr-14218 branch June 9, 2025 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: Bugfix Include in the "Fixed" section of the changelog mod: transpiler Issues and PRs related to Transpiler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants