qalgebra.utils package¶
Auxiliary utilities, mostly for internal use
Submodules:
Summary¶
__all__
Classes:
Symbolic index labeling a basis state in a |
|
Symbolic label that evaluates to the label of a basis state |
|
Index symbol in an indexed sum or product. |
|
Index range over the integer indices of a |
|
Index over a list of explicit values |
|
Index over the inclusive range between two integers |
|
A symbolic label that evaluates to an integer. |
|
Metaclass for singletons. |
|
Symbolic label for a spin degree of freedom |
|
Symbolic label that evaluates to a string |
__all__
Functions:
Class decorator that transforms (and replaces) a class definition (which must have a Singleton metaclass) with the actual singleton object. |
__all__
Data:
A dummy type that for checking whether an object is a Singleton. |