In this tutorial, the author discusses the implementation of an interpreter for a quantum programming language called $mathscr{L}$. The interpreter is able to execute most types of quantum circuits found in literature. The author highlights that while the concept of simulating quantum computers is well understood, the implementation details are often lacking in existing simulators. The interpreter for $mathscr{L}$ is presented in a simple and concise manner, requiring fewer than 150 lines of Common Lisp code. The tutorial targets beginners in quantum computing and aims to provide a detailed explanation of quantum state representation and manipulation.
https://www.stylewarning.com/posts/quantum-interpreter/