iqm.benchmarks.utils_plots.GraphPositions#
- class iqm.benchmarks.utils_plots.GraphPositions#
Bases:
object
A class to store and generate graph positions for different chip layouts.
This class contains predefined node positions for various quantum chip topologies and provides methods to generate positions for different layout types.
- garnet_positions#
Mapping of node indices to (x,y) positions for Garnet chip.
- deneb_positions#
Mapping of node indices to (x,y) positions for Deneb chip.
- predefined_stations#
Mapping of chip names to their position dictionaries.
Attributes
Methods
__eq__
(other)Return self==value.
__repr__
()Return repr(self).
create_positions
(graph[, topology])Generate node positions for a given graph and topology.