pygsti.baseobjs.basis

pygsti.baseobjs.basis#

Defines the Basis object and supporting functions

Functions

default_basis_for_udims(udims)

Pick a default basis spec for a system whose per-qudit Hilbert-space dimensions are given by udims.

Classes

Basis(name, longname, real, sparse)

An ordered set of labeled matrices/vectors.

BuiltinBasis(name, dim_or_statespace[, sparse])

A basis that is included within and integrated into pyGSTi.

DirectSumBasis(component_bases[, name, longname])

A basis that is the direct sum of one or more "component" bases.

ExplicitBasis(elements[, labels, name, ...])

A Basis whose elements are specified directly.

LazyBasis(name, longname, real, sparse)

A Basis whose labels and elements that are constructed only when at least one of them is needed.

TensorProdBasis(component_bases[, name, ...])

A Basis that is the tensor product of one or more "component" bases.