page_type | languages | products | description | urlFragment | ||
---|---|---|---|---|---|---|
sample |
|
|
This sample demonstrates using Bayesian inference to learn phases of quantum operations. |
iterative-phase-estimation |
This sample demonstrates iterative phase estimation using Bayesian inference to provide a simple method to perform the classical statistical analysis. You can read more about iterative phase estimation in our documentation on quantum characterization and statistics.
- The Microsoft Quantum Development Kit.
This sample can be run in a number of different ways, depending on your preferred environment.
To run the sample, use the dotnet run
command from your terminal.
- PhaseEstimationSample.csproj: Main Q# project for the example.
- BayesianPhaseEstimation.qs: The Q# implementation of iterative phase estimation and Bayesian inference.
- Program.qs: Q# entry point to interact with and print out results of the Q# operations for this sample.