Currently, programming quantum computers involves composing a circuit consisting of a sequence of commands or gates. This cheat sheet helps you remember them.
Writing a program for a quantum computer is similar to writing a program for a conventional computer. However, with the computers we are used to, we use very high levels of abstraction to express our algorithms in programs. We typically don’t deal with all those bits and bytes and define operations on individual bits. In quantum computing, we directly manipulate the qubits we use for computation.
Operations performed on a qubit are also called gates. Depending on the context, different notations are used including matrices and vectors, kets, or circuit diagrams. Sometimes it is hard to remember all these different gates and what they are doing.
This is, where a cheat sheet comes in handy. Cheat sheets are often used in programming as a quick reference. But they also help when designing quantum algorithms independent of the programming language used. This cheat sheet that we used on different occasions such as hackathons contains not only basics about qubits but also various gates and some building blocks that might be helpful in your algorithm.
You can download the cheat sheet here.
Japanese version here. (Thanks Yasuhito Takamiya, https://github.com/yasuhito)
Dr. Stefan Seegerer is the Education Lead at IQM Quantum Computers. His work focuses on democratizing the world of quantum computing through education. One of the projects is IQM Academy, an interactive and engaging online curriculum for quantum computing. In September 2022, he was awarded the Balzert Prize for innovative teaching and learning concepts in computer science education.
Join the adventure! Stay informed with the latest news, product updates, and exciting announcements as we explore the future of quantum computing together.
© IQM Quantum Computers . All rights reserved
Search faster—hit Enter instead of clicking.
Click to expand