Qpe
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 \(U\).
Parameters:
Name | Type | Description | Default |
---|---|---|---|
unitary
|
QCallable
|
A callable representing the unitary operator \(U\), whose eigenvalue is to be estimated. |
required |
phase
|
QNum
|
The quantum variable that represents the estimated phase (eigenvalue), assuming initialized to zero. |
required |