qecx.CellPlacement¶
- class qecx.CellPlacement(cell, mapping)¶
Bases:
objectRegister placement on cell-complex elements.
Entry
mapping[i]is the index of the element carrying qubitiof the placed register: vertex indices forCellType.VERTEX, positions in the edge tuple forCellType.EDGE, positions in the face tuple forCellType.FACE. Geometric positions are not stored; they derive from the cell complex and its embedding.