backends#
Subpackages#
- mock
- qblox
- types
- zhinst
Submodules#
Package Contents#
Classes#
A compiler that executes compilation passes sequentially. |
- class SerialCompiler(name: str, quantum_device: quantify_scheduler.device_under_test.quantum_device.QuantumDevice | None = None)[source]#
Bases:
QuantifyCompiler
A 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: quantify_scheduler.schedules.schedule.Schedule, config: SerialCompilationConfig) quantify_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.