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

Should be able to create CouplingMap from CouplingMap #8865

Closed
nonhermitian opened this issue Oct 9, 2022 · 0 comments · Fixed by #9051
Closed

Should be able to create CouplingMap from CouplingMap #8865

nonhermitian opened this issue Oct 9, 2022 · 0 comments · Fixed by #9051
Labels
bug Something isn't working

Comments

@nonhermitian
Copy link
Contributor

Environment

  • Qiskit Terra version: 0.22rc1
  • Python version: 3.10.6
  • Operating system: OSX

What is happening?

from qiskit.transpiler import CouplingMap
from qiskit.providers.fake_provider import FakeAuckland
backend = FakeAuckland()

CouplingMap(backend.coupling_map)
TypeError: 'CouplingMap' object is not iterable

How can we reproduce the issue?

run above

What should happen?

I should be able to create a CouplingMap from a CouplingMap

Any suggestions?

It is caused by #8863

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant