qdk_chemistry.algorithms.phase_estimation.base module
QDK/Chemistry phase estimation abstractions and utilities.
- class qdk_chemistry.algorithms.phase_estimation.base.PhaseEstimation(num_bits=-1, evolution_time=0.0)[source]
Bases:
AlgorithmAbstract base class for phase estimation algorithms.
- class qdk_chemistry.algorithms.phase_estimation.base.PhaseEstimationFactory[source]
Bases:
AlgorithmFactoryFactory class for creating PhaseEstimation instances.
- class qdk_chemistry.algorithms.phase_estimation.base.PhaseEstimationSettings[source]
Bases:
SettingsSettings for the Phase Estimation algorithm.
- __init__()[source]
Initialize the settings for Phase Estimation.
- Parameters:
num_bits – The number of phase bits to estimate. Default to -1; user needs to set a valid value.
evolution_time – Time parameter
tused in the time-evolution unitaryU = exp(-i H t), defaults to 0.0; user needs to set a valid value. This setting is only applicable to time evolution-based unitary builders such as Trotter.