Github is one of the most popular open source code repositories. Microsoft recently acquired Github and this is expected to fuel the company’s open source ambition. This time around let us take a look at some super useful tutorials that aim at helping to teach you elements of Quantum programming and Q# programming.
Quantum Katas to teach Q# programming
Before we begin let us take a closer look at the Quantum and Q# programming. Quantum programming is often referred to as a set of assembling equations of instructions that are employed in order to run a quantum computer. Generally, the programming language uses high-level instructs for the algorithms.
Quantum Katas is a set of tutorials that should help you get onboard the quantum computing bandwagon and learn the basics. The tutorial is divided into Katas wherein each Kata addresses one topic.
- Basic quantum computing gates– Tasks which focus on main single-qubit and multi-qubit gates used in quantum computing.
- Superposition– Tasks which focus on preparing a certain superposition state on one or multiple qubits.
- Measurements– Tasks which focus on distinguishing quantum states using measurements.
- Deutsch–Jozsa algorithm-Tasks which focus on writing quantum oracles which implement classical functions, and the Bernstein–Vazirani, and Deutsch–Jozsa algorithms.
Installing Quantum Katas
In order to install the Quantum Katas you need to have already installed the Quantum Development Kit which is available for Windows. Additionally, you can also clone the Microsoft/QuantumKatas repository provided you have already installed GitHub.
Once the Kata is open you can run the text by opening “Tasks.qs” file and adding the code. Each Kata will come with its very own scoring system and once you successfully run the test the corresponding unit test will pass. Developers can also contribute by agreeing to the Contribution License Agreement. All pull requests will be subjected to a check by a CLA-bot that will automatically determine whether you need to provide the PR appropriately.