API Overview
This page is the authoritative inventory for the public names exported by
tensor0.__all__ and tensor0.structure.__all__. Tests check both inventories
against these lists.
Root API
Sector Families
TrivialU1IrrepSU2IrrepZ2IrrepZ3IrrepZ4IrrepFermionParityFermionNumberFermionParityU1IrrepU1SU2IrrepFermionParitySU2IrrepFermionParityU1SU2Irrep
Spaces and Public Values
ComplexSpacespacehomVectElementarySpaceProductSpaceHomSpaceSectorTypeFusionTreeSectorDictdimreduced_dimstorage_dimsector_specfuseunit_spacezero_spaceinfimumsupremumdirect_sumis_isomorphicis_monomorphicis_epimorphic
Tensor Storage and Construction
TensorMapDiagonalTensorMapSectorVectorVectorStoragezerosoneszero_likefrom_blocksidentityisomorphismunitaryisometryrandom_isometryrandom_normaldiagdiagmis_diagonalscalarto_densefrom_dense
Tensor Operations and Comparison
addscaledotinnernormnormalizetradjointrealimagcomplexequalallclosetensor_productinversepseudoinverseleft_solveright_solveis_isometricis_unitaryis_positive_definite
Transforms
permutebraidtransposerepartitionfliptwistinsertleftunitinsertrightunitremoveunit
Contractions
idxtensorcontracttensortracecontractncon
Automatic Differentiation
gradvalue_and_grad
Factorizations and Truncation
qr_compactlq_compactleft_orthright_ortheigh_valseigh_fulleigh_truncis_hermitiansvd_valssvd_compactsvd_fullsvd_truncrankcondnotrunctruncranktrunctoltruncspacetruncerror
Use Vect(dim) for the default no-symmetry space, Vect[Sector](...) for an
explicit sector family, and ComplexSpace(dim) as the supported compatibility
spelling for Vect(dim).
See the usage guide for construction, comparison, transforms, and factorization examples. See the contraction guide for axes, labels, output partitions, order, and scalar-result conventions.
Structure API
These names are public from tensor0.structure. The layout records and accessors
are intentionally not re-exported from the package root.
ComplexSpaceBlockStructureDegeneracyStructureSectorDictSectorStructureSectorTypeSubblockStructureVectdimdirect_sumfuseget_blockstructureget_degeneracystructureget_sectorstructurehominfimumis_epimorphicis_isomorphicis_monomorphicreduced_dimsector_specspacestorage_dimsupremumunit_spacezero_space
For code written against the earlier alpha surface, replace imports such as
from tensor0 import get_degeneracystructure with
from tensor0.structure import get_degeneracystructure. This is an immediate
pre-v1 cleanup; no deprecated root aliases are retained.