Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add waveform templates #369

Merged
merged 10 commits into from
May 1, 2024
Merged

feat: add waveform templates #369

merged 10 commits into from
May 1, 2024

Conversation

kalzoo
Copy link
Contributor

@kalzoo kalzoo commented Apr 24, 2024

Adds waveform templates described by the Quil spec. (Section 12.2).

This moves out internal/closed-source code into the open source arena to help users better understand how their programs are executed.

TODO:

  • Tests (there were tests relying on private infrastructure that could not be copied out to GItHub)
  • Stylistically, should we make the -> Vec<Complex64> methods on their parameter structs rather than free functions?

Copy link

github-actions bot commented Apr 24, 2024

PR Preview Action v1.4.7
Preview removed because the pull request was closed.
2024-05-01 23:41 UTC

Copy link
Contributor

@MarquessV MarquessV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few comments, but looking good!

quil-rs/src/waveform/templates.rs Show resolved Hide resolved
quil-rs/src/waveform/templates.rs Outdated Show resolved Hide resolved
@kalzoo
Copy link
Contributor Author

kalzoo commented May 1, 2024

Added visual snapshots to help understand template behavior:
image

@kalzoo kalzoo self-assigned this May 1, 2024
@kalzoo kalzoo marked this pull request as ready for review May 1, 2024 01:33
@kalzoo kalzoo force-pushed the 365-waveform-templates branch 2 times, most recently from d2682a9 to 62ac657 Compare May 1, 2024 18:39
@kalzoo kalzoo force-pushed the 365-waveform-templates branch from 62ac657 to a8bbee4 Compare May 1, 2024 19:29
Copy link
Contributor

@MarquessV MarquessV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love the visual snapshots!

@kalzoo kalzoo merged commit e1a001f into main May 1, 2024
14 checks passed
@kalzoo kalzoo deleted the 365-waveform-templates branch May 1, 2024 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants