Add quantum phase estimation to the libraries #1856
Labels
enhancement
New feature or request
library
related to Q# library code rather than the compiler implementation or language design
Is your feature request related to a problem? Please describe.
Classic QDK used to have quantum phase estimation as a primitive, but now it looks like our libraries don't offer anything beyond QFT rotations. It is a well-established primitive, and I'd really like to be able to use it "out of the box" instead of reimplementing it every time.
Describe the solution you'd like
Add quantum phase estimation to the library. The QFT-based algorithm is the best, since iterative/adaptive variants can have varying definitions and require mid-circuit measurements, but the QFT-based one is unambiguous.
Describe alternatives you've considered
I can reimplement it by hand for every use, but it is error-prone: I've needed to implement it twice in the past month, and I had to work out what I need to do each time.
The text was updated successfully, but these errors were encountered: