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

Improve access to output modulation durations #663

Merged
merged 9 commits into from
Apr 4, 2024
Merged

Conversation

HGSilveri
Copy link
Collaborator

@HGSilveri HGSilveri commented Mar 25, 2024

  • Add the at_rest: bool option to Sequence.delay() and Sequence.align() to wait (or not) for a pulse to truly finish
  • Silently deal with applied delays of 0 (simple skips adding the slot to the schedule)
  • Add Pulse.get_full_duration() to access the full duration of a pulse after modulation, as shown in the sequence drawing.
  • Update the JSON schema to support the new at_rest argument

Closes #643 .

@HGSilveri HGSilveri requested a review from a-corni March 25, 2024 15:52
@HGSilveri HGSilveri self-assigned this Mar 25, 2024
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@HGSilveri HGSilveri marked this pull request as draft March 25, 2024 15:52
@HGSilveri HGSilveri marked this pull request as ready for review March 29, 2024 17:25
Copy link
Collaborator

@a-corni a-corni left a comment

Choose a reason for hiding this comment

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

One typo in the tutorial otherwise it looks good to me !

@HGSilveri HGSilveri merged commit 0f6e3dd into develop Apr 4, 2024
7 checks passed
@HGSilveri HGSilveri deleted the hs/mod-duration branch April 15, 2024 09:50
soufianekaghad98 pushed a commit to soufianekaghad98/Pulser that referenced this pull request Apr 25, 2024
* Add option to delay after pulse modulation

* Deal with delay of 0

* Add Pulse.get_full_duration()

* Update the Output Modulation tutorial

* Add at_rest option to align()

* Update JSON schema

* Update tutorials/advanced_features/Output Modulation and EOM Mode.ipynb

Co-authored-by: Antoine Cornillot <[email protected]>

---------

Co-authored-by: Antoine Cornillot <[email protected]>
@HGSilveri HGSilveri mentioned this pull request Apr 29, 2024
HGSilveri added a commit that referenced this pull request Apr 29, 2024
Main changes:

21a47f3 Remove Register.rotate() (#642)
20e6765 FIX: Redefine slope of RampWaveform (#644)
c2d5b6c Enabling definition of multiple noise channels and noise channels in XY (#647)
bcb78cc Enable digital simulation (#652)
0f6e3dd Improve access to output modulation durations (#663)
188d21d Remove deprecated noise arguments (#674)
f303138 Adding relaxation noise channel (#675)
716b86b Centralize all backend imports from a single pulser.backends module (#678)
96a8c34 Add hyperfine dephasing rate to NoiseModel (#680)
4981ca6 Add optional default noise models to devices (#676)
c695373 Rectangular lattice register and layout (#665)
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.

Improvements to Sequence creation with modulation
2 participants