Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 644 Bytes

File metadata and controls

14 lines (9 loc) · 644 Bytes

QuantumSim

This is an educational project that implements a quantum circuit simulator in C++ for a state vector. It implements the fundamental quantum gates and currently not much else but is easy to extend. There are no complexity optimizations for how the state vector is modified so the practical limit is around 20-30 qubits.

Usage

main.cpp currently holds an example circuit for Grover's algorithm applied to a very primitive 8 bit hash function. Please see quantum.hpp for making and applying qugates on a quantum register's state vector.

Building

Currently only builds for Linux. Use make to build and ./out to run.