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..
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.
- AdderExample.ipynb: Jupyter Notebook with Q# code implementing a couple of quantum adders.