flâneur — a map of the web's best reading

A tutorial quantum interpreter in 150 lines of Lisp

stylewarning.com · 7,899 words · saved by 1 readers

a personal blog

By Robert Smith Simulating a universal, gate-based quantum computer on a classical computer has many uses and benefits. The top benefit is the ability to inspect the amplitudes of the system's state directly. However, while the mathematics is very well understood, implementing a general-purpose simulator has largely been folk knowledge. In this tutorial, we show how to build an interpreter for a general-purpose quantum programming language called $\mathscr{L}$, capable of executing most kinds of quantum circuits found in literature. It is presented economically, allowing its implementation to

Explore this link on the map →

saved by

related reading