Expand description
Quantum Counting and Amplitude Estimation
This module implements quantum counting and amplitude estimation algorithms, which are key components for many quantum algorithms including Shor’s algorithm and quantum database search.
TODO: The current implementations are simplified versions. Full implementations would require:
- Proper controlled unitary implementations
- Full QFT and inverse QFT
- Better phase extraction from measurement results
- Integration with circuit builder for more complex operations
Structs§
- Quantum
Amplitude Estimation - Quantum Amplitude Estimation
- Quantum
Counting - Quantum Counting algorithm
- Quantum
Phase Estimation - Quantum Phase Estimation (QPE) algorithm
Functions§
- amplitude_
estimation_ example - Example: Estimate amplitude of marked states
- quantum_
counting_ example - Example: Count solutions to a simple search problem