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: QubitMapperSettings

Settings 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: AlgorithmFactory

Factory class for creating QubitMapper instances.

algorithm_type_name()

Return qubit_mapper as the algorithm type name.

Return type:

str

default_algorithm_name()

Return qdk as the default algorithm name.

Return type:

str

class qdk_chemistry.algorithms.qubit_mapper.QubitMapperSettings

Bases: Settings

Base settings for all QubitMapper implementations.

Settings are variant-specific (thresholds, etc.). The encoding is determined by the MajoranaMapping passed to run().

__init__()

Initialize QubitMapperSettings.

Return type:

None

Submodules