quil-rs icon indicating copy to clipboard operation
quil-rs copied to clipboard

Quil Parser & Program Builder

Results 73 quil-rs issues
Sort by recently updated
recently updated
newest added

The lexer optimistically unwraps the result of parsing a number into an u64, however this results in a panic if the given number exceeds u64::MAX

This PR allows the (Rust package) user to do the following: * Expand a single instruction in a self-descriptive, recursive way. That is, expand an instruction using its calibrations, and...

Currently, calibration expansion happens somewhat opaquely: a `Vec` goes in, and another `Vec` comes out. In complex programs, it can be hard for a user to discern which post-calibration instructions...

Fixes https://github.com/rigetti/quil-rs/issues/367

See the results of this job in MSRV task: https://github.com/rigetti/quil-rs/actions/runs/8790199931/job/24121695036 ``` Test failed: assertion failed: `(left == right)` left: `Number(Complex { re: NaN, im: 0.0 })`, right: `Number(Complex { re:...

Quil defines a number of template waveforms, such as `gaussian`, `erf_square`, and so on. It will help users to be able to compute the samples for each waveform as emitted...

When iterations is None, the shot count must be set by the user at execution time. closes #361

`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...

* Abstraction around map/set types. That way we can modify the backend without introducing a breaking change.

User report from the scheduling change made in https://github.com/rigetti/quil-rs/pull/336: * There is an error regarding `DECLARE` instruction when programs are scheduled, if a `DECLARE` exists within a `DEFCAL`. This suggests...