Expand description
Qudit-Core is the core package in the OpenQudit library.
Modules§
- accel
- Accelerated mathematical operations.
- array
- Implements the tensor struct and associated methods for the Openqudit library.
- memory
- Memory management types and helper functions for the Openqudit library.
Structs§
- Ket
- Represents a quantum state vector as a Ket.
- Limited
Size Vec - A vector-like container with 32-bit length and capacity limits.
- Param
Info - Information about function parameters, including their indices and whether they are constant.
- Qudit
Permutation - A permutation of qudits.
- Radices
- The number of basis states for each qudit (or dit) in a quantum system.
- Radix
- A validated radix (number base) value between 2 and 255 inclusive.
- Unitary
Matrix - A unitary matrix over a qudit system.
Enums§
- Compact
Vec - A space-efficient vector that stores small collections inline and transitions to heap allocation when needed.
- Param
Indices - A data structure representing indices of parameters (e.g. for a function). There are optimized methods for consecutive and disjoint parameters.
Traits§
- BitWidth
Convertible - A trait for converting between different bit-width representations.
- Classical
System - A data structure consisting of or operating on a specified number of dits.
- Compact
Storage - A trait for types that can be stored compactly by attempting to fit them into smaller storage types.
- Complex
Scalar - A generic complex number within the OpenQudit library.
- HasBounds
- A bounded, parameterized object.
- HasParams
- A parameterized object.
- HasPeriods
- A periodic, parameterized object
- Hybrid
System - A data structure that consists of or operates on a hybrid quantum-classical system.
- Qudit
System - A data structure consisting of or operating on a specified number of finite-dimensional qudits.
- Real
Scalar - A generic real number within the OpenQudit library.
Functions§
- calc_
index_ permutation - Calculate the index permutation from a qudit permutation for a given radices.