Skip to content

plot_coupling_map appears to incorrectly plot in docs example #8670

@aeddins-ibm

Description

@aeddins-ibm

Environment

the qiskit.org website

What is happening?

The map does not look like what is expected based on the input:
image

How can we reproduce the issue?

view the doc page here: https://qiskit.org/documentation/stubs/qiskit.visualization.plot_coupling_map.html

What should happen?

In the example, the displayed image and the input should agree. In the image only the first two edges are displayed, but it looks like there are 8 edges in the coupling_map list. Possibly the qubit_coordinates are being processed incorrectly as well, not sure.

Any suggestions?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions