Geometry (qiskit_qec.geometry)

Geometry module classes and functions

GeometryBounds([center, size, dim])

A simple Bounding Box class for an AABB in R^n

Lattice([u_vec, v_vec, size, points])

Lattice on which tiles are tiled

Manifold(dim)

Init Manifold

Plane()

Represents a R2 plane two manifold

Shape(points[, lines, indices])

This class is used to store a boundary shape on a given manifold that is used to select sublattices.

TwoManifold()

Like Manifold but better

Edge(vertices[, next_edge, previous_edge])

Inits Edge

Face(wireframes)

Face inherits from ShapeObject

QubitCount()

Each geometry will have a QubitCount class to maintain pointers to all qubits currently in use

QubitData()

Class for containing qubit information

ShapeObject()

ShapeObject is the base class for all geometry objects

Shell(faces)

Shell inherits from ShapeObject

Vertex(pos)

"Vertex" inherits from "ShapeObject"

WireFrame(edges)

WireFrame inherits from ShapeObject

Tile()

Base class for Tiles

CheckerBoardTile(origin[, qubit_count, ...])

Checker Board Tile

DiagonalBarTile(origin[, qubit_count, ...])

Diagonal Bar Tile The diagram is as follows.

DiagonalHourGlassTile(origin[, qubit_count, ...])

Diagonal Hour Glass Tile

HexagonTile(origin[, qubit_count, ...])

Hexagon Tile

OctaSquareTile(origin[, qubit_count, ...])

Octa-Square Tile

SquareDiamondTile(origin[, qubit_count, ...])

Square Diamond Tile (Square or non-Rotated orientation)

Tiling(*, tile_type, tile_optype, lattice[, ...])

Create a tiling[Shell] from a tile and lattice

TileFactory(*, origin, wf_coordinates, ...)

Base class for all geometric tiles