Skip to main contentIBM Quantum Documentation
You are viewing the API reference for an old version of Qiskit SDK. Switch to latest version

PassManagerState

class qiskit.passmanager.PassManagerState(workflow_status, property_set)

GitHub(opens in a new tab)

Bases: object(opens in a new tab)

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.