Skip to content

0.9.1

Compare
Choose a tag to compare
@iamtxena iamtxena released this 17 Nov 11:49
· 421 commits to main since this release

0.9.1 (2022-11-17)

Refactor

  • Pulse does no longer has the attribute start_time. In that way, a pulse being sent at different times is always represented by the same object.
  • The PulseEvent class has been added, which contains a Pulse and a start_time: int. PulseEvent instances are sortable according to their start_time.
  • PulseSequence has been renamed to PulseBusSchedule
  • PulseSequences has been renamed to PulseSchedule
  • PulseBusSchedule contains a list called timeline which holds all the PulseEvents sorted by their start_time and a Set called pulses with all the unique pulses appearing in the timeline.
  • repr() and str() methods from the pulse-related classes have been delegated to those autogenerated by the dataclass decorator, having configured all the fields for that purpose.
  • A label() method has been added to the Pulse class with the string representation that was being generated previously by str(), which is used to name the waveforms in qpysequence (qblox waveforms dictionary)
  • All pulse classes are properly created to avoid having dictionaries as fields and making them non-hashable.

[main 5210cb6] bump: version 0.9.0 → 0.9.1
3 files changed, 8 insertions(+), 2 deletions(-)