SkillAgentSearch skills...

QSharpRandom

A Random Number Library in Q# written in DotNetCore 2.1, using Qbits to randomly generate numbers

Install / Use

/learn @ZelliDev/QSharpRandom
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

QSharpRandom

A Random Number Library in Q# written in DotNetCore 2.1, using Qbits to randomly generate numbers

Open Source

QSharpRandom can easily generate random numbers using Quantum Calculation written in Q# (QuantumSharp)

Installation


Download the current release and add it to your project
Download Nuget Package : Microsoft.Quantum.SKD & Microsoft.Quantum.Standard

Usage example

Using the Q# Libary In a Basic C# Application

using System;
using System.Threading.Tasks;
using Microsoft.Quantum.Simulation.Simulators;
using Quantum.QSharpRandom;


namespace Test
{
    class Program
    {
        static async Task Main(string[] args)
        {
            using var sim = new QuantumSimulator();
            var QsharpResponse = await GenerateNumber.Run(sim,50);
            Console.WriteLine(QsharpResponse.ToString());
            Console.ReadLine();
            
        }
    }
}

Release History

  • 0.0.1
    • First Upload Of QSharpRandom

Related Skills

View on GitHub
GitHub Stars4
CategoryDevelopment
Updated5y ago
Forks0

Languages

C#

Security Score

55/100

Audited on Nov 5, 2020

No findings