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

Backend visualization does scale to +100 qubits #10081

Closed
1ucian0 opened this issue May 5, 2023 · 2 comments
Closed

Backend visualization does scale to +100 qubits #10081

1ucian0 opened this issue May 5, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@1ucian0
Copy link
Member

1ucian0 commented May 5, 2023

Environment

  • Qiskit Terra version: 0.25
  • Python version: 3.9.16

What is happening?

Coupling maps of "big" backends (over 100 qubits) do not render well.

How can we reproduce the issue?

Take the example of IBM's ibm_washington, which has 127 qubits

from qiskit_ibm_provider import IBMProvider
from qiskit.visualization import plot_gate_map

backend = IBMProvider().get_backend('ibm_washington')
print(backend.num_qubits)  # 127
plot_gate_map(backend)

image

Notice that the qubit nodes with 3-digit numbers are not easy to distinguish.

What should happen?

Having distinguishable numbers when they are large.

Any suggestions?

I see options:

  • bigger pictures
  • small numbers (that fit in the size of the node)
  • no numbers when they are large (hmm... no...)
@1ucian0 1ucian0 added the bug Something isn't working label May 5, 2023
@mtreinish
Copy link
Member

I feel this is a duplicate of #9031 the reason I suggested using graphviz draw from rustworkx is that it can handle large graphs well.

@1ucian0
Copy link
Member Author

1ucian0 commented May 5, 2023

My interpretation of #9031 was some form of fallback for qubit_coordinates_map. But true that solving #9031 would fix all of them. So closing as duplicated. Thanks!

@1ucian0 1ucian0 closed this as not planned Won't fix, can't repro, duplicate, stale May 5, 2023
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

No branches or pull requests

2 participants