quil-lang / qvm

The high-performance and featureful Quil simulator.
Other
410 stars 57 forks source link

[WIP] app-ng HTTP API v0 #159

Closed appleby closed 5 years ago

appleby commented 5 years ago

This is a WIP PR intended to address #155 and #39. This also includes the commits from the earlier (abandoned) #146.

So far this is a nearly wholesale import of code from "qvm-app classic" with only light refactorings. The idea is to start with working code, surround it with tests, and refactor to its final form.

Currently working endpoints:

Still no reconfiguration ability, no noise models. Just simulation-method and number-of-qubits.

For the adventurous early reviewer, most of the new code is in:

TODO:

appleby commented 5 years ago

Closing this in favor of a more principled from-scratch approach, rather than wholesale import & refactor.