Skip to main content
IBM Quantum Platform

qiskit_noise_learning.math.EnumeratedIndexedSpace

class qiskit_noise_learning.math.EnumeratedIndexedSpace(indices: frozenset[Index])

GitHub

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
dimThe dimension (cardinality) of the space.

dim

Type: int

The dimension (cardinality) of the space.

May be math.inf for infinite-dimensional spaces.

Was this page helpful?
Report a bug, typo, or request content on GitHub.