quil-lang / qvm

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

Support rng-seed request parameter #188

Closed appleby closed 4 years ago

appleby commented 4 years ago

The existing qvm-app HTTP API allows the caller to specify an rng-seed request parameter in the JSON request body to set a fixed seed for the random number generator. The pyquil test suite uses this feature to ensure repeatable results for some tests.