Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK. Go to the latest version

PassManagerState

class qiskit.passmanager.PassManagerState(workflow_status, property_set)

GitHub

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

workflow_status

Type: WorkflowStatus

Status of the current compilation workflow.

property_set

Type: PropertySet

Information about IR being optimized.

Was this page helpful?
Report a bug or request content on GitHub.