Circuit Diagrams

This is an interactive notebook with exercises covering quantum circuit diagrams.


Quantum Gates

In the Linear Algebra for Quantum Computing lectures, there was a lecture on quantum gates. Quantum gates are similar in spirit to classical logic gates used in classical computing. Quantum gates however are always represented by matrices. In particular they are represented by unitary matrices in the quantum circuit model of quantum computing. Quantum circuits are diagrams that represent algorithms which are composed of these quantum gates.

Quantum Circuit Diagrams

Quantum circuit diagrams are a visual, graphical representation of quantum algorithms. The usual graphical notation is called staff notation and looks very much like the musical staff that composers and musicians write music on.

Shor's Code Circuit

Graph State Circuit

The Notebook

Quantum Circuit Diagrams Interactive Notebook Binder


Interested in contributing to this project?

This is course material for a course on linear algebra and mathematical prerequisites for quantum computing. It contains Jupyter notebooks that can be downloaded as part of the course or opened in Binder as an online interactive notebook.

Become a Sponsor of The Singularity