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

GreedyMapper doesn't respect initial search cycles #12

Open
kevinhartman opened this issue Mar 31, 2022 · 0 comments
Open

GreedyMapper doesn't respect initial search cycles #12

kevinhartman opened this issue Mar 31, 2022 · 0 comments
Labels
bug Something isn't working preexisting An issue that existed in the original TOQM reference implementation.

Comments

@kevinhartman
Copy link
Collaborator

Specifying initialSearchCycles as 0 does not seem to work when GreedyMapper is used.

This means that some "pure" swaps are still performed at the start of the circuit, meaning that the initial layout becomes no longer trivial.

Until this is fixed, users should expect that libtoqm may end up using a non-trivial initial layout. For qiskit-toqm, this means ToqmSwap needs to always check for updates to the layout, even if initialSearchCycles was passed as 0.

@kevinhartman kevinhartman added bug Something isn't working preexisting An issue that existed in the original TOQM reference implementation. labels Mar 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working preexisting An issue that existed in the original TOQM reference implementation.
Projects
None yet
Development

No branches or pull requests

1 participant