qblox_scheduler.segments.loops#

Module containing the segment to a set a parameter.

Classes#

Loop

Experiment segment that loops other segments over some values.

Module Contents#

class Loop(domains: dict[qblox_scheduler.operations.variables.Variable, qblox_scheduler.operations.loop_domains.LinearDomain], segments: list[qblox_scheduler.segments.segment.Segment])[source]#

Bases: qblox_scheduler.segments.segment.Segment

Experiment segment that loops other segments over some values.

property domains: dict[qblox_scheduler.operations.variables.Variable, qblox_scheduler.operations.loop_domains.LinearDomain][source]#

Domains to loop over.

property segments: list[qblox_scheduler.segments.segment.Segment][source]#

Segments to execute.

run(device: qblox_scheduler.device_under_test.QuantumDevice, timeout: int = 10) xarray.Dataset | None[source]#

Execute segment on quantum device.

_unrolled_segments() list[qblox_scheduler.schedules.schedule.TimeableScheduleBase | qblox_scheduler.segments.segment.Segment][source]#