CompilationTask
- class CompilationTask(input, workflow)[source]
Bases:
object
A complete description of a quantum compilation task.
The CompilationTask class describes a compilation workflow completely. These can be submitted to a BQSKit compiler to be efficiently executed.
- __init__(input, workflow)[source]
Construct a CompilationTask.
- Parameters:
input (
Circuit
) – The input circuit to be compiled.workflow (
WorkflowLike
) – The configured workflow to be performed on the circuit.
Attributes
The task's data for use in BQSKit passes.
True when the task is complete.
If true,
run()
will additionally return the PassData.A general filter on all logging messages in the system.
No logging for tasks with more than max_logging_depth parents.
Methods
run
()Execute the task.