qiskit_noise_learning.math.EnumeratedIndexedSpace
class qiskit_noise_learning.math.EnumeratedIndexedSpace(indices: frozenset[Index])
Bases: IndexedSpace[Index]
An indexed space backed by an explicit finite collection of indices.
Parameters
indices – The collection of valid indices in this space.
__init__
__init__(indices: frozenset[Index])
Methods
Column 1 | Column 2 |
|---|---|
__init__(indices) |
Attributes
Column 1 | Column 2 |
|---|---|
dim | The dimension (cardinality) of the space. |
dim
Was this page helpful?
Report a bug, typo, or request content on GitHub.