qgym.envs.scheduling.scheduling_dataclasses module
This module contains dataclasses used in the Scheduling
environment.
- class qgym.envs.scheduling.scheduling_dataclasses.CircuitInfo(encoded, names, acts_on, legal, dependencies, schedule, blocking_matrix)[source]
Bases:
objectInfo of the circuit of the current episode of
Schedulingenvironment.- reset(circuit, utils)[source]
Reset the object.
To be used in the reset function of the
Schedulingenvironment.- Return type:
- Returns:
Self.
- class qgym.envs.scheduling.scheduling_dataclasses.GateInfo(cycle_length, not_in_same_cycle, exclude=0, exclude_next_cycle=False)[source]
Bases:
objectInfo of a specific gate used in the
Schedulingenvironment.- reset()[source]
Reset the object.
To be used in the reset function of the
Schedulingenvironment.- Return type:
- Returns:
Self.
- class qgym.envs.scheduling.scheduling_dataclasses.SchedulingUtils(circuit_generator, rulebook, gate_encoder)[source]
Bases:
objectUtils used in the
Schedulingenvironment.-
circuit_generator:
CircuitGenerator
-
gate_encoder:
GateEncoder
-
rulebook:
CommutationRulebook
-
circuit_generator: