We're celebrating World Quantum Day 2022! Join us


Dataclass to store information about a single polygon unit to plot on the heatmap

For single (grid) qubit heatmaps, the polygon is a square. For two (grid) qubit interaction heatmaps, the polygon is a hexagon.

polygon Vertices of the polygon to plot.
value The value for the heatmap coloring.
center The center point of the polygon where annotation text should be printed.
annot The annotation string to print on the coupler.

polygon Dataclass field
value Dataclass field
center Dataclass field
annot Dataclass field