Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

page_type sample
languages
qsharp
python
csharp
products
qdk
description This sample demonstrates using Bayesian inference to learn phases of quantum operations.
urlFragment iterative-phase-estimation

Iterative Phase Estimation

This sample demonstrates iterative phase estimation using Bayesian inference to provide a simple method to perform the classical statistical analysis.

Prerequisites

Running the Sample

This sample can be run in a number of different ways, depending on your preferred environment.

Python in Visual Studio Code or the Command Line

At a terminal, run the following command:

python host.py

C# in Visual Studio Code or the Command Line

At a terminal, run the following command:

dotnet run

C# in Visual Studio 2019

Open the folder containing this sample in Visual Studio ("Open a local folder" from the Getting Started screen or "File → Open → Folder..." from the menu bar) and set PhaseEstimationSample.csproj as the startup project. Press Start in Visual Studio to run the sample.

Manifest