Skip to content

Copy sparse simulator into QDK#3137

Merged
swernli merged 2 commits intomainfrom
swernli/move-sparse-sim-internal
Apr 21, 2026
Merged

Copy sparse simulator into QDK#3137
swernli merged 2 commits intomainfrom
swernli/move-sparse-sim-internal

Conversation

@swernli
Copy link
Copy Markdown
Collaborator

@swernli swernli commented Apr 21, 2026

This change removes the dependency on the qir-runner repo by moving the quantum_sparse_sim directly into the QDK. This will make it easier to implement QDK-specific features in the sparse simulator, allowing it to evolve more tightly with the QDK use cases and other QDK hosted simulators.

To enable this, some common types, specifically NearlyZero trait and IndexMap struct, are relocated/updated to avoid duplicate implementations.

This change removes the dependency on the qir-runner repo by moving the `quantum_sparse_sim` directly into the QDK. This will make it easier to implement QDK-specific features in the sparse simulator, allowing it to evolve more tightly with the QDK use cases and other QDK hosted simulators.

To enable this, some common types, specifically `NearlyZero` trait and `IndexMap` struct, are relocated/updated to avoid duplicate implementations.
Comment thread source/simulators/src/sparse_state_simulator.rs Fixed
Comment thread source/simulators/src/sparse_state_simulator.rs Dismissed
@swernli swernli enabled auto-merge April 21, 2026 18:31
@swernli swernli added this pull request to the merge queue Apr 21, 2026
Merged via the queue into main with commit 6c09179 Apr 21, 2026
12 checks passed
@swernli swernli deleted the swernli/move-sparse-sim-internal branch April 21, 2026 18:55
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.

4 participants