Source code for qblox_scheduler.experiments
# Repository: https://gitlab.com/qblox/packages/software/qblox-scheduler
# Licensed according to the LICENSE file on the main branch
#
# Copyright 2025, Qblox B.V.
"""
Deprecated alias for :mod:`qblox_scheduler.segments`.
This module is kept around for backwards compatibility and will be removed in a
future release. Please import from :mod:`qblox_scheduler.segments` instead.
"""
from __future__ import annotations
import warnings
from qblox_scheduler.segments import (
Callback,
ExecuteSchedule,
Experiment,
Loop,
Segment,
SetHardwareDescriptionField,
SetHardwareOption,
SetParameter,
)
warnings.warn(
"The 'qblox_scheduler.experiments' module has been renamed to "
"'qblox_scheduler.segments' and will be removed starting with the 1.0 "
"release. Please update your imports to use 'qblox_scheduler.segments' "
"instead.",
FutureWarning,
stacklevel=2,
)
__all__ = [
"Callback",
"ExecuteSchedule",
"Experiment",
"Loop",
"Segment",
"SetHardwareDescriptionField",
"SetHardwareOption",
"SetParameter",
]