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

migrate get_experiment_circuits() to Rust #10

Open
JooNiv opened this issue Jan 10, 2025 · 0 comments
Open

migrate get_experiment_circuits() to Rust #10

JooNiv opened this issue Jan 10, 2025 · 0 comments
Assignees
Labels
update An update to an existing feature or workflow
Milestone

Comments

@JooNiv
Copy link
Owner

JooNiv commented Jan 10, 2025

Is your feature request related to a problem? Please describe.
Currently, the most time-consuming part of the workflow is generating the experiments. A speedup would be desired especially for larger circuits with multiple cuts.

Describe the solution you'd like
This functionality would be the first candidate for migration to Rust. Based on very limited initial testing this could turn out to be quite simple even. Moving to rust would also allow true parallelism which should result in a significant speedup. Since each experiment circuit is independent parallelization should be straight forward.

Describe alternatives you've considered
Alternatively, some form of parallelization could be achieved with Python multiprocessing but based on testing the overhead there eats all the performance gain. With Python 3.13 one could also consider using Python multithreading in nogil mode but this would not solve the issue for older Python versions.

@JooNiv JooNiv self-assigned this Jan 10, 2025
@JooNiv JooNiv added this to the v1.0.0 milestone Jan 10, 2025
@JooNiv JooNiv added the update An update to an existing feature or workflow label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
update An update to an existing feature or workflow
Projects
None yet
Development

No branches or pull requests

1 participant