Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Latest commit

 

History

History

simple-algorithms

page_type languages products description urlFragment
sample
qsharp
qdk
This sample describes three simple quantum algorithms.
simple-quantum-algorithms

Simple Quantum Algorithms Sample

This sample describes three simple quantum algorithms: the Bernstein–Vazirani quantum algorithm to learn a parity function, the Deutsch–Jozsa quantum algorithm to distinguish constant Boolean functions from balanced ones, and the hidden shift quantum algorithm that identifies a shift pattern between so-called bent functions.

Prerequisites

Running the Sample

To run the sample, use the dotnet run command from your terminal. Example: dotnet run --n-qubits 4

Manifest