35 lines
1.6 KiB
Plaintext
35 lines
1.6 KiB
Plaintext
---
|
|
title: PassManagerState
|
|
description: API reference for qiskit.passmanager.PassManagerState
|
|
in_page_toc_min_heading_level: 1
|
|
python_api_type: class
|
|
python_api_name: qiskit.passmanager.PassManagerState
|
|
---
|
|
|
|
# PassManagerState
|
|
|
|
<Class id="qiskit.passmanager.PassManagerState" isDedicatedPage={true} github="https://github.com/Qiskit/qiskit/tree/main/qiskit/passmanager/compilation_status.py#L55-L74" signature="qiskit.passmanager.PassManagerState(workflow_status, property_set)" modifiers="class">
|
|
Bases: [`object`](https://docs.python.org/3/library/functions.html#object "(in Python v3.12)")
|
|
|
|
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
|
|
|
|
<Attribute id="qiskit.passmanager.PassManagerState.workflow_status" attributeTypeHint="WorkflowStatus">
|
|
Status of the current compilation workflow.
|
|
</Attribute>
|
|
|
|
### property\_set
|
|
|
|
<Attribute id="qiskit.passmanager.PassManagerState.property_set" attributeTypeHint="PropertySet">
|
|
Information about IR being optimized.
|
|
</Attribute>
|
|
</Class>
|
|
|