PassManagerState
class qiskit.passmanager.PassManagerState(workflow_status, property_set)
Bases: object
A portable container object that pass manager tasks communicate through generator.
This object can contain every information about the running pass manager workflow, except for the IR object being optimized. The data structure consists of two elements; one for the status of the workflow itself, and another one for the additional information about the IR analyzed through pass executions. This container aims at just providing a robust interface for the Task.execute()
, and no logic that modifies the container elements must be implemented.
This object is mutable, and might be mutated by pass executions.
Attributes
Parameters
- workflow_status (WorkflowStatus) –
- property_set (PropertySet) –
workflow_status
Type: WorkflowStatus
Status of the current compilation workflow.
property_set
Type: PropertySet
Information about IR being optimized.