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

Adds initial tests for read_circuit #21

Closed 95-martin-orion closed 5 years ago

95-martin-orion commented 5 years ago

Part of issue #3.

In order to run this locally, I followed these instructions:

dlyongemallo commented 5 years ago

Hi, I've merged my PRs into cpp_only, and then merged them into your PR. PTAL to make sure I haven't broken it.

95-martin-orion commented 5 years ago

Everything looks good post-merge. Can you verify that the tests work on your end? I ran them with the usual FLAGS changes in both the root and tests/ Makefiles.

dlyongemallo commented 5 years ago
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from ReadCircuitTest
[ RUN      ] ReadCircuitTest.NullCircuit
[       OK ] ReadCircuitTest.NullCircuit (11 ms)
[----------] 1 test from ReadCircuitTest (11 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (11 ms total)
[  PASSED  ] 1 test.
dlyongemallo commented 5 years ago

Thanks! This will make verifying that changes don't break things easier in the future.