Closed s-mandra closed 4 years ago
my PR includes also a simulator and methods for reading circuits and validating them.
I am using an amplitudes simulator. I generate circuits qflex circuits, translate them into qflex instructions (using a cirq device), and validate circuits.
for layouts i also have a class, and orderings will be based on Orion's heuristic.
@dagart @s-mandra a merge into master for python+cirq is planned for these days. i will use the code you wrote. i will also add tests.
@dagart @s-mandra a merge into master for python+cirq is planned for these days. i will use the code you wrote. i will also add tests.
Thanks, that would be great! Since we are making many changes to the core of qFlex, I wanted a simple simulator to just check that nothing broke up. I won't push this PR to master
(feel free to use anything I pushed to this branch).
Integrated in #120 as test.
Useful to have few more automated tests.