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

Takes 10sec to list backends from FakeProvider #8908

Closed
nonhermitian opened this issue Oct 14, 2022 · 2 comments
Closed

Takes 10sec to list backends from FakeProvider #8908

nonhermitian opened this issue Oct 14, 2022 · 2 comments
Labels
type: feature request New feature or request

Comments

@nonhermitian
Copy link
Contributor

What should we add?

It takes 10sec to view the available backends from the FakeProvider, ie.

from qiskit.providers.fake_provider import FakeProvider

provider = FakeProvider()
provider.backends()

takes 10secs on my machine, and the result is not cached so calling it again also takes 10sec.

@nonhermitian nonhermitian added the type: feature request New feature or request label Oct 14, 2022
@nonhermitian
Copy link
Contributor Author

Just doing provider.get_backend('fake_athens') also takes 10sec.

@nonhermitian
Copy link
Contributor Author

This appears to be similar to #8783, and I am guessing the root-cause is the same. As such closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant