qdk_chemistry.algorithms.qubit_mapper package
QDK/Chemistry qubit mapper abstractions and utilities.
This module provides the base class QubitMapper as well as the QubitMapperFactory for mapping electronic structure Hamiltonians to qubit operators using various mapping strategies.
- class qdk_chemistry.algorithms.qubit_mapper.QdkQubitMapperSettings
Bases:
QubitMapperSettingsSettings configuration for a QdkQubitMapper.
- Settings:
threshold (double, default=1e-12): Threshold for pruning small Pauli coefficients. integral_threshold (double, default=1e-12): Threshold for filtering small integrals.
- __init__()
Initialize QdkQubitMapperSettings.
- Return type:
None
- class qdk_chemistry.algorithms.qubit_mapper.QubitMapperFactory
Bases:
AlgorithmFactoryFactory class for creating QubitMapper instances.
- class qdk_chemistry.algorithms.qubit_mapper.QubitMapperSettings
Bases:
SettingsBase settings for all QubitMapper implementations.
Settings are variant-specific (thresholds, etc.). The encoding is determined by the
MajoranaMappingpassed torun().- __init__()
Initialize QubitMapperSettings.
- Return type:
None