Zemleff
Quantum
Services
Resources & Tools
About
Contact
more
About
Contact
Home
›
Resources & Tools
›
Q# Editor
Q# Editor
A simple online editor for Q# files.
untitled.qs
— Q# Editor
File
New...
Open...
Save
Save as...
Reload
Edit
Copy all content to clipboard
Clear content
View
Line numbers
Word wrap
namespace Example { @EntryPoint() operation Superposition() : Result { use qubit = Qubit(); H(qubit); let result = M(qubit); Reset(qubit); return result; } }
1
namespace
Example {
2
3
@EntryPoint()
4
operation
Superposition() :
Result
{
5
use
qubit
=
Qubit
();
6
H(qubit);
7
let
result
=
M(qubit);
8
Reset(qubit);
9
return
result;
10
}
11
}
Q# Editor
See also
1.
Quantum Computing Crossword
A daily crossword puzzle about quantum computing.
2.
Bloch Sphere
Visualize qubits on an interactive Bloch sphere.
3.
Awesome quantum computing
A curated list of awesome resources on quantum computing.
4.
Say "Hello, World!" with Q#
Creating a simple Q# console application.
5.
The Hadamard gate
The definition of the Hadamard gate and some of its properties.