Skip to main content
IBM Quantum Platform
Esta página corresponde a una versión anterior de Qiskit SDK Ir a la última versión

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 all 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

Tipo: WorkflowStatus

Status of the current compilation workflow.

property_set

Tipo: PropertySet

Information about IR being optimized.

¿Le ha resultado útil esta página?
Informe de un error, de una errata o solicite contenido en GitHub.