QuantumComputer.qubit_topology

QuantumComputer.qubit_topology()[source]

Return a NetworkX graph representation of this QuantumComputer’s device’s qubit connectivity.

See AbstractDevice.qubit_topology() for more.

Return type:<module ‘networkx.classes.graph’ from ‘/home/docs/checkouts/readthedocs.org/user_builds/pyquil/envs/v2.5.2/lib/python3.6/site-packages/networkx/classes/graph.py’>