Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove patching of
SwapGate.__new__
from Sabre test
This made sense as a way of tracking the progress of Sabre back when our implementation was pure-Python and generated the swaps on-the-fly, but ever since it moved to Rust, the infinite loop would have happened before any swaps were constructed at all. With the move to singleton gates, this test can cause problems; the restoration after the patching can cause issues with the singleton-return apparatus.
- Loading branch information