Skip to content

Commit

Permalink
refactor: Add pulses and sequence exports
Browse files Browse the repository at this point in the history
  • Loading branch information
alecandido committed Sep 14, 2024
1 parent 3c01e98 commit 6c74127
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 11 deletions.
6 changes: 5 additions & 1 deletion src/qibolab/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
from . import backends, execution_parameters, platform, version
from . import backends, execution_parameters, platform, pulses, sequence, version
from .backends import *
from .execution_parameters import *
from .platform import *
from .pulses import *
from .sequence import *
from .version import *

__all__ = []
__all__ += backends.__all__
__all__ += execution_parameters.__all__
__all__ += platform.__all__
__all__ += pulses.__all__
__all__ += sequence.__all__
__all__ += version.__all__
16 changes: 6 additions & 10 deletions src/qibolab/pulses/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
from . import envelope, pulse
from .envelope import *
from .pulse import (
Acquisition,
Align,
Delay,
Pulse,
PulseId,
PulseLike,
Readout,
VirtualZ,
)
from .pulse import *

__all__ = []
__all__ += envelope.__all__
__all__ += pulse.__all__
3 changes: 3 additions & 0 deletions src/qibolab/pulses/pulse.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,13 @@
from .envelope import Envelope, IqWaveform, Waveform

__all__ = [
"Acquisition",
"Align",
"Delay",
"Pulse",
"PulseId",
"PulseLike",
"Readout",
"VirtualZ",
]

Expand Down

0 comments on commit 6c74127

Please sign in to comment.