The Basic Gates kata covers the basic operations (a.k.a. "gates") used in quantum computing, as well as the concept of controlled and adjoint versions of gates.
You can run the Basic Gates kata as a Jupyter Notebook!
- A list of most common gates can be found in the Quantum logic gate Wikipedia article.
- Quirk is a convenient tool for visualizing the effect of gates on qubit states.
- Basic gates provided in Q# belong to the Microsoft.Quantum.Intrinsic namespace.
- Using and defining controlled and adjoint versions of gates is covered in the Q# user guide.