Skip to content

Latest commit

 

History

History
 
 

BasicGates

Welcome!

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.

Theory

  • A list of most common gates can be found in this Wikipedia article.
  • Quirk is a convenient tool for visualizing the effect of gates on qubit states.

Q# materials

  • Basic gates provided in Q# belong to the Microsoft.Quantum.Primitive namespace and are listed here.
  • Using controlled and adjoint versions of gates is covered in the Q# documentation on operation types.
  • Defining controlled and adjoint versions of gates is covered in the Q# documentation on operation definitions.