Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reuse scratch space for Sabre best-swap choice (Qiskit#10783)
* Reuse scratch space for Sabre best-swap choice This re-uses the same growable scratch space for storing the temporary swaps for each choice. This particular space typically needed to grow several times for each swap choice, which was taking up a non-negligible amount of the time we spent in Rust space, especially for large circuits on big coupling maps. * Add comment on scratch space
- Loading branch information