Skip to content

QVRE/QuantumSim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A basic quantum circuit simulator in C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published