Skip to content

Instantly share code, notes, and snippets.

@friguzzi friguzzi/Driver.cs
Created Apr 22, 2019

Embed
What would you like to do?
using System;
using Microsoft.Quantum.Simulation.Core;
using Microsoft.Quantum.Simulation.Simulators;
namespace Quantum.Sample
{
class Driver
{
static void Main(string[] args)
{
using (var qsim = new QuantumSimulator())
{
for (int i = 0; i < 100; i++)
{
var res = QPE.Run(qsim).Result;
System.Console.WriteLine($"Res:{res}");
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.