Skip to content

Commit

Permalink
Oxidize GateDirection pass (#13069)
Browse files Browse the repository at this point in the history
* First working implementation

* Rebase on main with CheckGateDirection ported

* Port GateDirection to Rust

Move GateDirection._run_coupling_map and GateDirection._run_target to
Rust. Also moving the code to create replacement DAGs to Rust. Both
GateDirection and CheckGateDirection will reside in gate_direction.rs.

* First working implementation

* Fix minor build issues

* Complete implementation

* Address review comments

Mainly replace going through Python with Rust-native calls in various places,
most prominently when building replacement DAGs.

* Rename functions and other minor changes
  • Loading branch information
eliarbel authored Nov 4, 2024
1 parent c676788 commit 2a1fd08
Show file tree
Hide file tree
Showing 5 changed files with 523 additions and 298 deletions.
Loading

0 comments on commit 2a1fd08

Please sign in to comment.