mirror of https://github.com/Qiskit/qiskit.git
9c1accb790
Since the genericised `PassManager`, the `PropertySet` used in the `WorkflowState` of a pass-manager pipeline was taken directly from the internal state of the `BasePassManager`. This is set to a clean `PropertySet` during the pass-manager initialisation (similar to how it was in the previous version), but is not reset on subsequent runs. This didn't cause problems in the old form because the "iterator" over tasks in the old form was a new `RunningPassManager` instance. Failing to generate a clean property set could lead to passes getting fed old analysis data when the pass manager was used more than once, leading to miscompilations. |
||
---|---|---|
.. | ||
__init__.py | ||
test_generic_pass.py | ||
test_passmanager.py |