Skip to content

Creating a challenging backend to show the transpiler stochasticity (backport #12116)#12141

Merged
jakelishman merged 1 commit intostable/1.0from
mergify/bp/stable/1.0/pr-12116
Apr 4, 2024
Merged

Creating a challenging backend to show the transpiler stochasticity (backport #12116)#12141
jakelishman merged 1 commit intostable/1.0from
mergify/bp/stable/1.0/pr-12116

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify Bot commented Apr 4, 2024

The documentation about the transpiler shows that the process is stochastic in https://docs.quantum.ibm.com/api/qiskit/transpiler#routing-stage:

In order to highlight this, we run a GHZ circuit 100 times, using a “bad” (disconnected) initial_layout:
image
image
This distribution is quite wide, signaling the difficulty the swap mapper is having in computing the best mapping.

Which is not very wide. That's because GenericFakeBackend replaced a FakeBackend in #11376. The GenericFakeBackend has an all-to-all connectivity by default.

This PR produces the following image:
image


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

@mergify mergify Bot requested a review from a team as a code owner April 4, 2024 17:03
@qiskit-bot
Copy link
Copy Markdown
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 the following people are requested to review this:

  • @Qiskit/terra-core

@github-actions github-actions Bot added documentation Something is not clear or an error documentation Changelog: None Do not include in the GitHub Release changelog. labels Apr 4, 2024
@github-actions github-actions Bot added this to the 1.0.3 milestone Apr 4, 2024
@jakelishman jakelishman enabled auto-merge April 4, 2024 17:09
@jakelishman jakelishman added this pull request to the merge queue Apr 4, 2024
Merged via the queue into stable/1.0 with commit 3ef47f2 Apr 4, 2024
@mergify mergify Bot deleted the mergify/bp/stable/1.0/pr-12116 branch April 4, 2024 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changelog: None Do not include in the GitHub Release changelog. documentation Something is not clear or an error documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants