qiskit/test/python/passmanager
Jake Lishman 9c1accb790
Fix `PropertySet` re-use in `BasePassManager.run` (#11787)
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.
2024-02-22 17:17:17 +00:00
..
__init__.py Remove `qiskit.test` (#10998) 2024-01-31 14:11:41 +00:00
test_generic_pass.py Base pass manager bug fixes (#11178) 2023-11-02 19:43:23 +00:00
test_passmanager.py Fix `PropertySet` re-use in `BasePassManager.run` (#11787) 2024-02-22 17:17:17 +00:00