Skip to main content
Functions:

qpe_flexible

qpe_flexible(
unitary_with_power: QCallable[CInt],
phase: QArray[QBit]
) -> None
[Qmod Classiq-library function] Implements the Quantum Phase Estimation (QPE) algorithm, which estimates the phase (eigenvalue) associated with an eigenstate of a given unitary operator UU. This is a flexible version that allows the user to provide a callable that generates the unitary operator UkU^k for a given integer kk, offering greater flexibility in handling different quantum circuits using some powering rule. Parameters:

qpe

qpe(
unitary: QCallable,
phase: QNum
) -> None
[Qmod Classiq-library function] Implements the standard Quantum Phase Estimation (QPE) algorithm, which estimates the phase (eigenvalue) associated with an eigenstate of a given unitary operator UU. Parameters: