Sitemap
TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

Member-only story

The Singularity Research

Quantum Computing in Python

Linear Algebra for Quantum Computing

4 min readMay 7, 2020

--

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.

Press enter or click to view image in full size
Photo by Shahadat Rahman on Unsplash

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.

Press enter or click to view image in full size
Anaconda Navigator

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…

--

--

TDS Archive
TDS Archive

Published in TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.