A mathematica program for constructing quantum circuits and computing their unitary matrices
Vladimir P. Gerdt, R. Kragler, Alexander N. Prokopenya · Physics of Particles and Nuclei Letters · 2009
In this paper we briefly describe a Mathematica program for simulation of quantum circuits and illustrate some of its facilities by simple examples. Unlike other Mathematica-based quantum simulators, our program provides a user-friendly graphical interface for generating quantum circuits and computing the circuit unitary matrices. In addition to standard linear algebra-based tools, our program implements special computer-algebra technique for constructing the multivariate polynomial system that, for a circuit composed from the Toffoli and Hadamard gates, uniquely defines the circuit matrix.