Skip to content

Add QIR noise intrinsic#2915

Merged
orpuente-MS merged 8 commits intomainfrom
oscarpuente/add-qir-noise-intrinsic
Feb 4, 2026
Merged

Add QIR noise intrinsic#2915
orpuente-MS merged 8 commits intomainfrom
oscarpuente/add-qir-noise-intrinsic

Conversation

@orpuente-MS
Copy link
Contributor

@orpuente-MS orpuente-MS commented Feb 3, 2026

This PR:

  1. Adds a "qdk_noise" attribute to QIR.
  2. Adds a @NoiseIntrinsic() attribute to Q# and a @qdk.qir.noise_intrinsic attribute to the OpenQASM compiler, which map to the new "qdk_noise" attribute during codegen.
  3. Patches the experimental run_qir API so that it can run noiseless simulations on QIR that has noise intrinsics.

Copy link
Collaborator

@swernli swernli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one minor comment for a couple more test cases, otherwise this change looks ready to go!

@orpuente-MS orpuente-MS enabled auto-merge February 4, 2026 17:44
@orpuente-MS orpuente-MS added this pull request to the merge queue Feb 4, 2026
Merged via the queue into main with commit d90a5dc Feb 4, 2026
18 checks passed
@orpuente-MS orpuente-MS deleted the oscarpuente/add-qir-noise-intrinsic branch February 4, 2026 18:29
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