qecx.CoordinatePlacement

class qecx.CoordinatePlacement(coordinates)

Bases: object

Register placement at explicit coordinates, off the cell complex.

Entry coordinates[i] is the coordinate tuple of qubit i of the placed register. All coordinate tuples share one length.

Variables:

coordinates (tuple[tuple[float, ...], ...]) – One coordinate tuple per register qubit; sequence input is normalized to tuples of floats at construction.