ngnrsaa / qflex

Flexible Quantum Circuit Simulator (qFlex) implements an efficient tensor network, CPU-based simulator of large quantum circuits.
Apache License 2.0
97 stars 25 forks source link

Split off circuit evaluation library and add tests. #34

Closed 95-martin-orion closed 5 years ago

95-martin-orion commented 5 years ago

This PR also includes some general cleanup items - file I/O is now restricted to main.cpp, and the old main_* files have been removed (their behavior is fully replicated by main.cpp + input files).

95-martin-orion commented 5 years ago

There's currently a bug in the read_grid_layout_from_stream method which causes trailing whitespace to break the grid input. Working on a fix, will include it in this PR.