qecx.Embedding

class qecx.Embedding(dimension, coordinate_type, vertex_coordinates)

Bases: object

Geometric embedding of a cell complex into Euclidean space.

Carries one coordinate tuple per vertex, in vertex-index order.

Variables:
  • dimension (int) – Embedding-space dimension; every coordinate tuple has exactly this length.

  • coordinate_type (str) – Coordinate system, free-form (e.g. "cartesian", "lattice_units").

  • vertex_coordinates (tuple[tuple[float, ...], ...]) – One coordinate tuple per vertex; sequence input is normalized to tuples of floats at construction.