qdk_chemistry.algorithms.energy_estimator package
QDK/Chemistry energy estimation module.
This module provides quantum state preparation algorithms for preparing quantum states from classical wavefunctions.
- class qdk_chemistry.algorithms.energy_estimator.EnergyEstimatorFactory
Bases:
AlgorithmFactoryFactory class for creating EnergyEstimator instances.
- class qdk_chemistry.algorithms.energy_estimator.QDKEnergyEstimator(seed=42, qubit_loss=0.0)
Bases:
EnergyEstimatorEnergy Estimator to estimate expectation values of quantum circuits with respect to a given observable.
This class uses a QDK base simulator backend to run quantum circuits and estimate the expectation values of qubit Hamiltonians. It supports optional noise models for noise simulation.
- __init__(seed=42, qubit_loss=0.0)
Initialize the Estimator with optional settings.
- class qdk_chemistry.algorithms.energy_estimator.QDKEnergyEstimatorSettings
Bases:
SettingsSettings configuration for a QDKEnergyEstimator.
- QDKEnergyEstimator-specific settings:
seed (int, default=42): Random seed for reproducibility. qubit_loss (float, default=0.0): Probability of qubit loss in simulation.
- __init__()
Initialize QDKEnergyEstimatorSettings.