Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 852 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 852 Bytes

Adder Sample

This sample shows how to add two integers using the arithmetic functionality in the Q# canon. Two examples of adders implemented in this sample are that of Takahashi et al. and Cuccaro et al..

Running the Sample

To run this sample, you will need Jupyter Notebook and the IQ# kernel. For instructions on how to set up these tools see the getting started guide. To start the Jupyter Notebook use the following command in this directory.

jupyter notebook AdderExample.ipynb

Use the Run button to walk through the notebook line by line.

Manifest

  • AdderExample.ipynb: Jupyter Notebook with Q# code implementing a couple of quantum adders.