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.


Running the Sample

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