Layout and metadata

Bibliography entries, the spatial layout of a code’s qubits, and the document’s provenance properties.

Reference(key[, title, doi, arxiv, url, ...])

Single bibliography entry with a stable citation key.

CellType(*values)

Cell-complex element type a register placement maps onto.

Face(vertices[, color])

Single face (2-cell) of a cell complex.

CellComplex(num_vertices, edges[, faces])

Pure combinatorial cell complex: vertices, edges, and optional faces.

Embedding(dimension, coordinate_type, ...)

Geometric embedding of a cell complex into Euclidean space.

CellPlacement(cell, mapping)

Register placement on cell-complex elements.

CoordinatePlacement(coordinates)

Register placement at explicit coordinates, off the cell complex.

QubitLayout(*[, tiling_type, topology, ...])

Spatial layout of the code: descriptive labels, geometry, and register placements.

Properties(*[, uuid, author, creator, ...])

Document provenance metadata with free-form extras.