Bit-flip Quantum Code Sample

This sample demonstrates:

  • Using the Q# standard libraries to implement a simple quantum error correction code.


Running the Sample

To run the sample, use the dotnet run command from your terminal.


  • BitFlipCode.qs: Q# code implementing quantum operations for this sample.
  • Program.qs: Q# entry point to interact with and print out results of the Q# operations for this sample.
  • BitFlipCode.csproj: Main Q# project for the sample.

Further resources