Module index

Module index 

Source
Expand description

Index types for tensor network operations.

This module provides the default index types:

  • DynId: Runtime identity (UUID-based unique identifier)
  • TagSet: Tag set for metadata (Arc-wrapped for cheap cloning)
  • Index: Generic index type parameterized by Id and Tags
  • DynIndex: Default index type (Index<DynId, TagSet>)

The DynIndex type implements the IndexLike trait.

Note: Symmetry (quantum numbers) is not included in the default implementation. For QSpace-compatible indices with non-Abelian symmetries, use a separate concrete type that implements IndexLike directly.

Structs§

DynId
Runtime ID for ITensors-like dynamic identity.
Index
Index with generic identity type Id and tag type Tags.
TagSet
Tag set wrapper using Arc for efficient cloning.

Type Aliases§

DefaultIndex
Default Index type alias (same as Index<Id> with default tags).
DefaultTagSet
Type alias for backwards compatibility.
DynIndex
Type alias for the default index type with IndexLike bound.