Skip to content

Optimize H/Rx/Ry in sparse sim#3196

Merged
swernli merged 2 commits intomainfrom
swernli/sparse-sim-optimization
May 7, 2026
Merged

Optimize H/Rx/Ry in sparse sim#3196
swernli merged 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.

@swernli swernli added this pull request to the merge queue May 7, 2026
Merged via the queue into main with commit 98c34d5 May 7, 2026
12 checks passed
@swernli swernli deleted the swernli/sparse-sim-optimization branch May 7, 2026 17:40
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.

2 participants