iitis / PyQBench

Apache License 2.0
4 stars 3 forks source link

Add tests for verbatim circuits on Lucy device #22

Closed dexter2206 closed 2 years ago

dexter2206 commented 2 years ago

This PR introduces tests verifying that our decomposed circuits can be run in verbatim mode on the Lucy device. The whole logic is almost the same as with the analogous tests for Rigetti, except the command line switch is --lucy. We also had to disable qubit rewiring in order for the tests to run, since Lucy does not support disable_qubit_rewiring flag. At this point, I am not sure if one can control which qubits are used when using Lucy device.

I run the tests locally and all of them passed.

The cost of running tests with --lucy only is still below $1.50. Be mindful that running tests with both --lucy and --rigetti switches incurs both costs.