rigetti / grove

Quantum algorithms built using pyQuil.
http://rigetti.com/forest
Apache License 2.0
375 stars 123 forks source link

Make non-alpha/VQE/QAOA grove modules pyQuil2.0 compatible #192

Closed amyfbrown closed 5 years ago

amyfbrown commented 5 years ago

The alpha modules have already been migrated and merged into master, and @mpharrigan and I have decided that the pyvqe, pyqaoa, and ising modules will be dealt with in a separate PR because they're heavily interdependent, so this PR migrates the remaining grove modules. This resolves #186.

amyfbrown commented 5 years ago

@msohaibalam, @mpharrigan, thanks for the review! I changed qc.compiler.native_quil_to_executable to qc.compile and removed wrap_in_numshots_loop(1). Can I bug you for another look at your earliest convenience? 😃