Created
April 18, 2018 20:56
-
-
Save NatuMyers/d35e3b029a4999f8157c54c754ac3dcf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Quantum.HelloQ | |
{ | |
// Import Quantum.Primitive | |
open Microsoft.Quantum.Primitive; | |
// Create an operation that adds two int and returns a total int | |
operation Add (a : Int, b : Int): (Int) | |
{ | |
body | |
{ | |
return (a + b); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment