symop.modes.labels.path¶
Path labels for spatial or logical mode identification.
This module defines PathLabel, a simple label used to distinguish
spatial (or logical) mode paths. Path labels are orthonormal: two labels
overlap if and only if their names are identical.
Classes
|
Path label identifying a spatial (or logical) mode path. |
- class Path(name: str) None¶
Bases:
objectPath label identifying a spatial (or logical) mode path.
Two path labels overlap if and only if their names are identical:
\[\begin{split}\langle \mathrm{path}(a), \mathrm{path}(b) \rangle = \begin{cases} 1, & a=b \\ 0, & a\neq b \end{cases}.\end{split}\]- Parameters:
name (str)
- approx_signature(*, decimals: int = 12, ignore_global_phase: bool = False) tuple[object, ...]¶
Approximate signature with rounded floating parameters.
- _path_check: PathProtocol¶