Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Port the rest of SabreSwap to Rust #12280

Open
Tracked by #12208
mtreinish opened this issue Apr 19, 2024 · 0 comments
Open
Tracked by #12208

Port the rest of SabreSwap to Rust #12280

mtreinish opened this issue Apr 19, 2024 · 0 comments
Labels
mod: transpiler Issues and PRs related to Transpiler performance Rust This PR or issue is related to Rust code in the repository

Comments

@mtreinish
Copy link
Member

mtreinish commented Apr 19, 2024

SabreSwap is primarily written in rust currently, there is just a small component of the pass which takes the python objects representing the DAGCircuit and backend constraints and builds rust objects from those, then after the rust code finishes another piece uses the return from rust to rebuild the dagcircuit with the extra swaps inserted in python. Once #11721 is implemented we can remove this python space component and build the dagcircuit directly in rust and never need any python space component to the pass.

@mtreinish mtreinish added performance Rust This PR or issue is related to Rust code in the repository mod: transpiler Issues and PRs related to Transpiler labels Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mod: transpiler Issues and PRs related to Transpiler performance Rust This PR or issue is related to Rust code in the repository
Projects
None yet
Development

No branches or pull requests

1 participant