Functions:
amplitude_estimation
amplitude_estimation(
oracle: QCallable[QArray[QBit]],
space_transform: QCallable[QArray[QBit]],
phase: QNum,
packed_vars: QArray[QBit]
) -> None
[Qmod Classiq-library function]
Estimate the probability of a state being marked by the operand oracle as a “good state.”
The algorithm prepares the state in the packed_vars register and estimates the probability of this state being marked by the oracle as a “good state.”
This is done using the Quantum Phase Estimation (QPE) algorithm, where the unitary for QPE is the Grover operator, which is composed of the oracle and space_transform operators.
Parameters: