Skip to content

Latest commit

 

History

History
 
 

arithmetic

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

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.

PS> 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.