You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you take the first tutorial notebook and place a barrier across all qubits at some point in the circuit, there is some special logic to split that barrier into single-qubit barriers so that it will not prevent the circuit from separating into multiple pieces. Then, after separation, those barriers are recombined. #625 fixed this code to work with Qiskit 1.2. It is the stuff in transforms.py that has to do with uuids.
The test should ideally verify the behavior of the seprate_circuit utility function, which is called inside of the partition_problem function, which itself appears in the first tutorial. And the test should live in teat_transforms.py, alongside other tests of the separate_circuit function.
garrison
changed the title
Need test that barriers and re-combined correctly in transforms.py
Need a test that ensures barriers are re-combined correctly in transforms.pyJun 22, 2024
See #625 (comment). Such a test is currently lacking, and having 100% test coverage is giving us a false sense of security here.
The text was updated successfully, but these errors were encountered: