You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for returning values from defcal statements (#24)
* Added 'returns' statement to oqpy.Program for adding return statement to defcal and subroutine statements, added support for using Program.returns in subroutine decorator based on type hinting and added tests.
* Update oqpy/subroutines.py
Co-authored-by: Phil Reinhold <[email protected]>
* �Added new types: port, frame and waveform to represent the types of PortVar, FrameVar and WaveformVar
* port, waveform and frame now aliases of openpulse.ast PortType, WaveformType and FrameType
* Added missing period at the end of a docstring
Co-authored-by: Phil Reinhold <[email protected]>
0 commit comments