Skip to content

Optimize H/Rx/Ry in sparse sim#3196

Open
swernli wants to merge 2 commits intomainfrom
swernli/sparse-sim-optimization
Open

Optimize H/Rx/Ry in sparse sim#3196
swernli wants to merge 2 commits intomainfrom
swernli/sparse-sim-optimization

Conversation

@swernli
Copy link
Copy Markdown
Collaborator

@swernli swernli commented May 5, 2026

This applies an optimization to how the expensive H, Rx, Ry gates are applied in the sprase state vector simulator used by default in QDK. In testing this showed around 33% perf improvement in (newly added) targeted gate benchmarks and a range of perf improvements across existing benchmarks, including 48% improvement in the Bench 5x5 benchmark.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant