rigetti / quil-rs

Quil Parser & Program Builder
https://rigetti.github.io/quil-rs/
Apache License 2.0
20 stars 9 forks source link

wrap_in_loop should support setting loop count at execution time #361

Open MarquessV opened 6 months ago

MarquessV commented 6 months ago

wrap_in_loop() currently takes a number of iterations and uses a MOVE statement to set a memory reference to that value. This works, but doesn't allow you to easily modify the shot count between runs.