Member-only story
The Singularity Research
Quantum Computing in Python
Linear Algebra for Quantum Computing
In this article I will introduce the basic linear algebra you will need to understand quantum computing. We will only use NumPy in this article, and you’ll get an intro at the end to some interactive Jupyter notebooks, so you don’t need to download anything or learn terminal to get started. All you need is a web browser. If you want you can download the notebooks and run them locally.
If you want to run these commands locally in Jupyter notebooks, to get started you’ll need to download the latest (free) distribution of Anaconda, which can be downloaded here. Once you have downloaded Anaconda, open the Anaconda navigator. The icon will be in your applications after download:
Once you open the Anaconda Navigator, you’ll have the option to open a “Jupyter Notebook” or “Jupyter Lab”. Either will work, but personally I prefer Jupyter Lab.
If you prefer not to download anything, you can try Jupyter Lab in your browser by following this link. Once you’ve opened Jupyter Lab, click on the little “+” button to open a new Python 3 kernel…








