q# code example
Example: Q# hello world
namespace HelloQuantum {
open Microsoft.Quantum.Canon;
open Microsoft.Quantum.Intrinsic;
@EntryPoint()
operation SayHello() : Unit {
Message("Hello quantum world!");
}
}
namespace HelloQuantum {
open Microsoft.Quantum.Canon;
open Microsoft.Quantum.Intrinsic;
@EntryPoint()
operation SayHello() : Unit {
Message("Hello quantum world!");
}
}