qs8 - Python Statevector Simulator

What is it?

qs8 is a quantum statevector simulator built in Python for small-scale projects. It was mostly an exercise in my own abilities in how the domains of linear algebra and quantum computing overlap, and only uses the numpy module as its core dependency.

The Process

This simulator was built during my time in the KUARQ research group as a way to confirm what I had learned about the math behind quantum circuits.

from qs8 import *
qb = 4
# creating a circuit w/ 4 qubits
qc = QCirc(qb)

Using syntax similar to qiskit, this simulator has ways to create a circuit, as well as view and run it.

q0 X-H-CX----
       |
q1 ----o-CX--
         |
q2 ------o-CX
           |
q3 --------o-

{'15': 4986, '0': 5014}

Future Plans


Sources