Welcome to QNotation! QNotation is a visual and interactive tool designed to support the learning of circuit, Dirac, and matrix notation within the context of Quantum Computing. The aforementioned notations are the three main notations used in Quantum Computing. Why is it important to learn these notations? As stated by Richard Feynman, in order for one to truly comprehend their field and all of its nuances, they must be able to read and use all of its notations!
An extended abstract on QNotation was published in the proceedings of IEEE Quantum Week 2023. It can be found at https://www.computer.org/csdl/proceedings-article/qce/2023/432302a373/1SuQKBiBjR6
QNotation is currently still being built! Once the first version of the tool is released, users will be able to use pip to install the tool.
If you have never written a line of code before, this section is for you!
Python can be downloaded from python.org. Make sure to download a version of Python that is 3.X.X.
I recommend installing Jupyter Notebook through Anaconda.Anaconda includes Jupyter Notebook and many other cool tools for Python. Here is a great tutorial on how to use Jupyter Notebook.
Qiskit is one of the most popular Quantum Computing libraries! This tutorial explains how to download it. The tutorial assumes that the user has pip installed. Pip can be installed by following these instructions.
QNotation is currently still being built! Once the first version of the tool is released, users will be able to use pip to download the tool.
# Step 1: Import the required packages
from qiskit import QuantumCircuit
from qnotation import QNotation
# Step 2: Create your QuantumCircuit object (https://qiskit.org/documentation/apidoc/circuit.html)
qc = QuantumCircuit(3)
qc.h(0)
qc.x(1)
# Step 3: Run QNotation
QNotation.view_notations(qc)