qblox_scheduler.backends#
Submodules#
Classes#
A compiler that executes compilation passes sequentially. |
Package Contents#
- class SerialCompiler(name: str = 'compiler', quantum_device: qblox_scheduler.device_under_test.quantum_device.QuantumDevice | None = None)[source]#
Bases:
ScheduleCompilerA compiler that executes compilation passes sequentially.
- construct_graph(config: SerialCompilationConfig) None[source]#
Construct the compilation graph based on a provided config.
For a serial backend, it is just a list of compilation passes.
- _compilation_func(schedule: qblox_scheduler.schedules.schedule.TimeableSchedule, config: SerialCompilationConfig) qblox_scheduler.schedules.schedule.CompiledSchedule[source]#
Compile a schedule using the backend and the information provided in the config.
- Parameters:
schedule – The schedule to compile.
config – A dictionary containing the information needed to compile the schedule. Nodes in this compiler specify what key they need information from in this dictionary.